Summary of Contents for Phoenix Contact Axioline F SBT V3
Page 1
DOWNLOADED FROM WWW.SCATTS.CO.UK Axioline F SBT V3 configuration on a CODESYS-based controller Quick start guide DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 2
DOWNLOADED FROM WWW.SCATTS.CO.UK Quick start guide Axioline F SBT V3 configuration on a CODESYS-based controller 2016-06-08 Designation: UM QS EN AXL F SBT V3 CODESYS Revision: Order No.: — This user manual is valid for: Designation From HW/FW/FW Order No.
Page 3
How to contact us Internet Up-to-date information on Phoenix Contact products and our Terms and Conditions can be found on the Internet at: phoenixcontact.com Make sure you always use the latest documentation.
Page 4
The receipt of technical documentation (in particular user documentation) does not constitute any further duty on the part of Phoenix Contact to furnish information on modifications to products and/or technical documentation. You are responsible to verify the suitability and intended use of the products in your specific application, in particular with regard to observing the applicable standards and regulations.
Additional documentation ..................8 Safety hotline......................8 Overview of the integration of the SafetyBridge Technology V3 system ........9 Example project: two-channel emergency stop monitoring............11 Download and installation of the Phoenix Contact software ........11 Hardware installation ...................12 3.2.1 Setting the device DIP switches ............12 3.2.2...
Page 6
Input parameters ..................56 B 6.2 Output parameters ................56 B 6.3 I/O parameters ..................57 SBT_V3.DataExchange function block............... 57 B 7.1 Input parameters ..................58 B 7.2 Output parameters ................58 B 7.3 I/O parameters ..................58 Revision history ........................59 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Other components: emergency stop button, external reset button, signal lamp, contactor (optional) Software The Phoenix Contact software can be found in the download area for the specified product at phoenixcontact.net/products. The following software is required in order to start up the example system: Designation Order No.
UM EN AXL F SSDI8/4 1F 2702263 Axioline F module with safe digital inputs The documentation for Phoenix Contact devices can be found in the download area for the specified product at phoenixcontact.net/products. Safety hotline Should you have any technical questions, please contact our 24-hour hotline.
No safety controllers are required for the implementation of safety functions. Table 2-1 Integration of a SafetyBridge Technology V3 island Step Process See... Download and installation of the Phoenix Contact software (not safety-related) – Download and install SAFECONF configuration software page 11 –...
Page 10
35 (safety-related) System overview: SAFECONF xml file / exp file CODESYS Device description file CODESYS Fun tion blocks Bus system / Network Module Module Module Figure 2-1 System overview of SafetyBridge Technology V3 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Download and installation of the Phoenix Contact software The Phoenix Contact software can be found in the download area for the specified product at phoenixcontact.net/products. Make sure that you always use the latest version of the integration package and the function blocks for the CODESYS software version.
Setting for AXL F SSDI8/4 1F You can display the complete DIP switch setting in the SAFECONF configuration software by right-clicking on the module and selecting “Display address switch”. See Figure 3-10 on page 17. 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Connect the external reset button to the AXL F DI8/1 DO8/1 1H module. Connect a signal lamp to the AXL F DI8/1 DO8/1 1H module. Optional: connect contactors to terminal points 00 and 10, as well as to 01 and 11 of the LPSDO8/3 module. 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Figure 3-3 Creating the project name and path Select master device • Select the AXL F LPSDO8/3 1F master device. Figure 3-4 Selecting AXL F LPSDO8/3 1F 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 15
Figure 3-5 Selecting the output format Enter project description • Enter a description of the project. Use a maximum of four characters for the description and version. Figure 3-6 Describing the project 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Configuring and parameterizing the hardware structure • Configure the hardware structure. To do this, use drag and drop to move the AXL F SSDI8/4 1F module from the “Hardware” toolbox to the hardware editor. Figure 3-9 Hardware configuration 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 17
In the hardware editor, double-click on a terminal point. This opens the window for parameterizing the selected terminal point. • Parameterize the output channels of the LPSDO8/3 module as illustrated (double-click on the module to parameterize). Figure 3-11 Parameterization of the LPSDO8/3 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 18
However, the input and output signals are only displayed in single-channel form in the connection editor, even if they are parameterized for two-channel operation. See Figure 3-14 on page 19. 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Inserting safe inputs and outputs from the hardware editor When you use drag and drop to place the safety module terminal point directly onto a function block input or output, the connecting line is created automatically. 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 20
Inserting external signals from the “External signals” toolbox Move your mouse over an external signal to display the corresponding tool tip. Insert safe functions Figure 3-16 Inserting a safe function from the “Safe Functions” toolbox 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
(see Figure 3-5 on page 15), the exp file is saved in the “FileOutput” folder. For additional information on this process, please refer to “Importing the configuration and parameter data record as a function block” on page 28. 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
– AXL F DI8/1 DO8/1 1H (Order No. 2701916) – AXL F LPSDO8/3 1F (Order No. 2702171) – AXL F SSDI8/4 1F (Order No. 2702263) Figure 3-19 Inserting SBT modules in the device overview 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
SBT_V3.CrossComm – SBT_V3.DataExchange A description of the function blocks and data types is provided in Appendix B “Description of the function blocks for SafetyBridge Technology V3”. Please also use the online help in CODESYS. 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Function block • Switch to the “main (PRG)” program. “SBT_V3.Operate” • Insert the “SBT_V3.Operate” function block in the program. • Connect the function block as shown in Figure 3-21. Figure 3-21 SBT_V3.Operate function block 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 25
Insert an instance of the “SBT_V3.ReadDev” function block in the program for the LPSDO8/3 module. • Insert an instance of the “SBT_V3.ReadDev” function block in the program for the SSDI8/4 module. • Connect the function blocks as shown in Figure 3-22. Figure 3-22 SBT_V3.ReadDev function blocks 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 26
Insert an instance of the “SBT_V3.WriteDev” function block in the program for the LPSDO8/3 module. • Insert an instance of the “SBT_V3.WriteDev” function block in the program for the SSDI8/4 module. • Connect the function blocks as shown in Figure 3-23. Figure 3-23 SBT_V3.WriteDev function blocks 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 27
Insert the “SBT_V3.TransTime” function block in the program. “SBT_V3.TransTime” • Connect the function blocks as shown in Figure 3-25. • Link the “udtSBT” structure variable to the same variable as for the “SBT_V3.Operate” function block. Figure 3-25 SBT_V3.TransTime function blocks 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
“FileOutput” folder under the previously specified project path (see Figure 3-18 on page 21). • Open the CODESYS project. • Select “Project, Import PLCopenXML...”. Figure 3-26 Importing the xml file I 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 29
Select the xml file. • Confirm your selection with OK. Figure 3-27 Importing the xml file II • Select the block to be imported. • Confirm your selection with OK. Figure 3-28 Selecting the function block 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 30
The function block has been successfully imported if it appears as shown in Figure 3-29. • Insert the imported function block in the program. • Connect the function block to other function blocks via the udt structure. Figure 3-29 Function block successfully imported 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 31
• Open the CODESYS project. • Select “Project, Import...”. Figure 3-30 Importing the exp file I • Select the exp file. • Confirm your selection with OK. Figure 3-31 Importing the exp file II 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 32
The function block has been successfully imported if it appears as shown in Figure 3-32. • Insert the imported function block in the program. • Connect the function block to other function blocks via the udt structure. Figure 3-32 Function block successfully imported 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Switch to the list of global variables under “POUs, GVL”. • Assign the mapped addresses of the SafetyBridge modules (“%I ...” and “%Q ...”) to the allocated I/O buffers in your control program. Figure 3-34 Assigning addresses 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Configuration and parameter data record as the “SBT_V3_Insel_1” function block – 2 instances of the “SBT_V3.ReadDev” function block – “SBT_V3.Operate” function block – 2 instances of the “SBT_V3.WriteDev” function block Figure 3-35 Complete example project in CODESYS 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
The diagnostics LEDs of the modules now have the following status: LEDs off: FS, CM, SD LEDs on: P, U Figure 3-36 Diagnostics LEDs Perform an overall safety validation after you start up your system. 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Configuration of a Modbus TCP connection in SAFECONF. 3.6.1 Configuration of a Modbus TCP slave in CODESYS • Integrate a Modbus TCP slave in your CODESYS-based controller using the parameters shown in Figure 3-37. Figure 3-37 Integrating Modbus TCP 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 37
Select “Modbus TCP Slave Device I/O Mapping”. • Connect the “arrSBTOnlCntrBuf” and “arrSBTOnlValBuf” arrays to your standard application. Figure 3-38 Connecting variables The “arrSBTOnlCntrlBuf” and “arrSBTOnlValBuf” I/O parameters enable communication between SAFECONF and the “SBT_V3.Operate” function block. 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
In the hardware editor, right-click on the LPSDO8/3 module and select “Online configuration...”. Figure 3-39 Selecting online configuration • Select the “Generic Modbus/TCP Device” interface and click on “Next”. Figure 3-40 Selecting the interface 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 39
Once this test has been completed successfully, click on “Finish”. Figure 3-41 Making the connection settings • After a few seconds, the following message appears in the SAFECONF status bar. Figure 3-42 SAFECONF status message 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
“Disconnect from PLC”. Figure 3-43 Disconnecting an online connection • In the hardware editor, right-click on the LPSDO8/3 module. • Establish an online connection by selecting “Connect to PLC”. Figure 3-44 Establishing an online connection 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 41
Example project: two-channel emergency stop monitoring • In the SAFECONF tool bar, click on the “Show Online Values” button. The online values are now displayed in the SAFECONF project. Figure 3-45 Online values in the SAFECONF project 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Push the reset button Contactors are Optional: arrFeedBackData[1] activated indicates the status of the outputs. Figure A-1 Flowchart for starting up and testing the application 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
SBT_V3.Operate function block to the I/O (process image) via udtSBT See B 3 on page 51 SBT_V3.ProjHeader Displays the project information for the connected LPSDO module and the imported SAFECONF project See B 4 on page 52 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 44
DOWNLOADED FROM WWW.SCATTS.CO.UK Axioline F SBT V3 - CODESYS Function block Description Programming language SBT_V3.TransTime Measures the runtime of the current and maximum transmission times between the LPSDO module and each of the connected satellites See B 5 on page 54 SBT_V3.CrossComm...
DOWNLOADED FROM WWW.SCATTS.CO.UK Axioline F SBT V3 - CODESYS B 1.1 Input parameters Table B-4 Input parameters for the SBT_V3.Operate function block Name Type Description BOOL xActivate BOOL Activation/deactivation of the function block xAcceptDiffLogic BOOL User confirmation signal that the safety logic differs for the controller and...
Acknowledgment by the user is required (one or more communication errors have occurred) wDiagCodeLPSDO WORD Diagnostic code of the LPSDO module (device-specific; see module user documentation) arrDiagCodeDev Array [0...16] of Array of SBT module diagnostic codes (device-specific; see module WORD user documentation) 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
DOWNLOADED FROM WWW.SCATTS.CO.UK Axioline F SBT V3 - CODESYS Name Type Description dwAppDiag DWORD 32 freely configurable feedback signals from the LPSDO module to the standard controller arrInData Array [0...16] of Array of input data from all input modules (satellites) of the island...
Page 49
0001 Downloading logic block 0002 Downloading address block 0003 Downloading new “Project Header” 8500 Download completed successfully C400 Error during download AddDiagCode Meaning xxyy Diagnostic code from the LPSDO module (see module user documentation) 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
DOWNLOADED FROM WWW.SCATTS.CO.UK Axioline F SBT V3 - CODESYS SBT_V3.ReadDev function block The function block reads the IN process data of a SafetyBridge module and writes the data to the transfer structure for the “SBT_V3.Operate” function block. 1 instance per SBT Use one instance of the function block per SafetyBridge module in the island.
1 ... 16: module 1 ... 16 iFormat Format of connected “arrInBuffDevX” 0: Motorola 1: Intel Other: for further developments iOffset Word offset of SBT module X within “arrInBuffDevX” parrOutBuffDevX Pointer Exchange data (outputs) from SBT module X 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
DOWNLOADED FROM WWW.SCATTS.CO.UK Axioline F SBT V3 - CODESYS B 3.2 Output parameters Table B-12 Output parameters for the SBT_V3.WriteDev function block Name Type Description EN_O BOOL B 3.2.1 I/O parameters Table B-13 I/O parameters for the SBT_V3.WriteDev function block...
Name of the active project (LPSDO) strSBTVersion STRING Version of the active project (LPSDO) B 4.3 I/O parameters Table B-16 I/O parameters for the SBT_V3.ProjHeader function block Name Type Description udtSBT udtSBT_V3 Structure for data exchange between function blocks 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
DOWNLOADED FROM WWW.SCATTS.CO.UK Axioline F SBT V3 - CODESYS SBT_V3.TransTime function block Optional function block This function block is optional. It is not essential in order to operate a SafetyBridge island. The function block measures the data transmission times between the logic module and satellite modules 1 to 16 as well as the maximum transmission time of a module.
[16] - max. transmission time for module 16 B 5.3 I/O parameters Table B-19 I/O parameters for the SBT_V3.TransTime function block Name Type Description udtSBT udtSBT_V3 Structure for data exchange between function blocks 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
DOWNLOADED FROM WWW.SCATTS.CO.UK Axioline F SBT V3 - CODESYS SBT_V3.CrossComm function block Optional function block This function block is optional. It is not essential in order to operate a SafetyBridge island. In SafetyBridge Technology V3, islands can communicate with one another. Cross communication takes place via a master/slave model, where one or more islands can act as slaves for other master modules.
1 instance per slave island Use one instance of the function block per slave island. “SBT_V3.DataExchange” EN_O EN_O iSlaveIsland iSlaveIsland arr_wOutBuff arr_wOutBuff iFormat iFormat arr_wInBuff arr_wInBuff udtSBT udtSBT udtSBT udtSBT Figure B-7 SBT_V3.DataExchange function block 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
DOWNLOADED FROM WWW.SCATTS.CO.UK Axioline F SBT V3 - CODESYS B 7.1 Input parameters Table B-23 Input parameters for the SBT_V3.DataExchange function block Name Type Description BOOL iSlaveIsland In the master program: number of the slave island with which the master...
DOWNLOADED FROM WWW.SCATTS.CO.UK C Revision history Revision Date Contents 2016-06-08 First publication 107402_en_00 PHOENIX CONTACT DOWNLOADED FROM WWW.SCATTS.CO.UK...
Page 60
At Scattergood & Johnson Ltd, we pride ourselves on being a technical distributor to specialist industries. Working with a range of quality product suppliers across a number of specialist markets, we are not your average ‘box shifter’ - we are your technical and supply chain partner. We fully support every product we sell - for free! Our internal team and external sales engineers can answer any product or application question, no matter the complexity.
Need help?
Do you have a question about the Axioline F SBT V3 and is the answer not in the manual?
Questions and answers