1.3.2 Notes concerning planning/installation of this product7
2General function description 9
2.1Function description9
3Hardware description 11
3.1Device structure11
3.2Device dimensions11
3.3Block diagrams12
3.4Technical data13
3.4.1 BL20-PG-EN-V313
3.4.2 BL67-PG-EN-V315
3.5Connectors17
3.5.1 Fieldbus connection17
3.5.2 Power supply18
3.5.3 USB Device port18
3.5.4 USB Host port19
3.6Device addressing and operation mode setting19
3.6.1 Restore IP20
3.6.2 Address setting via rotary coding switches (Static rotary)20
3.6.3 Address setting via the mode DHCP21
3.6.4 Address setting via the mode PGM21
3.6.5 Address setting via the mode PGM-DHCP (universal mode)22
3.6.6 F_Reset (Reset to factory setting)23
3.6.7 Address setting with Turck IP Address Tool24
3.6.8 Address setting via DTM26
3.7SET button28
V01.00 | 2016/06
3.8Reset to factory settings29
3.8.1 IP Address Tool29
3.8.2 Web server 30
3.9 LED displays31
Programmable Gateways BLxx-PG-EN-V3
1
Page 3
3.9.1 LED description BL20 31
3.9.2 LED description BL6733
3.10Real time clock (RTC)35
3.11SFTP access36
3.12Firmware update37
3.12.1 Firmware update using USB storage device37
3.12.2 Firmware update via DTM37
4Parameters and diagnostics 39
4.1Parameters39
4.2Diagnostics40
4.2.1 System diagnostics40
4.2.2 I/O diagnostics41
5CODESYS-functions 43
5.1Supported CODESYS libraries43
5.2General start-up44
5.2.1 Installing the device package in CODESYS44
5.2.2 Standard project with BLxx-PG-EN-V3 in CODESYS V3.5.8.1045
5.3Modbus TCP-Master46
5.3.1 Configuring the Modbus TCP-Master46
5.3.2 Configuring the external Modbus TCP slave47
5.4Modbus TCP-Slave-Device49
5.4.1 Configuring Modbus TCP-Slave-Device49
5.5PROFINET-Device51
5.5.1 Configuring the PROFINET-device in CODESYS51
5.5.2 Configuring the PROFINET-device in the PROFINET-master53
5.6EtherNet/IP™ Slave (Device)56
5.6.1 Configuring the EtherNet/IP™-device in CODESYS56
5.6.2 Configuring the EtherNet/IP™-slave in EtherNet/IP™ PLC58
6USB Host port functions 61
6.1Compatible storage devices61
6.2Functions of the USB Host port61
6.2.1 General hints/prerequisites62
6.2.2 Function overview63
6.2.3 Executing the functions65
6.2.4 Behavior of the RUN-LED in case of an error66
2
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 4
7The web server 67
7.1Web server - remote access/configuration67
7.2Safety in the web server67
7.3IP address67
7.4Home68
7.5Gateway Diagnostics69
7.6Ethernet Statistics70
7.7Links70
7.8Login/password71
7.9Change Admin Password71
7.10Network Configuration73
7.10.1 Change network parameters (port settings, IP address, etc.)73
7.11Gateway Configuration74
7.11.1 Configuration of the field bus interface74
7.11.2 Reboot74
7.11.3 Reset to Factory Defaults74
7.12Slot Parameters75
7.12.1 Parameterization of the in-/ outputs75
7.13Using mobile devices76
7.14Web server logout76
7.15Deactivating the web server76
V01.00 | 2016/06
Programmable Gateways BLxx-PG-EN-V3
3
Page 5
4
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 6
1About this manual
1.1Documentation concept
This manual describes the hardware and the functions of the CODESYS V3-programmable gateways
for the Turck product families BL20 and BL67 (BL20-PG-EN-V3 and BL67-PG-EN-V3).
The following chapters contain:
the hardware description of BLxx-PG-EN-V3,
the description of the device functionalities (master/device),
the description of the Modbus-master, page 46
examples for the connection of the BLxx-PG-EN-V3 as device (slave)
– Modbus TCP Slave Device, page 49
– PROFINET IO-Device, page 51
– EtherNet/IP™-Device, page 56
1.1.1Additional documentation
Please read the following product family manuals for any general product line specific issues e.g.
system description, mounting, electrical installation, station configuration etc.
BL20:
D300717 „BL20 I/O modules - hardware and engineering“
BL67:
D300529 „BL67 I/O modules - hardware and engineering“
1.2Explanation of symbols used
1.2.1Warnings
Action-related warnings are placed next to potentially dangerous work steps and are marked by
graphic symbols. Each warning is initiated by a warning sign and a signal word that expresses the
gravity of the danger. The warnings have absolutely to be observed:
DANGER!
DANGER indicates an immediately da
injury, if not avoided.
WARNING!
WARNING indicates a potentially dangerous situation
severe injury, if not avoided.
ngerous situation, with high risk, the death or severe
with medium risk, the death or
V01.0| 2016/04
CAUTION!
CAUTION indicates a potentially dang
not avoided.
erous situation with low risk, middle or low injury, if
Programmable Gateways BLxx-PG-EN-V3
5
Page 7
About this manual
1.2.2Further notes
CALL TO ACTION
This symbol identifies steps that the user has to perform.
ATTENTION!
ATTENTION indicates a situation that may lead to property damage, if it is not avoided.
NOTE
In NOTES you find tips, recommendations and important information. The notes facilitate
work, provide more information on specific actions and help to avoid overtime by not following the correct procedure.
TECHNICAL BASICS
The TECHNICAL BASICS offer technical information, basics and background information.
This information lead to a better understanding of the device functions for example. The
experienced user can skip this information.
RESULTS OF ACTION
This symbol identifies relevant results of steps
6
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 8
1.3General notes
Please read this section carefully. Safety aspects cannot be left to chance when dealing with electrical equipment.
This manual includes all information necessary for the prescribed use of the devices BL20-PG-EN-V3 and BL67-PG-EN-V3. It has been specially conceived for personnel with the necessary
qualifications.
1.3.1Prescribed use
The devices described in this manual must be used only in applications prescribed in this manual or
in the respective technical descriptions, and only with certified components and devices from third
party manufacturers.
Appropriate transport, storage, deployment and mounting as well as careful operating and thorough maintenance guarantee the trouble-free and safe operation of these devices.
1.3.2Notes concerning planning/installation of this product
All respective safety measures and accident protection guidelines must be considered carefully and
without exception.
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
7
Page 9
About this manual
8
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 10
2General function description
2.1Function description
The programmable BL20/BL67 gateways can be used as autonomous PLCs or as decentral PLCs in a
network interconnection for a fast preprocessing of signals. The programmable gateways allow
autonomous control of applications without higher-level control.
The Ethernet ports serve as interface for programming, configuration and field bus communication.
Thanks to the multiprotocol Ethernet technology, the device can be used as slave with PLCs or PC
based systems with PROFINET, EtherNet/IP™ or Modbus TCP. In addition to that, the device can be
operated as Modbus TCP-master.
Gateways are the head component of a BL20 station. The electronic modules communicate over the
internal module bus with the gateway and can be configured independently of the fieldbus protocol.
Properties:
Programmable according to IEC 61131-3 with ODESYS V3 in:
– IL = Instruction List
– LD = Ladder Logic
– FBD = Function Block Diagram
– SFC = Sequential Function Chart
– ST = Structured Text
Ethernet- and programming interface
Integrated Gold CAP-buffered RTC (Real Time Clock)
USB Device Port as programming and service interface
USB Host Port for connecting USB memory sticks for firmware-update, program backup, program
restore, data synchronization
Protocol converter - for example from Ethernet to serial communication.
LEDs for display of PLC status (LED APL, LED RUN), supply voltage (LED VI/VO, BL67 only), group
(LED ERR) and bus er
Integrated Ethernet switch allows line topology
Integrated web server
Field bus connection
– BL67-PG-EN-V3: Ethernet, 2 x M12-female
rors (LED BUS)
connector, 4-pol. D-codes
– BL20-PG-EN-V3: Ethernet, 2 x RJ45-ports,
Power supply
– BL67-PG-EN-V3: 5-pole 7/8"-connector
– BL20-PG-EN-V3: screw terminals
Protection class:
BL67-PG-EN-V3: IP67
–
– BL20-PG-EN-V3: IP20
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
9
Page 11
General function description
10
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
1 = YE (TX +)
2 = WH (RX+)
3 = OG (TX )
4 = BU (RX )
v
3.5.1Fieldbus connection
BL20-PG-EN-V3
The field bus connection is realized via:
2 x RJ45-connector
TX+Transmission Data +
RX+Receive Data +
TX-Transmission Data -
RX-Receive Data -
BL67-PG-EN-V3
The field bus connection is realized via:
2 x M12 (female connector), M12-Ethernet switch, 4-pole, D-coded, according to IAONA specification
SignalData
TX+Transmission Data +
RX+Receive Data +
TX-Transmission Data -
RX-Receive Data -
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
17
Page 19
Hardware description
3
4
5
2
1
1 = GND
2 = GND
3 = PE
4 = V
i
5 = V
o
12345
v
1 = 5 VDC
2 = D –
3 = D +
4 = n.c.
5 = GND
3.5.2Power supply
BL20-PG-EN-V3
BL20-PG-EN-V3
GND
U
L
GND
U
SYS
L
SYS
–
=
–
=
+
Field supply
+
System supply
Pin- no.Color7/8“Designation
1
2blueGND
3green/yel-
4BrownVI (UB)Feed-in of nominal voltage for input modules (sensor supply V
5whiteVO (UL)Feed-in of nominal voltage for output modules
3.5.3USB Device port
The USB Device port is designed as mini USB socket and can be used as service interface for the
device DTMs as well as as programming interface for CODESYS.
RNDIS driver
blackGND
PEProtective earth
low
also used for the generation of the system supply voltage
(can be switched off separately).
sens
));
18
The corresponding RNDIS driver is installed during the DTM installation in PACTware™. The USB
device port is shown in the DTM as additional Ethernet port .
NOTE
Use the interface BL Service Ethernet in the DTM for the connection to the BLxx-PG-EN-V3.
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 20
3.5.4USB Host port
1 = 5 VDC
2 = D –
3 = D +
4 = GND
1234
v
0
1
2
3
456
7
8
9
0
1
2
3
456
7
8
9
x10
x1
0
9
8
7
654
3
2
1
0
9
8
7
654
3
2
1
The USB Host port is designed as USB2.0-A-socket and serves for connecting USB memory sticks for
the restore and backup of CODESYS programs and for the actualization of the device firmware (see
Functions of the USB Host port (page 61)).
3.6Device addressing and operation mode setting
The device address and the operation mode are set using a combination of the 2 rotary coding
switches and the DIP switches at the device.
Rotary cod-
Fig. 7: Rotary coding and DIP switches at
BL20-PG-EN-V3
DIP switches AModeDescription
Fig. 8: Rotary coding and DIP switches at
BL67-PG-EN-V3
ing switches
5 (MODE)4321
00100- - Restore IP Reset the device to d
efault settings
(see page 20):
IP address192.168.1.254
Subnet mask255.255.255.0
gateway192.168.1.1
Auto-negotiation/
AutoMDIX
QuickConnect/FSUinactive
401----DHCP Addressing via DHCP (see page 21)
501----PGMAddressing via PGM (see page 21)
601----PGM-DHCPAddressing via PGM-DHCP (see page 22)
State of delivery
901----F_ResetReset to factory settings (see page 23)
1-990----Static
rotary
Sets the last byte of the IP address (see page 20).
The other 3 byte are taken from the IP address, which was
stored in the device before.
00000--AddressSets the last byte of the IP address to 100.
The other 3 byte are taken from the IP address, which was
stored in the device before.
active
A „-“: Switch position is irrelevant
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
19
Page 21
Hardware description
×10
×1
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
0
3.6.1Restore IP
With this setting the DIP-switches to "000" followed by a voltage reset, the module is set to the
address 192.168.1.254 for IP-based services (see Device addressing and operation mode setting
(page 19)).
This setting allows for example the I/O-ASSISTANT 3 (FDT/DTM) to communicate with the station,
the device's WEB-server can be accessed using the IP-address 192.168.1.254.
NOTE
This setting is no operation mode! Please set the device to another mode after having
reset the IP address to the default values.
3.6.2Address setting via rotary coding switches (Static rotary)
When using the rotary-mode, the last byte of the station’s IP address can be set via the rotary coding
switches.
NOTE
All other network settings are stored in the module’s non-volatile EEPROM and can not be
changed in rotary mode.
Addresses from 1 to 99 can be set. The addresses 0 is used for Broadcast-messages in the subnet.
The following example shows the setting of address 73.
NOTE
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.
NOTE
After changing the position of the rotary coding-switches, a voltage reset must be carried
out to store the new address.
20
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 22
3.6.3Address setting via the mode DHCP
In order to activate the DHCP-mode, the DIP-switch MODE is set to "ON", the rotary switches to
address "40" (see Device addressing and operation mode setting (page 19)).
Address setting is carried out by a DHCP-server in the network after the start-up of the gateway.
The IP address, as well as the default subnet mask assigned to the gateway by the DHCP-server, are
stored in the module’s EEPROM. If the gateway is subsequently switched to another address--mode,
the settings (IP address, subnet mask, etc) will be read from the module’s EEPROM.
NOTE
After every change of the address-mode, a voltage reset must be done.
DHCP supports three mechanisms for IP address allocation:
In "automatic allocation", the DHCP-server assigns a permanent IP address to a client.
In "dynamic allocation", DHCP assigns an IP address to a client for a limited period of time. After
this time, or until the client explicitly relinquishes the address, the address can be re-assigned.
In "manual allocation", a client's IP address is assigned by the network administrator, and DHCP
is used simply to convey the assigned address to the client.
DHCP in PROFINET
Please assure, that in PROFINET-applications, the address assigned via a BootP-server corresponds
to the address, which is assigned in the configuration tool.
3.6.4Address setting via the mode PGM
In order to activate the PGM-mode, the DIP-switch MODE is set to "ON", the rotary switches to
address "50" (see Device addressing and operation mode setting (page 19)).
NOTE
After every change of the address-mode, a voltage reset must be done.
The PGM-mode enables access of the software I/O-ASSISTANT (FDT/DTM) to the module’s network
settings (see also „Address setting via DTM“).
NOTE
In the PGM-mode, all network settings (IP address, subnet mask, etc.) are read from the
module’s internal EEPROM.
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
21
Page 23
Hardware description
3.6.5Address setting via the mode PGM-DHCP (universal mode)
In order to activate the PGM-DHCP-mode, the DIP-switch MODE is set to "ON", the rotary switches
to address "60" (see Device addressing and operation mode setting (page 19)).
NOTE
After every change of the address-mode, a voltage reset must be done.
The device sends DHCP-requests until an IP address is assigned (DHCP-server, PROFINET-controller,
PACTware™, web server, IP-Address Tool).
The assigned IP-address is stored to the device and the DHCP-client is stopped.
Even after a restart of the device, the device sends no further DHCP-requests.
PGM-DHCP in PROFINET
This mode assures a PROFINET-compliant operation of the modules.
NOTE
If a DHCP-server is used within the network, problems may occur during IP-assignment.
In this case, both, the DHCP-server as well as the PROFINET-controller (via DCP), try an IPaddress-assignment.
22
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 24
3.6.6F_Reset (Reset to factory setting)
In order to reset the device to factory settings, the DIP-switch MODE is set to "ON", the rotary
switches to address "90" (see Device addressing and operation mode setting (page 19)).
This mode sets all device-settings back to the default values and deletes all data in the device's internal flash.
NOTE
This setting is no operation mode! Please set the device to another mode after having
reset the IP address to the default values.
The following properties are reset to default or deleted during F_Reset:
IP address/
subnet mask
PROFINET device nameReset-
CODESYS programdeleted-
parameters (PG-V3)Resetsee Parame-
Parameters of I/Omodules
Reset192.168.1.254/
no
Default valueComment
The device can be accessed by the web
255.255.255.0
ters (page 39)
server/DTM using this IP address but the
address is not permanently stored in the
device.
NOTE
Resetting the device to factory settings via DCP-based services (via Turck IP Address Tool
or TIA-Portal/Step7) does not delete the CODESYS-program (see also Reset to factory set-
tings (page 29).
Programmable Gateways BLxx-PG-EN-V3
V01.0| 2016/04
23
Page 25
Hardware description
3.6.7Address setting with Turck IP Address Tool
The Turck IP Address Tool enables direct access to the Ethernet-network via the Ethernet cable.
The IP configuration, as well as the PROFINET device name of the Ethernet device can be changed
application specifically.
Search for devices
Scan the network using the "Search" button. All found Turck devices are shown.
Fig. 9: Scan Ethernet network
Send WINK command
For clear device localization a Wink command can be send to the marked device using the "Wink"
button. The device responds to this Wink command with a device specific blink code (see LED dis-
plays (page 31)).
24
Fig. 10: Send WINK command
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 26
Changing the IP address
Use the function "Change IP configuration" to change the device's IP settings.
Fig. 11: Changing the IP configuration
Changing the PROFINET device name
Use the function "Change device name" to change the device's IP settings.
Fig. 12: Set PROFINET device name
NOTE
A PROFINET device name can only be assigned, if the device has already been configured
as PROFINET device via CODEYS and if the respective CODESYS
project has been loaded to the device (see chapterl 5, PROFINET-Device (page 51)).
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
25
Page 27
Hardware description
3.6.8Address setting via DTM
The software-tool I/O-ASSISTANT 3 (FDT/DTM) enables direct access to the Ethernet-network via the
Ethernet cable.
The IP address, as well as the subnet mask of the TURCK Ethernet stations, can be changed accordingto the application by using the Busaddress Management function of the BL Service Ethernet
interface (TCP/IP) in the software I/O-ASSISTANT 3 (FDT/DTM).
Fig. 13: Busaddress management
26
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 28
Fig. 14: Searching for network nodes in the Busaddress Management
NOTE
The access of the DTM to the station is only possible, if the station already has an IPaddress (see Device addressing and operation mode setting (page 19))
and if it is operated in switch position PGM or PGM-DHCP-mode.
NOTE
When using Windows XP as operating system, difficulties may occur with system-integrated firewall.
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.
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
27
Page 29
Hardware description
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
8
9
x10
x1
0
9
8
7
6
5
4
3
2
1
0
9
8
7
6
5
4
3
2
1
Fig. 15: Changing the IP address
3.7SET button
Pressing the SET button activates the write access of the device's USB Host port functions, see also
chapterl 6, USB Host port functions (page 61).
Fig. 16: SET button at BL20-PG-EN-V3Fig. 17: SET button at BL20-PG-EN-V3
28
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 30
3.8Reset to factory settings
Besides the hardware rest using the rotary coding switches (seeF_Reset (Reset to factory setting)
(page 23)), the TURCK IP Address Tool as well as the web server (see Reset to Factory Defaults
(page 74)) offer the possibility to reset the devices to the factory settings.
NOTE
Resetting the device to factory settings via rotary coding/DIP switchesdeletes the CODESYS-program in the device, see also F_Reset (Reset to factory setting) (page 23).
Resetting the device to factory settings
or TIA-Portal/Step7) does not delete the CODESYS-program (see also F_Reset (Reset to
factory setting) (page 23).
3.8.1IP Address Tool
r
via DCP-based services (via Turck IP Address Tool
Fig. 18: IP Address Tool, reset to factory settings
Programmable Gateways BLxx-PG-EN-V3
V01.0| 2016/04
29
Page 31
Hardware description
3.8.2Web server
Fig. 19: Web server, reset to factory settings
NOTE
For further information concerning the web server please read chapterl 7The web
server.
30
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 32
3.9 LED displays
Every BLxx-PF V3 displays the following statuses via LEDs:
PLC status (LED RUN),
application specific LED APPL (freely programmable via CODESYS)
supply voltage (LED VI/VO, BL67 only),
common errors (LED ERR) and
Bus errors (LED BUS)
2 LEDs for the Ethernet-communication LNK1 and LNK2
3.9.1LED description BL20
LEDGREENREDMeaningRemedy
GW
LEDGREENREDMeaningRemedy
IOs
OFFOFFNo power supply of the CPU.– Check the system power supply at the gateway.
ONOFFFirmware active, gateway ready
OFFblinkingWink-command received
offOFFNo power supply of the CPU.– Check the system power supply at the gateway.
ONOFFCommunication running.
The modules configured correspond to the modules in the station.
blinking,
1 Hz
OFFONCPU not ready for operation,
OFFStation is in the Force Mode of the
I/O-ASSISTANT.
possible causes:
– too many modules at the gate-
way
– Wink-command received
– Deactivate the Force Mode of the I/O-ASSISTANT.
– Check the system power supply at the gateway
and the cabling.
– Unmount excessively mounted modules.
– Replace the gateway, if necessary.
– short-circuit in connected mod-
ule
– gateway hardware error.
OFFblinking,
1 Hz
OFFblinking,
4 Hz
blinking, alternatingThe current and configured mod-
OFFblinking
double
1 Hz
Non adaptable changes in the configuration of the module bus
nodes.
no communication
via the module bus.
ule list do not match but the data
exchange proceeds as normal.
Device internal communication
disturbed
– Compare the configured station and the current
configuration.
– Check the physical station for defective or incor-
rectly plugged electronic modules.
– At least one module has to be plugged and has to
be able to communicate with the gateway.
– Check the physical station for pulled or new but
not planned modules.
– Check the system power supply at the gateway.
LEDGREENREDMeaning
APPL
V01.0| 2016/04
This LED is controlled by the CODESYS program and can be freely programmed by the user.
Programmable Gateways BLxx-PG-EN-V3
31
Page 33
Hardware description
LEDGREENREDMeaningRemedy
RUN
LEDGREENREDMeaningRemedy
BUS
OFFOFFNo power supply of the CPU.– Check the system power supply at the gateway.
ONOFFPLC program running
blinkingOFFFirmware updated runningsee Firmware update
OFFONPLC program stopped
OFFblinkingNo PLC program loaded
OFFblinking,
1 Hz
OFFOFFNo power supply of the CPU.– Check the system power supply at the gateway.
ONOFFDisplays the logical connection to
blinkingOFFDevice ready for operation
OFFONGateway error:
F_Reset is in progress see page 23
a master
If more than one slave is configured at the PG, then the LED shows
the state of the slave in CODESYS
which was the first to be configured.
– Check the IP-addresses in the network
– IP address conflict
– Check the DIP switch position.
– gateway in RESTORE-mode
– F_Reset activated
OFFOFFStation running, no diagnostics
OFFONA diagnostic message from gate-
way or I/O-modules is pending.
– Check the diagnostic messages.
32
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 34
3.9.2LED description BL67
LEDGREENREDMeaningRemedy
IO
OFFOFFNo power supply of the CPU.– Check the system power supply at the gateway.
ONOFFCommunication running.
The modules configured correspond to the modules in the station.
blinking,
1 Hz
OFFStation is in the Force Mode of the
I/O-ASSISTANT.
OFFONCPU not ready for operation,
possible causes:
too many modules at the gateway
short-circuit in connected module
– Deactivate the Force Mode of the I/O-ASSISTANT.
– Check the system power supply at the gateway
and the cabling.
– Unmount excessively mounted modules.
– Replace the gateway, if necessary.
gateway hardware error.
OFFblinking,
1 Hz
Non adaptable changes in the configuration of the module bus
nodes.
– Compare the configured station and the current
configuration.
– Check the physical BL67-station for defective or
incorrectly plugged electronic modules.
OFFblinking,
4 Hz
no communication
via the module bus.
blinking, alternatingThe current and configured mod-
ule list do not match but the data
exchange proceeds as normal.
OFFblinking
double
Device internal communication
disturbed
– At least one module has to be plugged and has to
be able to communicate with the gateway.
– Check the physical station for pulled or new but
not planned modules.
– Check the system power supply at the gateway.
1 Hz
LEDGREENREDMeaningRemedy
GW
OFFOFFNo power supply of the CPU.– Check the system power supply at the gateway.
ONOFFFirmware active, gateway ready
OFFblinkingWink-command received
– Deactivate an active WINK-command
LEDGREENREDMeaningRemedy
RUN
OFFOFFNo power supply of the CPU.Check the system power supply at the gateway.
ONOFFPLC program runningblinkingOFFFirmware updated runningsee Firmware update
OFFONPLC program stopped
OFFblinkingNo PLC program loaded
OFFblinking,
F_Reset is in progress see page 23
1 Hz
LEDGREENREDMeaningRemedy
VI/V
OFFOFFSupply voltage too low– Check the system power supply at the
O
ONOFFV
blinking, 1 HzOFFUndervoltage V
and VO within the nominal range
I
; system running.– Check the system power supply at the
I
gateway.
gateway.
blinking, 4 HzOFFUndervoltage V
ON
ONSensor supply current (I
; system running.
O
) too high
SENS
(orange)
LEDGREENREDMeaning
APPL
V01.0| 2016/04
This LED is controlled by the CODESYS program and can be freely programmed by the user.
Programmable Gateways BLxx-PG-EN-V3
33
Page 35
Hardware description
LEDGREENREDMeaningRemedy
ERR
LEDGREENREDMeaningRemedy
BUS
OFFOFFStation running, no diagnostics
OFFONA diagnostic message from gateway or I/
O-modules is pending.
OFFOFFNo power supply of the CPU.– Check the system power supply at the
ONOFFDisplays the logical connection to a master
If more than one slaves are configured at
the PG, then the LED shows the state of the
slave in CODESYS which was the first to be
configured.
blinkingOFFDevice ready for operation
OFFONGateway error:
– IP address conflict
– Check the diagnostic messages.
gateway.
– Check the IP-addresses in the network
– Check the DIP switch position.
– gateway in RESTORE-mode
– F_Reset activated
blinking, alternating
– Auto-negotiation
and/or
– Autonegotiation and / or waiting for
DHCP- / BootP-address assignment.
– The gateway waits for IP-address assign-
ment. Wait for the address assignment to
be finished.
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 36
3.10Real time clock (RTC)
Properties:
Bufferingvia Gold CAP
Loading time for 95 % loadmin. 10 minutes
Buffer time at
23 °C4 weeks
– 60 °C168 hours
– 70 °C36 hours
The RTC is set in the device for example using the CODESYS library „CAA Real time Clock Extern“.
V01.0| 2016/04
Fig. 20: CAA Real time Clock Extern in CODESYS
Programmable Gateways BLxx-PG-EN-V3
35
Page 37
Hardware description
3.11SFTP access
The SFTP access is done via a FTP client program e.g. FileZilla:
Server (SFTP protocol)IP address of the device
User namesftpuser
Passwordpassword
Port22
NOTE
The password for the SFTP access is synchronized to the password for the web server.
Changing the password for the SFTP access also changes the web server password (see
page 71).
36
Fig. 21: SFTP access via FileZilla
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 38
3.12Firmware update
The firmware update can be done using a USB storage device at the USB Host port or via the Turck
DTM in PACTware™.
3.12.1Firmware update using USB storage device
For the firmware update via USB storage device, please read section Functions of the USB Host
port (page 61).
3.12.2Firmware update via DTM
The firmware update via DTM is done in the DTM Busaddress Management in PACTware™.
V01.0| 2016/04
Fig. 22: Busaddress Management in PACTware™
Programmable Gateways BLxx-PG-EN-V3
37
Page 39
Hardware description
38
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 40
4Parameters and diagnostics
4.1Parameters
The BLxx-PG-EN-V3 provides the following parameters.
NOTE
Parameter changes are only applied after a device restart.
Parameter nameValue Description
Deactivate WEB serverno A
yesDeactivates the web server in the device.
Deactivate USB Host
support
Ethernet port 1/2Auto-negotiation
no
A
yesDeactivates the USB Host port support for the
10 Mbps, half duplex
10 Mbps, full duplex
100 Mbps, half duplex
100 Mbps, full duplex
device. The USB Host port functions are deactivated.
ASets the Ethernet port to Auto-negotiation or to a
fixed value for transmission rate and transmission
mode.
A Default setting
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
39
Page 41
Parameters and diagnostics
4.2Diagnostics
4.2.1System diagnostics
The system diagnostics can be called via the instance name of the "Local_IO_BLxx"-object. Function
blocks or libraries are not required.
Fig. 23: Diagnostics via call of instance
DiagnosticsMeaning
Module diagnostics available
„xModuleDiagnosticsAvailable“
Download the package „BLxx-PG-EN-V3 CODESYS Package Vx.x.x.x“ from www.turck.com
Install the package using the CODESYS Package Manager „Tools Package Manager“.
Fig. 25: Package Manager in CODESYS
The device package for CODESYS contains all necessary files
CODESYS Device Description,
CODESYS libraries,
GSDML file,
EDS file,
etc.
44
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 46
5.2.2Standard project with BLxx-PG-EN-V3 in CODESYS V3.5.8.10
Create a standard project with the BLxx-PG-EN-V3 as CODESYS device.
Fig. 26: Selecting the PG-V3 as CODESYS device
The CODESYS project is created.
Fig. 27: CODESYS project
In addition to the PLC logic, the project contains:
Gateway LED APPL
– for free use in the program
– uses 2 bit in the device's output process image, the output data therefore start with an offset
of 1 byte in the default configuration.
Local_IO_BLxx
– Configuration of the I/O modules locally connected to the BLxx-PG-EN-V3
Ethernet interface
– Interface for the Modbus master or the Ethernet slaves
NOTE
The Ethernet interface needs no configuration.
Programmable Gateways BLxx-PG-EN-V3
V01.0| 2016/04
45
Page 47
CODESYS-functions
5.3Modbus TCP-Master
Properties
max. number of TCP slaves32
Min. Cycle Time50 ms
5.3.1Configuring the Modbus TCP-Master
The Modbus TCP master from 3S - Smart Software Solutions GmbH is used.
46
Fig. 28: Add Modbus TCP-Master
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 48
Activate the function "auto-reconnect" at the master to assure that CODESYS automatically con-
firms communication errors and tries to continue with executing Modbus commands instead of
interrupting the Modbus communication.
Otherwise the error has to be reset using a slave function block.
Fig. 29: Configuring the Modbus TCP-Master
5.3.2Configuring the external Modbus TCP slave
Add an external Modbus TCP slave using the "Add Device" function and configure the slave.
In this example the Turck multiprotocol device TBEN-S1-4DIP-4DOP is used as Modbus slave.
V01.0| 2016/04
Fig. 30: Configuring the external Modbus TCP slave
Programmable Gateways BLxx-PG-EN-V3
47
Page 49
CODESYS-functions
Add Modbus Slave channels for the communication with the slave.
Observe the process data offsets of the slave. In the example (Fig. 31:Adding Modbus Slave
channels) the slave's process output data start with register 0x0800.
Fig. 31: Adding Modbus Slave channels
48
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 50
5.4Modbus TCP-Slave-Device
Properties
Max. number of input registers1024
Max. number of holding registers1024
5.4.1Configuring Modbus TCP-Slave-Device
Add the Modbus_TCP_Slave_Device to the Ethernet interface using the "Add Device"-function
and configure it.
Therefore define the number of in- and output registers (input and holding registers) which have
to be exchanged with the higher-level Modbus TCP-master.
V01.0| 2016/04
Fig. 32: Configuring Modbus TCP-Slave-Device
Programmable Gateways BLxx-PG-EN-V3
49
Page 51
CODESYS-functions
Which data will be mapped into the input and holding registers, depends on assignments in the PLC
program or in the I/O mapping of the PG-V3 or of the local I/Os.
Fig. 33: Modbus TCP-Slave-Device data mapping
50
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 52
5.5PROFINET-Device
Properties
max. number of I/O data1024 byte in total
(512 IN + 512 OUT)
NOTE
It can be necessary to increase the PROFINET cycle time for larger BLxx-stations.
5.5.1Configuring the PROFINET-device in CODESYS
Add the PROFINET_Device to the Ethernet interface using the "Add Device"-function and config-
ure the length ofthe in- and output data, which have to be exchanged with the higher-level PROFINET-master.
V01.0| 2016/04
Fig. 34: Configuring the PROFINET-device in CODESYS
NOTE
When configuring the I/O-data the following has to be observed: The input data in CODESYS have to be configured as output data in the PROFINET-master configuration and the
output data in CODESYS as input data.
The data thus have to be configured in reverse order in the PROFINET-master configuration ( see also Configuring the in- and output data (page 55)).
Programmable Gateways BLxx-PG-EN-V3
51
Page 53
CODESYS-functions
Which data will be mapped into the configured input and output data, depends on assignments in
the PLC program or in the I/O mapping of the PG-V3 or of the local I/Os.
Fig. 35: PROFINET-device data mapping
NOTE
The PROFINET-device shows an error as long as a connection to the PROFINET-master is
established.
52
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 54
5.5.2Configuring the PROFINET-device in the PROFINET-master
The following example shows the PROFINET-device configuration in TIA-Portal V13 from Siemens.
The PROFINET-CODESYS-device is configured as standard PROFINET-slave in TIA-Portal.
Hardware in the example:
PLC: S7 CPU315-2 PN/DP, 315-2EH13-0AB0
BL20-PG-EN-V3, FW 1.0.5.0
Installing the GSDML-file
Install the device's GSDML-file (GSDML-V2.3-TURCK-CDS3_PN_Device--.xml) in the PROF-
INET configuration software. It can be downloaded fromwww.turck.com
The device is added to the hardware catalog „CDS 3 PN Device“.
V01.0| 2016/04
Fig. 36: Configuring the PROFINET-device in TIA-Portal
Programmable Gateways BLxx-PG-EN-V3
53
Page 55
CODESYS-functions
Configuring the PROFINET-parameters
Like for all other PROFINET-slave, the PROFINET-interface has to be configured for the CDS3 PNDevice“ in the project.
Set all necessary IP-settings and assign a PROFINET-device name or use the device name which
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 56
Configuring the in- and output data
Configure the in- and output data, which have to be exchanged with the CODESYS-device.
NOTE
The configuration of the data in TIA-Portal has
the configuration in CODESYS. Input data in TIA-Portal are output-data in CODESYS, and
vice versa.
The configured data lengths have to match.
to be done in reverse order compared to
V01.0| 2016/04
Fig. 38: Configuration of in- and output data in TIA-Portal/CODESYS
Programmable Gateways BLxx-PG-EN-V3
55
Page 57
CODESYS-functions
5.6EtherNet/IP™ Slave (Device)
Properties
max. number of I/O data
496 Byte IN
92 Byte OUT
4
5.6.1Configuring the EtherNet/IP™-device in CODESYS
Add the Ethernet_IP_Slave to the Ethernet interface using the "Add Device"-function and con-
figure the length of the in- and output data, which have to be exchanged with the higher-level
EtherNet/IP™-PLC.
56
Fig. 39: Configuring the Ethernet/IP™-slave
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 58
Which data will be mapped into the configured input and output data, depends on assignments in
the PLC program or in the I/O mapping of the PG-V3 or of the local I/Os.
Fig. 40: EtherNet/IP™-slave data mapping
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
57
Page 59
CODESYS-functions
5.6.2Configuring the EtherNet/IP™-slave in EtherNet/IP™ PLC
The following example describes the configuration of the EtherNet/IP™-slave in "RSLogix5000"
V20.1. from Rockwell Automation.
The EtherNet/IP™-slave is configured as standard EtherNet/IP™-slave (Communications Adapter)
in RSLogix.
Hardware in the example:
Controller. Logix 5572™ (Allen Bradley)
EtherNet/IP™-Bridge 1756EN2TR (Allen Bradley)
BL20-PG-EN-V3, FW 1.0.5.0
Installing the EDS-file
Install the device's EDS-file (Turck CDS3.eds) in the configuration software. It can be downloaded
from www.turck.com
The device is added to the device catalog in RSLogix as „CDS 3 Ethernet/IP Slave“.
58
Fig. 41: "CDS 3 Ethernet/IP Slave" in the device catalog in RSLogix5000
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 60
Slave configuration
Enter the device name and the device's IP address.
Fig. 42: Settings at the "CDS3 Ethernet/IP Slave"
Programmable Gateways BLxx-PG-EN-V3
V01.0| 2016/04
59
Page 61
CODESYS-functions
Configuring the in- and output data
The device is automaticallyconfigured with a data width of 256 byte in- and 256 byte output data.
Configuring the in- and output data which have to be exchange with the CODESYS-device is thus
not necessary. The Controller Tags are automatically generated.
60
Fig. 44: Automatically generated Controller Tags of the "CDS3 Ethernet/IP Slave"
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 62
6USB Host port functions
The USB Host port serves for connecting USB storage devices for the storage, restore and transfer of
CODESYS applications as well as for updating the device firmware.
NOTE
The USB Host function can be deactivated using the web-server of the CODESYS program
(bit 14 of the device parameter object).
6.1Compatible storage devices
The USB Host port is generally suitable to connect commercially available USB storage devices.
NOTE
Only use USB memory sticks formatted to FAT or FAT32. The use of memory sticks formatted to NFTS is not possible.
Depending on the current consumption of the devices, compatibility problems may occur in isolated cases.
In order to guarantee error-free operation, we recommend to use industrially tested storage
devices. Ident-Nr. 6827348 - USB 2.0 Industrial Memory Stick.
NOTE
Connecting other USB devices like for example hard disks, keyboards, computer mouses
etc. is not possible.
6.2Functions of the USB Host port
For further information, see Function overview (page 63).
Read access
The read access does not require a user intervention.
The CODESYS program continues to run.
–
BACKUP_1: Storing the CODESYS application on the storage device
– BACKUP_2: Storing the CODESYS application and further device data on the storage device
– USB_DATA: Storing of CODESYS recipes and/or log-fileson the storage device.
Write access
The write requires user intervention (press the SET-button for at least 3 seconds).
The CODESYS program is stopped.
–
RESTORE_1: Loading the CODESYS application from the storage device to the device.
– RESTORE_2: Loading the CODESYS application and further device from the storage device to
the device.
– USB_DATA_WRITE: Loading of CODESYS recipes and/or log-files from the storage device to the
device
– FW_UPDATE
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
61
Page 63
USB Host port functions
6.2.1General hints/prerequisites
The storage device is formatted in FAT (FAT or FAT32).
The storage device does contain only one folder. If the storage device contains more than one
folder, not function is executed. TheRUN-LED displays errors, see Behavior of the RUN-LED in
case of an error (page 66).
The folder name defines the function to be executed (for further information, see Function over-
view (page 63).
Folder names must not contain special characters.
Boot application:
The names of the CODESYS-application and the file names of the boot application (*.app and
*.crc) have to be identical and must not be renamed.
Read access:
Press the SET-button within 30 seconds after having plugged the storage device. If not, the function is not executed an the storage device is unmounted.
NOTE
The storage device must not be plugged during normal operation. A restart or reset of the
device with the storage device being plugged can destroy the running application.
NOTE
Unplug the storage device only if the RUN-LED flashes orange (read/write operation finished) or red/green (error).
62
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 64
6.2.2Function overview
ATTENTION!
Using CODESYS recipes
Corrupt data due to manipulation of data in USB_Data file directory
Only use 1:1-copies with Backup_2/Restore_2 when using recipes:
FunctionFolder nameDescriptionCODESYS-
program
Read access
Backup 1BACKUP_1Storing the CODESYS application on the storage device.
The following files are stored to the storage device.
RUNNO
– All *.app and *.crc files.
– PlcLogic folder
Existing files with the same name will be overwritten. All other
data remain unchanged.
Backup 2BACKUP_2Storing the CODESYS application and the device data on from the
BLxx-PG-EN-V3 on the storage device.
The following files are stored to the storage device.
RUNNO
– All *.app and *.crc files.
– PlcLogic folder
– Folder USB_Data
– IP address
– PROFINET device name
– Retain-data (retain.bin)
Existing files with the same name will be overwritten. All other
data remain unchanged.
Read user dataUSB_DATAStoring the folder "USB_Data"from the BLxx-PG-EN-V3 to the stor-
age device.
The following files are stored to the storage device.
RUNNO
– CODESYS recipes and/or Log files
Existing files with the same name will be overwritten. All other
data remain unchanged.
Write access
Restore 1RESTORE_1Loading the CODESYS application from the storage device into
the device.
The following files are loaded from the storage device to the
device:
STOPYES
– All *.app and *.crc files.
– PlcLogic folder
The folder must contain only one application file (*.app).
All other applications on the device are deleted without further
warnings.
The device automatically executes a restart after unplugging the
storage device.
autom.
device
restart
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
63
Page 65
USB Host port functions
FunctionFolder nameDescriptionCODESYS-
program
Restore 2RESTORE_2Loading the CODESYS application and further device from the
storage device into the BLxx-PG-EN-V3.
The following files are loaded from the storage device:
STOPYES
– All *.app and *.crc files.
– PlcLogic folder
– Folder USB_Data
– IP address
– PROFINET device name
– Retain-data (retain.bin)
The folder must contain only one application file (*.app).
All other applications on the device except for the retain data are
deleted without further warnings. The reatin data will only be
overwritten if the storage device contains a newer file.
The device automatically executes a restart after unplugging the
storage device.
Firmware updateFW_UPDATEUpdate of the device firmware. The IP address, the PROFINET
device name and the CODESYS application will not be overwritten.
File name:
BLxx-PG-EN_1234567_Vx.y.z.0.bin
The device automatically executes a restart after unplugging the
storage device.
Write user dataUSB_DATA
_WRITE
Loading the folder "USB_Data"from the storage device into the
device.
Existing files with the same name will be overwritten. All other
data remain unchanged.
STOPYES
STOPYES
autom.
device
restart
64
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 66
6.2.3Executing the functions
BACKUP_1/BACKUP_2
Plug the storage device into the USB Host port.
The RUN-LED flashes with 4 Hz.
The backup is executed.
The RUN-LED flashes orange with 1 Hz.
The backup is completed.
Unplug the storage device.
USB_DATA
Plug the storage device into the USB Host port.
The RUN-LED flashes with 2 Hz.
The data are stored to the storage device.
The RUN-LED flashes orange with 1 Hz.
The storing is completed.
Unplug the storage device.
ORE_1/RESTORE_2
REST
Plug the storage device into the USB Host port.
The RUN-LED flashes with 0.5 Hz.
Press the SET-button within the next 30 seconds for at least 3 seconds.
The RUN-LED flashes in the following order 2x green - pause (1 Hz) - 2 x green- pause (1 Hz) - .
Loading of data is executed.
The RUN-LED flashes orange with 1 Hz. The loading is completed.
Unplug the storage device.
The device is automatically restarted.
FW_UPDATE
Plug the storage device into the USB Host port.
The RUN-LED flashes with 0.5 Hz.
Press the SET-button within the next 30 seconds for at least 3 seconds.
The RUN-LED flashes in the following order 3x green - pause (1 Hz) - 3 x green- pause (1 Hz) - .
Loading of data is executed.
The RUN-LED flashes orange with 1 Hz. The firmware update is completed.
Unplug the storage device.
The device is automatically restarted.
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
65
Page 67
USB Host port functions
USB_DATA_WRITE
Plug the storage device into the USB Host port.
The RUN-LED flashes with 0.5 Hz.
Press the SET-button within the next 30 seconds for at least 3 seconds.
The RUN-LED flashes with 2 Hz. The data are stored to the BLxx-PG-EN-V3.
The RUN-LED flashes orange with 1 Hz. The storing is completed.
Unplug the storage device.
The device is automatically restarted.
6.2.4Behavior of the RUN-LED in case of an error
ErrorDescriptionLED behavior
Timeout– The SET-button has not been pressed within the 30 seconds
after the plugging of the storage device.
Invalid folder
– The storage device contains one folder with an invalid folder
name.
– The storage device contains several folders with valid folder
names.
Empty folder
USB deacti-
vated
– The storage device contains one valid , but empty folder.
– The USB Host function has been deactivated using vie web-
server or CODESYS program.
Red/green flashing (1 Hz)
Red/green flashing (0.5 Hz)
66
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 68
7The web server
7.1Web server - remote access/configuration
7.2Safety in the web server
In the web server, a default-password is assigned to the Turck devices for the administrator access.
We strongly recommend to use an individual password, in order to avoid possible misuse by a
third party!
This should be done in the context of the network security concept for the complete facility in which
the modules are placed.
NOTE
Please change the password as described in Change Admin Password (page 71).
NOTE
The password is transfered as plain text.
7.3IP address
In the delivery status, neither an address nor a PROFINET name is stored in the devices.
In order to be able to access the device via web server, the web server can be opened using the IP
address 192.168.1.254.
If the PC used for the configuration is situated in the same IP network, page
http://192.168.1.254
can be opened in order to initially change some settings.
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
67
Page 69
The web server
7.4Home
The web server's start page shows general device information, network settings, etc.
The „PLC Information“ part contains information concerning the CODESYS program status.
The menu items "Station Diagnostics", "Ethernet Statistics" and "Links" can also be accessed readonly without an administrator access.
68
Fig. 45: Start page of the web server of BL20-PG-EN-V3
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 70
7.5Gateway Diagnostics
Diagnostic messages of the device are displayed on the "Station Diagnostics"-page.
Fig. 46: Diagnostics in the web server
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
69
Page 71
The web server
7.6Ethernet Statistics
The page "Ethernet Statistics" shows information like the port-status, telegram and error counters
etc. The page can above all be useful for analyzing network problems.
7.7Links
Fig. 47: Ethernet Statistics
NOTE
The "Ethernet summarized statistics" contain the statistics for both Ethernet ports.
This page contains for example a link to the product page on the TURCK-homepage.
70
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 72
7.8Login/password
In order to obtain administrator rights and thus full access to the extended functions of the web
server (Network Configuration, Station Configuration, etc.), you have to log-on to the web server as
administrator.
For the first login use the default password "password".
The default-password should be be changed by the administrator. To do so, please follow the
instructions under Change Admin Password (page 71).
NOTE
Executing the „Reset to Factory Defaults“ also resets the password to "password“.
Fig. 48: Web server „password“
7.9Change Admin Password
NOTE
For security aspects when working with the web server, please observe the notes under
Safety in the web server (page 67).
NOTE
The password for the web server is synchronized to the password for the SFTP access.
Changing the web server password also changes the see password for the SFTP access
(page page 36).
Please define an individual password for administrator rights.
Default password: „password“
NOTE
Executing the „Reset to Factory Defaults“ (see also Reset to Factory Defaults (page 74))
also resets the password to "password“.
V01.0| 2016/04
Programmable Gateways BLxx-PG-EN-V3
71
Page 73
The web server
Fig. 49: Change Admin Password
Change password
Change the password for the station in the web server.
Write the changes into the device via "Submit".
Restart the device (voltage reset or pressing the set-button).
The device has accepted the new settings, the settings have become active.
NOTE
"Reset" only resets the changes done in the web server mask back to the original values.
The function does not influence the device itself.
72
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 74
7.10Network Configuration
On the "Network Configuration"-page, network-relevant settings can be changed.
7.10.1Change network parameters (port settings, IP address, etc.)
The device's network settings can be changed under "Network Configuration" only by users having
administrator rights.
NOTE
The access of the web server to the station is only possible, if the station already has an IP
address, Device addressing and operation mode setting (page 19).
After a reset to factory settings, the device can be accessed using the IP address
192.168.1.254. This IP address is not stored permanently in the device.
If the device is set to "ROTARY" mode (Address setting via rotary coding switches
(Static rotary) (page 20)), than the last byte of the IP address can not be changed via the
web server.
V01.0| 2016/04
Fig. 50: Web server with Network Configuration
Change network parameters
Change the network parameters in the web server.
Write the changes into the device via "Submit".
The device has accepted the new settings, the settings have become active.
NOTE
"Reset" only resets the changes done in the web server mask back to the original values.
The function does not influence the device itself.
Programmable Gateways BLxx-PG-EN-V3
73
Page 75
The web server
7.11Gateway Configuration
7.11.1Configuration of the field bus interface
The "Gateway Configuration"-page serves for parameterizing the device's fieldbus interface:
Deactivating the USB Host port or the web server
Assigning a PROFINET device name
7.11.2Reboot
"Reboot" executes a power-cycle at the device.
7.11.3Reset to Factory Defaults
Resets the device to the default settings (factory settings), see also F_Reset (Reset to factory set-
ting) (page 23).
74
Fig. 51: Web server „Gateway Configuration“
Gateway Configuration
Change the configuration in the web server.
Write the changes into the device via "Submit".
The device has accepted the new settings, the settings have become active.
NOTE
"Reset" only resets the changes done in the web server mask back to the original values.
The function does not influence the device itself.
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 76
7.12Slot Parameters
7.12.1Parameterization of the in-/ outputs
The "Parameters"-page is used to parameterize the module's I/O-channels.
NOTE
Parameter changes by the web server are valid in the device until the CODESYS program
is downloaded to the device again, the device is restarted or parameters are changed in
CODESYS by online change.
Fig. 52: Web server „Parameters“
Change parameters
Change the module parameters in the web server.
Write the changes into the device via "Submit".
Restart the device (voltage reset or pressing the set-button).
The device has accepted the new settings, the settings have become active.
NOTE
"Reset" only resets the changes done in the web server mask back to the original values.
The function does not influence the device itself.
Programmable Gateways BLxx-PG-EN-V3
V01.0| 2016/04
75
Page 77
The web server
7.13Using mobile devices
The internal web server has a responsive design. This means, the web functions can also be executed using a mobile device, e.g. a smartphone.
The web content is automatically adapted to the smaller display in order to assure an optimized
web server representation.
The Turck device and the mobile device have to be nodes of the same network. Please assure therefore that the IP addresses of both devices are part of the same subnet (e.g. 255.255.255.0).
In addition to that, a WLAN access has to be available for the mobile device.
Fig. 53: Access to the web server via smartphone
7.14Web server logout
In order to disconnect a logged in user/PC with administrator rights from the web server, a logout
is necessary.
If only the web browser is closed, the last active access is reactivated when opening the web server
again from the same PC, which means, possibly with all administrator rights.
7.15Deactivating the web server
NOTE
If, for safety reasons, the web serves has to be deactivated completely, this is possible via
the device parameters in CODESYS or in the web server itself (see page 74).
If the web server is deactivated using the web server itself, further access to it is only possible following a device reset to the factory settings (see page 74).
76
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
Page 78
D301373 | 2016/06
*D301373ßß1606*
...with 28 subsidiaries
and over 60 representations worldwide!
www.turck.com
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.