MC_StopRegist

PLCopen motion icon

 Function BlockClosed - Turns off registration for the specified axis and disarms the specified fast inputClosed.

Inputs

Input

Data Type

Range

Unit

Default

Description

En

BOOL

0, 1

N/A

No default

Enables execution.

Axis

AXIS_REF

1, 256

N/A

N/A

Axis registration to turn off.

TriggerInput

TRIGGER_REF

See Description.

N/A

No default

Structure specifying the fast input. (to disarm)

The structure elements are:

DirectionINT

Range = 1, 5.

InputID INT

Range = 0, 1

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

TrigidINT

Range = 0, 256.

  • Axis number of the fast input.
  • 0 (zero) indicates this trigger axis is to be the same as the Axis input. .

  • TrigMode INT (TriggerInput.TrigMode) is not presently supported by this function.

Outputs

Output

Data Type

Range

Unit

Description

OK

BOOL

 

 

Execution successful.

Remarks

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

StopOK := MC_StopRegist( Axis1, Trig1);

See Also