5. PROFIBUS telegrams
5.1. Structure of the parameterization telegram
Each time a EM-PB-GATEWAY-IFS on the PROFIBUS-DP starts up, device parameters are transmitted
to the device. Depending on which master module is used, either standard parameters, or both standard
and IF system-specific parameters are transmitted.
The setting of the startup parameters is determined using the GSD file and is done using the project
planning tool of the master module.
Behavior at PROFIBUS errors
0: Reset outputs and Producer PDCs
1: Hold last state
Control of digital outputs
"0" = Output is controlled by PB
"1" = Output is controlled by IFS master
Bit 3: Output 4
Bit 2: Output 3
Bit 1: Output 2
Bit 0: Output 1
Real power [W] (x 0.001) : 1000
Measuring range final value of real power
Presentation range (default): -32512 ... 32512 W
Reactive power [var] (x 0.001) : 1000
Measuring range end value of the reactive power [var]
Presentation range (default): -32512 ... 32512 var
Power [VA] (x 0.001) : 1000
Measuring range end value of the apparent power [VA]
Presentation range (default): -32512 ... 32512 VA
Voltage [V] (x 0.001) : 100
Measuring range final value of voltage [V]
Presentation range (default): -3251.2 ... 3251.2 V
Current [A] (x 0.001) : 1
Measuring value final value of current [A]
Presentation range (default): -32.512 ... 32.512 A
Switch cycles (x 1) : 1
Measuring range final value of operating cycle counters
Presentation range (default): 0 ... 32512 cycles
Operation time [h] (x 0.001) : 1
Measuring range final value of operating hour counter
Presentation range (default): 0 ... 32.512 h
Energy [kWh] (x 0.001) : 1
Measuring range final value of energy counter
Presentation range (default): -32.512... 32.512 kWh
Userdefined 1 (x 0.001) : 1000
Presentation range (default): -32512 ... 32512
Userdefined 2 (x 0.001) : 1000
Userdefined Scaling 2 (x 0.001)
Presentation range (default): -32512 ... 32512
IFS application
0: NON
1: ELR, EMM
Byte order
0: Intel
1: Motorola
28
5.2. Structure of the diagnostics telegram
The diagnostics telegram shows the current operating status of the devices. It is transmitted when
requested by the PROFIBUS master.
The system differentiates between status and error messages. Error messages are marked with E and
are sent to the master with a higher priority. This means that diagnostics data is sent to the master instead
of process data as soon as an error is detected. Status messages are sent only if no process data has to
be sent.
Byte
Bit
Remark
0
7...0 Station status 1 (DP standard)
1
7...0 Station status 2 (DP standard)
2
7...0 Station status 3 (DP standard)
3
7...0 Address of the PROFIBUS master
4
7...0 Slave ID (high byte)
5
7...0 Slave ID (low byte)
6
7...0 07h: Header of the device-specific diagnostics (DPV1)
7
7...0 81h: Diagnostics type
8
7...0 00h: Slot number
9
7...0 00h: Reserved
10
Module state (low byte) (LPC/DPC) Errors
Configuration mode is set
7
6
Reserved
5
Switch output overload
Error power supply detected
4
3
Checksum config area is invalid
2
Checksum vendor area is invalid
1
Reserved
0
Undefined, unspecified internal error
Module state (high byte) DPC Errors
11
7
Stack error
6
Checksum ROM is invalid
Internal communication error
5
4
Digital input error
3
Reserved
2
Reserved
1
Reserved
Reserved
0
12
IFSM Slave Error 1 (module defective or device missing)
7
Slave 8:
error or missing
Slave 7:
error or missing
6
5
Slave 6:
error or missing
4
Slave 5:
error or missing
Slave 4:
error or missing
3
2
Slave 3:
error or missing
1
Slave 2:
error or missing
0
Slave 1:
error or missing
M
E
E
E
E
E
E
E
E
E
M
M
M
E
E
E
E
E
E
E
E
E
29