3 Basic Instructions
DVP-PLC Application Manual
3-7
Program Example:
Ladder diagram:
Instruction code:
Operation:
LD
X0
Loading in contact A of X0
MPS
Saving into stack
AND
X1
Connecting to contact A of X1 in series
OUT Y1
Driving
Y1
coil
MRD
Reading from stack
AND
X2
Connecting to contact A of X2 in series
OUT
M0
Driving M0 coil
MPP
Reading from stack and pop pointer
OUT Y2
Driving
Y2
coil
X0
Y1
X1
M0
X2
Y2
END
MPP
MRD
MPS
END
Program
ends
Mnemonic Function
Program
steps
OUT
Output coil
1
Controllers
ES
EX
SS
SA
SX
SC
EH
SV
X0 ~ X377
Y0 ~ Y377 M0 ~ M4095 S0 ~ S1023
T0 ~ T255
C0 ~ C255
D0 ~ D9999
Operand
-
9
9
9
-
-
-
Explanations:
1. To output the logical operation result before OUT instruction into a designated device.
2. Actions of coil contact:
OUT instruction
Contact
Operational result
Coil
A contact (normally open)
B contact (normally closed)
FALSE Off
Off
On
TRUE On
On
Off
Program Example:
Ladder diagram:
Instruction code:
Operation:
LDI
X0
Loading in contact B of X0
AND
X1
Connecting to contact A of X1 in series
X0
X1
Y1
OUT
Y1
Driving Y1 coil
Mnemonic
Function
Program Steps
SET
Latched (On)
1
Controllers
ES
EX
SS
SA
SX
SC
EH
SV
X0 ~ X377
Y0 ~ Y377 M0 ~ M4095 S0 ~ S1023
T0 ~ T255
C0 ~ C255
D0 ~ D9999
Operand
-
9
9
9
-
-
-
Explanations:
Содержание DVP-PLC
Страница 1: ...PLC PLC...
Страница 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Страница 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Страница 250: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 38 X0 DIV D0 D10 D20 D0 D10 K4Y0 DIV...
Страница 270: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 58 RST M0 X0 RST T0 RST Y0 FMOV K0 D10 K5...
Страница 337: ...7 Application Instructions API 50 99 DVP PLC APPLICATION MANUAL 7 53 X10 STMR T10 K50 Y0 Y3 X10 Y1 Y2 5 sec 5 sec...
Страница 458: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 56 or relay itself See 2 3 for more information...
Страница 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Страница 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...