Specifications

7. Application Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
7-27
M1000
FLT D10 D100
BIN
K2X0
D200
FLT D200 D202
DEDIV K615 K10
DEDIV D100 D202
DEMUL D400 D300
DEBCD D20 D30
DINT
D20
D40
D300
D400
D20
1
2
3
4
5
6
7
8
Covert D10(BIN integer) to D101, D100(decimal of binary system).
Covert the value of X7~X0(BIN integer) to D200(BIN integer).
Covert D200(BIN integer) to D203, D202 (decimal of binary system).
Save the result of K615
÷ K10 to D301, D300 (decimal of binary
system)
Save the result of decimal of binary system of (D101, D100)
÷ (D203,
D202) to D401, D400 (decimal of binary system)
Save the result of decimal of binary system of (D401, D400) Ø (D301,
D300) to D21, D20 (decimal of binary system)
Covert decimal of binary system (D21, D20) to decimal of decimal
system (D31, D30)
Covert decimal of binary system (D21, D20) to BIN integer D41, D40
Please refert to page 7-4 Handling of Decimal for detail.
50 REF
D n Input/Output refresh immediately
D X0, X10, Y0, Y10
n K8, K16, H8, H10
The state of all PLC inputs and outputs will be refreshed after scanning
to END. The state of inputs is read from external inputs to save in
inputs memory. The output terminals send outputs memory to output
device after END command. Therefore, this command can be used
during algorithm process when need to input/output the newest data.
The state of all inputs and outputs may change immediately after they
are scanned. If the user does not want to wait for the next scan time,
the instruction REF may be used.
The input points and output points that this command handles is the I/O
point of MPU: X0~X17, Y0~Y17
Program Example
X0
REF
X0
K8
Ϩʳ When X0 = ON, the 8 input points will be scanned immediately.
Program Example
X0
REF
Y0
K8
Ϩʳ When X0 = On, the output signal Y0~Y7 (8 points) are sent to output
terminal.