FunctionMLAxisCfgFastInPipe Network motion icon

Description

Configures the Fast InputClosedThe 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 LatchClosedThe 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. Fast input can be armed on falling or rising edgeClosedA rising edge is the transition of a digital signal from low to high. It is also called positive edge.

Arguments

Input

En

Description

Enables execution
 

Data type

BOOL
 

Unit

N/A
 

Default

-

AxisID

Description

ID name of the Axis Block

 

Data type

DINT

 

Range

 

Unit

N/A

 

Default

InputID

Description

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

0 = Touch Probe 1 / Capture Engine 0

1 = Touch Probe 2 / Capture Engine 1

Range is [0,1]

 

Data type

DINT

 

Range

[0, 1]

 

Unit

N/A

 

Default

Mode

Description

Configures the Fast InputsClosedThe 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 EdgeClosedA rising edge is the transition of a digital signal from low to high. It is also called positive edge, 2=Falling edge

 

Data type

DINT

 

Range

[0, 2]

 

Unit

N/A

 

Default

Output

Q

Description

Returns true when the function successfully executes. Returns false if the fast input could not be configured due to an invalid PDO mapping in the .XMLClosed"Extensible Markup Language " XML is a general-purpose markup language. It is classified as an extensible language because it allows its users to define their own tags file.

 

Data type

BOOL

 

Unit

N/A

Related Functions

MLAxisIsTrigged

MLAxisRstFastIn

See Also

Example

Structured Text

 

MLAxisCfgFastIn( PipeNetwork.Axis1, 0, 1 ) ;

 

Ladder Diagram

MLAxisCfgFastIn: LD example

Function Block Diagram

MLAxisCfgFastIn: FBD example

See also "Fast inputs" for more details.

Go back to the top of the page [Top]