EasyManua.ls Logo

Siemens SENTRON VL Series

Siemens SENTRON VL Series
286 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Data transfer to the PLC
7.2 Control program example
3WL/3VL circuit breakers with communication capability - PROFIBUS
System Manual, 03/2011, A5E01051353-02
155
7.2.3 Using cyclic data
General
Programming is carried out in OB1 or in a block called by OB1
Step 1 Copying status information for programming
Network 1
Fetch I/O data of the status and save for further use
L PIW 256 //Value from hardware configuration "I
address"
T MW 10 //User-defined storage location MW, ...
This makes the bit information accessible for further program execution via M 10.0 – M 11.7
Step 2 Prepare status information (example: status of the circuit breaker)
Network 2
Only using the example of "Status of the circuit breaker"
A M 10.2 //Bit n.2 from the status information
A M 10.3 //Bit n.3 from the status information
= "RM_TRIP" //Signal for further processing
//(value 3 = tripped)
AN M 10.2 //Bit n.2 from the status information
A M 10.3 //Bit n.3 from the status information
= "RM_ON" //Signal for further processing (value 2 = ON)
A M 10.2 //Bit n.2 from the status information
AN M 10.3 //Bit n.3 from the status information
= "RM_OFF" //Signal for further processing (value
1 = OFF)
//only with hardware defect/failure
AN M 10.2 //Bit n.2 from the status information
AN M 10.3 //Bit n.3 from the status information
= "RM_nOK" //Signal for further processing
//(Value 0 = not ready)

Table of Contents

Other manuals for Siemens SENTRON VL Series

Related product manuals