MLAxisCfgFastIn
Function 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 Input 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 Latch 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 S300 "Servostar 300 drive" See Servo Drive in Glossary). InputID INT Range = 0, 1
|
Mode |
DINT |
0, 2 |
N/A |
No default |
|
Outputs
Remarks
Fast Input can be armed on falling or rising edge 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:
- Fast Homing Example with the Pipe Network Motion Engine Axis Pipe Block
- Fast Homing Example with the PLCopen Motion Engine
- Fast Inputs with Pipe Network Motion
- Pipe Network Registration and Fast Homing
- Registration Position Capture Example with Pipe Network Trigger Block
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
MLAxisCfgFastIn( PipeNetwork.Axis1, 0, 1 ) ;
See Also