5 Categories & Use of Application Instructions
DVP-PLC Application Manual
5-14
The decimal floating point can be used in the following instructions:
D EBCD: Converting binary floating point to decimal floating point
D EBIN: Converting decimal floating point to binary floating point
Zero flag (M1020), carry flag (M1021), carry flag (M1022) and the floating point operation instructions:
Zero flag: M1020 = On if the operational result is “0”.
Borrow flag: M1021 = On if the operational result exceeds the minimum unit.
Carry flag: M1022 = On if the absolute value of the operational result exceeds the range of use.
5.4 E, F Index Register Modification
The index registers are 16-it registers. There are 2 points of E, F in ES/EX/SS, 8 points E0 ~ E3 and F0 ~ F3 in
SA/SX/SC, and 16 points E0 ~ E7 and F0 ~ F7 in EH/EH2/SV series MPU.
F0
E0
E0
F0
16-bit
16-bit
32-bit
High byte
Low byte
E and F index registers are 16-bit data registers, can be read and
written.
If you need a 32-bit register, you have to designate E. In this case, F
will be covered up by E and cannot be used; otherwise, the contents
in E may become incorrect. (We recommend you use MOVP
instruction to reset the contents in D to 0 when the PLC is switched
on.)
Combination of E and F when you designate a 32-bit index register:
(E0, F0), (E1, F1), (E2, F2), ... (E7, F7)
MOV K20E0 D10F0
E0 = 8 F0 = 14
20 + 8 = 28 10 + 14 = 24
Transmission K28 D24
See the diagram in the left hand side. E, F index register
modification refers to the content in the operand changes with
the contents in E and F.
For example, E0 = 8 and K20E0 represents constant K28 (20
+ 8). When the condition is true, constant K28 will be
transmitted to register D24.
Devices modifiable in ES/EX/SS series MPU: P, X, Y, M, S, KnX, KnY, KnM, KnS, T, C, D.
Devices modifiable in SA/SX/SC series MPU: P, X, Y, M, S, KnX, KnY, KnM, KnS, T, C, D
Devices modifiable in EH/EH2/SV series MPU: P, I, X, Y, M, S, K, H, KnX, KnY, KnM, KnS, T, C, D
E and F can modify the devices listed above but cannot modify themselves and Kn. K4M0E0 is valid and
K0E0M0 is invalid. Grey columns in the table of operand at the beginning page of each application instruction indicate
the operands modifiable by E and F.
Содержание 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...