,QVWUXFWLRQV
&KDSWHU
,2 0HVVDJH DQG &RPPXQLFDWLRQ
ï
([DPSOH ï 3URJUDP )LOH RI 6/& 3URFHVVRU
(U)
B3
0
(EN)
(DN)
(ER)
MSG
READ/WRITE MESSAGE
Read/write
WRITE
Target
Device
500CPU
Control
Block
N10:0
Control
Block
Length
7
END
06* LQVWUXFWLRQ
VWDWXV ELWV
'1
(1
]/[
N7:0
0
(L)
B3
0
( )
N7:0
1
(RES)
T4:0
(EN)
(DN)
TON
TIMER ON DELAY
Timer
T4:0
Time Base
0.01
Preset
400
Accum
0
7HPSHUDWXUHïVHQVLQJ
,QSXW 'HYLFH
] [
S:1
15
] [
S:4
6
] [
B3
0
(L)
N7:0
0
] [
S:1
15
] [
I:1.0
5
(EN)
(DN)
(ER)
MSG
READ/WRITE MESSAGE
Read/write
READ
Target
Device
500CPU
Control
Block
N11:0
Control
Block
Length
7
] [
N10:0
13*
] [
T4:0
DN
] [
N11:0
13*
(U)
B3
0
(RES)
T4:0
(L)
N7:0
0
(U)
N11:0
15*
(U)
N10:0
15*
2SHUDWLRQ QRWHV DSSHDU RQ WKH IROORZLQJ SDJH
%LW RI WKH PHVVDJH
ZRUG 8VHG IRU IDQ
FRQWURO
%LW RI WKH PHVVDJH
ZRUG 7KLV LV WKH
LQWHUORFN ELW
ïVHFRQG 7LPHU
:ULWH PHVVDJH LQVWUXFWLRQ
7KH VRXUFH DQG WDUJHW ILOH
DGGUHVVHV DUH 1
7DUJHW QRGH
0HVVDJH OHQJWK ZRUG
5HDG PHVVDJH LQVWUXFWLRQ
7KH GHVWLQDWLRQ DQG WDUJHW
ILOH DGGUHVVHV DUH 1
7DUJHW QRGH
0HVVDJH OHQJWK ZRUG
/DWFK ï 7KLV DODUP
LQVWUXFWLRQ QRWLILHV WKH
DSSOLFDWLRQ LI WKH LQWHUORFN
ELW 1 UHPDLQV VHW IRU
PRUH WKDQ VHFRQGV
)LUVW 3DVV %LW
)LUVW 3DVV %LW
PV &ORFN %LW
0HVVDJH :ULWH 'RQH
%LW
0HVVDJH 5HDG 'RQH
%LW
(L)
B3
10