Motion / PLCopen Library

These are the Motion/PLCopenClosed A vendor -and product- independent worldwide association active in Industrial Control and aiming at standardizing PLC file formats based on XML functions and function blocks.

Control

Name

Description

MC_ClearFaults

Sends a request to the drive to clear any drive faults.

MC_CreatePLCAxis

Creates a PLCopen Axis.

MC_EStop

Causes an emergency stop (E-stop).

MC_InitAxis

Initializes a PLCopen Axis' data.

MC_InitAxisFeedback

Initializes a PLCopen digitizing Axis' position data.

MC_Power

Requests to either enable the drive and close the loop, or disable the drive and open the loop.

MC_ResetError

Resets the errors of the specified axis.

MC_Stop

Aborts the active move, removes the next move from the queue, performs a controlled stop, and switches the axis to Stopping state.

Information

Name

Description

MC_ReadActPos

Reads the actual position of the axis.

MC_ReadActVel

Reads the actual velocity of the axis.

MC_ReadAxisErr

Returns the error status of the specified axis.

MC_ReadBoolPar

Returns the value of the specified Boolean axis parameter.

MC_ReadParam

Returns the value of the specified axis parameter.

MC_ReadStatus

Returns the state of the specified axis.

MC_WriteBoolPar

Writes the specified axis Boolean parameter.

MC_WriteParam

Writes the specified axis parameter.

I/O

Name

Description

MC_AbortTrigger

When the Execute input transitions from low to high, this function block aborts an MC_TouchProbe function block.

MC_TouchProbe

Arms a 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 and returns the latched position when the Fast Input event occurs.

PLCopenMotion

Name

Description

MC_AddSuperAxis

Adds a Superimposed Axis to the Axis’s list of assigned superimposed axes.

MC_Halt

Decelerates an axis to zero velocity.

MC_MoveAbsolute

Performs a single-axis move to a specified endpoint position.

MC_MoveAdditive

Performs a single-axis move for a specified distance from the endpoint of the previous move.

MC_MoveContVel

Performs a single-axis non-ending move at a specified velocity with the option of continually updating the ongoing motion with the current input parameters.

MC_MoveRelative

Performs a single-axis move for a specified distance to perform incremental motion.

MC_MoveSuperimp

Performs a single-axis move superimposed upon the currently executing move.

MC_MoveVelocity

Performs a single-axis, non-ending move at a specified velocity.

MC_RemSuperAxis

Remove an axis from the axis's list of assigned, superimposed axes.

MC_SetOverride

Writes velocity and acceleration override factors.

Profile

Name

Description

MC_CamIn

Performs a slave axis move which follows the master axis based on the Cam Table specified by CamTableID.

MC_CamOut

Disengages the slave axis from a MC_CamIn move.

MC_CamResumePos

Returns the slave axis position for resuming an MC_CamIn move.

MC_CamStartPos

Returns the slave axis position for starting an MC_CamIn move.

MC_CamTblSelect

Defined to read and initialize the specified profile.

MC_GearIn

Performs a slave axis move which follows the master axis based on the ratio specified by RatioNumerator and RatioDenominator.

MC_GearInPos

Performs a slave axis move which follows the master axis based on the ratio specified by RatioNumerator and RatioDenominator.

MC_GearOut

Disengages the slave axis from a MC_GearIn or MC_GearInPos move.

MC_Phasing

Performs a master position phase shift for the slave axis.

MC_SyncSlaves

Allows the application to specify what slave axes are to be synchronized and which master they follow.

Reference

Name

Description

MC_Reference

Used to execute a fast home to a switch.

MC_SetPos

Changes the present actual position of the axis (as reported by MC_ReadActPos) to the position specified by the Position and Mode inputs.

MC_SetPosition

Deprecated - See MC_SetPos.

Registration

Name

Description

MC_MachRegist

Enables Mark-to-Machine registration.

MC_MarkRegist

Enables Mark-to-Mark registration.

MC_StopRegist

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 (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.

Concept Link IconSee Also