Command Details: API_Add
Category
Extended
Details
Command Code: | 14h |
Valid for: | Object Instance |
Description
By default, the module only supports API 0 (zero). If additional APIs are to be supported, or if the host application shall handle plugging/unplugging of modules and submodules, this command must be used to specify the API implementation. Note that if using this command, it is mandatory to declare API 0 (zero) prior to defining other APIs or plugging/unplugging modules/submodules. API numbers are assigned by PROFIBUS & PROFINET International (PI).
Note
This command may only be issued prior to setting the Setup Complete-attribute in the Anybus Object.
This command clears the default Real Identification created by the Anybus module while mapping ADIs to Process Data. Therefore, issuing this command effectively makes it mandatory to specify the actual Real Identification by means of the Plug_Module and Plug_Submodule-commands.
Command Details
Field
Contents
Comments
CmdExt[0]
(reserved, set to zero)
(reserved for future use)
CmdExt[1]
Data[0]
API (low word, low byte)
Application Process Instance (API)
See also...
Data[1]
API (low word, high byte)
Data[2]
API (high word, low byte)
Data[3]
API (high word, high byte)
Data[4]
(reserved, set to zero)
(reserved)
Data[5]
Data[6]
Data[7]
See also...