ST_Vehicle - General Information
Type: |
Data structure |
Available as of: |
V1.0.4.0 |
Inherits from: |
- |
The structure contains the data for a vehicle on the transport system.
Variable |
Data type |
Description |
---|---|---|
i_xExecute |
BOOL |
A positive edge orders the function block to send the command specified in the input i_etCommand to the vehicle which is controlled by this function block. If the inputi_xExecute (FB itself, iq_aST_Path and iq_aST_Vehicle) is set = TRUE before the FB is enabled and the FB will be turned on, the FB is detecting this as a rising edge. This is the criteria to execute a command (status requests or movements). Note: the setting i_xExecute = TRUE before enabling the function block is also considered a rising edge |
i_etCommand |
The command which is send to the vehicle on a positive flank of i_xExecute. |
|
i_iPidSet |
INT |
Number relating to predefined parameter sets for the PID-Controllers when moving a vehicle. |
iq_stDestination |
Structure that contains the information to send a vehicle to a new destination. |
|
iq_stCurrentPosition |
Structure that contains the information relating to the present position of the vehicle. |
|
q_xValid |
BOOL |
TRUE: The vehicle is present on the transport system. FALSE: The vehicle is not present on the linear transport system. |
q_uiVehicleId |
UINT |
The ID of the vehicle as it was defined by the transport system on startup/ reset. |
q_xBusy |
BOOL |
TRUE: The POU is executing the command. FALSE: The POU is waiting for further commands. |
q_xDone |
BOOL |
TRUE: The command has been executed. FALSE: The command is being executed, or none has been issued yet. |
q_etDiag |
General, library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = GD.ET_Diag.Ok -> status message q_etDiag <> GD.ET_Diag.Ok -> diagnostic message |
|
q_sMsg |
STRING[80] |
Event-triggered message which gives more detailed information on the diagnostic state. |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
42 |
The transport system controller reports that the command is being executed. |
|
OK |
45 |
The transport system controller reports that the command has been successfully completed. |
|
OK |
36 |
Wait for a new command. |
|
ExecutionAborted |
46 |
The transport system controller reports that the vehicle is in state "Emergency Stop Active". |
|
ExecutionAborted |
43 |
The transport system controller reports that the vehicle is in state "Interlock Active". |
|
ExecutionAborted |
44 |
The transport system controller reports that the vehicle is in state "Movement Suspended". |
|
ExecutionAborted |
40 |
Usage in ST_Path: The transport system controller reports that the path is in state "Reset Active". Usage in ST_Vehicle: The transport system controller reports that the vehicle is in state "Reset Active". |
|
InputParameterInvalid |
51 |
The parameter is invalid. |
|
InputParameterInvalid |
49 |
The ID of the path is invalid. |
|
InputParameterInvalid |
50 |
The position of the vehicle is off the path. |
|
InputParameterInvalid |
48 |
The ID of the station is invalid. |
|
UnexpectedProgramBehavior |
50 |
The position of the vehicle is off the path. |
|
UnexpectedProgramBehavior |
52 |
The transport system controller reports that the vehicle is in state "Startup Not Initiated Or Completed". |
|
UnexpectedProgramBehavior |
47 |
The ID of the vehicle is invalid. |
Enumeration name: |
CommandExecution |
Enumeration value: |
42 |
Description: |
The transport system controller reports that the command is being executed. |
The command is being executed.
Enumeration name: |
CommandSuccessfullyCompleted |
Enumeration value: |
45 |
Description: |
The transport system controller reports that the command has been successfully completed. |
The command has been successfully completed.
Enumeration name: |
EmergencyStopActive |
Enumeration value: |
46 |
Description: |
The transport system controller reports that the vehicle is in state "Emergency Stop Active". |
Issue |
Cause |
Solution |
---|---|---|
- |
Status message from the transport system controller. |
For further information on this status, refer to the MagneMotion documentation. |
Enumeration name: |
InterlockActive |
Enumeration value: |
43 |
Description: |
The transport system controller reports that the vehicle is in state "Interlock Active". |
Issue |
Cause |
Solution |
---|---|---|
- |
Status message from the transport system controller. |
For further information on this status, refer to the MagneMotion documentation. |
Enumeration name: |
MovementSuspended |
Enumeration value: |
44 |
Description: |
The transport system controller reports that the vehicle is in state "Movement Suspended". |
Issue |
Cause |
Solution |
---|---|---|
- |
Status message from the transport system controller. |
For further information on this status, refer to the MagneMotion documentation. |
Enumeration name: |
ParameterInvalid |
Enumeration value: |
51 |
Description: |
The parameter is invalid. |
One or more of the following parameters are invalid:
Acceleration, velocity, movement direction or path.
Enumeration name: |
PathIdInvalid |
Enumeration value: |
49 |
Description: |
The ID of the path is invalid. |
Verify whether the destination path ID is valid.
Enumeration name: |
PositionOffPath |
Enumeration value: |
50 |
Description: |
The position of the vehicle is off the path. |
Verify whether the destination for moving the vehicle exists on the destination path.
Enumeration name: |
ResetActive |
Enumeration value: |
40 |
Description: |
Usage in ST_Path: The transport system controller reports that the path is in state "Reset Active". Usage in ST_Vehicle: The transport system controller reports that the vehicle is in state "Reset Active". |
Issue |
Cause |
Solution |
---|---|---|
- |
Status message from the transport system controller. |
For further information on this status, refer to the MagneMotion documentation. |
StartupNotInitiatedOrCompleted
Enumeration name: |
StartupNotInitiatedOrCompleted |
Enumeration value: |
52 |
Description: |
The transport system controller reports that the vehicle is in state "Startup Not Initiated Or Completed". |
Issue |
Cause |
Solution |
---|---|---|
- |
Status message from the transport system controller. |
For further information on this status, refer to the MagneMotion documentation. |
Enumeration name: |
StationIdInvalid |
Enumeration value: |
48 |
Description: |
The ID of the station is invalid. |
Verify whether the ID of the destination station is valid.
Enumeration name: |
VehicleIdInvalid |
Enumeration value: |
47 |
Description: |
The ID of the vehicle is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
There is no vehicle with a corresponding ID. |
Verify whether a vehicle with a related ID exists. |
Enumeration name: |
WaitForCommand |
Enumeration value: |
36 |
Description: |
Wait for a new command. |
Wait for a new command.