Anybus® CompactCom 40 - PROFINET IRT IIoT Secure

Object Description

When the application maps ADIs to process data during start-up, the Anybus CompactCom 40 PROFINET IRT IIoT Secure will create the module configuration as described in Real Identification (RI). The modules in the GSDML file must then be described in the same way. The GSDML file provided by HMS provides a few examples based on this way of describing modules.

If the end-user wishes to define modules in another way the application must provide the module configuration to the Anybus CompactCom 40 PROFINET IRT IIoT Secure. This is achieved by using the following commands:

  • API_Add

  • Plug_Module

  • Plug_Submodule

  • Plug_Submodule_Ext

These commands need to be sent after the process data is mapped, and before sending setup complete to the Anybus CompactCom 40 PROFINET IRT IIoT Secure.

Example:

Initially, the application maps ADIs as process data by calling all or some of the functions below:

  • Map_ADI_Write_Area (10h)

  • Map_ADI_Read_Area (11h)

  • Map_ADI_Write_Ext_Area (12h)

  • Map_ADI_Read_Ext_Area (13h)

Modules and submodules are now created based on this information as described in Real Identification (RI).

  1. Call API_Add to add an API.

  2. Call Plug_Module to add a module to the API.

  3. Call Plug_Submodule one or more times to add submodules to the module.

  4. Repeat steps 2 and 3 to add modules to the API.

After the configuration is complete, call setup complete.

Removing and Exchanging Modules and Submodules

If the RI has been created by the host application through custom configuration, there are ways of removing modules and plug new modules during runtime.

The application will be notified by the command Cfg_Mismatch_Ind for every submodule that does not match. This information will also be provided in the command Expected_Ident_Ind. The application can then decide to remove the plugged module by issuing the command Pull_Module. This will remove the whole module and its submodules. Then, based on the information received from either Cfg_Mismatch_Ind or Expected_Ident_Ind, the application can adopt to the PLC configuration by issuing new Plug_Module, Plug_Submodule and Plug_Submodule_Ext commands.

See also ...