Table 4-2 Overview of the enums enumCommands
Symbol Enum Value Meaning
START_HOMING 0 Start homing of POSMO A
START_JOG_NEGATIVE 1 Start jogging in negative direction
START_JOG_POSITIVE 2 Start jogging in positive direction
START_MDI_BLOCK_ABSOLUTE 3 Start moving MDI block absolute
STOP 4 Stop all actions
RESET_ERRORS 5 Acknowledge faults on POSMO A
READ_ONE_PARAMETER 6 Start reading individual parameter
WRITE_ONE_PARAMETER 7 Start writing individual parameter
SAVE_PARAMETER 8 Save all parameters in the EEPROM of POSMO A
NO_COMMAND 9 No action to be carried out
Table 4-3 Overview of the enums enumActCommand
Symbol Enum Value Meaning
HOMING_ACTIVE 0 Homing of POSMO A activated
JOG_NEGATIVE_ACTIVE 1 Jogging in negative direction activated
JOG_POSITIVE_ACTIVE 2 Jogging in positive direction activated
MDI_BLOCK_ACTIVE 3 Moving MDI block absolute activated
STOP_ACTIVE 4 Stop all actions activated
RESET_ERRORS_ACTIVE 5 Acknowledge faults on POSMO A active
READ_PARA_ACTIVE 6 Read individual parameter active
WRITE_PARA_ACTIVE 7 Write individual parameter active
SAVE_PARAMETER_ACTIVE 8 Save all parameters in the EEPROM of POSMO A active
NO_COMMAND_ACTIVE 9 No action active
Table 4-4 Data structure Struct_checkbacks
Symbol Data type Meaning
actCommand enumActCommand Enums active actions
done BOOL Action completed
driveReady BOOL Drive (POSMO A) ready for operation
jogPositiveBusy BOOL Jogging positive active
jogNegativeBusy BOOL Jogging negative active
actPosition REAL Current actual position of POSMO A
positionReached BOOL Position when moving MDI block absolute reached
error BOOL Error has occurred
(request canceled; a POSMO A error is pending)
ctrlErrorID WORD Error specification of the _POSMOA_control block.
Number of the parameter assignment error signaled by POSMO A
driveErrorID WORD Error specification of the POSMO A
Reason for an error signaled by POSMO A
Application example
4.3 Variables used in application example
Supplement to SIMODRIVE POSMO A Positioning Motor
48 Function Manual, 01/2015