How to get a gateway to communicate with a unitronics touch screen display (11 pages)
Summary of Contents for turck BL67
Page 1
USER MANUAL BL67- programmable Gateway BL67-PG-DP...
Page 2
No part of this manual may be reproduced in any form (printed, photocopy, microfilm or any other process) or processed, duplicated or distributed by means of electronic systems without written permission of Hans Turck GmbH & Co. KG, Muelheim an der Ruhr. Subject to alterations without notice...
Page 3
All work relating to transport, installation, commissioning and maintenance must only be carried out by qualified personnel. (IEC 60 364 and HD 384 and national work safety regulations). All shrouds and doors must be kept closed during operation. D301047 0511 BL67-PG-DP...
Notes Concerning Planning /Installation of this Product ......................1-3 Description of Symbols Used..........................1-4 List of Revisions ...............................1-5 BL67 Philosophy The Basic Concept............................2-2 2.1.1 Flexibility ........................................2-2 2.1.2 Convenient Handling....................................2-2 BL67 Components ............................2-3 2.2.1 Gateways ........................................2-3 2.2.2 Electronic Modules ....................................2-4 – Power Feeding Modules................................. 2-4 2.2.3 Base Modules......................................2-5 2.2.4 End Plate ........................................2-5...
Page 6
Diagnostic Messages via LEDs ................................4-21 Configuration of the BL67-PG-DP with CoDeSys General ................................5-2 5.1.1 System requirements ................................... 5-2 Installation of the BL67 Target Support Packages..................5-3 5.2.1 Installation........................................ 5-3 BL67 Hardware Configuration ........................5-5 Configuration/ Programming of the PG in CoDeSys..................5-6 5.4.1...
Page 7
– Changing the IP address in Windows 2000/ Windows XP ....................8-3 – Changing the IP address in Windows NT..........................8-4 – Changing the IP address via I/O-ASSISTANT ........................... 8-5 8.1.2 Deactivating/ adapting the firewall in Windows XP........................8-5 Nominal Current Consumption of Modules at Ethernet ................8-7 Glossary Index D301047 0511 BL67-PG-DP...
About this Manual Documentation Concept ........................2 General Information ......................... 3 1.2.1 Prescribed Use ............................. 3 1.2.2 Notes Concerning Planning /Installation of this Product..............3 Description of Symbols Used ......................4 List of Revisions ..........................5 D301047 0511 BL67-PG-DP...
This manual contains information about the programmable BL67 Ethernet-gateway with PROFIBUS-DP interface BL67-PG-DP. The following chapters contain a short BL67 system description, a description of the field bus system Ethernet, exact information about function and structure of the BL67 Ethernet gateways as well as all bus specific information concerning the connection to automation devices, the maximum system extension etc.
Please read this section carefully. Safety aspects cannot be left to chance when dealing with electrical equipment. This manual contains all necessary information about the prescibed use of the programmable TURCK gateway BL67-PG-DP. It has been specially conceived for personnel with the necessary qualifications.
This sign can be found next to all general notes that supply important information about one or more operating steps. These specific notes are intended to make operation easier and avoid unnecessary work due to incorrect operation. D301047 0511 BL67-PG-DP...
DP-address setting via rotary coding switches (page 4-12) Assignment of the PROFIBUS-DP slave-addresses via CoDeSys-parameters (page 5-12) Assignment of the PROFIBUS-DP slave-addresses via rotary coding switches (page 5-12) Note The publication of this manual renders all previous editions invalid. D301047 0511 BL67-PG-DP...
Page 14
About this Manual D301047 0511 BL67-PG-DP...
The gateway is the only fieldbus-dependent module on a BL67 station. All other BL67 modules are not dependent on the fieldbus used. 2.1.1 Flexibility A BL67 station can contain modules in any combination, which means it is possible to adapt the system to practically all applications in automated industries. 2.1.2 Convenient Handling All BL67 modules, with the exception of the gateway, consist of a base module and an electronic module.
Cbase module 2.2.1 Gateways The gateway connects the fieldbus to the I/O-modules. It is responsible for handling the entire process data and generates diagnostic information for the higher-level master and the software tool I/O-ASSISTANT. Figure2: BL67 gateway D301047 0511 BL67-PG-DP...
Power Feeding modules distribute the required 24 V DC field voltage to the I/O-modules. They are necessary for building groups of modules with different potentials within a BL67 station, or if the rated supply voltage for the outputs cannot be guaranteed.
2.2.4 End Plate An end plate on the right-hand side physically completes the BL67 station. It protects the module bus connections of the last base module in a station and guarantees the protection class IP67. Figure5:...
ID is determined for each device by the IEEE (Institute of Electrical and Electronics Engineers, New York). The first 3 bytes of the MAC-ID contain a manufacturer identifier (TURCK: 00:07:46:xx:xx:xx). The last 3 bytes can be chosen freely by the manufacturer for each device and contain a definite serial number.
191.255.×××.××× 192.0.0.××× - / 256 223.255.255.××× According to their predefined address 192.168.1.××× the BL67 gateways are thus nodes of a Class C network. 3.1.4 Data transfer The data are transferred from a transmitter to a receiver via the Ethernet. This data transfer uses no acknowledgement of reception, which means data telegrams can get lost.
For that purpose, please enter the command "ping" and the IP address of the network node to be checked. If the node answers the ping-signal, it is ready for communication and takes part in the data transfer. Figure 8: ping-signal D301047 0511 BL67-PG-DP...
Via the command "x:\\arp -a" the MAC-ID (00-07-46-ff-60-13) for this IP address is determined. This MAC-ID clearly identifies the network node. Figure 9: Determination of the MAC-ID of a BL67 module via 3.1.7 Transmission Media For a communication via Ethernet, different transmission media can be used (see chapter page 7-3).
Technical Features General This chapter contains the general technical description of the programmable BL67 Ethernet-gateway with integrated PROFIBUS-DP slave BL67-PG-DP. D301047 0511 BL67-PG-DP...
Function Function The programmable BL67 gateways can be used as an autonomous PLC or as a de-central PLC in a network interconnection for fast signal processing Hinweis The programmable BL67 gateway BL67-PG-DP is designed as a Single Task System. The gateway is the connection between the BL67 I/O-modules and the Ethernet-network.
G module bus LED H designation I status LED J RUN/STOP LED K LEDs for supply voltage monitoring L PROFIBUS-DP MEthernet LEDs 4.3.1 Gateway structure The BL67 gateway has the following structure: Figure 11: BL67- Gateway Service- Systembus structure Interface PS/2 memory communi-...
Page 31
/VI to U 1000 V DC / service interface 1000 V DC field PLC-data Programming – Software CoDeSys V 2.3 – Released for V 2.3.5.8 – Programming languages IEC 61131-3 (IL, LD, FDB, SFC, ST) – Application tasks D301047 0511 BL67-PG-DP...
Page 32
± direction per space coordinate Repetitive shock resistance according to IEC 68-2-29, 1000 shocks, semi-sinusoidal 25 g threshold/6 ms, each in ± direction per space coordinate Drop and topple according to IEC 68-2-31 and free fall according to IEC 68-2-32 D301047 0511 BL67-PG-DP...
Page 33
This device can cause radio disturbances in residential areas and in small industrial areas (residential, business and trading). In this case, the operator can be required to take appropriate measures to suppress the disturbance at his own cost. D301047 0511 BL67-PG-DP...
Connection possibilities 4.4.1 Programming interface Ethernet The connection of the BL67 Ethernet gateways to the Ethernet network is done via the 4-pole M12- female connector “Ethernet“. It is designed as a D-coded connector according to PNO and ODVA-standards. Figure 12:...
V 2.3 of 3S according to IEC 61131-3. The interface is conceived as a 6-pole mini DIN connector. In order to connect the gateway to the PC, two types of cables can be used: special I/O-ASSISTANT-connection cable from TURCK (IOASSISTANT-ADAPTERKABEL-BL20/BL67; Ident-no.: 6827133) D301047 0511 BL67-PG-DP...
(top view) Connection Using Commercially Available Cables A further possibility to connect PC and BL67 gateway is to use a commercially available connection and adapter cable. The connection shown in the following figure (PS2-male/ PS2-male) is a 6-wire 1:1 connection.
Page 37
The table below shows the pin assignment when using a PS/2 cable and adapter: Table 6: PS/2 9-pole serial Pin assignment interface on PC when using PS/2 Pin-No. Standard PS/2 BL67 gateway: PS/2 Pin-No. Male connector cable and adapter male connector female connector Anot supported by all adapter +5 V...
Technical Features Address setting on PROFIBUS-DP The addressing of the BL67-PG-DP at PROFIBUS-DP can be different ways: 1 Parameter settings in CoDeSys DP-addresses from 1 to 125 can be set. 2 Rotary coding switches at the gateway DP-addresses from 1 to 99 can be set.
During it’s start-up, the module waits for the address setting via the BootP-server. This is indicated by the red flashing "MS" LED. The LED begins to flash green, as soon as the address setting via the server is completed. The station is ready for communication. 4-13 D301047 0511 BL67-PG-DP...
× 10 × 1 Attention The settings carried out in the rotary-mode are not stored in the module’s EEPROM. Thus, they will get lost in case of a subsequent address-assignment via a BootP/ DHCP or PGM. D301047 0511 BL67-PG-DP 4-14...
The address setting is carried out by a DHCP-server in the network after the start-up of the gateway. In order to activate the DHCP-mode, the rotary coding-switches have to be set to "400". Figure 24: DHCP-Modus × × 10 × 1 4-15 D301047 0511 BL67-PG-DP...
The settings carried out in the rotary-mode are stored in the module’s non-volatile EEPROM. 4.6.7 Addressing via PGM-DHCP The addressing of the gateway via PGM-DHCP is at the moment comparable to the addressing via DHCP (see page 4-15). D301047 0511 BL67-PG-DP 4-16...
Address-setting via I/O-ASSISTANT 3 (FDT/DTM) The software I/O-ASSISTANT enables direct access to the Ethernet-network via the Ethernet- cable. Naturally, the access to the single station via the service interface at the gateway is possible as well. Figure 26: Busaddress management 4-17 D301047 0511 BL67-PG-DP...
Page 44
The IP address as well as the subnet mask of the TURCK Ethernet gateways can be changed according to the application by using the integrated Busaddress Management function. Note The access of the IO-ASSISTANT to the gateway is only possible if the gateway is op- erated in PGM-mode (see also „Address setting via PGM-mode“,...
Page 45
It may inhibit the access of PACTware (I/O-ASSISTANT V3) to the Ethernet-network. In this case, please adapt your firewall respectively or deactivate it (see also Deactivating/ adapting the firewall in Windows XP (page 8-5)). 4-19 D301047 0511 BL67-PG-DP...
GW LED changes from green to red in order to save the Current Configuration as the Reference Configuration in the Gateway. The gateway will then be booted automatically. This procedure may last up to 60 seconds. D301047 0511 BL67-PG-DP 4-20...
4.8.1 Diagnostic Messages via LEDs Every BL67 gateway displays the following statuses via LEDs: 2 LEDs for module bus communication (module bus LEDs): GW and IO 1 LED for displaying if the gateway/ the program in the gateway has started: RUN/STOP...
Page 48
– short circuit in connected module – hardware error in – gateway Non-adaptable modification of the – Compare the planned BL67 station flashing, physically connected station. with the physical station. 1 Hz – Check the physical station for defective or incorrectly fitted electronics modules.
Page 49
LINK/ACT No Ethernet link – Check the Ethernet-connection Green Link, 100 Mbit/s Green Ethernet Traffic 100 Mbit/s flashing Yellow Link, 10 Mbit/s Yellow, Ethernet Traffic 10 Mbit/s flashing 4-23 D301047 0511 BL67-PG-DP...
Page 50
Technical Features Table 7: Status Meaning Remedy LED-displays Green Displays the logical connection to an Ethernet Node. Green, Gateway is ready for operation flashing Gateway indicates error Red, DHCP/BootP search of settings flashing D301047 0511 BL67-PG-DP 4-24...
Configuration of the BL67-PG-DP with CoDeSys General.............................. 2 5.1.1 System requirements..........................2 Installation of the BL67 Target Support Packages ................3 5.2.1 Installation ............................3 BL67 Hardware Configuration ......................5 Configuration/ Programming of the PG in CoDeSys ................. 6 5.4.1 Creating a new project .........................
Configuration of the BL67-PG-DP with CoDeSys General This chapter describes the configuration of a BL67 station with the programmable Ethernet gateway with PROFIBUS-DP interface in CoDeSys (Controller Development System) from "3S - Smart Software Solutions GmbH" on the basis of an example.
Support Package (short: targets) has to be installed. Target files contain all information necessary for integrating a system into the programming tool. The Target Support Package (TSP) for the BL67-PG-DP can be downloaded from the TURCK homepage as a zipped archive (TSP_Turck_BL67_PG_DP×××.zip).
Page 54
Figure 32: Select the target file The BL67 target is installed using the "Install" button. The BL67-PG-DP can now be found under "Installed Targets" and can be chosen in CoDeSys as a target now. Figure 33: Installation of the TURCK target...
BL67 Hardware Configuration BL67 Hardware Configuration 1 At first, configure your BL67 station (BL67-PG-DP and I/O modules) and switch on the power supply. 2 The gateway saves the actual station configuration, if the SET button under the cover on the gateway is pressed for approx.
Normally, a further configuration of the gateway in the dialog box "target settings" is not necessary. Note The BL67-PG-DP uses the word addressing mode (see the following table). Please observe therefore, that the parameter "Byte addressing mode" in the "General" tab is always deactivated.
Now, the communication parameters for the target have to be adapted. Communication parameters of the target Figure 36: Opening the communication parameters Mark "’localhost’ via TCP/IP" in the "Channels" field and define a new channel by pressing the "New" button. D301047 0511 BL67-PG-DP...
Page 58
In the dialog box "Communication Parameters: New Channel" the name for the new channel is edited and the communication interface is selected in the "Device" field. The BL67 gateway offers 2 possible communication interfaces: 1 PS/2 female connector for a serial RS232-communication 2 Ethernet connector (M12, 4-pole, D-coded) for a "TCP/IP (Level 2)"-communication.
Page 59
The Parameter "Motorola byteorder" must be set to "YES". Otherwise, no error-free communication with the gateway is possible. Please observe that the communication with the PG is only possible with a baudrate of 115200 Baud, when using the serial RS232-interface. D301047 0511 BL67-PG-DP...
Configuration of the BL67-PG-DP with CoDeSys 2 TCP/IP (Level 2)-communication Adapt the gateway’s communication parameters (IP address, Motorola byteorder) as shown in the following figure. Figure 39: Setting the communication parameters for TCP/IP (Level 2) Attention The Parameter "Motorola byteorder" must be set to "YES". Otherwise, no error-free communication with the gateway is possible.
Page 61
Configuration/ Programming of the PG in CoDeSys Open the “PLC Configuration" in the “Resources" tab. Figure 40: PLC Configuration 5-11 D301047 0511 BL67-PG-DP...
Configuration of the BL67-PG-DP with CoDeSys Assignment of the PROFIBUS-DP slave-addresses via CoDeSys-parameters 1 Mark the entry "ProfibusDP[Slot]" in the configuration dialog box. 2 In the register tab "Module parameters", set the parameter "DPSlaveAddrMode" to "Nomal". 3 Enter the PROFIBUS-DP-address under "DPSlaveAddress".
Configuration/ Programming of the PG in CoDeSys Configuration of the I/O modules Mark the BL67-IO[SLOT] and add the I/O modules to the gateway in the “Input/Output" tab. Figure 43: Selecting the I/O modules Attention When configuring the BL67 station in the software, please observe that the order of the modules added to the gateway has to match the physical module order of the hardware configuration.
Configuration of the BL67-PG-DP with CoDeSys 5.4.4 Addressing the in- and output data In- and output addresses are automatically assigned to the gateway and the connected modules. Note The assignment of the in- and output addresses is done automatically and cannot be changed by the user.
5.4.5 Mapping of PROFIBUS-DP input and output words For the PROFIBUS-DP-communication of the BL67-PG-DP with a higher level master, the in- and output words have to be added to the PLC-configuration. Therefore, chose the necessary in- and output words under "Configuration BL67-PG-DP → PROFIBUS- DP[Slot]"...
Configuration of the BL67-PG-DP with CoDeSys PLC-Programming Programming is done in the "POUs" tab. Figure 48: Programming in "POUs" tab After the completion of the program, it is compiled using the "Project → Rebuild all..." command. 5.5.1 Online The connection to the gateway is established with "Online → Login".
Page 67
Please observe, projects must be downloaded and saved as boot projects (for further information see the description in the following section Creating a boot project) in order to be stored permanently to the gateway! All other projects are deleted in case of a boot-up of the gateway! 5-17 D301047 0511 BL67-PG-DP...
5.5.2 Creating a boot project With "Online → create boot project" your program is saved as a boot project which is stored to the BL67-PG-DP and is automatically loaded at every re-start of the gateway. Figure 51: Create boot project 5.5.3...
Guidelines for Station Planning Module Arrangement........................2 6.1.1 Random Module Arrangement ......................2 Complete Planning..........................3 Maximum System Extension ......................4 6.3.1 Creating Potential Groups ........................5 Plugging and Pulling Electronic Modules ..................6 Extending an Existing Station......................7 D301047 0511 BL67-PG-DP...
Module Arrangement 6.1.1 Random Module Arrangement The arrangement of the I/O-modules within a BL67 station can basically be chosen at will. Attention Please observe, that RFID modules used within a station always have to be mounted directly following the gateway (slot 1 to 4).
Complete Planning Complete Planning The planning of a BL67 station should be thorough to avoid faults and increase operating reliability. Attention If there are more than two empty slots next to one another, the communication is interrupted to all following BL67 modules.
Guidelines for Station Planning Maximum System Extension A BL67 station can consist of a gateway and a maximum of 32 modules (equivalent to 1 m station length). The following overview shows the maximum number of channels possible under these conditions: The entire station is made up of the respective channel type only.
Maximum System Extension 6.3.1 Creating Potential Groups Power Feeding modules can be used to create potential groups. The potential isolation of potential groups to the left of the respective power distribution modules is provided by the base modules. D301047 0511 BL67-PG-DP...
Guidelines for Station Planning Plugging and Pulling Electronic Modules BL67 enables the pulling and plugging of electronic modules without having to disconnect the field wiring. The BL67 station remains in operation if an electronic module is pulled. The voltage and current supplies as well as the protective earth connections are not interrupted.
Extending an Existing Station Extending an Existing Station Attention Please note that extensions to the station (mounting further modules) should be carried out only when the station is in a voltage-free state. D301047 0511 BL67-PG-DP...
Page 76
Guidelines for Station Planning D301047 0511 BL67-PG-DP...
Group 1/Group 3 and Group 2/Group 3 must be routed in separate cable ducts with a minimum distance of 10 cm apart. This is equally valid for inside buildings as well as for inside and outside of switchgear cabinets. D301047 0511 BL67-PG-DP...
(10BaseT) with shielding (STP) or without shielding (UTP). Note TURCK offers a variety of cable types for fieldbus lines as premoulded or bulk cables with different connectors. The ordering information for the available cable types can be found in the BL67 catalog.
Station 0 Station 31 Cable types Turck offers a variety of cable types for fieldbus lines as premoulded or bulk cables with different M12-connectors. The ordering information for the available cable types can be found in the internet under www.turck.com.
Potential Relationships 7.2.1 General The potential relationship of a Ethernet system realized with BL67 modules is characterized by the following: The system supply of gateway and I/O-modules as well as the field supply are realized via one power feed at the gateway.
7.3.1 Ensuring Electromagnetic Compatibility The EMC of BL67 modules is guaranteed when the following basic rules are adhered to: Correct and large surface grounding of inactive metal components. Correct shielding of cables and devices. Proper cable routing – correct wiring.
Mount the mounting rails over a large surface area and with a low impedance to the support system using screws or rivets. Remove the isolating layer from all painted, anodized or isolated metal components at the connection point. Protect the connection point against corrosion (for example with grease; caution: use only suitable grease). D301047 0511 BL67-PG-DP...
A further possibility is a double-shielded cable (galvanically separated), whereby the innermost shield is connected on one side and the outermost shield is connected on both sides. D301047 0511 BL67-PG-DP...
In the case of inductive loads, a protective circuit on the load is recommended. 7.5.2 Protection against Electrostatic Discharge (ESD) Attention Electronic modules and base modules are at risk from electrostatic discharge when disassembled. Avoid touching the bus connections with bare fingers as this can lead to ESD damage. D301047 0511 BL67-PG-DP...
Page 86
Guidelines for Electrical Installation D301047 0511 BL67-PG-DP 7-10...
– Changing the IP address in Windows NT..................4 – Changing the IP address via I/O-ASSISTANT ................... 5 8.1.2 Deactivating/ adapting the firewall in Windows XP ................5 Nominal Current Consumption of Modules at Ethernet ..............7 D301047 0511 BL67-PG-DP...
Network Configuration Note In order to build up the communication between the BL67-gateway and a PLC/ PC or a network interface card, both devices have to be hosts in the same network. The network is already defined by the default-settings in the BL67-gateways.
Local Area Connection Properties 3 Activate "Use the following IP address" and assign an IP address of the network mentioned above to the PC/ Network interface card (see the following figure). Figure 56: Changing the PC’s IP address D301047 0511 BL67-PG-DP...
1 Open the folder "Network" in the Control Panel. 2 Activate TCP/IP connection in the tab "Protocols" and click the "Properties" button. Figure 57: Network configuration WIN 3 Activate "Specify IP address " and set the address as follows. Figure 58: Specify IP address D301047 0511 BL67-PG-DP...
In this case, you can deactivate the system integrated Windows XP firewall completely or adapt it to your application. Deactivating the firewall Open the "Windows Firewall" dialog in the control panel of your PC and deactivate it as follows: Figure 59: Deactivating the Windows firewall D301047 0511 BL67-PG-DP...
Page 92
In the "Exceptions"-tab, add the programs or services for which you want to allow the access to your computer. Figure 61: "Exceptions"-tab Note Despite an active firewall, the I/O-ASSISTANT for example is now able to browse the network for hosts and the address changing via the software is possible for the connected nodes. D301047 0511 BL67-PG-DP...
≤ 9 mA BL67-8DO-0.5A-P ≤ 24 mA BL67-4DO-2A-N ≤ 24 mA BL67-8DO-0.5A-N ≤ 9 mA BL67-16DO-0.1A-P Analog output modules ≤ 12 mA BL67-2AO-I ≤ 17 mA BL67-2AO-V Digital combi modules ≤ 35 mA BL67-4DI/4DO-PD ≤ 35 mA BL867-8XSG-PD D301047 0511 BL67-PG-DP...
Page 94
≤ 28 mA BL67-1RS232 ≤ 20 mA BL67-1RS485/422 ≤ 32 mA BL67-1SSI ≤ 24 mA BL67-1CVI Note Please find any information about the bus-independent, module specific current consumptions in the manual "BL67- I/O-modules" (TURCK-Documentation No.: German D300572/ English D300527). D301047 0511 BL67-PG-DP...
Time required for a master to serve all slaves or stations in a bus system, i. e. reading inputs and writing outputs. Bus line Smallest unit connected to a bus, consisting of a PLC, a coupling element for modules on the bus and a module. Bus system All units which communicate with one another via a bus. D301047 0511 BL67-PG-DP...
Page 96
Electromagnetic compatibility – the ability of an electrical part to operate in a specific environment without fault and without exerting a negative influence on its environment. German acronym for European Standard. Electrostatic Discharge. Field power supply Voltage supply for devices in the field as well as the signal voltage. D301047 0511 BL67-PG-DP...
Page 97
Intelligent modules are modules with an internal memory, able to transmit certain commands (e. g. substitute values and others). Abbreviation for Internet-Protocol, protocol for the packet-oriented and connectionless transport of data packets from a transmitter to a receiver crossing different networks. D301047 0511 BL67-PG-DP...
Page 98
The time required in a bus system between a reading operation being sent and the receipt of an answer. It is the time required by an input module to change a signal at its input until the signal is sent to the bus system. Reference potential Potential from which all voltages of connected circuits are viewed and/or measured. D301047 0511 BL67-PG-DP...
Page 99
Connection of a conductive component with the grounding connection via a grounding installation. Topology Geometrical structure of a network or the circuitry arrangement. Abbreviation for User Datagram Protocol. UDP is an transport protocol for the connectionless data between Ethernet hosts. Unidirectional Working in one direction. D301047 0511 BL67-PG-DP...
Need help?
Do you have a question about the BL67 and is the answer not in the manual?
Questions and answers