Function BlockMC_StopRegistPLCopen motion icon

Description

This function will turn off registration for the specified axis and disarm the specified 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.

Arguments

Input

En

Description

Enables execution
 

Data type

BOOL

 

Range

0, 1

 

Unit

N/A

 

Default

Axis

Description

Axis registration to turn off
 

Data type

AXIS_REF
 

Range

The range of .AXIS_NUM is [1,256]
 

Unit

N/A
 

Default

N/A
TriggerInput

Description

Structure specifying the fast input to disarm. The structure elements are:

InputID INT

0 = Touch Probe 1 / Capture Engine 0

1 = Touch Probe 2 / Capture Engine 1

Range is [0,1]

Direction INT
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, 3 = NA, 4 = toggle between both, falling edge first, 5 = toggle between both, rising edge first, range = [1,5]

TrigID INT
Axis number of the fast input. 0 indicates this trigger axis is to be the same as the Axis input.
range = [0,256]


  • TrigMode INT (TriggerInput.TrigMode) is not presently supported by this function. The TriggerInput.Mode may be supported in a future software version.
 

Data type

TRIGGER_REF
 

Range

 
 

Unit

 
 

Default

 

Outputs

OK

Description

Indicates function executed successfully

 

Data type

BOOL

Related Functions

MC_MachRegist

MC_MarkRegist

Examples

Function Block

Ladder Diagram

Structured Text

Go back to the top of the page [Top]