Data transfer to the PLC
7.2 Control program example
3WL/3VL circuit breakers with communication capability - PROFIBUS
156 System Manual, 03/2011, A5E01051353-02
Step 3 Prepare measured values (basic type 1)
Network 3
Validity is a requirement here - see description "Property byte"
//Fetch measured value 1 (standard "Current in L1")
L PIW 258 //Value from hardware configuration
//"I address" + Offset 2
//Please insert – customer-specific evaluation
//Fetch measured value 2 (standard "Current in L2")
L PIW 260 //Value from hardware configuration
//"I address" + Offset 4
//Please insert – customer-specific evaluation
//Fetch measured value 3 (standard "Current in L3")
L PIW 262 //Value from hardware configuration
//"I address" + Offset 6
//Please insert – customer-specific evaluation
//Fetch measured value 4 (standard "max. current")
L PIW 264 //Value from hardware configuration
//"I address" + Offset 8
//Please insert – customer-specific evaluation
Step 4 Prepare control information for output
Network 4
Description of use – but without customer-specific component
//Please insert - customer's off-condition
= M 50.0 //Bit n.0 in the control information
//Please insert - Customer's on-condition
AN M 50.0 //Interlocking of the invalid command - Off
priority
= M 50.1 //Bit n.1 in the control information
//Please insert – conditions for synchronization bit
= M 51.7 //Bit n+1.7 Synchronization bit
//continue with other control commands ...
Step 5 Forward control information to the switch
Network 5
Forward the information from M50.0 – M 51.7 to the switch.
This executes the commands!
L MW 50 //Control information M50.0 - M51.7
T PQW 256 //Value from hardware configuration "Q address"
Note
Programming of Step 5 is also necessary for initializing OBs 100-102 when using the user-
defined output to prevent switchover of the user-defined output at complete restart of the
controller. Storage of the control information (here "MW50") must also be retentive.