![Mitsubishi Programmable Controllers FX-232ADP Скачать руководство пользователя страница 8](http://html1.mh-extra.com/html/mitsubishi-programmable-controllers/fx-232adp/fx-232adp_user-manual_1812267008.webp)
Power on
X000,ON
RS instruction
drive
Turn on the power of the PC and printer, check the printer is on
line and switch the PC to RUN.
Turn on X000, and drive RS instruction.
Data send
X001,ON
Every time X001 is turned on, the contents of D200 to D210 are
sent to the personal computer, and "test data" is displayed.
Data send
After receiving and storing data from personal computer in D500,
it is output to Y000 to Y017. When input X002 is turned on, the
receive completion flag is reset.
Personal
computer
operation
Operation
Sequence program
M8000
M8161
M8002
X000
X001
M 0
[ MOV H0067 D8120 ]
Setting of communication format
②
RS instruction drive
③
[ RS D200 K11 D500 K1 ]
[ PLS M0 ]
Handled by 8-bit data
①
[ MOV H0074 D200 ]
Writing of send data
④
Herein, "test line" is sent.
[ MOV H0065 D201 ]
[ MOV H0074 D207 ]
[ MOV H0061 D208 ]
[ MOV H000D D209 ]
[ MOV H000A D210 ]
[ SET M8122 ]
[ END ]
0
3
9
19
22
Send request
⑤
80
M8123
X002
M 1
[ MOV D500 K4Y000 ]
[ PLS M1 ]
[ RST M8123 ]
81
89
92
96
Output of receive data
⑥
Receive completion reset
⑦
…
…
…
…
…
…