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 or m o r e i nf o r m a t i o n v i s i t : www. e a t o n. c o m
3-485
API Mnemonic
Operands
Function
198
D VSPO
S
1
, S
2
, S
3
, D
Variable Speed Pulse Output
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
*
*
*
S
3
*
*
*
D *
DVSPO: 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
: Target frequency of the output
S
2
: Target number of pulses
S
3
: Gap time and gap
frequency
D
: Pulse output address (Y0, Y2)
Description:
1.
The Maximum frequency for
S
1
is 100kHz. The target frequency can be modified during the
execution of the instruction. If
S
1
is modified, VSPO will ramp up/down to the target frequency
according to the gap time and gap frequency set in
S
3.
2.
S
2
, target number of pulses is valid only when the instruction is executed the first time.
S
2
can
NOT be modified during the execution of the instruction.
S
2
can be a negative value, however,
if the output direction is not specified in D1220/D1221, the ELC will assume this value is a
positive value.
3.
S
3
occupies 2 consecutive 16-bit registers.
S
3
+0 stores the gap frequency
S
3
+1 stores the gap
time. These parameters can be modified during the execution of the instruction. The range for
S
3
+0: 6Hz ~ 32767Hz; the range for
S
3
+0: 5ms ~ 80ms. If the value exceeds the available
range, the ELC will use the upper or lower limits.
4.
D,
the
pulse output address supports only Y0 and Y2. If Y1 and Y3 are required for output
direction control, D1220 or D1221 must be set to K1(Pulse/Dir).
5.
Parameters set in
S
3
can only be modified when the value in
S
1.
is modified accordingly. When
the target frequency is set to 0, the ELC will ramp down to a stop based on the parameters set
in
S
3
. When the output is stopped, the ELC will enable the flags indicating pause status (Y0:
M1538, Y2: M1540). If the target frequency is other than 0, the pulse output will ramp up to the
target frequency and operates untill the target number of pulses are complete..
Function description:
Pulse output diagram:
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...