FC_SetCmd

 

FC_SetCmd - General Information

Overview

Type:

Function

Available as of:

V1.1.0.0

Support for:

PacDrive pilot template architecture

Task

Function for initiating the execution of a command table.

Description

Using this function, the processing of command tables can be initiated. A command table is an ordered list of commands used to direct the actions of individual axis or groups of axes. By using this function the variable iq_diCmd of the StandardModuleInterfaces is set.

The function block FB_ModuleControllerTpi evaluates the StandardModuleInterface and executes the table that was specified by diCmd.

Interface

Input

Data type

Description

i_diCMD

DINT

Specifies a command table to execute

Output

Data type

Description

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

Input/Output

Data type

Description

iq_stMachineItf

ST_StandardModuleInterface

Specifies the default module interface for the machine

Return Value

Data type

Description

BOOL

 

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok