M7RHB2_E.PDF

(1007 KB) Pobierz
M7-300/400, System and Standard Functions Vol. 2
Table of Contents
C Runtime Library
1
SIMATIC
Socket Interface
2
3
Miscellaneous
System Software
for M7-300 and M7-400
System and Standard
Functions, Volume 2
Index
Reference Manual
This manual is part of the documentation
package with the order number:
6ES7802–0FA14–8BA0
C79000–G7076–C853–02
153814196.008.png 153814196.009.png 153814196.010.png
Safety Guidelines
This manual contains notices which you should observe to ensure your own personal safety, as well as to
protect the product and connected equipment. These notices are highlighted in the manual by a warning
triangle and are marked as follows according to the level of danger:
!
Danger
indicates that death, severe personal injury or substantial property damage will result if proper precau-
tions are not taken.
!
Warning
indicates that death, severe personal injury or substantial property damage can result if proper precau-
tions are not taken.
!
Caution
indicates that minor personal injury or property damage can result if proper precautions are not taken.
Note
draws your attention to particularly important information on the product, handling the product, or to a
particular part of the documentation.
Qualified Personnel
Only qualified personnel should be allowed to install and work on this equipment. Qualified persons are
defined as persons who are authorized to commission, to ground, and to tag circuits, equipment, and sys–
tems in accordance with established safety practices and standards.
Correct Usage
Note the following:
!
Warning
This device and its components may only be used for the applications described in the catalog or the
technical description, and only in connection with devices or components from other manufacturers which
have been approved or recommended by Siemens.
This product can only function correctly and safetly if it is transported, stored, set up and installed cor-
rectly, and operated and maintained as recommended.
Trademarks
are registered trademarks of SIEMENS AG.
Some of the other designations used in these documents are also registered trademarks; the owner’s
rights may be violated if they are used by third parties for their own purposes.
, SIMATIC HMI
and SIMATIC NET
Copyright Siemens AG 1998 All rights reserved
The reproduction, transmission or use of this document or its contents is not
permitted without express written authority. Offenders will be liable for
damages. All rights, including rights created by patent grant or registration of
a utility model or design, are reserved.
Disclaimer of Liability
We have checked the contents of this manual for agreement with the
hardware and software described. Since deviations cannot be preclu-
ded entirely, we cannot guarantee full agreement. However, the data in
this manual are reviewed regularly and any necessary corrections inclu-
ded in subsequent editions. Suggestions for improvement are welco-
med.
Siemens AG
Automation and Drives Group
Industrial Automation Systems
P.O.Box 4848, D- 90327 Nuremberg
System Software for M7-300 and M7-400, System and Standard Functions, Volume 2
C79000–G7076–C853–02
Siemens AG 1998
Technical data subject to change.
Index-2
Siemens Aktiengesellschaft
C79000–G7076–C853–02
SIMATIC
153814196.011.png 153814196.001.png 153814196.002.png
Table of Contents
1
C Runtime Library
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1
2
Socket Library
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1
3
Miscellaneous
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1
Index
System Software for M7-300 and M7-400, System and Standard Functions, Volume 2
C79000–G7076–C853–02
i
153814196.003.png
Table of Contents
ii
System Software for M7-300 and M7-400, System and Standard Functions, Volume 2
C79000–G7076–C853–02
153814196.004.png
C Runtime Library
1
In this chapter
Call
Brief Description
Page
abort
Terminate task
1-7
abs
Determine the absolute value of an integer number
1-8
access
Check file access
1-9
acos
Arc cosine
1-10
asctime
Convert date and time of the RMOS software clock to
a string
1-11
asin
Arc sine
1-13
assert
Terminate task depending on condition
1-14
atan
Arc tangent
1-15
atan2
Arc tangent of two double numbers
1-16
atexit
Define routines to be executed on completion of a task
1-17
atof
Convert a string to a double-precision number
1-18
atoi
Convert a string to an integer number
1-19
atol
Convert a string to a long integer number
1-20
bsearch
Search for an element in a sorted table
1-21
calloc
Request memory
1-23
ceil
Round up a double-precision number
1-24
changevib
Change volume identification block
1-25
chdir
Change the current working directory (CWD)
1-26
checkpoint
Store temporary buffer of file
1-27
chmod
Change file attributes
1-28
clearerr
Reset the error status of a stream
1-30
clock
Dummy Function
1-31
close
Close an open file, socket or unit of a loadable driver
1-32
cos
Cosine
1-33
cosh
Hyperbolic cosine
1-34
createvib
Generate new volume identification block
1-35
ctime
Convert date and time to a string
1-36
difftime
Determine the length of a time interval
1-38
dismount
Dismount a device of the HSFS file management sy-
stem
1-39
System Software for M7-300 and M7-400, System and Standard Functions, Volume 2
C79000–G7076–C853–02
1-1
153814196.005.png 153814196.006.png 153814196.007.png
Zgłoś jeśli naruszono regulamin