Commissioning
EL6631-001034 Version: 3.4.0
Reading out the module difference
An ADS READ block is to be used for this.
ADS WRITE Comment
AMSNETID AMS Net ID des PROFINET Devices
PORT 0xFFFF (if a virtual PROFINET device is used, the port number is formed from
0x1000 + the device ID)
Index Group High Word - 0x0000, Low Word - 0xF826
Index Offset 0x0000
Length 20882
The modules are identical if the length null is returned. The length can differ, depending on the type (see the
ModuleDiffBlock PROFINET specification)
Example of how the data can be constructed:
Data byte offset Value Comment
0..3 UINT32 API
4..5 UINT16 Number of Modules
6..7 UINT16 Slot
8..11 UINT32 Module Ident (see GSDML File)
12..13 UINT16 Module State (0-noModul, 1- WrongModule, 2- ProperModule,
3- Substitute)
14..15 UINT16 NumberOfSubModules
16..17 UINT16 SubSlot
4.1.5 Submodules
A PROFINET device describes its data by modules, which in turn contain submodules. Each module has at
least one submodule.
The EL6631-0010 can contain a maximum of 238 submodules. However, you should try not to exhaust the
number of submodules, but keep it as small as possible.
For example, if you want to transfer 100 bytes, you can achieve this by using a module with 100 modules of
1 byte each or by using one module with 100 bytes. Here it is to be considered:
With PROFINET, each module has a provider and a consumer status (IOPS and IOCS). With 100 x 1 byte,
the IOPS and IOCS in our example transport not only 100 byte but 300 byte. With 1 x 100 bytes, 102 bytes
are then transferred.
When using the EL6631-0010 you have no disadvantage if you keep the number of modules small, or no
advantage if you use 100 individual modules, because the EL6631-0010 is a hardware that only forwards the
data to the EtherCAT master.
4.2 Technical data - PROFINET RT
Technical data EL6631-0010
PROFINET Version RT Class 1 ConformanceClassB
Number of device interfaces )
1
2
Topology variable
Quantity of user data 1Kbyte In/Out
Cycle time ≥ 1ms
)
1
see the chapter on virtual PROFINET devices