P4: PLC for SINUMERIK 828D
14.3 Programming
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1101
The access type is part of the address notation and must not be considered to be the same as the data type or
confused with this (see "Data types [Page 1104]").
User interface is an interface comprising data blocks that the firmware creates on the target system. It is used to
exchange data between the PLC on one side and the NCK and HMI on the other side ( → Parameter Manual
SINUMERIK 828D).
This DB neither has to be loaded from the CPU nor into the CPU because it is created by the firmware and
therefore belongs to the system.
User interface
DB
1000 - 7999
3)
User data blocks
DB
9000 - 9063
3)
Special data blocks
DB
9900 - 9999
3)
1)
Range of the process image variables! The assignment of these variables to the
physical inputs and outputs can be taken from the system overview in the SINUMERIK
828D Commissioning Manual.
2)
These addresses directly serve (i.e. without image memory) the 4 onboard inputs and
the 4 onboard outputs if these are assigned to the PLC.
3)
Only the DB numbers are specified in the table for reasons of simplicity. Their
addressing depends on the DB structure and is realized according to the following
scheme:
Figure 14-3
Access
Example
Explanation
Bit
DB3801.DBX1000.7
Bit 7 of the byte with offset 0 in subrange 1 for axis 2 in user range 38
Byte
DB3801.DBB0
Byte with offset 0 in subrange 0 for axis 2 in user range 38
Word
DB4500.DBW2
Word with offset 2 in subrange 0 in range 0 in user range 45
Double Word
DB2500.DBD3004
Double word with offset 4 in subrange 3 in range 0 in user range 25
Note
The permitted offsetfor an address is dependent on the access:
• Bit or byte access: Any offset permitted.
Byte-size variables are placed one beside another seamlessly in a DB.
• Word access: Offset must be divisible by 2.
Word-size variables (2 bytes) are always saved on even offsets.
• Double word access: Offset must be divisible by 4.
Double word-size variables (4 bytes) are always saved on offsets which are divisible by 4.
See also "Data types [Page 1104]".
Access method
Type of memory
Min. and max. address numbers
%LWQXPEHU
2IIVHW
6XEUDQJH
5DQJHQXPEHUD[LVFKDQQHO
8VHUUDQJH
' % ' % ;
Содержание 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 ...