Indraworks Safelogic 15Vrs: First Steps
Indraworks Safelogic 15Vrs: First Steps
Indraworks Safelogic 15Vrs: First Steps
SafeLogic 15VRS
First Steps
Title IndraWorks
SafeLogic 15VRS
First Steps
Table of Contents
Table of Contents
Page
3 Installation.................................................................................................................... 13
5 Commissioning............................................................................................................ 31
5.1 Introduction and overview..................................................................................................................... 31
5.2 Creating an IndraWorks project............................................................................................................ 31
5.3 PROFIsafe............................................................................................................................................ 32
5.3.1 Creating and configuring PROFIsafe Inline terminals at the Profibus............................................... 32
5.3.2 Creating and configuring PROFIsafe Inline terminals at the Profinet................................................ 37
Table of Contents
Page
5.4 CSos..................................................................................................................................................... 43
5.4.1 Creating and configuring CSos S20 terminals................................................................................... 43
5.4.2 IndraDrive with CSos......................................................................................................................... 46
5.5 Exchanging variables with standard PLC............................................................................................. 50
5.6 Safety network variables....................................................................................................................... 51
5.7 Programming example.......................................................................................................................... 55
5.8 Loading and starting projects on the control......................................................................................... 59
5.9 Modifying projects................................................................................................................................. 60
6 Troubleshooting........................................................................................................... 61
6.1 SafeLogic interface............................................................................................................................... 61
6.2 SafeLogic function module................................................................................................................... 62
6.3 PROFIsafe............................................................................................................................................ 62
6.4 CIP Safety on Sercos........................................................................................................................... 63
6.5 Safety PLCopen function blocks........................................................................................................... 64
6.6 Converting variables (safe ⇔ not safe)................................................................................................. 64
7 Diagnostics.................................................................................................................. 67
7.1 Overview............................................................................................................................................... 67
7.2 Status of the Safety function module.................................................................................................... 67
7.3 Log of the Safety function module........................................................................................................ 68
7.4 Log of the standard control................................................................................................................... 69
7.5 Device diagnostics of the standard control........................................................................................... 70
7.6 Diagnostic outputs of the ProfisafeHost and CSosOriginator function blocks...................................... 71
7.7 Diagnostics on the standard PLC control............................................................................................. 71
Index............................................................................................................................ 79
Presales Aftersales
Design engineer
Mechanic/
electrician
Programmer Programmer
Technologist Commissioning engineer
Target Process Technologist
groups specialist
Process specialist
Machine
operator
Maintenance Mechanic/
technician electrician
Service Disposal company
Select Unpack Parameterize Optimize Operate Dismount
Prepare Mount Program Test Maintain Dispose
Activities Design Install Configure Remove
faults
Construct Simulate
Create
the NC program
Fig. 1-1: Assigning the present documentation to the target groups, product
phases and activities of the target group
Purpose
This documentation contains a description for the creation of a 15VRS control
project to commission a SafeLogic control. Furthermore, this documentation
includes information on diagnostics and troubleshooting.
SafeLogic documentation
IndraWorks R911400170 This documentation contains a description for
SafeLogic 15VRS Commissioning Manual the creation of a 15VRS control project to com‐
mission a SafeLogic control.
First Steps
IndraWorks R911398635 This documentation describes the creation and
SafeLogic 15VRS Application Description the programming of SafeLogic projects in
IndraWorks Engineering
Project Configuration
ILC R911400164 This project planning manual describes the
MLC 15VRS Project Planning Manual SafeLogic compact Safety control and the Safe‐
ty extension module when using an IoT-compat‐
SafeLogic System Overview ible PLC system ILC SafeLogic and Motion
Control system MLC SafeLogic
MTX 15VRS R911398637 This project planning manual describes the
SafeLogic System Overview Project Planning Manual SafeLogic compact Safety control and the Safe‐
ty extension module when using a CNC system
MTX
Safe Motion documentations
Sercos
IndraControl R911343914 This documentation describes den Rexroth S20
S20 bus coupler for Application Description PROFIBUS-DP bus coupler S20-PB-BK
PROFIBUS-DP
I/O modules with safe inputs/outputs
Rexroth Inline Module with R911326026 This documentation describes the Rexroth In‐
Safe Digital Inputs Application Description line module R-IB IL 24 PSDI 8-PAC
Outputs
S20-PSDO-8/3
IndraControl R911369168 This documentation describes the Rexroth S20
S20 module with safe digital Application Description module S20-PSDI 8/4 (PROFIsafe)
Inputs
S20-PSDI-8/4
IndraControl R911342482 This documentation describes the Rexroth S20
S20 module with safe digital Application Description module S20-SSDO-8/3 (CSoS)
Outputs
S20-SSDO-8/3
IndraControl R911342480 This documentation describes the Rexroth S20
S20 module with safe digital Application Description module S20-SSDI 8/4 (CSoS)
Inputs
S20-SSDI-8/4
1.3.3 IndraWorks/WebAssistant
Document Part number, document type Description
Software Installation
IndraWorks R911393303 This documentation describes the use of
15VRS Application Description IndraWorks in which the Rexroth Engineering
tools are integrated. It includes instructions on
Engineering how to work with IndraWorks and how to oper‐
ate the oscilloscope function.
IndraWorks R911396137 This documentation describes the PLC pro‐
15VRS Application Description gramming tool IndraLogic 2G and its use. The
documentation includes the basic use, first
PLC Programming System IndraLogic steps, visualization, menu items and editors.
2G
IndraWorks R911398633 This documentation describes the system-com‐
15VRS Library prehensive PLC libraries.
Diagnostic Gateways
IndraControl R911338436 Instructs the technical staff of the machine ven‐
SafeLogic compact Project Planning Manual dor and the machine operator on safe assem‐
bly, configuration, electrical installation, com‐
Sercos Gateway missioning as well as maintenance of the Safe‐
Logic compact Sercos Gateway
Safety controls network solutions Safe‐ R911332754 These safety instructions provide information to
Logic compact Safety instructions the planner, developer and operator as well as
persons installing the protective equipment in a
machine/system, and initially commission and
operate it
Avoiding danger
Fig. 1-2: Structure of the safety instructions
DANGER
In case of non-compliance with this safety instruction, death or serious injury
will occur.
WARNING
In case of non-compliance with this safety instruction, death or serious injury
can occur.
CAUTION
In case of non-compliance with this safety instruction, minor or moderate
injury can occur.
NOTICE
In case of non-compliance with this safety instruction, material damage can
occur.
This is a note.
This is a tip.
Installation
3 Installation
Prerequisites
The following minimum system requirements apply to smaller IndraWorks
Safety Manager projects with at most 100 blocks, 10 visualizations and 8 field
bus devices:
● 2 GB RAM
● 1 GHz Pentium
● 5 GB available hard drive space
The IndraWorks Safety manager programming system is only released for:
● Operating system: Windows 10, 64 bit
● Screen resolution: 96 dpi
Installing the SafetyManager li‐ There are two types of SafetyManager licenses:
cense
● IndraWorks SafetyManager (R911322463)
This license is required to develop Safety programs.
It allows the following:
– Logging into the Safety control including all debugging actions
– Setting passwords
– Downloading Safety programs
– Creating boot projects
– Retrieving control log
– Updating firmware
● IndraWorks SafetyManager Lite (R911383338)
This license is required for the remote support and for the servicing of
Safety applications.
It allows the following:
– Logging into the control via remote support access
– Debugging without the option to change values
– Retrieving control log
Installation
R-IB IL 24 PSDI 8 8 54
R-IB IL 24 PSDI 16 16 36
R-IB IL 24 PSDO 8 8 60
R-IB IL 24 PSDO 4/4 8 48
R-IB IL 24 PSDOR 4 8 48
1) 4 bytes of process data are additionally assigned in the input
and output range for each PSDx module (status/control byte,
CRC)
Tab. 4-1: Assigning Profibus parameter channel using Safety Inline terminals
When equipping the Inline Profibus coupler, ensure that the maxi‐
mum number of 230 bytes is not exceeded in the Profibus param‐
eter channel.
Non-safe Inline terminals are also assigned to the Profibus pa‐
rameter channel.
Example:
Equipping the Profibus coupler with one PSDI8 and two PSDO8 modules
The number of assigned bytes in the Profibus parameter channel is in total:
1 x 54 bytes + 2 x 60 bytes = 174 bytes
56 bytes are thus available.
Setting the DIP switches The DIP switches have to be set as follows:
● Mode: Mode1
● Baud rate: 500 kBauds if grey or yellow Inline terminals are operated at
a coupler; otherwise 2 MBauds
● F-address: Corresponds to the F_Dest address in the configuration dia‐
log. PROFIsafe addresses between 1 and 1022 are permitted
The DIP switches of the Inline terminal have to be set to the Inline
coupler before mounting them.
Note the set F_Dest addresses.
The DIP switches cannot be accessed anymore after integrating
the Inline terminal.
Fig. 4-2: Numbering the slots at the Profibus Inline coupler R-IL PB BK DI8
DO4/CN
Setting the DIP switches The DIP switches have to be set as follows:
● Mode: Mode1
● Baud rate: 500 kBauds if grey or yellow Inline terminals are operated at
a coupler; otherwise 2 MBauds
● F-address: Corresponds to the F_Dest address in the configuration dia‐
log. PROFIsafe addresses between 1 and 1022 are permitted
The DIP switches of the Inline terminal have to be set to the Inline
coupler before mounting them.
Note the set F_Dest addresses.
The DIP switches cannot be accessed anymore after integrating
the Inline terminal.
Fig. 4-4: Numbering the slots at the Profinet Inline coupler R-IL PN BK DI8
DO4
Channel 1 Channel 2
Assignment Evaluation Symmetry Assignment Evaluation Symmetry
Single-channel: Both channels ena‐ Used Single channel Disabled Used Single channel Disabled
bled
Single-channel: Channel 1 active Used Single channel Disabled Not used Single channel Disabled
Single-channel: Channel 2 active Not used Single channel Disabled Used Single channel Disabled
Channel 1 + channel 2 redundant Used Double channel Disabled Used Double channel Disabled
Channel 1 + channel 2 redundant Used Double channel Enabled Used Double channel Enabled
with symmetry monitoring
SAFEBYTE
Bit 7 6 5 4 3 2 1 0
Single- IN3_Ch2 IN3_Ch1 IN2_Ch2 IN2_Ch1 IN1_Ch2 IN1_Ch1 IN0_Ch2 IN0_Ch1
channel
Dual-chan‐ IN3_Ch1&2 IN2_Ch1&2 IN1_Ch1&2 IN0_Ch1&2
nel
Terminal 8.1 7.1 6.1 5.1 4.1 3.1 2.1 1.1
name
Tab. 4-3: I/O mapping of input data with regard to the channel configuration
with R-IB IL 24 PSDI 8 as example
SAFEBYTE
Bit 7 6 5 4 3 2 1 0
Single- IN3_Ch2 IN3_Ch1 IN2_Ch2 IN2_Ch1 IN1_Ch2 IN1_Ch1 IN0_Ch2 IN0_Ch1
channel
Dual-chan‐ 0 IN3_Ch1&2 0 IN2_Ch1&2 0 IN1_Ch1&2 0 IN0_Ch1&2
nel
Terminal 4.4 3.4 4.1 3.1 2.4 1.4 2.1 1.1
name
Tab. 4-4: I/O mapping of input data with regard to the channel configuration
with R-IB IL 24 PSDI 16 (byte 0) as example
SAFEBYTE
Bit 15 14 13 12 11 10 9 8
Single- IN7_Ch2 IN7_Ch1 IN6_Ch2 IN6_Ch1 IN5_Ch2 IN5_Ch1 IN4_Ch2 IN4_Ch1
channel
Dual-chan‐ 0 IN7_Ch1&2 0 IN6_Ch1&2 0 IN5_Ch1&2 0 IN4_Ch1&2
nel
Terminal 8.4 7.4 8.1 7.1 6.4 5.4 6.1 5.1
name
Tab. 4-5: I/O mapping of input data with regard to the channel configuration
with R-IB IL 24 PSDI 16 (byte 1) as example
Channel 1 Channel 2
Assignment Output Assignment Output
Single-channel: Both channels enabled Used Single channel Used Single channel
Single-channel: Channel 1 active Used Single channel Not used Single channel
Single-channel: Channel 2 active Not used Single channel Used Single channel
Channel 1 + channel 2 redundant Used Double channel Used Double channel
SAFEBYTE
Bit 7 6 5 4 3 2 1 0
Single- OUT3_Ch2 OUT3_Ch1 OUT2_Ch2 OUT2_Ch1 OUT1_Ch2 OUT1_Ch1 OUT0_Ch2 OUT0_Ch1
channel
Dual-chan‐ OUT3_Ch1 OUT2_Ch1 OUT1_Ch1 OUT0_Ch1&
nel &2 &2 &2 2
Terminal 8.1 7.1 6.1 5.1 4.1 3.1 2.1 1.1
name
Tab. 4-7: I/O mapping of output data with regard to the channel configuration
with R-IB IL 24 PSDO 8 as example
SAFEBYTE
Bit 7 6 5 4 3 2 1 0
Single- OUT1_Ch2 OUT1_Ch1 OUT0_Ch2 OUT0_Ch1
channel
Dual-chan‐ OUT1_Ch1 OUT0_Ch1&
nel &2 2
Terminal 4.2 3.2 2.2 1.2
name
Tab. 4-8: I/O mapping of output data with regard to the channel configuration
with R-IB IL 24 PSDOR 4 as example
Bit 4 to bit 7 may not be used. Otherwise, the module R-IB IL 24 PSDOR 4
goes into the safe state: Error message 0x1F4 "At least one reserved bit was
set in the process data image".
The Safety S20 terminals are assigned to the following number of bytes in
the Profibus parameter channel:
S20-PSDI 8/4 8 8
S20-PSDO 8/3 8 8
1) 4 bytes of process data are additionally assigned in the input
and output range for each PSDx module (status/control byte,
CRC)
Tab. 4-9: Assigning Profibus parameter channel using Safety S20 terminals
When equipping the S20 Profibus coupler, ensure that the maxi‐
mum number of 230 bytes is not exceeded in the Profibus param‐
eter channel.
Non-safe S20 terminals are also assigned to the Profibus param‐
eter channel.
Fig. 4-7: Numbering the slots at the Profinet S20 coupler S20-PN-BK+
Both channels of one input are interconnected. Parameterize in the safe pa‐
rameters for the input "double channel- equivalent" or for the input "double
channel- antivalent".
SAFEBYTE
Bit 7 6 5 4 3 2 1 0
Single- IN3_Ch2 IN3_Ch1 IN2_Ch2 IN2_Ch1 IN1_Ch2 IN1_Ch1 IN0_Ch2 IN0_Ch1
channel
Dual-chan‐ IN3_Ch1&2 IN2_Ch1&2 IN1_Ch1&2 IN0_Ch1&2
nel
Terminal 07 06 05 04 03 02 01 00
name
Tab. 4-10: I/O mapping of the input data with regard to the channel configura‐
tion with S20-PSDI 8/4 as example
SAFEBYTE
Bit 7 6 5 4 3 2 1 0
Single- OUT3_Ch2 OUT3_Ch1 OUT2_Ch2 OUT2_Ch1 OUT1_Ch2 OUT1_Ch1 OUT0_Ch2 OUT0_Ch1
channel
Dual-chan‐ OUT3_Ch1 OUT2_Ch1 OUT1_Ch1 OUT0_Ch1&
nel &2 &2 &2 2
Terminal 07 06 05 04 03 02 01 00
name
Tab. 4-11: I/O mapping of the output data with regard to the channel configura‐
tion with S20-PSDO 8/3 as example
4.2 CSos
4.2.1 General information
CSos, also called CIP-Safety on Sercos, is a safe field bus protocol for
Sercos devices.
One CSos connection is established between the safety control and each
CSos device at the Sercos bus for each direction of communication. The
safety control is the originator. The CSos device is called "target".
Addressing Each CSos device in a Sercos bus as well as the safety control have to be
provided with the same SNN (Safe Network Number). Each CSos device at
the Sercos bus additionally requires a unique SDID (Safety Device ID). The
SDID should have no reference to the Sercos address or the device position
in the ring.
SNN and SDID result together in the TUNID (Target Unique Network Identifi‐
er) of the bus device. The safety control is also provided with an SNN and
SDID together resulting in OUNIT (Originator Unique Network Identifier).
Sercos communication phases A connection can only be established when the Sercos bus is in P4. If the
bus is switched to P2 or P0, the CSos connections are canceled.
Signal propagation delay The propagation time mainly depends on the Sercos cycle time and the cycle
time of the SafeLogic PLC. As the Sercos cycle time is low compared to the
SafeLogic cycle time, it is not considered for the calculation.
The following settings have to be made:
EPI = 0 (default)
TiMu = 1 (default)
NTE ≥ (TiMu+3) * Safety cycle time
SNN = 1Fhex and SDID = 127 may not be set at the same time, as
this combination is a test state.
SAFEBYTE
Bit 7 6 5 4 3 2 1 0
Single- IN3_Ch2 IN3_Ch1 IN2_Ch2 IN2_Ch1 IN1_Ch2 IN1_Ch1 IN0_Ch2 IN0_Ch1
channel
Dual-chan‐ IN3_Ch1&2 IN2_Ch1&2 IN1_Ch1&2 IN0_Ch1&2
nel
Terminal 07 06 05 04 03 02 01 00
name
Tab. 4-12: I/O mapping of the input data with regard to the channel configura‐
tion with S20-SSDI 8/4 as example
SAFEBYTE
Bit 7 6 5 4 3 2 1 0
Single- OUT3_Ch2 OUT3_Ch1 OUT2_Ch2 OUT2_Ch1 OUT1_Ch2 OUT1_Ch1 OUT0_Ch2 OUT0_Ch1
channel
Tab. 4-13: I/O mapping of the output data with regard to the channel configura‐
tion with S20-SSDO 8/3 as example
4.2.5 IndraDrive
IndraDrive control sections of the second generation (CSxx2.x) can be equip‐
ped with a safety module. To control safety-related functions, use the firm‐
ware MPx18V08 or higher.
Depending on the safety engineering option, different safety functions are
available. The following table provides an overview on the available safety
functions for each safety engineering option:
L3 L4 S3 S4
Economy CSE02.1A X X
Basic CSB02.1A X X
L3 L4 S3 S4
Basic CSB02.1B X X X
Advanced CSH02.1B X X X
Basic double-axis type CDB02.1B X X X
HCS 1.1 X
KSM 02.1 X
Tab. 4-15: Availability of the safety options in the drive control sections
Commissioning
5 Commissioning
5.1 Introduction and overview
This chapter describes the commissioning of a safety control and the connec‐
ted periphery.
Commissioning
5.3 PROFIsafe
5.3.1 Creating and configuring PROFIsafe Inline terminals at the Profibus
PROFISafe Inline terminals can only be operated at one Profibus coupler of
type "R-IL PB BK DI8 DO4/CN-PAC" (ordering no. R911172194). This bus
coupler has to be created below the "Profibus DP master" node in the project.
1. Inserting PROFIsafe Inline terminals
The PROFIsafe Inline terminals are inserted at the slave via the context
menu item "Add" , in this example below the bus coupler
"2 - R_IL_PB_BK…".
The logic I/O belonging to a PROFIsafe Inline terminal is automatically
created below the "Logic I/Os" node.
Commissioning
Fig. 5-3: PROFIsafe I/O on the standard control and on the safety con‐
trol
To which logic I/O the physical I/O is linked, can be seen in the "I/O
mapping" of the DP Inline terminal and changed if necessary.
There has to be at least one entry to use the Safety I/Os in the safety
control.
Fig. 5-4: Assigning logic and physical I/Os to a PROFIsafe Inline termi‐
nal
The PROFIsafe Inline terminals are parameterized in the dialogs "Safe
configuration" and "Safe parameterization" below the "Logic I/O" node.
The following parameters for the initial commissioning are important in
the log parameters of the "Safe configuration":
● F_Source_Add: Address of the PROFIsafe master. This address
has to be identical for all devices
Commissioning
Commissioning
Commissioning
Commissioning
Commissioning
Fig. 5-13: Selection lists for PROFIsafe Inline device types in the Profinet
search result
Select the correct device type in the window.
Fig. 5-14: Selecting the Inline device type for PROFIsafe modules
3. Click on “Copy all devices to project” to apply the found Profinet devices
to the project.
The logic I/O belonging to a PROFIsafe Inline terminal is automatically
created below the "Logic I/Os" node.
Commissioning
Commissioning
The following addresses result from the example fig. 5-4 "Assign‐
ing logic and physical I/Os to a PROFIsafe Inline terminal" on page
33:
R_IB_IL_24_PSDI_8: F_Dest_Add= 22
R_IB_IL_24_PSDO_8: F_Dest_Add= 23
● F_iPar_CRC: Checksum of the "Safe parameterization"
The checksum has to be applied always after changing the config‐
uration of the safe I/Os
● F_WD_Time: This parameter is the monitoring period within a
Safety telegram has to be answered
If this time elapses, the Inline terminal goes into the "Safe state". A
default value of 150 ms is generally sufficient for "smaller bus sys‐
tems". The value should to be at least 2*SafetyTask time
The actual time for the response times can be determined at the Profi‐
safeHost instances of each connection in the Safety application.
Commissioning
Commissioning
Commissioning
5.4 CSos
5.4.1 Creating and configuring CSos S20 terminals
1. Inserting CSos S20 terminals
CSos S20 terminals are inserted at the slave via the context menu item
"Add" below the Sercos node, here "S20-S3-BK+".
The CSos S20 terminals are automatically created below "Logic I/Os".
Fig. 5-24: CSos I/O on the standard control and on the safety control
To which logic I/O the physical I/O is linked, can be seen in the "I/O
mapping" of the CSos S20 terminal and changed if necessary.
There has to be at least one entry to use the Safety I/Os in the safety
control.
Commissioning
The order of the CSos S20 terminals at the bus coupler has to
correspond to the order in the project tree.
Fig. 5-25: Assigning logic and physical I/Os to a CSos S20 terminal
The CSos S20 terminals are parameterized in the dialogs "Safe configu‐
ration" and "Safe parameterization" below the "Logic I/Os" node. The
following parameters for the initial commissioning are important in the
log parameters of the "Safe configuration":
● Safety Network Number (SNN): Uniquely identifies the network via
all safety systems. The default value is 0x600000001. The maxi‐
mum value for CSos S20 I/Os is 0x6000001F (see "Setting the DIP
switches" on page 27)
● Safety Device ID (SDID): Logical address of the CSos S20 I/Os.
The default value is 1, the maximum value for CSos S20 I/Os is
127 (see "Setting the DIP switches" on page 27)
● Safety Configuration CRC (SCCRC): Checksum of the "Safe pa‐
rameterization".
The checksum always has to be applied after changing the param‐
eterization of the safe I/Os
● Network Time Expectation (NTE): This parameter is the monitoring
period within which a Safety telegram has to be answered.
If this time elapses, the S20 terminal goes into the "Safe state". A
default value of 50 ms is generally sufficient for "smaller bus sys‐
tems".
The required NTE can be calculated as follows: NTE ≥ (TiMu+3) *
Safety cycle time [ms].
The actual time for the response can be determined via the CSo‐
sOriginator function block of the connection in the Safety applica‐
tion. The signal propagation delay is only available for connections
receiving data. No signal propagation time is available for sending
connections.
Commissioning
Commissioning
Commissioning
"Control" stands for the information from the safety control to the drive.
"Status" stands for the information from the drive to the safety control.
The information can be accessed bit by bit (always "I/O mapping" tab).
Commissioning
Controlling the SafeMotion via Different safe motion modes can be controlled via bits in the control word/
control bits byte:
Commissioning
Commissioning
Fig. 5-33: Example program to control one axis with two SafeMotion function
blocks
Commissioning
The variables can subsequently be created on the safe area in the logic
exchange device.
If the variable list changes on the safety control, refresh the list.
Commissioning
Commissioning
2. Set the Safety address of the sender and the required number of receiv‐
ers in the "Safety configuration" tab (by default, the maximum number is
set to 4 receiver).
Fig. 5-37: Setting the Safety address and the maximum number of receiv‐
ers
3. Set the IP address of the receiver controls in the "PLC network" tab
(each receiver control has an individual entry).
Default setting: The controls are addressed via the broadcast address.
Disable the default setting and directly enter the IP address of the
target control.
Fig. 5-38: Setting the IP address and the port of the receiver control
4. Add the required or desired variable declarations to the Safety NVL
sender.
Commissioning
2. Assign a sender to the receiver in the window of the NVL receiving list.
Disable the default setting and directly enter the IP address of the
sender control.
All declared variables of the NVL sending list are applied to the
NVL receiving list.
Fig. 5-41: Applying safe network variables of the sending NVL and the re‐
ceiving NVL
Commissioning
To operate the safe NVL, one function block is necessary at the sender and
one at the receiver. This is the function block "NetVarSender" for the sender
NVL and the function block "NetVarReceiver" for the receiver NVL. These are
created with NVLs and have to be implemented into the Safety program as
VAR_EXTERNAL.
● The function block "NetVarSender" controls sending of the variable
list.
● The function block "NetVarReceiver" establishes a connection to the
network variable sender list. The connection is monitored by using the
watchdog time.
Both function blocks have to be created on the respective Safety control.
Describing the safety functions The following safety functions are used in this example:
● When pressing the E-STOP button, all dangerous motions have to be
stopped (via SF_EmergencyStop).
E-STOP has the highest priority.
After releasing the E-STOP button, reset via Reset
● The safety output is enabled by pressing both the pushbuttons of the
two-hand control.
Commissioning
Commissioning
Fig. 5-44: Declaration for programming example: two-hand control with EDM
R911400170_Edition 02 Bosch Rexroth AG
58/81 IndraWorks SafeLogic 15VRS First Steps
Commissioning
S_EDM_Out_EDM_K1_K2 SAFEBOOL Enabling signal for the safety control (safe drives...)
S_EDM_Out_EDM_K1_K2_unsafe BOOL Enabling signal for the standard control (not safe)
Error_EStop_S1 BOOL Error flag of EStop_S1
Error_THC_S2_S3 BOOL Error flag of TCH_S2_S3
Error_OC_K1_K2 BOOL Error flag of OC_K1_K2
Error_EDM_K1_K2 BOOL Error flag of EDM_K1_K2
Diag_EStop_S1 WORD Diagnostic code for EStop_S1
16#8xxx: Regular operation
16#Cxxx if error in EStop_S1
Diag_THC_S2_S3 WORD Diagnostic code for THC_S2_S3
16#8xxx: Regular operation
16#Cxxx if error in THC_S2_S3
Commissioning
Commissioning
Troubleshooting
6 Troubleshooting
This chapter supports the troubleshooting in Safety projects. It lists all typical
problems and their solutions.
Troubleshooting
6.3 PROFIsafe
● Problem: Individual PROFIsafe devices (Safety Inline terminals at the
Profibus coupler) loose their connection sporadically. The "Profisafe‐
Host" function block of the corresponding devices displays the error
code C104.
Cause: Profibus is not running stable. Incorrectly set terminal resistan‐
ces are frequently the cause.
Solution: For Profibus, the terminal resistances are only to be activated
at cable ends. All other terminal resistances have to be disabled. Other‐
wise, electrical waves reflect. This corrupts data.
● Problem: Individual PROFIsafe devices (Safety Inline terminals at the
Profibus coupler) do not establish any connection. The "ProfisafeHost"
function block of the corresponding devices displays the error code
C102.
Cause: Data is not exchanged between the Safety control and the
PROFIsafe devices.
Solution:
– Ensure that the IOConfigIDs are identical on the standard control
and on the safety control. Use SafetyData.Safe-
tyFM.State.IOConfigIDState.
– Use the global data structure “SafetyData” to check whether the in‐
puts and the outputs of the respective PROFIsafe devices are
transmitted.
– Check whether the respective device was disabled via "User‐
Defs.cfg".
– Check the I/O addresses of the Profibus/PROFINET device.
– Ensure that the standard PLC does not have write access on the
I/O addresses of the Safety device.
● Problem: The Profibus diagnostics of the coupler does not contain the
slot number (slot of the Inline terminal).
Cause: The IndraWorks Profibus diagnostics identifies only the Profibus
coupler as device.
Solution: The slot number (slot of the Inline terminal) is included in the
"Extended diagnostics" (refer to the following figure). The slot can be
counted. Position the cursor over the diagnostic text and a tooltip with
additional information is provided if available.
Troubleshooting
Fig. 6-3: Slot number of the extended Profibus diagnostics and addition‐
al information as tooltip
● Problem: UT1 and/or UT2 flash(es) at runtime.
Cause: There is a problem with wiring. This problem can be caused as
follows:
1. The supply outputs are short-circuited against another cable.
2. A test pulse clock is selected for the input or for the output. Howev‐
er, the connected device generates its own test pulse clock.
3. The cables for the test pulses were interchanged with other inputs
or outputs.
Solution: Check wiring. Disable test pulses if required.
Troubleshooting
4. All settings and variables from the old logic device are applied to
the new device.
5. Delete the old logic device.
● Problem: The CSos connections are interrupted again and again after
timeouts.
Cause: A cyclic data timeout is exceeded, i.e. insufficient number of pro‐
duced data packages.
Solution: Increase the configuration value "NTE" of 4*Safety cycle time
in the CSos settings for the "safe communication".
Troubleshooting
Diagnostics
7 Diagnostics
7.1 Overview
IndraWorks:
● Safety Function module - Status (see chapter 7.2 "Status of the Safety
function module" on page 67)
● Safety Function module - Logbook (see chapter 7.3 "Log of the Safety
function module" on page 68)
● Standard control - Log (refer to chapter 7.4 "Log of the standard con‐
trol" on page 69)
● Standard control - Device diagnostics (refer to chapter 7.5 "Device di‐
agnostics of the standard control" on page 70)
● SafeLogic - Function blocks (refer to chapter 7.6 "Diagnostic outputs of
the ProfisafeHost and CSosOriginator function blocks" on page 71)
● Diagnostics on the standard PLC control, refer to chapter 7.7 "Diagnos‐
tics on the standard PLC control" on page 71
● Sercos I/O diagnostics
● Sercos ▶ HCS02.x ▶ Parameter editor
● Sercos ▶ HCS02.x ▶ Axis_x ▶ Error/diagnostic memory
● MTX debug menu (show functions)
Diagnostics
Diagnostics
The logbook is displayed in the Log tab of the Safety control and is used as
protocol and to diagnose runtime errors of the application and system errors.
The log can be used to find the error cause in the PLC or in the application.
Two logs are available in SafeLogic:
● Device logbook
● Application log
The device log is part of the device and is intended for entries concerning the
device, such as system errors or generating new boot applications.
The application log is part of the IEC application and is intended for entries
concerning the application, such as runtime errors, errors while loading the
boot application and errors during online communication.
The application log is the default log of the Safety control. The device log is
only available if the default log (application log) has been loaded.
Press the button to load all available logs (device log and application
log) cyclically from the control. They can then be subsequently selected in the
Logger window.
The information shown in the logs is structured as follows:
● Weighting (information, warning, error, exception)
● Time stamp
● Error description
● Component (generator)
Diagnostics
Diagnostics
For the error codes, refer to the function blocks in the online helps.
Diagnostics
The global variable SafetyData allows to access the following diagnostic in‐
formation:
● SafetyFM - Status information of the Safety control:
This information is mostly identical to the information given in the "status
of the function module" (chapter 7.2 "Status of the Safety function mod‐
ule" on page 67)
● LogicalIO - Access to safe connections:
This entry facilitates access to safe connections. It hierarchically maps
the devices below the "Logic I/Os" node and the Safety control. Connec‐
tion information is also available in addition to the access to the trans‐
mitted variables
● SafeNetVars - Access to safe network variables:
This entry provides all safe network variable lists known to the control.
Each configured connection is individually visible in case of sender lists.
The connection status is displayed in addition to the access to the trans‐
mitted safe variables
● IoConfig - Disables safe devices:
This entry maps the functionality to teach disabled safe devices. Apart
from the checksum (CRC) of the current configuration, the access to de‐
activation bits is also possible
Information mapped in the global variable “SafetyData” is suitable for the fol‐
lowing areas of application.
● Check the connection status of the safe devices
● Electrical commissioning of safe I/Os
● Status and diagnostic information for HMI devices
● Use safe signals to control the standard PLC program
● Access to diagnostic data without logging into the safety control
The global variable SafetyData does not generate any additional comput‐
ing load in the standard PLC. Only when an entry is accessed, required data
is provided and causes computational load. Entries that are not accessed, do
not generate any computing load.
Entries below the global variable “SafetyData” are provided with the following
properties:
● All entries are always read-only
● The information read has to be considered as unsafe variables
● Information is also updated if the standard PLC is in the "Stop" state
● Data can be recorded via the PLC trace
● The signals are sampled at the access point in time of the standard PLC
program or the monitoring in the debugger. Thus, they do not have to be
synchronous
Example of accessing input data of a safe I/O module:
Diagnostics
Fig. 7-8: Variable definition of a logic I/O (in this example” Modul1In”)
Index
Index
A N
Abbreviations........................................................ 9 Names................................................................... 9
ANSI Z535.6-2006................................................ 8 Names and abbreviations..................................... 9
C P
Commissioning................................................... 31 Product phases..................................................... 1
Create CSos S20 terminals........................... 43 Programming example
Create IndraWorks project............................. 31 Safety, two-hand control with EDM func‐
Create PROFIsafe Inline terminals at the tion block........................................................ 55
Profibus.......................................................... 32 Project goal First Steps - Safety......................... 11
Create PROFIsafe Inline terminals at the Purpose of the documentation.............................. 1
Profinet........................................................... 37
Exchange variables........................................ 50 S
IndraDrive with CSos..................................... 46 Safe network variables
Load and start project.................................... 59 NVL................................................................ 51
Modify project................................................. 60 Safety
Safety network variables................................ 51 Safe variables................................................ 51
Complaints............................................................ 9 Safety instructions................................................. 8
Configuring hardware I/Os.................................. 15 Service hotline.................................................... 77
CSos.............................................................. 26 Signal alert symbol................................................ 8
PROFIsafe..................................................... 15 Signal words......................................................... 8
Criticism................................................................ 9 Style guide application structure......................... 75
Customer Feedback.............................................. 9 Style guide Safety programming......................... 75
Style guide variable names................................. 75
D Suggestions.......................................................... 9
Diagnostics......................................................... 67 Support............................................................... 77
Device diagnostics of the standard control.... 70 Symbols................................................................ 9
Log of the Safety function module................. 68
Log of the standard control............................ 69 T
SafeLogic function blocks.............................. 71 Target groups........................................................ 1
Standard control............................................. 71 Troubleshooting.................................................. 61
Status of the Safety function module............. 67 CIP Safety on Sercos..................................... 63
Documentation Convert variables........................................... 64
Change record................................................. 1 PROFIsafe..................................................... 62
Documentation overview....................................... 1 SafeLogic function module............................. 62
Documentation structure....................................... 2 SafeLogic interface........................................ 61
Documentation, overview...................................... 1 Safety PLCopen function blocks.................... 64
Documentation, purpose....................................... 1
Documentation, structure...................................... 2 V
Documentation, validity......................................... 1 Validity of the documentation................................ 1
F W
Feedback.............................................................. 9 Warnings............................................................... 8
H
Hazard warnings................................................... 8
Helpdesk............................................................. 77
Hotline................................................................. 77
I
Installation........................................................... 13
Device description files.................................. 13
Install the SafetyManager license.................. 13
System prerequisites..................................... 13
80/81 IndraWorks SafeLogic 15VRS First Steps
Notes
IndraWorks SafeLogic 15VRS First Steps 81/81
Notes
Bosch Rexroth AG
P.O. Box 13 57
97803 Lohr a.Main, Germany
Bgm.-Dr.-Nebel-Str. 2
97816 Lohr a.Main, Germany
Phone +49 9352 18 0
Fax +49 9352 18 8400
www.boschrexroth.com/electrics
*R911400170*
R911400170
DOK-IWORKS-SL*STEP*V15-CO02-EN-P