DVP-15MC Series Motion Controller Operation Manual
11-226
Name Timing for changing to TRUE
Timing for changing to FALSE
Done
When the instruction
execution is completed.
When Execute changes to FALSE.
Busy
When Execute is TRUE.
When Done changes to TRUE.
When Error changes to TRUE.
Error
When any of the input
parameters is illegal.
When Execute changes from TRUE to FALSE.
Output Update Timing Chart
Execute
Done
Busy
Error
Error I D
Case 1 Case 2
Case 1: When Execute changes from FALSE to TRUE, Busy changes to TRUE. When the instruction
execution is completed, Done changes to TRUE and Busy changes to FALSE. When Execute
changes to FALSE, Done changes to FALSE.
Case 2: When an error occurs, Error changes to TRUE and ErrorID shows corresponding error code.
When Execute changes from TRUE to FALSE, Error changes to FALSE and the value of ErrorID
is cleared to 0.
Functions
DMC_CamWriteTappetValue is used for setting the parameters for a tappet point including the master
axis position and the status mode of the tappet point when the tappet point is passed in the positive
direction and in the negative direction.
Generally, the setting for a tappet point is conducted in the cam built on the software.For a dynamic
change of the tappet point setting, use the DMC_CamWriteTappetValue instruction.
After the setting for a tappet point is over, use DMC_CamReadTappetStatus to read the status of the
tappet point when the master axis passes the tappet point.
When the axis runs forward, the tappet point can select such a mode as PositiveDisable, PositiveOn,
PositiveOff or PositiveInvert. When the axis runs backward, the tappet point can select such a mode as
NegativeDisable, NegativeOn, NegativeOff or NegativeInvert.
The meanings of modes are shown in the following table.
PositiveDisable Disabled
When the master axis passes the tappet point in the positive
direction, the status of the tappet point which is read has no change.
PositiveOn ON
When the master axis passes the tappet point in the positive
direction, the status of the tappet point which is read is ON.
PositiveOff OFF
When the master axis passes the tappet point in the positive
direction, the status of the tappet point which is read is OFF.
PositiveInvert Invert
When the master axis passes the tappet point in the positive
direction, the status of the tappet point which is read will be OFF if
the status of the tappet point is ON before the tappet point is passed
in the positive direction. Otherwise, the status of the tappet point
which is read will be ON if the status of the tappet point is OFF before
the tappet point is passed in the positive direction.
NegativeDisable Disabled
When the master axis passes the tappet point in the negative
direction, the status of the tappet point which is read has no change.
NegativeOn ON
When the master axis passes the tappet point in the negative
direction, the status of the tappet point which is read is ON.
NegativeOff OFF
When the master axis passes the tappet point in the negative
direction, the status of the tappet point which is read is OFF.
NegativeIvert Invert
When the master axis passes the tappet point in the negative
direction, the status of the tappet point which is read will be OFF if