Rockwell Automation Publication 2198-UM004A-EN-P - October 2019 369
Motion Control Applications Chapter 12
Build Up the E-Cam Table - Rotary Shear, Including Synchronous Area
(code 0006h)
This macro calculates the data for the E-Cam table according to these parameters
and stores them in the data array specified by ID369 (P5.081)
ECamStartAddress. Parameters listed are relevant to the E-Cam table
calculation. Verify that the parameters are correctly set up prior to execution.
After this macro is executed, if the above parameters have been modified, the E-
Cam table must be recreated and you must execute this macro again. Data in the
E-Cam table is changed after executing this macro. Do not execute the macro
when E-Cam is engaged.
In E-Cam applications, parameters (such as ID371 (P5.083) and ID372
(P5.084)) that are irrelevant to this macro are not listed here. Set up the
parameters according to the actual application. See
E-Cam on page 333. After
executing this macro, the E-Cam table is not saved to EEPROM automatically.
Code Description
Failure code F041h Protection function is unlocked and cannot be unlocked repeatedly
Failure code F043h Password value exceeds the allowable range (1…16777215)
Failure code F044h Exceeded maximum failed password attempts: locked. Can only be unlocked by resettingID193 (P2.008)
ForceFunction = 10, but this also resets all parameters to the default values.
Failure code Ennnh Incorrect password setting: failed to unlock nnn: remaining attempts to enter the password. The number
decrements by one after each failed attempt. When the number displays 0, it is locked and does not allow
further attempts.
Success code 1004h -
Command code 0006h Build up the E-Cam table: rotary shear, including synchronous area (7 areas)
General parameters ID369 (P5.081) = Address of table (data array)
ID370 (P5.082) = 7 (This macro is fixed to 7 areas, 8 points)
ID151 (P1.044) and ID152 (P1.045) = E-Gear ratio (must be set up in advance)
Macro parameters ID382 (P5.094) = A (deceleration ratio: numerator) x C (cutting count)
ID383 (P5.095) = B (deceleration ratio: denominator)
ID384 (P5.096) = 1000000 x R x V
• R (cutting ratio) = L (target cutting length) / ℓ (perimeter of cutter)
Allowable cutting ratio: (0.3…2.5) times
V (speed factor) = target cutting speed / speed of delivered product
V = 1.0: when cutting, the speed of cutter is same as the delivered product
V = 1.1: when cutting, the speed of cutter is 10% faster than the delivered product
V = 0.9: when cutting, the speed of cutter is 10% slower than the delivered product
Code Description
Failure code F061h When creating the table, E-Cam is in engaged status. To issue this command, E-Cam needs to disengage
first.
Failure code F062h Value of ID382 (P5.094) MacroCmdParameter3 exceeds the range: (1…65535)
Failure code F063h Value of ID383 (P5.095)MacroCmdParameter2 exceeds the range: (1…65535)
Failure code F064h Value of ID384 (P5.096) MacroCmdParameter4 exceeds the range: (300000…2500000)