Siemens SENTRON VL Series System Manual page 156

Circuit breakers with communication capability - profibus
Hide thumbs Also See for SENTRON VL Series:
Table of Contents

Advertisement

Data transfer to the PLC
7.2 Control program example
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
//Please insert – customer-specific evaluation
//Fetch measured value 2 (standard "Current in L2")
L
//Please insert – customer-specific evaluation
//Fetch measured value 3 (standard "Current in L3")
L
//Please insert – customer-specific evaluation
//Fetch measured value 4 (standard "max. current")
L
//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
=
//Please insert - Customer's on-condition
AN
priority
=
//Please insert – conditions for 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!
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.
156
PIW
258
//Value from hardware configuration
//"I address" + Offset 2
PIW
260
//Value from hardware configuration
//"I address" + Offset 4
PIW
262
//Value from hardware configuration
//"I address" + Offset 6
PIW
264
//Value from hardware configuration
//"I address" + Offset 8
M
50.0
//Bit n.0 in the control information
M
50.0
//Interlocking of the invalid command - Off
M
50.1
//Bit n.1 in the control information
M
51.7
//Bit n+1.7 Synchronization bit
L
MW
50 //Control information M50.0 - M51.7
T
PQW
256 //Value from hardware configuration "Q address"
3WL/3VL circuit breakers with communication capability - PROFIBUS
System Manual, 03/2011, A5E01051353-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents