7 Application Instructions API 50-99
D V P - P L C A P P L I C AT I O N M A N U A L
7-102
0
0
0
0
0
1
1
1
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0 1
D100
D101
Parity
D0 low byte
D0 high byte
D1 low byte
D1 high byte
D2 low byte
D2 high byte
D100
D101
(S)
Content of data
K100 = 0 1 1 0 0 1 0 0
K111 = 0 1 1 0 1 1 1 1
K120 = 0 1 1 1 1 0 0 0
K202 = 1 1 0 0 1 0 1 0
K123 = 0 1 1 1 1 0 1 1
K211 = 1 1 0 1 0 0 1 1
K867
0 0 0 1 0 0 0 1
The parity is 1 when there is a odd number of 1.
The parity is 0 when there is a even number of 1.
Total
Program Example 2:
1. M1161 = On: The 8-bit conversion mode
2. When X0 = On, the instruction will sum up 6 data stored in the register designated in D0 (8 bits as a unit;
n
= 6
indicates D0 ~ D5 are designated) and store the result in the register designated in D100. The parity bits are
stored in D101.
X0
CCD
D0
D100
K6
M1000
M1161
0
0
0
0
0
1
1
1
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
D100
D101
Parity
D0 low byte
D1 low byte
D2 low byte
D3 low byte
D4 low byte
D5 low byte
D100
D101
(S)
Content of data
K100 = 0 1 1 0 0 1 0 0
K111 = 0 1 1 0 1 1 1 1
K120 = 0 1 1 1 1 0 0 0
K202 = 1 1 0 0 1 0 1 0
K123 = 0 1 1 1 1 0 1 1
K211 = 1 1 0 1 0 0 1 1
K867
0 0 0 1 0 0 0 1
The parity is 1 when there is a odd number of 1.
The parity is 0 when there is a even number of 1.
Total
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...