Want to use SAFECONF to program your TRISAFE-S Phoenix Contact Safety Module? Luckily, this free software (available to registered users here), is intuitive and easy to use for even beginner automation programmers. Below is a guide to performing some key tasks using the software.
In order to make this Tutorial easer to navigate, I've included quick links below to jump straight to your topic of interest:
- Create a New Project
- Create your Password
- Configure your I/O
- Redundant Pairs
- Cross Circuit Detection
- Ground Switching Output
- Adding Block Logic
- Safe vs. Standard Logic
- Checking your Project
- Project Security
- Log On and Off
- Locking and Certifying
- Log On to TRISAFE-S Module
- Download to TRISAFE-S Module
- Upload from TRISAFE-S Module
- Monitor Online Values
- Force Values
Create a New Project
When you start a new SAFECONF project, the application will automatically launch the project wizard, which will walk you through the steps to create your project. To create a new project:
1. Define your project name and path
2. Select your Master Device (in our case, the PSR-TRISAFE-S)
Create a Password
SAFECONF projects must be password protected, and only users with the project password will be able to modify the project. Once you’ve created a new project, you will be prompted to create a 6-10 character password for it.
Configure your I/O
The hardware editor of the SAFECONF application allows users to visualize and modify their projects’ hardware configurations. The TRISAFE-S Phoenix Contact Module includes 20 inputs (I0-I19), 4 safe outputs (O0-O3), and 4 standard outputs (M0-M3). I’ll discuss the difference between safe and standard outputs in more detail in the SAFE vs STANDARD Logic section.
By default, the inputs of the TRISAFE-S module are configured together in redundant pairs. If you want to understand the inputs separately, you will need to separate them in the hardware configuration. You can do this by right clicking on the paired input (red connection symbol) and clicking “separate signals”.
To group inputs that are separated, click on either input in the pair, and select “Link Signals”.
Cross Circuit Detection
SAFECONF allows users to configure detection of cross circuits (unexpected connections between redundant circuits). This is done using two clock outputs provided on the TRISAFE-S Module: T0 and T1. These signals pulse at different frequencies, so users can detect cross circuits by wiring each input of the redundant pair into circuit with T0 and T1, respectively. An input configured for cross circuit detection will only appear as TRUE if it pulses with its configured test pulse.
Figure from SAFECONF 2.92 Device Parameterization Help Guide
To configure which of your input signals should have cross circuit detection, Right Click on your Hardware Editor, and Select “Safe Parameter…”. In the Window that appears, you can select from the drop down next to each input whether it should have cross circuit detection or not. “Even” inputs (I0,I2,I4..) can only be configured with test pulse T0, and “odd” inputs can only be configured with T1.
Ground Switching Output
TRISAFE-S modules offer two ground switching outputs, which can be used with Outputs O0 and O1 to assist in shutting down a single-channel application. Outputs configured for Ground Switching will cause their specified ground switching outputs to switch in addition to the outputs themselves. Users can configure outputs for Ground Switching by Right Clicking on the Output in the Hardware Editor and selecting “Safe Parameter…”. In the Window that appears, you can select from the drop down next to the Output whether it should have Ground Switching configured or not.
Adding Block Logic
Adding block logic to your SAFECONF project is as simple as dragging functions/constants and I/O from the Tool Box and Hardware Editor, respectively, into the Safety Network of your project. Then, you can link objects together by clicking and dragging between two terminals.
SAFE vs STANDARD Logic
In SAFECONF, functions and variables are considered SAFE or STANDARD. All inputs (even unpaired ones) are considered safe. TRISAFE-S Outputs (O0-O3) are SAFE, and Monitoring Signals (M0-M3) are STANDARD.
The program represents Safe logic using the color Yellow and Standard logic using Gray. SAFECONF contains many functions in both the Safe and Standard implementations, including the On Delay Timer in the image below. SAFECONF also contains both Standard and Safe constants.
Once Safe logic passes through a Standard function block, the output is considered Standard. Standard logic cannot be wired into Safe blocks or Safe outputs (O0-O3). Standard or Safe logic can both be wired into Standard outputs M0-M3.
Checking your Project
Before users can Certify or Download their projects (both explained later), they need to successfully check them. Checking a project ensures that the program compiles properly. Users can check their project by selecting the Check icon from the project ribbon. The application will then verify each step and inform the user whether the Check was successful or not.
Log On and Off
Users must Log On to a project in order to edit it, and users can Log Off of a project to prevent undesired changes. Log On and Log Off commands are located in the “Project” tab. Users will need to enter the project password in order to Log On.
Locking and Certifying
When users want to lock out a Safety Network from editing, they can use the Top Ribbon Interface to lock it. Users can do this by clicking on the work-mode pencil icon, or right clicking the ribbon and selecting “lock”.
In the locked Mode, users will not be able to edit the project. Users can Certify the project by clicking on the Locked Mode icon, or by right clicking the network ribbon and selecting “Certified”. A project needs to be checked before it can be Certified.
Certified projects are stamped with the date/time of certification, as well as the account name of the PC’s user. Certified projects indicate that the certifying user has declared the project logic Safe to the standards specified by the project.
Users can move the project back into editing mode by clicking the Stamp Icon, or right clicking on the ribbon and de-selecting Certified. The program will prompt the user to OK the decertification.
Log On to a TRISAFE-S Module
Users can connect their PCs to the TRISAFE-S module using a USB mini cable (see below).
Just as SAFECONF projects are password protected, and users must Log On to edit them, so are the modules themselves password protected. Once connected to the TRISAFE-S module, users can Log On using the module’s password. If module is currently running a SAFECONF project, the module’s password will be the same as that of the project. If you don’t know your module’s password, you can Set to Factory Default in order to download your project to it, after which its password will be the same as that of your project. All of these options are located under the “Safe PLC” tab.
Download to a TRISAFE-S Module
Users who are Logged On to a safety module can download their project to it using the Download icon (in red below).
Once the program finishes loading onto the module, users will need to confirm the program by using a narrow object (toothpick, small screwdriver, etc.) to press in the “Confirm” button on the module (in red below). Then, click OK on the SAFECONF popup, and the module will run the program you’ve just loaded to it.
Upload from a TRISAFE-S Module
Users can upload a project from a TRISAFE-S safety module by pressing the upload button of the top ribbon (in red). Users do not need to be logged in to a module in order to upload its program.
Monitor Online Values
If users are online with a TRISAFE-S Safety Module and the project loaded onto the safety module is the same program open in the SAFECONF application, users can Go Online with the module to monitor program values in real-time. Users can do that by selecting the Show Online Values button (in red below) in the SAFECONF ribbon.
Then, the program display will update to show real-time values of program variables.
Force Values in Commissioning Mode
Users who are logged on to a TRISAFE-S Module can enter Commissioning Mode to Force values. To force values, enter Commissioning Mode (SAFE PLC->Commissioning).
Then, users can right click on a value in order to force it TRUE or FALSE.
With this tutorial, you should have all the tools to get started with programming and commissioning your TRISAFE-S Safety Module using SAFECONF software. This intuitive and free application should help make programming your machine's Safety Controls an approachable task for engineers of all experience levels. Good luck!
Learn more about DMC's Automation Expertise.