Cam operation can make 1 or more axis of the slave XBot follow the motion of 1 more axis of 1 or more master XBots through the use of a configured cam.
ID of the XBot. Real XBot IDs [1,78]. Virtual XBot IDs [100,127]
nAxis
USINT
# of slave axis specified in this command (all for the same slave XBot)
SlaveAID
USINT[0..6]
Array of size 7, enter up to 7 axis of the slave XBot to control. Axid IDs: 0 = no axis, 1 = X, 2 = Y, 3 = Z, 4 = RX, 5 = RY, 6 = RZ
camID
USINT[0..6]
Array of size 7, ID of the cam used to drive the slave axis
MasterXID
USINT[0..6]
Array of size 7, ID of the Master XBots
MasterAID
USINT[0..6]
Array of size 7, axis ID of the master XBot axis that is used to drive the slave xbot axis. Axid IDs: 0 = no axis, 1 = X, 2 = Y, 3 = Z, 4 = RX, 5 = RY, 6 = RZ
PM_Controller
PMControllerType
Data structure that specifies which PMC to connect to. There should be only 1 instance of this variable for each connected PMC.
Outputs
Name
Data Type
Description
Done
BOOL
Execution successful. Function block is finished. (Note: Done will not become TRUE if Execute is already FALSE)
Busy
BOOL
Function block is active and must continue to be called.
Aborted
BOOL
Command aborted by another command.
Error
BOOL
If there is an error in processing the command, then Error = TRUE, otherwise, FALSE.
The specified XBot(s) will enter the Motion State.
Description
Cam operation can make 1 or more axis of the slave XBot follow the motion of 1 more axis of 1 or more master XBots.
It is not necessary to follow the same axis (you can use the Y axis motion of the master XBot to drive the X axis motion of the slave XBot
The way the slave XBot axis follows the master XBot axis is user defined in a text file, please see Cam Configuration instructions
Behaviour During Obstacles
If the slave XBot encounters an obstacle (i.e. another XBot is in the way) while following a cam, it will stop following the master and go to the Stopped State. Its motion will not be resumed even if the obstacle XBot is moved away.
JavaScript errors detected
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.