2.2 Configuration in the PLC user program
Loading configurations
The configurations created are transferred to the manufacturer directory of the control, with
the script and text file. Additionally, the corresponding PLC user program should be loaded.
Programming the equipment
Communication between the operator component and the PLC takes place in the PLC user
program
via
data
block DB9905, in which 128 words are reserved for the management of the
devices.
PLC words are assigned beginning with Device 1:
Data block Device designation
DB9905.DBB0 Device 1
DB9905.DBB4 Device 2
... ...
DB9905.DBB192 Device 49
DB9905.DBB196 Device 50
Four bytes with the following meanings are used for each device:
Byte Bit Description
0 0 == 1 Device has been started up (HMI acknowledgment)
1 == 1 Device is to be activated (HMI request)
2 == 1 Device is to be deactivated (HMI request)
3-7 Reserved
1 0-7 Reserved
2 0 == 1 Device is active (PLC acknowledgment)
1 == 1 Device has an error
2-7 Reserved
3 0-7 Unique identifier for the device
Storage of the files
The Easy Extend files are stored on the system CompactFlash card in the "oem"
(MANUFACTURER) and "oem_i" (INDIVIDUAL) directory.
File Name Target directory
Text file oem_aggregate_xxx.ts /oem/sinumerik/hmi/lng/
/oem_i/sinumerik/hmi/lng/
Script file agm.xml /oem/sinumerik/hmi/dvm
/oem_i/sinumerik/hmi/dvm
Archive file Any /oem/sinumerik/hmi/dvm/archives
/oem_i/sinumerik/hmi/dvm/archives
PLC user program Any PLC
Generating commissioning dialogs
2.2 Configuration in the PLC user program
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 123