MLAxisCfgFastIn

Pipe Network motion icon

 Function - Configures the Fast Input for the axis by writing the expected settings in the Latch Control Word.

Inputs

Input

Data Type

Range

Unit

Default

Description

En

BOOL

FALSE, TRUE

N/A

No default

Enables execution.

AxisID

DINT

No range

N/A

No default

ID Name of the Axis block.

InputID

DINT

0 to 1

N/A

No default

ID of the FastInput of an axis (e.g., IN1 and IN2 on S300).

InputID INT

Range = 0 to 1

  • 0 = Touch Probe 1 / Capture Engine 0
  • 1 = Touch Probe 2 / Capture Engine 1

Mode

DINT

0 to 2

N/A

No default

Configures the Fast Inputs as:

  • 0= Disabled
  • 1=Rising edge
  • 2=Falling edge

Outputs

Output

Data Type

Range

Unit

Description

Q

BOOL

FALSE, TRUE

N/A

  • Returns TRUE when the function successfully executes.
  • Returns FALSE if the fast input could not be configured because of an invalid PDO mapping in the .XML file.

Remarks

Fast Input can be armed on falling or rising edge.

Fast Homing - Inputs

See these topics for more information:

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

 MLAxisCfgFastIn( PipeNetwork.Axis1, 0, 1 ) ;

See Also