This command is used to register XBots into the Absolute ID registration table. See XID Configuration.
Fieldbus Interface
PMC_MoverID_RegisterIDs
Inputs
|
Name
|
Data Type
|
Description
|
|
Execute
|
BOOL
|
Execution of the function block begins on a rising edge of this input. |
|
nXbots
|
USINT
|
Number of XBots to register
|
|
XbotIDs
|
USINT[0..126]
|
IDs of XBots to register absolute IDs for
|
|
MoverType
|
USINT[0..126]
|
M3-06 = 0, M3-08 = 2, M3-10 = 6, M3-11 = 8, M3-12 = 12, M3-13 = 14, M3-17 = 18, M3-18 = 20, M3-25 = 22 (See XBot Types)
|
|
RFIDHigh
|
UDINT[0..126]
|
High 32 bits of XIDs (left 4 bytes)
|
|
RFIDLow
|
UDINT[0..126]
|
Low 32 bits of XIDs (right 4 bytes)
|
|
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. |
|
ErrorID
|
UINT
|
0x0: All OK. Otherwise, please see Fieldbus Reply Codes. |
Conditions
|
Operating Conditions
|
|
Preconditions
|
PMC should be INACTIVE
|
|
Postconditions
|
The RFIDs for the specified XBots are registered in the Absolute ID table
|
Description
This command is used to register XBots into the Absolute ID registration table. See XID Configuration.
Changelog
PMC v117.22.55 (Fieldbus v6.03.048.00) - Command released in fieldbus libraries