![]() |
ApossC SDK
V01.15
|
Declaration of the MiniMACS6 DS402 slave function. More...
Go to the source code of this file.
Functions | |
| long | sdkMiniMACS6_SetupCanBusModule (long axis, long busId, long pdoNumber, long operationMode) |
| Setup the Can bus module for an MiniMACS6 DS402 slave. More... | |
| long | sdkMiniMACS6_SetupCanVirtAmp (long axis, long maxRpm, long operationMode) |
| Setup the virtual amplifier for an MiniMACS6 DS402 slave with Can bus. More... | |
| long | sdkMiniMACS6_SetupCanVirtCntin (long axis, long operationMode) |
| Setup the virtual counter input for an MiniMACS6 DS402 slave with Can bus. More... | |
| long | sdkMiniMACS6_SetupCanSdoParam (long busId, long pdonumber, long slaveAxisNo, long operationMode) |
| Setup the Sdo parameter for an MiniMACS6 DS402 slave. More... | |
| long | sdkMiniMACS6_AxisHomingStart (long axis, long busId, long operationMode, long &homingState) |
| State machine function for performing a homing on an MiniMACS6 DS402 slave. More... | |
Declaration of the MiniMACS6 DS402 slave function.
Definition in file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_CONTROLWORD 0x6040 |
Definition at line 39 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_MODES_OF_OPERATION 0x6060 |
Definition at line 41 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_MODES_OF_OPERATION_DISPLAY 0x6061 |
Definition at line 48 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_OP_CSP 0x08 |
Definition at line 45 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_OP_CST 0x0A |
Definition at line 47 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_OP_CSV 0x09 |
Definition at line 46 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_OP_HMM 0x06 |
Definition at line 44 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_OP_PPM 0x01 |
Definition at line 42 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_OP_PVM 0x03 |
Definition at line 43 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_RECEIVE_PDO_1_MAPPING 0x1600 |
Definition at line 25 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_RECEIVE_PDO_1_PARAMETER 0x1400 |
OBJECT DICTIONARY - MiniMACS6 DS402 Slave.
Definition at line 21 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_RECEIVE_PDO_2_MAPPING 0x1601 |
Definition at line 26 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_RECEIVE_PDO_2_PARAMETER 0x1401 |
Definition at line 22 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_RECEIVE_PDO_3_MAPPING 0x1602 |
Definition at line 27 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_RECEIVE_PDO_3_PARAMETER 0x1402 |
Definition at line 23 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_RECEIVE_PDO_4_MAPPING 0x1603 |
Definition at line 28 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_RECEIVE_PDO_4_PARAMETER 0x1403 |
Definition at line 24 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_STATUSWORD 0x6041 |
Definition at line 40 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_SYNC_MANAGER_2_PDO_ASSIGNMENT 0 |
Definition at line 37 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_SYNC_MANAGER_3_PDO_ASSIGNMENT 0 |
Definition at line 38 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_TRANSMIT_PDO_1_MAPPING 0x1A00 |
Definition at line 33 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_TRANSMIT_PDO_1_PARAMETER 0x1800 |
Definition at line 29 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_TRANSMIT_PDO_2_MAPPING 0x1A01 |
Definition at line 34 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_TRANSMIT_PDO_2_PARAMETER 0x1801 |
Definition at line 30 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_TRANSMIT_PDO_3_MAPPING 0x1A02 |
Definition at line 35 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_TRANSMIT_PDO_3_PARAMETER 0x1802 |
Definition at line 31 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_TRANSMIT_PDO_4_MAPPING 0x1A03 |
Definition at line 36 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| #define MINIMACS6_TRANSMIT_PDO_4_PARAMETER 0x1803 |
Definition at line 32 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mh.
| long sdkMiniMACS6_AxisHomingStart | ( | long | axis, |
| long | busId, | ||
| long | operationMode, | ||
| long & | homingState | ||
| ) |
State machine function for performing a homing on an MiniMACS6 DS402 slave.
This function sets the MiniMACS6 DS402 slave in homing mode and starts the homing defined on the MiniMACS6 DS402 slave. Before calling this function, all homing parameters must be configured on the MiniMACS6 DS402 slave. 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 318 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mc.
| long sdkMiniMACS6_SetupCanBusModule | ( | long | axis, |
| long | busId, | ||
| long | pdoNumber, | ||
| long | operationMode | ||
| ) |
Setup the Can bus module for an MiniMACS6 DS402 slave.
This function sets up the Can bus module for an MiniMACS6 DS402 slave. 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 n 0x0A: Cyclic synchronous torque (cst) mode |
Definition at line 37 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mc.
| long sdkMiniMACS6_SetupCanSdoParam | ( | long | busId, |
| long | pdonumber, | ||
| long | slaveAxisNo, | ||
| long | operationMode | ||
| ) |
Setup the Sdo parameter for an MiniMACS6 DS402 slave.
This function sets up the Sdo parameter for an MiniMACS6 DS402 slave. It can be defined with which operation mode is used. Each axis is controlled via its own PDO. A maximum of 4 axes can be controlled.
| busId | Bus ID of the connected slave |
| pdoNumber | Used PDO number |
| slaveAxisNo | Axis module number of the slave (0-5) |
| operationMode | Definition of the operation mode 0x08: Cyclic synchronous position (csp) mode 0x09: Cyclic synchronous velocity (csv) mode n 0x0A: Cyclic synchronous torque (cst) mode |
Definition at line 230 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mc.
| long sdkMiniMACS6_SetupCanVirtAmp | ( | long | axis, |
| long | maxRpm, | ||
| long | operationMode | ||
| ) |
Setup the virtual amplifier for an MiniMACS6 DS402 slave with Can bus.
This function sets up the virtual amplifier with Can bus for an MiniMACS6 DS402 slave. 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 n 0x0A: Cyclic synchronous torque (cst) mode |
Definition at line 112 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mc.
| long sdkMiniMACS6_SetupCanVirtCntin | ( | long | axis, |
| long | operationMode | ||
| ) |
Setup the virtual counter input for an MiniMACS6 DS402 slave with Can bus.
This function sets up the virtual counter input for an MiniMACS6 DS402 slave. 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 n 0x0A: Cyclic synchronous torque (cst) mode |
Definition at line 183 of file SDK_Amplifier_MiniMACS6_DS402_Slave.mc.