MC_SetCamTableProperty
The MC_SetCamTableProperty instruction changes the end point index of the cam table that is speci-
fied in an in-out parameter.
Instruction Name
FB/
FUN
Graphic expression ST expression
MC_SetCamTableProp-
erty
Set Cam
T
able Prop-
erties
FB
MC_SetCamTa b leProperty_instance
MaxDataNumber
CamTable CamTable
EndPointIndex
Execute
Error
ErrorID
CommandAborted
MC_SetCamTableProperty
Done
Busy
MC_SetCamTableProperty_in-
stance (
CamT
able :=parameter,
Execute :=parameter,
Done =>parameter,
EndPointIndex =>parameter,
MaxDataNumber =>parameter,
Busy =>parameter,
CommandAborted =>parameter,
Error =>parameter,
ErrorID =>parameter
);
Variables
Input Variables
Name Meaning Data type Valid range Default Description
Execute Execute BOOL TRUE or
FALSE
FALSE The instruction is executed when the value
of this variable changes to TRUE.
Output Variables
Name Meaning
Data
type
Valid range Description
Done Done BOOL TRUE or
F
ALSE
TRUE when the instruction is completed.
EndPointIndex End Point In-
dex
UINT Non-negative
number
Contains the cam table end point index.
MaxDataNumber Maximum
Number of
Cam Data
UINT Positive num-
ber
Contains the maximum number of cam data.
Busy Executing BOOL TRUE or
F
ALSE
TRUE when the instruction is acknowledged.
CommandAborted Command
Aborted
BOOL TRUE or
F
ALSE
TRUE when the instruction is aborted.
Error Error BOOL TRUE or
F
ALSE
TRUE while there is an error.
5 Common Command Instructions
5-2
NY-series Motion Control Instructions Reference Manual (W561)