PROFIsafe connection

PROFIsafe is the certified safety protocol for the transmission of safety-related data via PROFINET
®
.
 
The function supports the transfer of secure information via the PROFIsafe protocol according to the specification "PROFIsafe Profile for Safety Technology", Version 2.0, of the PROFIBUS user organization (PNO). The inverter forwards the PROFIsafe information to the function for secure evaluation.
 
Addressing
In order to ensure that a data telegram reaches the right node, a unique PROFIsafe destination address is necessary. If PROFIsafe has been chosen as the safety bus, the safety address will be used as the PROFIsafe destination address. This address must match the corresponding configuration of the safety PLC.
 
Definition of the PROFIsafe address
The PROFIsafe address (code name according to IEC 61784-3-3:2010) is used to uniquely identify the source and destination. Therefore, a distinction is made between two parts of an address: the source address and the target address. One or both addresses are used for protection.
PROFIsafe address type 1
–
The uniqueness of the PROFIsafe address is guaranteed solely by the destination address.
 
–
The target address must be unique on the network and should then be verified in the security report.
 
–
If there are multiple safety PLCs, their target address ranges must not overlap.
 
–
The source address has no effect on the uniqueness of the PROFIsafe address.
 
–
The target and source addresses are contained in the CRC value of the safety program in the safety PLC.
 
PROFIsafe address type 2
–
The uniqueness of the PROFIsafe address is ensured by the combination of the source address and the target address.
 
–
The source address used for the safety components (F-peripherals) of a safety PLC must be unique on the network.
 
–
The target address must be unique within the network and must differ from all PROFIsafe Address Type 1 target addresses on the same network.
 
–
The target and source addresses are contained in the CRC value of the safety program in the safety PLC.
 
 
PROFIsafe Frame
The PROFIsafe data is transmitted in the second slot of a PROFINET data telegram. This must be taken into account during the hardware configuration of the safety PLC.
 
PROFINET data telegram
Header
Slot 1
Slot 2
Trailer
Data
PROFIsafe data
 
PROFIsafe data
In the PROFIsafe data, a bit is used to control a safety function.
The structure of the PROFIsafe data is described in the PROFIsafe profile. The length of the PROFIsafe data (or PROFIsafe message) is 16 bytes.
PROFIsafe message V2 mode
Bit offset
Byte offset
7
6
5
4
3
2
1
0
0...11
PROFIsafe process data
(PROFIsafe output data/PROFIsafe input data)
12
Control byte or status byte
13...15
CRC2
Signature from PROFIsafe process data, the PROFIsafe parameters and the running numbers.
The meaning of the PROFIsafe process data is described separately in the following chapters according to PROFIsafe output data and PROFIsafe input data.
 
Structure of the PROFIsafe output data
The safety PLC sends PROFIsafe output data (control commands) to the inverter:
–
Data length: 16 bytes
 
–
Control commands are LOW-active; a bit value of "0" activates the function.
 
–
Exceptions: See the information in the table.
 
Byte offset
Bit offset
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Byte 0
AIE
(0↗1)
-
-
-
-
-
SS1
STO
Byte 1
SSE
-
ES
(HIGH active)
-
OMS
(HIGH active)
-
-
AIS
(0↗1)
Byte 2
-
-
-
-
-
-
-
-
Byte 3
-
-
-
-
-
-
SD-Out1
(HIGH active)
-
Byte 4
-
-
-
-
-
-
-
-
Byte 5
-
-
-
-
-
-
-
-
Byte 6
-
-
-
-
-
-
-
-
Byte 7
-
-
-
-
-
-
-
-
Byte 8
-
-
-
-
-
-
-
-
Byte 9
-
-
-
-
-
-
-
-
Byte 10
-
-
-
-
-
-
-
-
Byte 11
-
-
-
-
-
-
-
-
Byte 12
Status byte
Byte 13
CRC2 (sequential number)
Byte 14
Byte 15
 
Structure of PROFIsafe input data
The inverter sends the PROFIsafe input data (status information) to the safety PLC:
–
Data length: 16 bytes
 
–
Status information is HIGH-active; a bit value of "1" indicates that the status information is active.
 
Byte offset
Bit offset
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Byte 0
Error active
-
-
-
-
-
-
STO active
Byte 1
SSE active
-
ES active
-
OMS active
-
-
SS1 active
Byte 2
-
-
-
-
-
-
-
-
Byte 3
-
-
-
-
-
-
-
-
Byte 4
-
-
-
-
-
-
-
-
Byte 5
-
-
-
-
MUT active
-
-
-
Byte 6
SD-In2-B
SD-In2-A
SD-In1-B
SD-In1-A
-
-
SD-In2
SD-In1
Byte 7
SD-In-AIS
SD-In-AIE
-
-
-
-
-
SD-Out1 active
Byte 8
-
Byte 9
-
Byte 10
-
Byte 11
-
Byte 12
Status byte
Byte 13
CRC2 (sequential number)
Byte 14
Byte 15
 
Parameter
Address
Name / setting range / [default setting]
Information
0x212A:012
S-Bus: PROFIsafe adress typ 2
1 ... [1] ... 65534
–
Safety parameter (Safety parameter list)