![]() |
ApossC SDK
V01.15
|
Declaration of the Epos4 function. More...
Go to the source code of this file.
Functions | |
| long | sdkEpos4_SetupECatBusModule (long axis, long busId, long pdoNumber, long operationMode) |
| Setup the ECAT bus module for an Epos4. More... | |
| long | sdkEpos4_SetupECatVirtAmp (long axis, long maxRpm, long operationMode) |
| Setup the virtual amplifier for an Epos4 with EtherCat. More... | |
| long | sdkEpos4_SetupECatVirtCntin (long axis, long operationMode) |
| Setup the virtual counter input for an Epos4 with EtherCat. More... | |
| long | sdkEpos4_SetupECatSdoParam (long busId, long pdoNumber, long axisPolarity, long operationMode) |
| Setup the Sdo parameter for an Epos4 with EtherCat. More... | |
| long | sdkEpos4_SetupCanBusModule (long axis, long busId, long pdoNumber, long operationMode) |
| Setup the Can bus module for an Epos4. More... | |
| long | sdkEpos4_SetupCanVirtAmp (long axis, long maxRpm, long operationMode) |
| Setup the virtual amplifier for an Epos4 with Can bus. More... | |
| long | sdkEpos4_SetupCanVirtCntin (long axis, long operationMode) |
| Setup the virtual counter input for an Epos4 with Can bus. More... | |
| long | sdkEpos4_SetupCanSdoParam (long busId, long pdonumber, long axisPolarity, long operationMode) |
| Setup the Sdo parameter for an Epos4. More... | |
| long | sdkEpos4_AxisHomingStart (long axis, long busId, long operationMode, long &homingState) |
| State machine function for performing a homing on an EPOS4. More... | |
| void | sdkEpos4_PrintErrorDescription (long errorCode) |
| Prints a error description for Epos4 errors. More... | |
| #define EPOS4_ABORT_CONNECTION_OPTION_CODE 0x6007 |
Definition at line 118 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ACTIVE_FIELDBUS 0x2010 |
Definition at line 74 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ADDITIONAL_IDENTITY 0x2100 |
Definition at line 75 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ADDITIONAL_POSITION_ACTUAL_VALUES 0x60E4 |
Definition at line 186 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ADDITIONAL_VELOCITY_ACTUAL_VALUES 0x60E5 |
Definition at line 187 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ANALOG_INCREMENTAL_ENCODER 0x3011 |
Definition at line 84 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ANALOG_INPUT_ADJUSTMENT 0x3163 |
Definition at line 109 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ANALOG_INPUT_CURRENT_SET_VALUE_PROPERTIES 0x3170 |
Definition at line 110 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ANALOG_INPUT_GENERAL_PURPOSE 0x3162 |
Definition at line 108 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ANALOG_INPUT_PROPERTIES 0x3160 |
Definition at line 106 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ANALOG_INPUT_VELOCITY_SET_VALUE_PROPERTIES 0x3171 |
Definition at line 111 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ANALOG_OUTPUT_GENERAL_PURPOSE 0x3182 |
Definition at line 114 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ANALOG_OUTPUT_PROPERTIES 0x3180 |
Definition at line 112 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_AXIS_CONFIGURATION 0x3000 |
Definition at line 79 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CAN_BIT_RATE 0x2001 |
Definition at line 69 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CAN_BIT_RATE_DISPLAY 0x200A |
Definition at line 73 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_COB_ID_EMCY 0x1014 |
Definition at line 37 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_COB_ID_SYNC 0x1005 |
Definition at line 33 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CONFIGURATION_OF_ANALOG_INPUTS 0x3161 |
Definition at line 107 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CONFIGURATION_OF_ANALOG_OUTPUTS 0x3181 |
Definition at line 113 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CONFIGURATION_OF_DIGITAL_INPUTS 0x3142 |
Definition at line 102 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CONFIGURATION_OF_DIGITAL_OUTPUTS 0x3151 |
Definition at line 104 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CONFIGURED_MODULE_IDENT_LIST 0xF030 |
Definition at line 195 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CONSUMER_HEARTBEAT_TIME 0x1016 |
Definition at line 38 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CONTROLWORD 0x6040 |
Definition at line 120 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CURRENT_ACTUAL_VALUES 0x30D1 |
Definition at line 97 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CURRENT_CONTROL_PARAMETER_SET 0x30A0 |
Definition at line 88 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CURRENT_DEMAND_VALUE 0x30D0 |
Definition at line 96 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CURRENT_THRESHOLD_FOR_HOMING_MODE 0x30B2 |
Definition at line 95 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_CUSTOM_PERSISTENT_MEMORY 0x210C |
Definition at line 77 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DETECTED_MODULE_IDENT_LIST 0xF050 |
Definition at line 196 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DEVICE_TYPE 0x1000 |
OBJECT DICTIONARY - EPOS4 Firmware Specification Edition 2020-04.
Definition at line 30 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DIAGNOSIS_HISTORY 0x10F3 |
Definition at line 41 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DIGITAL_HALL_SENSOR 0x301A |
Definition at line 86 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DIGITAL_INCREMENTAL_ENCODER_1 0x3010 |
Definition at line 83 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DIGITAL_INCREMENTAL_ENCODER_2 0x3020 |
Definition at line 87 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DIGITAL_INPUT_PROPERTIES 0x3141 |
Definition at line 101 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DIGITAL_INPUTS 0x60FD |
Definition at line 189 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DIGITAL_OUTPUT_PROPERTIES 0x3150 |
Definition at line 103 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DIGITAL_OUTPUTS 0x60FE |
Definition at line 190 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DISABLE_OPERATION_OPTION_CODE 0x605C |
Definition at line 124 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_DUAL_LOOP_POSITION_CONTROL_PARAMETER_SET 0x30AE |
Definition at line 92 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ELECTRICAL_SYSTEM_PARAMETERS 0x3002 |
Definition at line 81 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ERROR_CODE 0x603F |
Definition at line 119 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ERROR_HISTORY 0x1003 |
Definition at line 32 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_ERROR_REGISTER 0x1001 |
Definition at line 31 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_EXTENSION_1_IDENTITY 0x2101 |
Definition at line 76 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_FAULT_REACTION_OPTION_CODE 0x605E |
Definition at line 125 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_FLASH_STATUS_IDENTIFICATION 0x1F57 |
Definition at line 67 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_FOLLOWING_ERROR_ACTUAL_VALUE 0x60F4 |
Definition at line 188 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_FOLLOWING_ERROR_TIMEOUT 0x6066 |
Definition at line 137 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_FOLLOWING_ERROR_WINDOW 0x6065 |
Definition at line 136 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_FUNCTIONAL_SAFETY 0x3202 |
Definition at line 117 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_GEAR_CONFIGURATION 0x3003 |
Definition at line 82 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOLDING_BRAKE_PARAMETERS 0x3158 |
Definition at line 105 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOME_OFFSET_MOVE_DISTANCE 0x30B1 |
Definition at line 94 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOME_POSITION 0x30B0 |
Definition at line 93 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_ACCELERATION 0x609A |
Definition at line 170 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_ACT_POSITION 37 |
Definition at line 154 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_CURRENT_IDX_N_SPEED -2 |
Definition at line 166 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_CURRENT_IDX_P_SPEED -1 |
Definition at line 165 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_CURRENT_N_SPEED -4 |
Definition at line 168 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_CURRENT_P_SPEED -3 |
Definition at line 167 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_IDX_N_SPEED 33 |
Definition at line 156 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_IDX_P_SPEED 34 |
Definition at line 155 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_LIMIT_IDX_N_SPEED 1 |
Definition at line 164 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_LIMIT_IDX_P_SPEED 2 |
Definition at line 163 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_LIMIT_N_SPEED 17 |
Definition at line 160 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_LIMIT_P_SPEED 18 |
Definition at line 159 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_METHOD 0x6098 |
Definition at line 153 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_SPEEDS 0x6099 |
Definition at line 169 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_SWITCH_IDX_N_SPEED 11 |
Definition at line 162 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_SWITCH_IDX_P_SPEED 7 |
Definition at line 161 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_SWITCH_N_SPEED 27 |
Definition at line 158 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_HOMING_SWITCH_P_SPEED 23 |
Definition at line 157 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_IDENTITY_OBJECT 0x1018 |
Definition at line 40 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_INTERPOLATION_TIME_PERIOD 0x60C2 |
Definition at line 181 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MANUFACTURER_DEVICE_NAME 0x1008 |
Definition at line 34 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MAX_ACCELERATION 0x60C5 |
Definition at line 182 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MAX_MOTOR_SPEED 0x6080 |
Definition at line 147 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MAX_PROFILE_VELOCITY 0x607F |
Definition at line 146 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MODES_OF_OPERATION 0x6060 |
Definition at line 126 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MODES_OF_OPERATION_DISPLAY 0x6061 |
Definition at line 133 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MODULAR_DEVICE_PROFILE 0xF000 |
Definition at line 194 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MOTION_PROFILE_TYPE 0x6086 |
Definition at line 152 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MOTOR_DATA 0x3001 |
Definition at line 80 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MOTOR_PROTECTION 0x3200 |
Definition at line 115 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MOTOR_RATED_TORQUE 0x6076 |
Definition at line 141 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_MOTOR_TYPE 0x6402 |
Definition at line 192 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_NODE_ID 0x2000 |
Definition at line 68 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_OP_CSP 0x08 |
Definition at line 130 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_OP_CST 0x0A |
Definition at line 132 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_OP_CSV 0x09 |
Definition at line 131 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_OP_HMM 0x06 |
Definition at line 129 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_OP_PPM 0x01 |
Definition at line 127 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_OP_PVM 0x03 |
Definition at line 128 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_POSITION_ACTUAL_VALUE 0x6064 |
Definition at line 135 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_POSITION_CONTROL_PARAMETER_SET 0x30A1 |
Definition at line 89 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_POSITION_DEMAND_VALUE 0x6062 |
Definition at line 134 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_POSITION_OFFSET 0x60B0 |
Definition at line 174 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_POSITION_RANGE_LIMIT 0x607B |
Definition at line 144 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_POWER_SUPPLY 0x2200 |
Definition at line 78 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_PRODUCER_HEARTBEAT_TIME 0x1017 |
Definition at line 39 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_PROFILE_ACCELERATION 0x6083 |
Definition at line 149 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_PROFILE_DECELERATION 0x6084 |
Definition at line 150 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_PROFILE_VELOCITY 0x6081 |
Definition at line 148 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_PROGRAM_CONTROL 0x1F51 |
Definition at line 65 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_PROGRAM_DATA 0x1F50 |
Definition at line 64 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_PROGRAM_SOFTWARE_IDENTIFICATION 0x1F56 |
Definition at line 66 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_QUICK_STOP_DECELERATION 0x6085 |
Definition at line 151 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_QUICK_STOP_OPTION_CODE 0x605A |
Definition at line 122 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_RECEIVE_PDO_1_MAPPING 0x1600 |
Definition at line 47 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_RECEIVE_PDO_1_PARAMETER 0x1400 |
Definition at line 43 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_RECEIVE_PDO_2_MAPPING 0x1601 |
Definition at line 48 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_RECEIVE_PDO_2_PARAMETER 0x1401 |
Definition at line 44 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_RECEIVE_PDO_3_MAPPING 0x1602 |
Definition at line 49 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_RECEIVE_PDO_3_PARAMETER 0x1402 |
Definition at line 45 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_RECEIVE_PDO_4_MAPPING 0x1603 |
Definition at line 50 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_RECEIVE_PDO_4_PARAMETER 0x1403 |
Definition at line 46 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_RESTORE_DEFAULT_PARAMETERS 0x1011 |
Definition at line 36 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_RS232_BIT_RATE 0x2002 |
Definition at line 70 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_RS232_FRAME_TIMEOUT 0x2005 |
Definition at line 71 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SDO_SERVER_PARAMETER 0x1200 |
Definition at line 42 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SHUTDOWN_OPTION_CODE 0x605B |
Definition at line 123 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SI_UNIT_ACCELERATION 0x60AA |
Definition at line 173 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SI_UNIT_POSITION 0x60A8 |
Definition at line 171 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SI_UNIT_VELOCITY 0x60A9 |
Definition at line 172 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SOFTWARE_POSITION_LIMIT 0x607D |
Definition at line 145 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SSI_ABSOLUTE_ENCODER 0x3012 |
Definition at line 85 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_STANDSTILL_WINDOW_CONFIGURATION 0x30E0 |
Definition at line 100 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_STATUSWORD 0x6041 |
Definition at line 121 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_STORE_PARAMETERS 0x1010 |
Definition at line 35 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SUPPORTED_DRIVE_MODES 0x6502 |
Definition at line 193 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SYNC_MANAGER_2_PARAMETER 0x1C32 |
Definition at line 62 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SYNC_MANAGER_2_PDO_ASSIGNMENT 0x1C12 |
Definition at line 60 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SYNC_MANAGER_3_PARAMETER 0x1C33 |
Definition at line 63 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SYNC_MANAGER_3_PDO_ASSIGNMENT 0x1C13 |
Definition at line 61 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_SYNC_MANAGER_COMMUNICATION_TYPE 0x1C00 |
Definition at line 59 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TARGET_POSITION 0x607A |
Definition at line 143 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TARGET_TORQUE 0x6071 |
Definition at line 140 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TARGET_VELOCITY 0x60FF |
Definition at line 191 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_THERMAL_CONTROLLER_PROTECTION 0x3201 |
Definition at line 116 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TORQUE_ACTUAL_VALUE 0x6077 |
Definition at line 142 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TORQUE_ACTUAL_VALUES 0x30D2 |
Definition at line 98 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TORQUE_OFFSET 0x60B2 |
Definition at line 176 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TOUCH_PROBE_1_NEGATIVE_EDGE_COUNTER 0x60D6 |
Definition at line 185 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TOUCH_PROBE_1_POSITIVE_EDGE_COUNTER 0x60D5 |
Definition at line 184 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TOUCH_PROBE_FUNCTION 0x60B8 |
Definition at line 177 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TOUCH_PROBE_POSITION_1_NEGATIVE_VALUE 0x60BB |
Definition at line 180 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TOUCH_PROBE_POSITION_1_POSITIVE_VALUE 0x60BA |
Definition at line 179 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TOUCH_PROBE_SOURCE 0x60D0 |
Definition at line 183 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TOUCH_PROBE_STATUS 0x60B9 |
Definition at line 178 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TRANSMIT_PDO_1_MAPPING 0x1A00 |
Definition at line 55 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TRANSMIT_PDO_1_PARAMETER 0x1800 |
Definition at line 51 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TRANSMIT_PDO_2_MAPPING 0x1A01 |
Definition at line 56 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TRANSMIT_PDO_2_PARAMETER 0x1801 |
Definition at line 52 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TRANSMIT_PDO_3_MAPPING 0x1A02 |
Definition at line 57 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TRANSMIT_PDO_3_PARAMETER 0x1802 |
Definition at line 53 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TRANSMIT_PDO_4_MAPPING 0x1A03 |
Definition at line 58 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_TRANSMIT_PDO_4_PARAMETER 0x1803 |
Definition at line 54 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_USB_FRAME_TIMEOUT 0x2006 |
Definition at line 72 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_VELOCITY_ACTUAL_VALUE 0x606C |
Definition at line 139 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_VELOCITY_ACTUAL_VALUES 0x30D3 |
Definition at line 99 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_VELOCITY_CONTROL_PARAMETER_SET 0x30A2 |
Definition at line 90 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_VELOCITY_DEMAND_VALUE 0x606B |
Definition at line 138 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_VELOCITY_OBSERVER_PARAMETER_SET 0x30A3 |
Definition at line 91 of file SDK_Amplifier_Epos4.mh.
| #define EPOS4_VELOCITY_OFFSET 0x60B1 |
Definition at line 175 of file SDK_Amplifier_Epos4.mh.
| long sdkEpos4_AxisHomingStart | ( | long | axis, |
| long | busId, | ||
| long | operationMode, | ||
| long & | homingState | ||
| ) |
State machine function for performing a homing on an EPOS4.
This function sets the EPOS4 in homing mode and starts the homing defined on the EPOS4. Before calling this function, all homing parameters must be configured on the EPOS4. The function is not blocking. The return parameter must be checked.
| axis | Axis module number |
| busId | Bus ID of the connected slave |
| operationMode | Operation mod which should be set after homing. |
| homingState | Call-by-reference variable for the iteration of the different homing states. Must be initialized with 0. |
Definition at line 607 of file SDK_Amplifier_Epos4.mc.
| void sdkEpos4_PrintErrorDescription | ( | long | errorCode | ) |
Prints a error description for Epos4 errors.
This function prints a description for Epos4 error codes
| errorCode | Epos4 error code |
Definition at line 735 of file SDK_Amplifier_Epos4.mc.
| long sdkEpos4_SetupCanBusModule | ( | long | axis, |
| long | busId, | ||
| long | pdoNumber, | ||
| long | operationMode | ||
| ) |
Setup the Can bus module for an Epos4.
This function sets up the Can bus module for an Epos4. It can be defined with which operation mode is used. Currently there are no differences in the different operation modes regarding the Bus Module setup.
| axis | Axis module number |
| busId | Bus ID of the connected slave |
| pdoNumber | Used PDO number |
| operationMode | Definition of the operation mode 0x08: Cyclic synchronous position (csp) mode 0x09: Cyclic synchronous velocity (csv) mode 0x0A: Cyclic synchronous torque (cst) mode |
Definition at line 313 of file SDK_Amplifier_Epos4.mc.
| long sdkEpos4_SetupCanSdoParam | ( | long | busId, |
| long | pdonumber, | ||
| long | axisPolarity, | ||
| long | operationMode | ||
| ) |
Setup the Sdo parameter for an Epos4.
This function sets up the Sdo parameter for an Epos4. It can be defined with which operation mode is used. The CANSYNCTIMER must be set before calling this function.
| busId | Bus ID of the connected slave |
| pdoNumber | Used PDO number |
| axisPolarity | Definition of the polarity, 0: Normal polarity, 1: Inverse polarity |
| operationMode | Definition of the operation mode 0x08: Cyclic synchronous position (csp) mode 0x09: Cyclic synchronous velocity (csv) mode 0x0A: Cyclic synchronous torque (cst) mode |
Definition at line 497 of file SDK_Amplifier_Epos4.mc.
| long sdkEpos4_SetupCanVirtAmp | ( | long | axis, |
| long | maxRpm, | ||
| long | operationMode | ||
| ) |
Setup the virtual amplifier for an Epos4 with Can bus.
This function sets up the virtual amplifier with Can bus for an Epos4. It can be defined with which operation mode is used.
| axis | Axis module number |
| maxRpm | Definition of the maximum motor speed [rpm] |
| operationMode | Definition of the operation mode 0x08: Cyclic synchronous position (csp) mode 0x09: Cyclic synchronous velocity (csv) mode 0x0A: Cyclic synchronous torque (cst) mode |
Definition at line 383 of file SDK_Amplifier_Epos4.mc.
| long sdkEpos4_SetupCanVirtCntin | ( | long | axis, |
| long | operationMode | ||
| ) |
Setup the virtual counter input for an Epos4 with Can bus.
This function sets up the virtual counter input for an Epos4. It can be defined with which operation mode is used.
| axis | Axis module number |
| operationMode | Definition of the operation mode 0x08: Cyclic synchronous position (csp) mode 0x09: Cyclic synchronous velocity (csv) mode 0x0A: Cyclic synchronous torque (cst) mode |
Definition at line 450 of file SDK_Amplifier_Epos4.mc.
| long sdkEpos4_SetupECatBusModule | ( | long | axis, |
| long | busId, | ||
| long | pdoNumber, | ||
| long | operationMode | ||
| ) |
Setup the ECAT bus module for an Epos4.
This function sets up the ECAT bus module for an Epos4. It can be defined with which operation mode is used. Currently there are no differences in the different operation modes regarding the Bus Module setup.
| axis | Axis module number |
| busId | Bus ID of the connected slave |
| pdoNumber | Used PDO number |
| operationMode | Definition of the operation mode 1: Cyclic synchronous position (csp) mode 2: Cyclic synchronous velocity (csv) mode |
Definition at line 37 of file SDK_Amplifier_Epos4.mc.
| long sdkEpos4_SetupECatSdoParam | ( | long | busId, |
| long | pdoNumber, | ||
| long | axisPolarity, | ||
| long | operationMode | ||
| ) |
Setup the Sdo parameter for an Epos4 with EtherCat.
This function sets up the Sdo parameter with EtherCat for an Epos4. It can be defined with which operation mode is used.
| busId | Bus ID of the connected slave |
| pdoNumber | Used PDO number |
| axisPolarity | Definition of the polarity, 0: Normal polarity, 1: Inverse polarity |
| operationMode | Definition of the operation mode 0x08: Cyclic synchronous position (csp) mode 0x09: Cyclic synchronous velocity (csv) mode 0x0A: Cyclic synchronous torque (cst) mode |
Definition at line 209 of file SDK_Amplifier_Epos4.mc.
| long sdkEpos4_SetupECatVirtAmp | ( | long | axis, |
| long | maxRpm, | ||
| long | operationMode | ||
| ) |
Setup the virtual amplifier for an Epos4 with EtherCat.
This function sets up the virtual amplifier with EtherCat for an Epos4. It can be defined with which operation mode is used.
| axis | Axis module number |
| maxRpm | Definition of the maximum motor speed [rpm] |
| operationMode | Definition of the operation mode 0x08: Cyclic synchronous position (csp) mode 0x09: Cyclic synchronous velocity (csv) mode 0x0A: Cyclic synchronous torque (cst) mode |
Definition at line 101 of file SDK_Amplifier_Epos4.mc.
| long sdkEpos4_SetupECatVirtCntin | ( | long | axis, |
| long | operationMode | ||
| ) |
Setup the virtual counter input for an Epos4 with EtherCat.
This function sets up the virtual counter input with EtherCat for an Epos4. It can be defined with which operation mode is used.
| axis | Axis module number |
| operationMode | Definition of the operation mode 1: Cyclic synchronous position (csp) mode 2: Cyclic synchronous velocity (csv) mode |
Definition at line 168 of file SDK_Amplifier_Epos4.mc.