ASDA Series Application Note Introduction of E-Cam Operation
March, 2015 2-37
Gear Box
Tooth #A
(to motor)
Tooth #B
(to cutter)
Cutting
Length L
Diameter
d1
Diameter
d2
Encoder pulse
number per
revolution, N
The
number
of cutter,
C
4
P5-84 = N / (π * d2 (mm) ) * L (mm), (pulses required by L)
P5-83 = 1
P5-95.H (in Hexadecimal) = A * C
P5-95.L (in Hexadecimal) = B
P5-96 = L (mm) / (π * d1 (mm) ) * C * Vc * 1000000
Vc = Speed compensation, Vc = 1, Do not compensate.
Vc = 0.9, Slow down to 90%, Vc = 1.1, Speed up to 110% .
16 bits ( A x C) 16 bits ( B)
P5-95
P5-95.H (Hex.) P5-95.L(Hex.)
Figure 2.54 Mechanical Settings when Using Macro 7
Step 5: When all relevant parameters are set, write 7 to P5-97 to enable Macro 7. After it is
enabled, read the same parameter P5-97 again, if the value is 0x1007, it means this table is
created by macro successfully. If any error code occurs, please modify the parameter
according to the error message.
Figure 2.55 Enable Macro Command 7
List of error codes from P5-97 for #7 macro
F071h: E-Cam engaged. Unable to create a table.
F072h: Value of P5-94 exceeds in the range of 0~330.
F073h: Value of P5-93.H (Hex.) exceeds the range of 1~4.
F074h: Value of P5-93.L (Hex.) exceeds the range of 0~170 (Dec.).
F075h: Value of P5-96 exceeds the range of 50000~5000000.
F076h: Value of P5-82 exceeds the range of 30~72.
F078h: E-gear ratio value is too big. Make the value smaller but
keep the original ration of P1-44 and P1-45
(1280:100 128:10)
F077h: Inappropriate address. Value of P5-81 exceeds the range.
F079h: Acc zone is too small, narrow W, Y or S.
F07Ah: Waiting zone is too small. Enlarge W or narrow Y.
Write P5-97 = 7
Read P5-97
P5-97 = 0x1007 ?
Modify the parameter
according to the
error message
Success
True
False
*Please refer to Chapter 8 of ASDA-A2 User Manual for parameter details.