Life Test Cycle.zip Sample Program Files
Sample program for a life tester
Compax3 T30/T40
General steps:
1. Home on powerup/reset
This uses the Compax3 T30's drive configuration for the homing mode.
2. Move to the starting position
3a. If Column 3 Row 1 is 0, do increment a distance.
3b. Dwell some time.
3c. Move back to starting position.
3d. Increment cycle counter.
4a. If Column 3 Row 1 is 1, do a pressing force.
4b. Hold this pressing force for some time.
4c. Move back to starting position.
4d. Increment cycle counter.
5. Dwell some time and repeat.
Note: If the pressing force isn't reached, the cycle counter won't increment.
If the Clamp Failed distance is reached, the cycle counter won't increment.
This could indicate a part hasn't been fed correctly or a part has broken.
Two MS-Excel files are included, that use Visual Basic (VB6) ActiveX control to communicate to the Compax3.
Cycle Setup and Counter.xls allows configuring the user variable arrays and also shows communication status, current position and the cycle count.
Cycle Counter.xls displays cycle count and current position.
The cycle count is a RETAIN variable (non-volatile) and will be retained when powered off.
The T30 and T40 are programmed in IEC61131-3 (PLCopen) with Codesys and the C3 ServoManager software.
The press clamp force is input in Newtons and the time to ramp to that force is input in seconds. From this the mNm torque for the motor is calculated. For this, the screw lead, gear ratio and mechanical efficiency should also be entered.