ST_Path

 

ST_Path - General Information

Overview

 Type:

Data structure

Available as of:

V1.0.4.0

Inherits from:

-

Description

The structure contains the data for a path within the transport system.

Structure Elements

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 path which is managed with this structure.

If the input i_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

ET_PathCommand

The command which is send to the path on a positive flank of i_xExecute.

q_uiPathId

UINT

The ID of the path as it was defined during configuration.

q_uiVehicles

UINT

The number of vehicles, which are on this path.

q_xValid

BOOL

TRUE: The path is present on the linear transport system.

FALSE: The path is not part of the linear transport system.

q_etMovementStatus

ET_MovementStatus

Describes if/ if not and why vehicles are able to move on this path.

q_xBusy

BOOL

TRUE: The POU is executing the issued 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

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

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.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Initializing

2

The transport system controller reports that the component is initializing.

OK

LocatingVehicles

37

The system is locating the vehicles.

OK

ProgrammingInProgress

39

The transport system controller reports that the path is in state "Programming In Progress".

OK

ResetActive

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".

OK

ResetInProgress

38

The transport system controller reports that the path is in state "Reset In Progress".

OK

WaitForCommand

36

Wait for a new command.

UnexpectedProgramBehavior

PathStateUnknown

41

The response from the transport system controller cannot be interpreted: A path is in an undefined state.

Initializing

Enumeration name:

Initializing

Enumeration value:

2

Description:

The transport system controller reports that the component is initializing.

Issue

Cause

Solution

-

Status message from the transport system controller.

The component is initializing.

LocatingVehicles

Enumeration name:

LocatingVehicles

Enumeration value:

37

Description:

The system is locating the vehicles.

The path is searching for the vehicles.

PathStateUnknown

Enumeration name:

PathStateUnknown

Enumeration value:

41

Description:

The response from the transport system controller cannot be interpreted: A path is in an undefined state.

Issue

Cause

Solution

-

An undefined state has been detected during execution.

Contact your Schneider Electric support representative.

ProgrammingInProgress

Enumeration name:

ProgrammingInProgress

Enumeration value:

39

Description:

The transport system controller reports that the path is in state "Programming In Progress".

Issue

Cause

Solution

-

Status message from the transport system controller.

For further information on this status, refer to the MagneMotion documentation.

ResetActive

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.

ResetInProgress

Enumeration name:

ResetInProgress

Enumeration value:

38

Description:

The transport system controller reports that the path is in state "Reset In Progress".

Issue

Cause

Solution

-

Status message from the transport system controller.

For further information on this status, refer to the MagneMotion documentation.

WaitForCommand

Enumeration name:

WaitForCommand

Enumeration value:

36

Description:

Wait for a new command.

Wait for a new command.