Read synchronous data's with the AMK PLC project
State Safety Inputs (EL1904)
The state of the safety inputs can be read cyclic with an AMK function block from type _FormalDeviceAccess_ .
Click onto the Safety Inputs Interface at the device tree. Follow exactly as represented.
Call an instance of the automatically generated function block.
Image of FSoE control and status data’s
Image of FSoE control data's reflected to the AMK standard parameter.
ID33211 'Safety data master 0' include bit 0..15 of FSoE control data's
ID33213 'Safety data master 1' include bit 16..31 of FSoE control data's
Image of FSoE status data's reflected to the AMK standard parameter.
ID33231 'Safety data slave 0' include bit 0..15 of FSoE status data's
ID33233 'Safety data slave 1' include bit 16..31 of FSoE status data's
The state of the images can be cyclic read with an AMK function block typ _FormalDeviceAccess_ .
Create the function block in the same way as exampled with the Safety Inputs (EL1909).
Click onto the FSoE drive Interface at the device tree. Open the dialog field [Erweiterte Variablenzugriffe...]. Generate for each standard parameter witch you want to read with the PLC a PLC function (GET_FDEV function_ ...).
Repeat this process for all FSoE drives. Is a GET_FDEV function_ ... for a standard parameter available, only the DEVICE will be expanded with the FSoE drive name.