CIP Safety connection

CIP Safety
™
is the certified safety protocol for the transmission of safety-related data via EtherNet/IP
®
in accordance with the specification "The CIP Networks Library Volume 5 CIP Safety" of the Open DeviceNet Vendor Association (ODVA).
 
Communication-specific properties
RPI for CIP Safety inputs/outputs
10 ... 1000 ms
Number of simultaneous CIP Safety I/O connections
1 Singlecast Safety Output
and
1 singlecast safety input or 5 multicast safety outputs
Connection types of the CIP Safety output connection
Singlecast
Connection types of the CIP Safety input connection
Singlecast or multicast (maximum 5 consumers)
Supported CIP Safety I/O format
Extended Format
Supported Safety Open Types
Type 2a and 2b
 
Commissioning
Example: CIP Safety connection of the device in the »Studio 5000 Logix Designer®«
1.
Add the EDS file in »Studio 5000 Logix Designer®« and specify the device name, IP address and Safety Network Number (SNN):
You can then change the Module Definition according to the requirements of your application:
 
2.
Set the IP address, subnet and gateway in the "EASY Starter".
(Settings: Communication - Fieldbus - EtherNet/IP)
 
3.
Optional: Reset the safe parameter set to the default settings:
 
a.
In the +Safety parameter list+, execute the command "Reset safe parameter set in device".
 
b.
Enter password (default setting: "Lenze Safety").
 
c.
Confirm the query as to whether the safe parameter set in the device should be reset with "Yes".
 
4.
Set the following parameters in the +Safety parameter list+ under "All parameters":
 
a.
S-Bus configuration (0x2128) = "CIP Safety activated"
 
b.
STO Source S-Bus (0x2891) = "Activated"
 
c.
STO: Restart (0x2892:001)
 
5.
In the +Safety parameter list+, open the CIP Safety settings via the CIP Safety menu:
 
6.
In the "Target Unique Identifier (TUNID)" tab:
 
a.
Set the IP address to the same value as previously under Communication - Fieldbus - EtherNet/IP (step 2).
 
b.
Set the Safety Network Number (SNN) to the same value as previously in »Studio 5000 Logix Designer®« (step 1).
 
7.
Set the Safety Configuration Time Stamp (SCTS) in the "Safety Configuration Signature" tab.
The Safety Configuration Time Stamp (SCTS) can be set manually or automatically to the current date and time of the PC. The signature of the safety configuration (SCID) results from the Safety Configuration Time Stamp (SCTS) and the Safety Configuration CRC (SCCRC).
For PCs with different time zones, please note that the UTC time between the device and PLC device settings must match. This is the time that is transmitted when the security connection is checked.
 
 
8.
In the +Safety parameter list+, copy the signature of the safety configuration (SCID) to the clipboard via the CIP Safety menu.
 
9.
In the »Studio 5000 Logix Designer®« in the "Safety" tab, use the "Paste" button to paste the previously copied signature of the safety configuration (SCID):
 
10.
Define the extended EtherNet/IP settings in the »Studio 5000 Logix Designer®« (RPI, timeout according to the application requirements):
 
This completes the CIP Safety connection of the device.
 
Reset CIP Safety Output Connection Ownership
This function is used to administratively separate an existing CIP Safety output connection, which controls the safety functions of the inverter, from a safety PLC ("Originator").
The first safety PLC that successfully establishes a CIP Safety output connection to the inverter controls its safety functions as the sole owner ("Owner"). This safety function is critical to prevent faulty connections from taking control of initial resources in a validated safety system. To transfer this ownership ("Ownership"), for example if the safety PLC is replaced and its SNN or node ID is changed as a result, the ownership must be reset.
 
To cancel an existing CIP Safety output connection:
1.
In the »EASY Starter« in the +Safety parameter list+, execute the "Reset CIP Safety Output Connection Ownership" command via the CIP Safety menu.
 
2.
Check that the correct device is being used:
 
a.
Check that all identification data matches the expectations.
 
b.
Click on the "Identify device" button to activate the optical device identification. This function can be used to localize the inverter by means of flashing LEDs.
 
3.
Click on the "Confirm" button to reset the CIP Safety Output Connection Ownership:
 
4.
Click on the "Close" button to close the dialog.
 
The execution of this function can optionally be protected by the CIP Safety password. The default setting is that no password is set (display "0" in the parameter "S-Bus: CIP Safety - Password" 0x212A:011).
The CIP Safety password can be set up or changed via the "Change CIP Safety Password" dialog (see following section).
 
The originator ID of the output connection (OCPUNID) is also reset if the safe parameter set is reset.
 
 
Set up/change CIP Safety password
1.
In the »EASY Starter« in the +Safety parameter list+, execute the "Change CIP Safety password" command via the CIP Safety menu.
 
2.
Change password:
 
3.
Click on the "Ok" button to apply the settings.
 
4.
Transfer safe parameter set to device for the change to take effect. Otherwise the old password remains valid.
 
 
Reset CIP Safety password
1.
In the "EASY Starter" in the +Safety parameter list+ set the parameter "S-Bus: CIP Safety - Password" (0x212A:011) = 0.
 
2.
Transfer safe parameter set to device for the change to take effect. Otherwise the old password remains valid.
 
 
0x04-Assembly Object
The inverter optionally supports additional CIP Safety relevant assembly object instances:
Attribute
(Instance ID)
Name
Information
161
Safety Output with STO
CIP Safety output data
For structure see the following sections
171
Safety Input with STO
CIP Safety input data
 
