MC_StopRegist

PLCopen motion icon

 Function BlockClosed A function block groups an algorithm and a set of private data. It has inputs and outputs. - Turns off registration for the specified axis and disarms the specified fast inputClosed The inputs are taken into account at each cycle depending on the system periodicity (i.e., 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. This can be 1000 times more accurate than the system periodicity. The timestamp associated with this input can be provided to the IPC to take corrective action..

Inputs

Input

Data Type

Range

Unit

Default

Description

En

BOOL

FALSE, TRUE

N/A

No default

EnablesClosed Enable signal for the drive, Hardware-Enable with 24V signal to X8, Software-Enable command by setup Software, fieldbus or permanently set. Both are required for enabling the drive. 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:

DirectionClosed The orientation components of a vector in space.INT

Range = 1, 5.

InputID INT

Range = 0, 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. .

Outputs

Output

Data Type

Range

Unit

Description

OK

BOOL

FALSE, TRUE

N/A

Execution successful.

Remarks

Figure 1: MC_StopRegist

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

StopOK := MC_StopRegist( Axis1, Trig1);

See Also