DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
-198
K8: Transform 8-bit GPS data into 32-bit floating point data in the following rule:
dd
mm
1
mm
2
mm
3
Hi-byte Lo-byte
dd.mm
1
mm
2
mm
3
dd
1
dd
0
.mm
1
mm
2
mm
3
32bit Floating (S+4=H4E)
4E
dd
1
dd
0
mm
1
mm
2
mm
3
45
S+0
–dd.mm
1
mm
2
mm
3
32bit Floating (S+4 != H4E)
S+1
S+2
S+3
S+4
S+5
S+6
S+7
S+8
S+9
S+10
32bit Floating (S+10=H45)
D+0
D+0
–dd
1
dd
0
.mm
1
mm
2
mm
3
32bit Floating (S+10 != H45)
D+2
D+2
dd
mm
1
mm
2
mm
3
Hi-byte Lo-byte
dd.mm
1
mm
2
mm
3
dd
1
dd
0
.mm
1
mm
2
mm
3
32bit Floating (S+4=H4E)
4E
dd
1
dd
0
mm
1
mm
2
mm
3
45
S+0
–dd.mm
1
mm
2
mm
3
32bit Floating (S+4 != H4E)
S+1
S+2
S+3
S+4
S+5
S+6
S+7
S+8
S+9
S+10
32bit Floating (S+10=H45)
D+0
D+0
–dd
1
dd
0
.mm
1
mm
2
mm
3
32bit Floating (S+10 != H45)
D+2
D+2
K9: Calculate the optimal frequency for positioning instructions with ramp up/ down function.
Users only need to set up the total number of pulses for positioning and the total time for
positioning first, DTM instruction will automatically calculate the optimal max output
frequency as well as the optimal start frequency for positioning instructions with
ramp-up/down function such as PLSR, DDRVI and DCLLM.
Points to note:
1. When the calculation results exceed the max frequency of PLC, the output frequency will be
set as 0.
2. When the total of ramp-up and ramp-down time exceeds the total time for operation, PLC
will change the total time for operation (S+2) into “ramp-up time (S+3) + ramp-down time
(S+4) + 1” automatically.
Explanation on operands:
S+0, S+1: Total number of pulses for operation (32-bit)
S+2: Total time for operation (unit: ms)
S+3: Ramp-up time (unit: ms)
S+4: Ramp-down time (unit: ms)
D+0, D+1: Optimal max output frequency (unit: Hz) (32-bit)
D+2: Optimal start frequency (Unit: Hz)
n: Reserved
Example: K9
1. Set up total number of pulses, total time, ramp-up time and ramp-down time in source device
starting with D0. Execute DTM instruction and the optimal max frequency as well as optimal
start frequency can be obtained and executed by positioning instructions.