Parameter
Address
Name / setting range / [default setting]
Information
0x212A:005
S-Bus: CIP Safety - Node-ID
0 ... [276605120] ... 4278190079
–
Safety parameter (Safety parameter list)
 
IP address of the inverter in the CIP Safety network.
–
The IP address can only be set in the "EASY Starter" or "PLC Designer" via the +safety parameter list+. Assignment via the CIP Safety Services "Propose_TUNID/Apply_TUNID" is not supported.
 
–
The default setting "276605120" corresponds to the IP address 192.168.124.16
 
0x212A:006
S-Bus: CIP Safety - SNN Date
1 ... [4] ... 65534
–
Safety parameter (Safety parameter list)
 
DATE portion of the DATE_AND_TIME format of the Safety Network Number (SNN) specified by CIP.
–
The SNN is an identifier with which a CIP Safety network can be uniquely identified across all networks of the safety system.
 
–
The SSN can only be set in the "EASY Starter" or "PLC Designer" via the +safety parameter list+. Assignment via the CIP Safety Services "Propose_TUNID/Apply_TUNID" is not supported.
 
–
The default setting "4" corresponds to the value "manual setting EIP" specified in CIP Volume 5.
 
0x212A:007
S-Bus: CIP Safety - SNN Time
0 ... [1] ... 86399999
–
Safety parameter (Safety parameter list)
 
TIME portion of the DATE_AND_TIME format of the Safety Network Number (SNN) specified by CIP.
–
The SNN is an identifier with which a CIP Safety network can be uniquely identified across all networks of the safety system.
 
–
The SSN can only be set in the "EASY Starter" or "PLC Designer" via the +safety parameter list+. Assignment via the CIP Safety Services "Propose_TUNID/Apply_TUNID" is not supported.
 
–
The default setting "1" corresponds to the value "manual setting EIP" specified in CIP Volume 5.
 
0x212A:008
S-Bus: CIP Safety - SCTS Date
0 ... [18993] ... 65534
–
Safety parameter (Safety parameter list)
 
DATE portion of the DATE_AND_TIME format of the Safety Configuration Time Stamp (SCTS) specified by CIP.
–
The Safety Configuration Time Stamp (SCTS) and the Safety Configuration CRC (SCCRC) together form the signature of the safety configuration (SCID).
 
–
The SCTS can only be set in the "EASY Starter" or "PLC Designer" via the +safety parameter list+. Assignment via the CIP Safety Service "Validate_Configuration" is not supported.
 
–
The SCCRC corresponds to the value displayed in 0x2115:002.
 
0x212A:009
S-Bus: CIP Safety - SCTS Time
0 ... [43200000] ... 86399999
–
Safety parameter (Safety parameter list)
 
TIME portion of the DATE_AND_TIME format of the Safety Configuration Time Stamp (SCTS) specified by CIP.
–
The Safety Configuration Time Stamp (SCTS) and the Safety Configuration CRC (SCCRC) together form the signature of the safety configuration (SCID).
 
–
The SCTS can only be set in the "EASY Starter" or "PLC Designer" via the +safety parameter list+. Assignment via the CIP Safety Service "Validate_Configuration" is not supported.
 
–
The SCCRC corresponds to the value displayed in 0x2115:002.
 
0x212A:011
S-Bus: CIP Safety - Password
0 ... [0] ... 4294967295
–
Safety parameter (Safety parameter list)
 
Optional password for activating the "Reset CIP Safety Output Connection Ownership" function.
–
0 = No password set or existing password is reset.
 
 
Structure of the CIP Safety output data (instance ID: 161)
The safety PLC transmits CIP Safety output data (control commands) to the inverter:
–
Data length: 24 bytes
 
–
Control commands are LOW-active, the bit state "0" activates the function.
 
–
Exceptions: See details in the table.
The detail "0↗1" means a change of state from "0" to "1".
 
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
Mode Byte
Byte 9
CRC-S3 (low-byte)
Byte 10
CRC-S3 (high-byte)
Byte 11
Complement Data
Byte 12
Byte 13
Byte 14
Byte 15
Byte 16
Byte 17
Byte 18
Byte 19
CRC-S5_0
Byte 20
CRC-S5_1
Byte 21
Timestamp16 (low-byte)
Byte 22
Timestamp16 (high-byte)
Byte 23
CRC-S5_2
 
Structure of the CIP Safety input data (instance ID: 171)
The inverter transmits CIP Safety input data (status information) to the safety PLC:
–
Data length: 32 bytes
 
–
Status information is HIGH-active, the bit status "1" indicates the active status information.
 
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
Mode Byte
Byte 13
CRC-S3 (low-byte)
Byte 14
CRC-S3 (high-byte)
Byte 15
Complement Data
Byte 16
Byte 17
Byte 18
Byte 19
Byte 20
Byte 21
Byte 22
Byte 23
Byte 24
Byte 25
Byte 26
Byte 27
CRC-S5_0
Byte 28
CRC-S5_1
Byte 29
Timestamp16 (low-byte)
Byte 30
Timestamp16 (high-byte)
Byte 31
CRC-S5_2
 
Additionally supported CIP Safety relevant CIP objects