External Linear Axis in CPRog v980-10-XXX
From Wiki
To use an external linear axis, an additional stepper motor module is required. That module needs to be configured upon receipt. Changes to the CPRog project file need to be made and a robot file for the external linear axis has to be installed and potentially adapted.
Module Configuration
Prior to supplying power to the module, set the switch on the top of the stepper motor module.
Configure rotary switch on the stepper motor module to the next available address:
- If configured as 4th axis, the switch on the module needs to be set to position "6". (In software this is (in decimal) joint ID 64
= 0x10 + 8 * <switch_position>
) - If configured as 5th axis, the switch on the module needs to be set to position "8". (In software this is (in decimal) joint ID 80
= 0x10 + 8 * <switch_position>
)
Firmware Paramters
The stepper motor module will need new firmware parameters. These have to be configured using the ModuleCtrl Software.
- Install and start the ModuleCtrl software.
- Select the correct CAN ID (hex) of your module.
- For an additional 4th axis this would be 0x40 (decimal 64 converted to hex).
- For an additional 5th axis this would be 0x50 (decimal 80 converted to hex).
- Click "connect"
- Switch to the Configuration tab.
- If the additional external axis has a motor encoder, which it normally should, enter the paramters as shown on Fig 2. . Initially, click "read" to download the current parameters from the module. Remember to click the set after entering the values, so that the parameters are uploaded to the firmware.