®
™
Safety Module
Anybus
CompactCom
40 - PROFINET IRT Transparent
Ethernet
5.4. Safety Module
A safety module, such as the IXXAT Safe T100/PS may be used within the modular device concept. If enabled,
the safety module will be plugged into slot 1 and the host application will not be allowed to add a process data
mapping for any ADI within the range of this slot. Please note that only one safety module can be plugged in at
any given time, and it should be reflected in the GSD file e.g. by setting AllowedInSlots/UsedInSlots/FixedInSlots
to "[safety module slot no]".
5.5. Record Data
In non-transparent record data mode, ADIs are addressed acyclically, based on slot and index in a one-to-one
relationship, according to ADI number = Slot * ADIsPerSlot + Index. Since the address space is not divided
per slot/module, it is recommended to use transparent record data mode when implementing the modular
device concept. This way the host application will be informed which slot, subslot and index is addressed by the
controller.
5.6. Modular Device Example
The following example shows a device with two defined types of modules (in addition to the DAP). In its current
configuration the device has Module Type B plugged in slots 1 and 3, while Module Type C is plugged in slot 2. No
safety module is used so process data can be added to all slots except slot 0.
5.6.1. Mapping Commands
Please note that the mapping commands below omit parts not relevant for the example.
Slot 1:
Map_ADI_Write_Ext_Area( ADI=257, FirstIndex=0, NumElems=8, DataTypes=(UINT8,) )
Map_ADI_Read_Ext_Area( ADI=300, FirstIndex=3, NumElems=2, DataTypes=(UINT16,) )
Map_ADI_Read_Ext_Area( ADI=304, FirstIndex=0, NumElems=1, DataTypes=(INT32,) )
Slot 2:
Map_ADI_Read_Ext_Area( ADI=513, FirstIndex=0, NumElems=4, DataTypes=(UINT8,) )
Map_ADI_Write_Ext_Area( ADI=700, FirstIndex=0, NumElems=2, DataTypes=(UINT16,) )
Map_ADI_Write_Ext_Area( ADI=708, FirstIndex=0, NumElems=16, DataTypes=(UINT32,) )
Map_ADI_Read_Ext_Area( ADI=760, FirstIndex=0, NumElems=3, DataTypes=(BIT4, PAD2, BIT2) )
Slot 3:
Map_ADI_Write_Ext_Area( ADI=769, FirstIndex=0, NumElems=8, DataTypes=(UINT8,) )
Map_ADI_Read_Ext_Area( ADI=812, FirstIndex=3, NumElems=2, DataTypes=(UINT16,) )
Map_ADI_Read_Ext_Area( ADI=816, FirstIndex=0, NumElems=1, DataTypes=(INT32,) )
5.6.2. List of All Module IDs:
The response to the Get_List command (list type 01h) contains the following modules:
1. 0xA0000001 (DAP)
2. 0xB0000002 (Module type B)
3. 0xC0000003 (Module type C)
4. 0xB0000002 (Module type B)
SCM-1202-021 Version 2.6
Page 29 of 177
Need help?
Do you have a question about the Anybus CompactCom 40 and is the answer not in the manual?
Questions and answers