Addressing
S5-100U
6.6.2
Accessing the Interrupt PIQ
When accessing the interrupt PIQ, the following rules apply.
•
Data can be written to the interrupt PIQ only within time-controlled or interrupt-driven program
processing.
•
Data from a time-controlled or interrupt-driven program to external outputs is written during time-
controlled or interrupt-driven program processing both to the “normal” PIQ and the interrupt
PIQ.
•
Data from the interrupt PIQ is read out to the outputs in the next interrupt output data cycle.
•
The PIQ is copied to the interrupt PIQ after the OB1 program cycle.
Note
The interrupt output data cycle is executed only after the interrupt PIQ has been written
to.
Access to the interrupt PIQ is expressed by the “PB” or “PW” operand identifiers in a statement in
the time-controlled or interrrupt-driven program.
The letter “T” identifies the “Transfer” operation (see chapter 8).
Figure 6-11. Accesses to the Interrupt PIQ
•
Byte-by-byte writing
“PB <byte address>”
Example: Writing signal states to all
channels of an 8-channel digital output
module in slot 13
•
Word-by-word writing
“PW <word address>”
Example: Writing an analog value to channel 3
of a 4-channel analog output module in slot 5
Interrupt PIQ
Byte 13
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a
a a a
a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a
a a a
a a a
Byte 110
Byte 111
a a a
a a a
a a a
a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a
a a a
a a a
a a a
a a a a
a a a a
a a a a
a a a a
a a a
a a a
a a a
a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a a
a a a
a a a
a a a
a a a
a a a a
a a a a
a a a a
a a a a
0
15
T PY 13
a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
High byte
ACCU 1
Low byte
T PW 110
0
15
High byte
ACCU 1
Low byte
6-14
EWA 4NEB 812 6120-02b
Содержание SIMATIC S5-100U
Страница 6: ...EWA 4NEB 812 6120 02b ...
Страница 16: ...EWA 4NEB 812 6120 02b ...
Страница 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Страница 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Страница 23: ......
Страница 27: ......
Страница 36: ...EWA 4NEB 812 6120 02b ...
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 102: ...EWA 4NEB 812 6120 02b ...
Страница 156: ...EWA 4NEB 812 6120 02b ...
Страница 232: ...EWA 4NEB 812 6120 02b ...
Страница 268: ...EWA 4NEB 812 6120 02b ...
Страница 272: ...EWA 4NEB 812 6120 02b ...
Страница 336: ...EWA 4NEB 812 6120 02b ...
Страница 352: ...EWA 4NEB 812 6120 02b ...
Страница 412: ...EWA 4NEB 812 6120 02b ...
Страница 482: ...EWA 4NEB 812 6120 02b ...
Страница 484: ...EWA 4NEB 812 6120 02b ...
Страница 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Страница 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Страница 516: ...EWA 4NEB 812 6120 02b ...
Страница 522: ...EWA 4NEB 812 6120 02b ...
Страница 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Страница 524: ...EWA 4NEB 812 6120 02b ...
Страница 530: ...EWA 4NEB 812 6120 02b ...
Страница 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Страница 532: ...EWA 4NEB 812 6120 02b ...
Страница 534: ...EWA 4NEB 812 6120 02b ...
Страница 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Страница 536: ...EWA 4NEB 812 6120 02b ...
Страница 542: ...EWA 4NEB 812 6120 02b ...
Страница 543: ...Index EWA 4NEB 812 6120 02b ...
Страница 544: ...EWA 4NEB 812 6120 02b ...
Страница 550: ...EWA 4NEB 812 6120 02b ...