Detailed description
2.2 Functions
Basic logic functions: Various NC/PLC interface signals and functions (A2)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
35
Access from PLC
The PLC uses function calls (FC) to access the memory. These FCs ensure that data are
read and written in the DPR immediately, i.e., not just at the beginning of the PLC cycle. FCs
receive data type information and the position offset as parameters.
3/&'$7$ $B'%'>@
&$//)&
3/&
1&
'DWDW\SH'ZRUGE\WHV
3RVLWLRQRIIVHW[
Figure 2-9
Communications buffer (DPR) for NC/PLC communication
Supplementary conditions
•
The user's programming engineer (NCK and PLC) is responsible for organizing the DPR
memory area. No checks are made for inconsistencies in the configuration.
•
A total of 1024 bytes are available in the input and output directions.
•
Singlebit operations are not supported and must be linked back to byte operations by the
user (programming engineer).
•
Since the contents of variables are manipulated directly in the communications buffer, the
user must remember that intermediate changes in values occur as a result of multiple
access operations where a variable is evaluated several times or when variables are
linked (i.e., it may be necessary to store values temporarily in local variables or R
parameters or to set up a semaphore).
•
The user's programming engineer is responsible for coordinating access operations to the
communications buffer from different channels.
•
Data consistency can be guaranteed only for access operations up to 16 bits (byte and
word). The user's programming engineer is responsible for ensuring consistent
transmission of 32bit variables (double and real). A simple semaphore mechanism is
provided in the PLC for this purpose.
•
The PLC stores data in 'Little Endian' format in the DPR.
•
Values transferred with $A_DBR are subject to data conversion and hence to loss of
accuracy. The data format for floatingpoint numbers is DOUBLE (64 bits) on the NCK, but
only FLOAT (32 bits) on the PLC. The format used for storage in the dualport RAM is
FLOAT. Conversion takes place respectively before/after storage in the dualport RAM.
Содержание SINUMERIK 840D sl
Страница 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 286: ...Table of contents Basic logic functions Diagnostic tools D1 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 328: ...Constraints Basic logic functions Diagnostic tools D1 46 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 330: ...Examples Basic logic functions Diagnostic tools D1 48 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 340: ...Table of contents Basic logic functions Travel to fixed stop F1 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 342: ...Brief Description Basic logic functions Travel to fixed stop F1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 382: ...Supplementary conditions Basic logic functions Travel to fixed stop F1 46 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Страница 790: ...Table of contents Basic logic functions Axes coordinate systems frames K2 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 946: ...Table of contents Basic logic functions Emergency Stop N2 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 948: ...Brief Description Basic logic functions Emergency Stop N2 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 956: ...Restrictions Basic logic functions Emergency Stop N2 14 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 958: ...Examples Basic logic functions Emergency Stop N2 16 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 966: ...Table of contents Basic logic functions Transverse axes P1 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 978: ...Supplementary conditions Basic logic functions Transverse axes P1 16 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 980: ...Examples Basic logic functions Transverse axes P1 18 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 982: ...Data lists 5 1 Machine data Basic logic functions Transverse axes P1 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 984: ...Index Basic logic functions Transverse axes P1 22 Function Manual 11 2006 6FC5397 0BP10 2BA0 Work offset external 13 ...
Страница 990: ...Table of contents Basic logic functions PLC Basic program powerline P3 pl 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1268: ...Supplementary conditions Basic logic functions PLC Basic program powerline P3 pl 284 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1270: ...Examples Basic logic functions PLC Basic program powerline P3 pl 286 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1280: ...Table of contents Basic logic functions PLC basic program solution line P3 sl 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1542: ...Examples Basic logic functions PLC basic program solution line P3 sl 268 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1604: ...Examples Basic logic functions Reference Point Approach R1 58 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1616: ...Brief Description Basic logic functions Spindles S1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1703: ...Basic logic functions Spindles S1 Function Manual 11 2006 6FC5397 0BP10 2BA0 93 Constraints 3 No supplementary conditions apply ...
Страница 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1776: ...Detailed description 2 3 Feedrate control Basic logic functions Feeds V1 60 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1786: ...Data lists 5 3 Signals Basic logic functions Feeds V1 70 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1794: ...Table of contents Basic logic functions Tool Offset W1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1798: ...Short description Basic logic functions Tool Offset W1 10 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1992: ...Data lists 5 3 Signals Basic logic functions Tool Offset W1 204 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 2002: ...Brief description Basic logic functions NC PLC interface signals Z1 6 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Страница 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...