3 . I n s t r u c t i o n S e t
M N050 03003E F or mo re infor ma tio n vi sit:
w w w. e a t o n . c o m
3-195
When the total of ramp-up and ramp-down time exceeds the total time for operation,
the ELC will change the total time for operation (
S
+2) into “ramp-up time (
S
+3) +
ramp-down time (
S
+4) + 1” automatically.
Description of the operands:
S
+0,
S
+1: Total number of pulses (32-bit value)
S
+2: Total time for operation (unit: ms)
S
+3: Ramp-up time (unit: ms)
S
+4: Ramp-down (unit: ms)
D
+0,
D
+1: Optimal max output frequency (unit: Hz) (32-bit)
D
+2: Optimal start frequency (Unit: Hz)
n
: Reserved
Program Example1: m = K2, m = K4
1.
When M0 = ON, transform 16-bit data in D0, D1 into ASCII data in the following order: H byte -
L byte - H byte - Low byte, and store the results in D10 ~ D17.
M0
DTM
D0
D2
K2
K2
DTM
D2
D10
K4
K4
2.
Value of source data D0, D1:
Register
D0
D1
Value H1234
H5678
3.
When the 1
st
DTM instruction executes, the ELC transforms the 16-bit data (Hi-byte, Lo-byte)
into 8-bit data and moves it to registers D2~D5.
Register
D2
D3
D4
D5
Value H12 H34 H56 H78
4.
When the 2
nd
DTM instruction executes, the ELC transforms the 8-bit HEX data into ASCII
data and moves it to registers D10~D17.
Register
D10
D11
D12
D13
D14
D15
D16
D17
Value H0031 H0032
H0033
H0034
H0035
H0036 H0037 H0038
Program Example 2: m = K9
1.
Set up the total number of pulses, total time, ramp-up time and ramp-down time in the source
starting with D0. Execute the DTM instruction and the optimal max frequency as well as
optimal start frequency can be obtained and executed by the positioning instructions.
2.
Assume the source data is set up per the following:
Total Pulses
Total Time
Ramp-up Time
Ramp-down Time
D0, D1
D2 D3 D4
K10000
K200 K50 K50
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...