MLAxisCfgFastIn
Description
Configures the Fast InputThe 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 LatchThe 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 edgeA rising edge is the transition of a digital signal from low to high. It is also called positive edge.
Arguments
Input
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 .XML"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
See Also
- Fast Inputs with Pipe Network Motion
- Fast Inputs with PLCOpen
- Fast Homing Example with the Pipe Network Motion Engine Axis Pipe Block
- Fast Homing Example with the PLCopen Motion Engine
- Pipe Network Registration and Fast Homing
- Registration Position Capture Example with Pipe Network Trigger Block
Example
Structured Text
MLAxisCfgFastIn( PipeNetwork.Axis1, 0, 1 ) ;
|
Ladder Diagram
Function Block Diagram
See also "Fast inputs" for more details.