EasyManua.ls Logo

Moeller PS416-INP-40 SERIES - Page 63

Moeller PS416-INP-40 SERIES
74 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...
Operation
3-22
01/00 AWB27-1239-GB
Example
Yout want to read or write the outputs of a digital
output card. The card is located in the basic unit (line
0, station 0). The address 12 was set on the card.
Figure 3-13: Bit-, byte and word addressing with the
PS416-OUT-400 with address 12
Wordwise addressing addresses all 16 outputs of
the PS416-OUT-400 simultaneously with one
command:
Variable declaration:
VAR
Output_Slave_QW12 AT%QW0.0.0.12:WORD;
END_VAR
Q12.0
Q13.0
Q12.7
Q13.7
QB12
QB13
QW12
CPU
02
4
67810
OUT 400
OUT 400
OUT 400
OUT 410
OUT 410
POW
OUT 400
OUT 400
OUT 400
234
14
12
Q.0
Q.1
Q.2
Q.3
Q.4
Q.5
Q.6
Q.7
Q.8
Q.9
Q.10
Q.11
Q.12
Q.13
Q.14
Q.15
Slot
Adr.