4. COMMUNICATIONS USING A DEDICATED
PROTOCOL
MELSEC
QnA
4.9.4
Transmission from PC CPU by on-demand function
(Practice Contents)
This section sends data from the PC CPU to an external device when X0 is turned ON
during dedicated protocol data communications.
Sequence program
) -
I -
> -
1 -
l
i
{
MOV
K1
K2
t i l 234
H5678
3 [
RST
I
;
-
F'
[SET
DO
D2
D4
D5
Y70
Y71
M1
M10
Y70
Y71
M1
'
'
Designates send channel 1.
' '
Designates send
data count 2 words
Send data setting
' '
'On-demand
execution
'
. .
Normal end
' .
Abnormal end
(Dl =error code)
X0
:
Data set
X9F : Watchdog timer error
(pushbutton switch)
4
-
38