Siemens SIMATIC S5-115U User Manual page 297

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

S5-115U Manual
OB 1 STL
:
:
:L PY 2
:T EB 2
:
:
:
:
:
:
:L IW 0
:T QW 0
:L IB 2
:T QB 4
:BE
OB 2 STL
:
:
:L PY 3
:T IB 3
:
:
:
:A I 3.0
:JC PB 1
:
:A I 3.1
:JC PB2
:
:BE
EWA 4NEB 811 6130-02b
Explanation
Cyclic program
Input byte 2 is not updated by the process
image transfer and must therefore be read
in with direct I/O access.
Program section with any evaluation of
inputs I 0.0 to I 2.7
Here:
Input 0 of the DIDQ 485 is output at
output word 0 of DIDQ 485 Input
byte 2 is flagged in output byte 4
(other module).
Explanation
Alarm response and evaluation
Read alarm register and enter
in PII (acknowledge the alarm
with L PY3; this deletes bits
0 to 3 in the alarm register and
enables the module again for alarms)
I 3.1=0: alarm initiated by
input 2.4
(PB1: alarm response)
I 3.1=1: alarm initiated by
input 2.5
(PB2: alarm response)
Interrupt Processing
9-15

Advertisement

Table of Contents
loading

Table of Contents