Special Functions
Instruction Format
1, Send Data:
SEND D10 D100 K1
S1·
S2·
n
M0
z Data sending instruction, send data every rising edge of M0
Start address of send data. Operands: K、TD、CD、D、FD
The sent character’s number. Operands: K、TD、CD、D、FD
n:COM port Bound: K1~K2
z In the data sending process, “sending” flag M8122 (COM 1) sets ON.
S2·
S1·
2, Receive Data:
RCV D20 D200 K1
S1·
S2·
n
M1
z Data receiving instruction, receive data every rising edge of M0
Receive address of send data. Operands: K、TD、CD、D、FD
The received character’s number. Operands: K、TD、CD、D、FD
n:COM port Bound: K1~K2
z In the data receiving process, “receiving” flag M8124 (COM 1) sets ON.
S2·
S1·
12