3 . I n s t r u c t i o n S e t
M N 0 5 0 0 3 0 0 3 E F o r m o r e
i n f o r m a t i o n
v i s i t :
w w w. e a t o n . c o m
3 - 3 8 7
API Mnemonic
Operands
Function
158
D DRVI
S
1
, S
2
, D
1
, D
2
Relative Position Control
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T
C
D
E
F
S
1
*
*
*
*
*
*
*
*
*
*
*
S
2
*
*
*
*
*
*
*
*
*
*
*
D
1
*
D
2
*
*
*
DDRVI: 17 steps
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32
16
P
32
16
P
32
16
P
32 16
P
32
16
P
Operands:
S
1
: Numbers of pulses (Target device)
S
2
: Pulse output frequency
D
1
: Pulse output address
D
2
: Rotation direction signal
Description: (ELC-PH/PV)
1.
S
1
is specified as the numbers of pulses (relative position). For the ELC-PV series, the 16-bit
instruction range is -32,768 ~ +32,767, and the range for the 32-bit instruction is
-2,147,483,648 ~ +2,147,483,647. For ELC-PH series, the range of the 32-bit instruction is
-2,147,483,648 to +2,147,483,647. The positive (+) and negative (-) symbol indicates the
forward and reverse direction.
2.
S
2
is specified as the pulse output frequency. For the ELC-PV series, the 16-bit instruction
range is 10 ~ 32,767Hz, and the range of the 32-bit instruction is 10 ~ 200,000Hz. For the
ELC-PH series, the 32-bit instruction range is 100 ~ 100,000Hz.
3.
The ELC-PV series has four groups of A/B phase pulse outputs, CH0 (Y0, Y1), CH1 (Y2, Y3),
CH2 (Y4, Y5) and CH3 (Y6, Y7).
4.
D
1
is specified as the pulse output address.
Model
ELC-PH
ELC-PV
Pulse output end
Y10, Y11
Y0, Y2, Y4, Y6
5.
D
2
is specified as rotation direction signal and it operates based on the polarity of
S
1
. When
S
1
is negative (-),
D2
is OFF. When
S
1
is positive (+),
D2
is ON and
D
2
will not be OFF
immediately following the completion of the pulse output.
D
2
will be turned OFF when contact
switch is OFF.
6.
For ELC-PV series, S1 is
- The 32-bit data stored in the present value registers D1337 (high word) and D1336 (low
word) of CH0 (Y0, Y1).
- The 32-bit data stored in the present value registers D1339 (high word) and D1338 (low
word) of CH1 (Y2, Y3).
- The 32-bit data stored in the present value registers D1376 (high word) and D1375 (low
word) of CH2 (Y4, Y5).
- The 32-bit data stored in the present value registers D1378 (high word) and D1377 (low
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...