MLAxisCfgFastIn

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. - Configures the Fast InputClosed The inputs are taken into account at each cycle depending on the system periodicity (for example 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 (which can be 1000 times more accurate than the system periodicity). Then the timestamp associated with this input can be provided to the IPC to take corrective action for the axis by writing the expected settings in the LatchClosed The control word is used to activate the drive's latch status machine. The latch control word is processed independently of the EtherCAT bus cycle. The status word is used to return the drive's latch status Control Word.

Inputs

Input

Data Type

Range

Unit

Default

Description

En

BOOL

No range

N/A

No default

Enables execution.

AxisID

DINT

No range

N/A

No default

ID Name of the Axis block.

InputID

DINT

0, 1

N/A

No default

ID of the FastInput of an axis (e.g., IN1 and IN2 on S300Closed "Servostar 300 drive" See Servo Drive in Glossary).

InputID INT

Range = 0, 1

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

Mode

DINT

0, 2

N/A

No default

Configures the Fast InputsClosed The inputs are taken into account at each cycle depending on the system periodicity (for example 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 (which can be 1000 times more accurate than the system periodicity). Then the timestamp associated with this input can be provided to the IPC to take corrective action as:

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

Outputs

Output

Data Type

Range

Unit

Description

Q

BOOL

No range

N/A

Remarks

Fast Input can be armed on falling or rising edgeClosed A rising edge is the transition of a digital signal from low to high. It is also called positive edge.

Fast Homing - Inputs

See these topics for more information:

FBD Language Example

MLAxisCfgFastIn: FBD example

FFLD Language Example

MLAxisCfgFastIn: LD example

IL Language Example

Not available.

ST Language Example

 MLAxisCfgFastIn( PipeNetwork.Axis1, 0, 1 ) ;

See Also