MLAxisRstFastIn

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. - Writes 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 to reset 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.

Inputs

Input

Data Type

Range

Unit

Default

Description

AxisID

DINT

No range

N/A

No default

ID Name of the Axis block.

InputID

DINT

No range

N/A

No default

ID name of the Fast input of an axis (i.e., 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

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

 

 

Returns TRUE when the function successfully executes.

See Pipe Network - General Rules for more information.

Remarks

None

FBD Language Example

MLAxisRstFastIn: FBD example

FFLD Language Example

MLAxisRstFastIn: LD example

IL Language Example

Not available.

ST Language Example

 MLAxisRstFastIn(PipeNetwork.Axis1, 0 )  ;

See Also