A2: Various NC/PLC interface signals and functions
1.3 Functions
Basic Functions
60
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Access from NC
To allow the NC to access PLC variables (from a part program) quickly, $ variables are provided in the NCK. The
PLC uses a function call (FC) to read and write $ variables. Data are transferred to and from the NCK
immediately.
$ variables can be accessed (by the NCK) during preprocessing and in synchronized actions.
Data type information is determined by the $ variable data type, the position index is specified as an array index
(in bytes).
The following $ variables are available:
Ranges of values
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.
Figure 1-9
Communications buffer (DPR) for NC/PLC communication
$A_DBB
Data byte (8 bits)
$A_DBW
Data word (16 bits)
$A_DBD
Data double word (32 bits)
$A_DBR
Real data (32 bits)
$A_DBB(n)
<= x <= 255
$A_DBW(n)
-32768 <= x <= 3276
$A_DBD(n)
-2147483648 <= x <= 2147483647
3/&'$7$ $B'%'>@
&$//)&
3/&
1&
'DWDW\SH'ZRUGE\WHV
3RVLWLRQRIIVHW[
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...