MLAxisIsTrigged

Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Verifies if the axis received a trigger event.

Inputs

Input

Data Type

Range

Unit

Default

Description

ID

DINT

No range

N/A

No default

ID Name of the Axis block.

InputID

DINT

No range

N/A

No default

ID of the triggered Fast inputClosed The inputs are taken into account at each cycle depending on the system periodicity (i.e., each millisecond). Under certain circumstances, this can be insufficient when more accuracy is needed or if a quick response is required from the system. To fill the gap, a drive may have some Fast Input connections (generally one or two). When an event happens that triggers a Fast Input (e.g., when a sensor sends a rising edge), the detection of a signal occurs faster. This can be 1000 times more accurate than the system periodicity. The timestamp associated with this input can be provided to the IPC to take corrective action. of an axis (i.e., IN1 and IN2 on S300Closed Servostar 300 drive).

InputID INT

Range = 0, 1

edge

DINT

No range

N/A

No default

Configures the Inputs as:

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

FALSE, TRUE

N/A

Returns TRUE when the function successfully executes.

See Pipe Network - General Rules.

Remarks

Returns TRUE if the Fast Input event has been triggered and not yet been resetClosed New start of the microprocessor..

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

 MLAxisIsTrigged (PipeNetwork.Axis1, 0,1 ) ;

See Also

MLAxisRstFastIn