8 Application Instructions API 100-149
DVP-PLC Application Manual
8-10
M1002
MOV
H87
D1120
SET
M1120
SET
M1122
MOV
K100
D1129
RST
M1127
M1127
X0
MODWR
K1
H0100
H1770
X0
M1129
M1140
M1141
RST
M1129
MOV
K3
D0
LD>=
D0
D100
M1122
INC
D100
RST
D100
M1129
M1140
RST
M1140
M1141
RST
M1141
Communication time-out Retry
Data receive error Retry
Sending address error Retry
Receiving completed
handle received data
Set up communication protocol
to 9600, 8, E, 1
Retain communication protocol
Set up communication
time-out: 100ms
Set up transmission request
Set up communication instruction:
device address 01, data address H0100
data H1770
The received data are stored in D1070 ~ D1085 in ASCII
format.
Sending/receiving of data is completed. The flag is reset.
Communication time-out. The flag is reset.
Remarks:
1. For the registers for flag settings, see explanations in API 80 RS.
2. The activation criteria placed before the two instructions, API 101 MODWR and API 150 MODRW (Function
Code H06, H10), cannot use rising-edge contacts (LDP, ANDP ORP) and falling-edge contacts (LDF, ANDF,
ORF) and have to enable sending request M1122 first.
3. There is no limitation on the times of using this instruction in the program, but only one instruction is allowed to
be executed at a time.
Summary of Contents for DVP-PLC
Page 1: ...PLC PLC...
Page 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Page 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Page 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Page 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...