Download 4 - SEW-Eurodrive

Transcript
Description of the Function Modules
General functionality of the function modules
4
When the function module that was cancelled sets the output signal CommandAborted
to TRUE, it resets the output signals Done or InVelocity and Active to FALSE. The function module resets the output signal CommandAborted to FALSE by setting a falling
edge at the input signal Execute.
The following function modules can cancel motion function modules:
•
MC_Stop_MDX / MC_AxisStop_MDX / MC_StopSensorless_MDX.
•
MC_ConnectAxis_MDX (when the MOVI-PLC® controller detects an inverter error,
communication error or 24 V operation of the drive inverter in this function module).
•
MC_Power_MDX when Enable = FALSE (only for discrete motion tasks that have
already reached the target position window once; other function modules are only
interrupted, see below).
•
Discrete motion function modules can only cancel discrete motion function modules.
•
Continuous motion function modules can only cancel continuous motion function
modules.
The function module resets the output signal Done to FALSE on cancellation, even if the
goal of the function module has already been achieved and the specified position or
speed window of the cancelled function module is still maintained.
Output signal
Error
If an error occurs in the MOVI-PLC® controller during the execution of a function module,
the function module sets the output signal Error to TRUE. In this case, the relevant error
is displayed at the output signal ErrorID.
Errors in the drive inverter do not cause the output signal Error to be set, but are detected in the MC_ConnectAxis_MDX function module and cause the cancellation of the
motion function module.
Response to
Controller Inhibit,
No Enable or Safe
Stop
When one or more of the following conditions applies, the function module interrupts the
active travel task (discrete motion, continuous motion, homing) of the motor axis:
•
Controller inhibit
•
No enable
•
Safe stop
However, the function module does not cancel the travel task.
When the active travel task is interrupted, the function module resets the output signal
Active to FALSE. However, it does not set the output signal CommandAborted to TRUE.
As soon as the above conditions no longer apply, the function module continues the interrupted travel task.
Interrupting the action of a motion function module does not lead to an error. If the action
of a motion function module is to be cancelled without executing another function module, the task of one of the function modules MC_Stop_MDX, MC_AxisStop_MDX or
MC_StopSensorless_MDX must be executed.
Exception:
The reference travel triggered by the function module MC_Home_MDX is cancelled by
setting a controller inhibit or triggering a safe stop. At the same time, the function module
MC_Home_MDX sets the output signal CommandAborted to TRUE.
When the enable is revoked, reference travel is only interrupted. When the process is
enabled again, the motor continues the reference travel.
When a braking movement, triggered by one of the function modules MC_Stop_MDX,
MC_AxisStop_MDX or MC_StopSensorless_MDX, is interrupted by a controller inhibit,
no enable or safe stop, this braking movement does not continue at the speed it had pri-
Manual – MPLCMotion_MDX Library
17