App - 51
Appendix 6 Precautions for Using Serial Communication Module
Appendix 6.8 PRR Instruction
APPENDICES
The program example of sending data by the user registration frame of the nonprocedural
protocol communication is shown in Diagram App.33.
(For the I/O signal is X/Y80 to X/Y9F)
Diagram App.33 Program Example
Sets the send data and the number of send data.
Sets the data to be written to the schedule
specification area of the buffer memory.
Writes each data of CR/LF output specification to output
frame No. specification to the schedule specification area.
Sets the number of send data.
Turns ON the send request signal.
Turns OFF the send request signal if the send
completion signal is turned ON.
Reads the error code and turns OFF the send request
signal if the send error complete signal is turned ON.
0
42
PLS M50
SET Y80
MOV K4 D0
3
MOV H1234 D1
MOV H56AB D2
MOV H0 D10
MOV H1 D11
MOV H5 D12
MOV H3F2 D13
MOV H3F3 D14
MOV H8001 D15
MOV H8000 D16
MOV H41B D17
MOV H0 D18
TO H8 H0B7 D10 K9
FROMP H8 H257 D20 K1
TO H8 H400 D0 K3
RST Y80
RST Y80
M50
X80
44
X81
X9E X9F X80 X81 Y80
X50
Turns OFF the send request signal if the send
completion signal is turned ON.