All rights reserved, including those of the translation.
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, Mülheim an der Ruhr.
Subject to alterations without notice.
Page 3
Before starting the installation
Disconnect the power supply of the device.
Ensure that devices cannot be accidentally restarted.
Verify isolation from the supply.
Earth and short circuit.
Cover or enclose neighboring units that are live.
Follow the engineering instructions (AWA) of the device
concerned.
Only suitably qualified personnel in accordance with EN 50 110-
1/-2 (VDE 0 105 Part 100) may work on this device/system.
Before installation and before touching the device ensure that
you are free of electrostatic charge.
The functional earth (FE) must be connected to the protective
earth (PE) or to the potential equalization. The system installer is
responsible for implementing this connection.
Connecting cables and signal lines should be installed so that
inductive or capacitive interference do not impair the automation
functions.
Install automation devices and related operating elements in
such a way that they are well protected against unintentional
operation.
Suitable safety hardware and software measures should be
implemented for the I/O interface so that a line or wire breakage
on the signal side does not result in undefined states in the automation devices.
Ensure a reliable electrical isolation of the low voltage for the 24
volt supply. Only use power supply units complying with IEC 60
364-4-41 (VDE 0 100 Part 410) or HD 384.4.41 S2.
Deviations of the mains voltage from the rated value must not
exceed the tolerance limits given in the specifications, otherwise
this may cause malfunction and dangerous operation.
Emergency stop devices complying with IEC/EN 60 204-1 must
be effective in all operating modes of the automation devices.
Unlatching the emergency-stop devices must not cause restart.
Devices that are designed for mounting in housings or control
cabinets must only be operated and controlled after they have
1
Page 4
been installed with the housing closed. Desktop or portable units
must only be operated and controlled in enclosed housings.
Measures should be taken to ensure the proper restart of
programs interrupted after a voltage dip or failure. This should
not cause dangerous operating states even for a short time. If
necessary, emergency-stop devices should be implemented.
Wherever faults in the automation system may cause damage to
persons or property, external measures must be implemented to
ensure a safe operating state in the event of a fault or malfunc
tion (for example, by means of separate limit switches, mechanical interlocks etc.).
The electrical installation must be carried out in accordance with
the relevant regulations (e. g. with regard to cable cross
sections, fuses, PE).
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.
Notes Concerning Planning /Installation of this Product ............................3
Description of Symbols Used............................................................. 4
D301033 1106 BL67-PG-EN0-1
Page 10
About this Manual
Documentation Concept
This manual contains information about the programmable BL67
MODBUS-TCP gateway BL67-PG-EN.
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.
The bus-independent I/O-modules for BL67 as well as all further
fieldbus-independent chapters like mounting, labelling etc. are
described in a separate manual.
BL67 I/O-modules
(TURCK-Documentation-No.: German D300572/
English D300529)
Furthermore, the manual mentioned above contains a short description of the project planning and diagnostics software for TURCK
I/O-systems, the engineering software I/O-ASSISTANT.
D301033 1106 BL67-PG-EN0-2
Page 11
General Information
General Information
Attention
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-EN.
It has been specially conceived for personnel with the necessary
qualifications.
Prescribed Use
Warning
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 troublefree and safe operation of these devices.
Notes Concerning Planning /Installation of this Product
Warning
All respective safety measures and accident protection guidelines
must be considered carefully and without exception.
D301033 1106 BL67-PG-EN0-3
Page 12
About this Manual
Description of Symbols Used
Warning
This sign can be found next to all notes that indicate a source of hazards. This can refer to danger to personnel or damage to the system
(hardware and software) and to the facility.
This sign means for the operator: work with extreme caution.
Attention
This sign can be found next to all notes that indicate a potential
hazard.
This can refer to possible danger to personnel and damages to the
system (hardware and software) and to the facility.
Note
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.
D301033 1106 BL67-PG-EN0-4
Page 13
1BL67 Philosophy
The Basic Concept ............................................................................ 2
– Power Feeding Modules ..........................................................................5
Base Modules..............................................................................................6
End Plate ....................................................................................................7
D301033 1106 BL67-PG-EN1-1
Page 14
BL67 Philosophy
The Basic Concept
BL67 is a modular IP67 I/O-system for use in industrial automation.
It connects the sensors and actuators in the field to the higher-level
master.
BL67 offers modules for practically all applications:
Digital input and output modules
Analog input and output modules
Technology modules (RS232 interface,...)
A complete BL67 station counts as one station on the bus and
therefore occupies one fieldbus address in any given fieldbus structure. A BL67 station consists of a gateway, power distribution
modules and I/O-modules.
The connection to the relevant fieldbus is made via the bus-specific
gateway, which is responsible for the communication between the
BL67 station and the other fieldbus stations.
The communication within the BL67 station between the gateway
and the individual BL67 modules is realized via an internal module
bus.
Note
The gateway is the only fieldbus-dependent module on a BL67 station. All other BL67 modules are not dependent on the fieldbus
used.
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.
D301033 1106 BL67-PG-EN1-2
Page 15
The Basic Concept
Convenient Handling
All BL67 modules, with the exception of the gateway, consist of a
base module and an electronic module.
The gateway and the base modules are either snapped onto a
mounting rail or are directly mounted onto the machine frame. The
electronic modules are plugged onto the appropriate base modules.
After disconnection of the load, the electronic modules can be
plugged or pulled when the station is being commissioned or for
maintenance purposes, without having to disconnect the field wiring
from the base modules.
1
D301033 1106 BL67-PG-EN1-3
Page 16
BL67 Philosophy
BL67 Components
Figure 1:
BL67 station
A gateway
B electronic
module
C base module
B
C
A
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.
Figure 2:
BL67 gateway
D301033 1106 BL67-PG-EN1-4
Page 17
BL67 Components
Figure 3:
electronic
module
Electronic Modules
1
Electronic modules contain the functions of the BL67 modules
(Power Feeding modules, digital and analog input/output modules,
technology modules).
Electronic modules are plugged onto the base modules and are not
directly connected to the wiring. They can be plugged or pulled
when the station is being commissioned or for maintenance
purposes, without having to disconnect the field wiring from the
base modules.
Power Feeding Modules
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.
Power Feeding modules are potentially isolated from the gateway,
the adjoining power supply module and the I/O-modules to the left
side.
Note
For detailed information about the individual BL67 I/O components,
please refer to the chapters 2 to 8 of the manual "BL67- I/O-modules" (TURCK Documentation-No.: German D300572; English:
D300529).
The "Appendix" to the manual mentioned above contains (amongst
others) a list of all BL67 components and the assignment of elec
-
tronic modules to base modules.
D301033 1106 BL67-PG-EN1-5
Page 18
BL67 Philosophy
Figure 4:
example of a base
module
Base Modules
The field wiring is connected to the base modules.
These are available in the following connection variations:
1 x M12, 2 x M12, 2 x M12-P, 4 x M12, 4 x M12-P
4 x M8, 8 x M8
1 x M12-8
1 × M23, 1 x M23-19
1 x 7/8" (for Power Feeding Module)
D301033 1106 BL67-PG-EN1-6
Page 19
BL67 Components
Figure 5:
end plate
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.
1
D301033 1106 BL67-PG-EN1-7
Page 20
BL67 Philosophy
D301033 1106 BL67-PG-EN1-8
Page 21
2Ethernet
System Description ........................................................................... 2
Transmission Media ....................................................................................7
D301033 1106 BL67-PG-EN2-1
Page 22
Ethernet
System Description
Originally developed by DEC, Intel and Xerox (as DIX standard) for
data transmission between office equipment, Ethernet stands for
the IEEE 802.3 CSMA/CD specification published in 1985.
The rapid increase of application and the worldwide use of this technology enables problem-free and above all cost-effective connection to existing networks.
Ethernet MAC-ID
The Ethernet MAC-ID is a 6-byte-value which serves to definitely
identify an Ethernet device. The MAC-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.
A label on the TURCK modules shows the respective MAC-ID.
In addition to that, the MAC-ID can be read out using the software
tool "I/O-ASSISTANT".
IP address
Each Ethernet-host receives its own IP address. In addition to that
the node knows its netmask and the IP address of the default
gateway.
The IP address is a 4-byte-value which contains the address of the
network to which the node is connected as well as the host address
in the network.
The IP address of the gateway BL67-PG-EN is predefined as
follows:
IP address:192.168.1.254
netmask: 255.255.255.0
gateway:192.168.1.1
D301033 1106 BL67-PG-EN2-2
Page 23
System Description
The netmask shows which part of the IP address defines the
network as well as the network class and which part of the IP
address defines the single node in the network.
In the example mentioned above, the first 3 bytes of the IP address
define the network. They contain the subnet-ID 192.168.1.
The last byte of the IP address defines the node’s address within the
network.
Note
In order to build up the communication between a PC and an
Ethernet-module, both have to be nodes of the same network.
If necessary, the nodes’ network addresses have to be adapted one
to another. Please read Chapter 8, „Changing the IP address of a
PC/ network interface card”, page 8-3.
Network Classes
The available networks are divided into the different network classes
A, B, and C.
2
Figure 6:
Network classes
ClassNetwork
addresses
Bytes
for net
address
Bytes for
host
address
No. of the
possible
networks/
hosts
A1.×××.×××.×××-
13126/ 224
126.×××.×××.×××
B128.0.×××.××× -
22214/ 2
16
191.255.×××.×××
C192.0.0.××× -
31221/ 256
223.255.255.×××
According to their predefined address 192.168.1.××× the BL67
gateways are thus nodes of a Class C network.
D301033 1106 BL67-PG-EN2-3
Page 24
Ethernet
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. Data transfer via Ethernet
without any protocol implementation can thus not be absolutely
safe.
In order to assure a safe transmission of data, frame-protocols like
TCP/IP are used.
Figure 7:
Telegram
structure
TCP-
Segment
IP-DATA
IP-
Package
LAYER 7
Modbus etc.
TCP-DATA
TCPHeader
IPHeader
EthernetHeader
EtherNet-DATA
EtherNetPackage
D301033 1106 BL67-PG-EN2-4
Page 25
System Description
IP (Internet Protocol)
The Internet Protocol is a connection-free transport protocol. The
protocol does not use acknowledgement messages, telegrams can
get lost. It is thus not suitable for safe data transfer. The main func
tions of the internet protocol are the addressing of hosts and the
fragmentation of data packages.
TCP (Transmission Control Protocol)
The Transmission Control Protocol (TCP) is a connection-oriented
transport protocol and is based on the Internet Protocol. A safe and
error-free data transport can be guaranteed by means of certain
error diagnostic mechanisms as for example acknowledgement and
time monitoring of telegrams.
MODBUS-TCP
In Ethernet TCP/IP networks, MODBUS-TCP uses the Transport
Control Protocol (TCP) for the transmission of the Modbus applica
tion protocol.
All parameters and data are embedded in the user data of the TCPtelegram using the encapsulation protocol: the client generates a
special header (MBAP = Modbus Application Header), which
enables the server to clearly interpret the received Modbus-para
meters and -commands.
The Modbus protocol is thus part of the TCP/IP-protocol.
The communication via Modbus is realized by means of function
codes embedded in the data telegram.
2
-
-
-
Figure 8:
telegram structure
MODBUS-TCP
The function codes contain, amongst others, commands for reading
input data or writing output data. Please read
Chapter 4, „Implemented Modbus Functions”, page 4-17 for further information about
the function codes implemented in the BL67 gateway.
D301033 1106 BL67-PG-EN2-5
Page 26
Ethernet
Figure 9:
ping-signal
Checking the communication via "ping-signals"
You can check the communication between nodes in a network
using ping-signals in the DOS-prompt of your PC.
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.
ARP (Address Resolution Protocol)
In each TCP/IP-capable computer, ARP serves to clearly assign the
worldwide unique hardware addresses (MAC-IDs) to the single IP
addresses of the network nodes via internal tables.
Using ARP in the DOS-prompt, every node in a network can be
clearly identified via its MAC-ID.
Write a ping command for the respective station/ IP address:
(example: "x:\\ping 192.168.1.100").
D301033 1106 BL67-PG-EN2-6
Page 27
System Description
Via the command "x:\\arp -a" the MAC-ID (00-07-46-ff-60-13)
Figure 10:
Determination of
the MAC-ID of a
BL67 module via
ARP
for this IP address is determined. This MAC-ID clearly identifies
the network node.
2
Transmission Media
For a communication via Ethernet, different transmission media can
be used (see Chapter 7, page 7-4).
D301033 1106 BL67-PG-EN2-7
Page 28
Ethernet
D301033 1106 BL67-PG-EN2-8
Page 29
3Technical Features
General .............................................................................................. 2
Relative humidity 5 up to 95 % (inside), level RH-2, no
condensation (at 45 °C storage
temperature)
Climatic testsaccording to IEC 61131-2
Corrosive gasaccording to IEC 60068-2-42/43
–SO
2
10 ppm (rel. humidity < 75 %, no
condensation)
3
–H2S1.0 ppm (rel. humidity < 75 %, no
condensation)
Resistance to vibrationaccording to EN 61131
– 10 to 57 Hz,constant
yes
amplitude 0.075 mm, 1 g
– 57 to 150 Hz, constant
yes
acceleration 1 g
– Vibration modefrequency cycles with a change rate
of 1 octave/min
D301033 1106 BL67-PG-EN3-7
Page 36
Technical Features
– Vibration duration20 frequency cycles per coordinate
Application conditionsaccording to EN 61131
Shock resistant according to IEC 68-2-27, 18
axis
shocks, semi-sinusoidal 15 g
threshold/11 ms, each in ± direction
per space coordinate
Repetitive shock resistance
Drop and toppleaccording to IEC 68-2-31 and free
– Drop height (weight <
kg)
10
– Drop height (weight 10 to
40 kg)
– Test cycles7
Protection classIP67
Electromagnetic capability (EMC)
Static electricity according to EN 61000-4-2
Air discharge (direct)8 kV
Relay discharge (indirect)
Electromagnetic HF fields according to IEC 61131-2
according to IEC 68-2-29, 1000
shocks, semi-sinusoidal 25 g
threshold/6 ms, each in ± direction
per space coordinate
fall according to IEC 68-2-32
1 m
0.5 m
according to IEC 60529
according to EN 61131-2/
EN 50082-2 (Industrial)
4 kV
Fast transients (Burst)according to IEC 61131-2
Conducted interferences
induced by HF fields
according to IEC 61000-4-6
10 V
Criteria A
D301033 1106 BL67-PG-EN3-8
Page 37
Technical Data
A I/O-line-length
≤
30 m
High energy
transients (Surge) A
voltage supply
according to IEC 61000-4-5
0,5 kV CM, 12 Ω/ 9 µF
0,5 kV DM, 2 Ω/ 18 µF
Criteria B
Reliability
Operational life MTBF min. 120 000 h
Electronics modules pull/
20
plug cycles
Housing materialPC-V0 (Lexan)
Dimensions
Width x length x height
(mm/inch)
64,5 x 145,0 x 77,5 /
2,54 x 5,71 x 3,05
Warning
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 sup
press the disturbance at his own cost.
3
-
D301033 1106 BL67-PG-EN3-9
Page 38
Technical Features
Connection possibilities
Field bus connection
The connection of the BL67 Ethernet gateways to the Ethernet
network is realized via the 4-pole M12 female connector “Ethernet“.
According to PNO- and ODVA-standards, the M12 female
connector is designed as a 4-pole and D-coded connector.
Figure 13:
M12-female
connector
Table 2:
Pin assignment
2
1
4
3
Pin-No.
1TD+Transmission Data +
2RD+Receive Data +
3TD-Transmission Data -
4RD-Receive Data -
D301033 1106 BL67-PG-EN3-10
Page 39
Connection possibilities
Power Supply via 7/8" connector
The power supply is realized via a 7/8" male connector on the
gateway.
Abbildung 14:
power supply via
7/8" male connec
tor
Table 3:
Pin assignment of
the 7/8" power
supply connector
-
2
Pin-
51
4
3
Color7/8"Description
No.
1blackGND
2blueGND
3green/
PEProtective earth
yellow
4brownVI (UB)Feed-in of nominal voltage for input
modules (sensor supply); also used for
the generation of the system supply
voltage
5whiteVO (UL) Feed-in of nominal voltage for output
modules (can be switched off separately)
3
D301033 1106 BL67-PG-EN3-11
Page 40
Technical Features
Connection PS2 female connector
The PS/2 female connector is used for the gateway’s connection to
the I/O-ASSISTANT (project planning and diagnostic software).
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
Commercially available PS/2 cable with adapter cable
Connection with I/O-ASSISTANT-Connection Cable
(IOASSISTANT-ADAPTERKABEL-BL20/BL67; Ident-no.:
6827133)
SUB-D/ PS/2
Figure 15:
BL67-gateway
connected to PC
via special cable
Figure 16:
PS/2 male connector on the
connection cable
to the gateway
(top view)
B
C
A
The I/O-ASSISTANT-cables have a PS/2 male connector (connection for female connector on gateway) and a SUB-D female
connector (connection for male connector on PC).
34
52
61
D301033 1106 BL67-PG-EN3-12
Page 41
Connection possibilities
Figure 17:
9-pole SUB-D
female connector
on the cable for
connecting to PC
(top view)
Figure 18:
Connection between PC and
BL67 gateway via
commercially
available cable
A SUB-D- female
B PS/2-female
<–> PS/2-male
C PS/2-male
54321
9678
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.
B
C
A
3
The following two cables are necessary:
1 x PS/2 cable (PS/2 male connector/PS/2 male connector)
(commercially available keyboard extension cable)
1 x adapter cable (PS/2 female connector/SUB-D female
connector) (commercially available extension cable for a PC
mouse)
Figure 19:
PS/2 female connector on the
gateway (top view)
34
2
5
1
6
D301033 1106 BL67-PG-EN3-13
Page 42
Technical Features
Figure 20:
9-pole SUB-D
male connector
on PC (top view)
Table 4:
Pin assignment
when using PS/2
cable and adapter
A not supported
by all adapter
cables.
12345
6987
Pin assignment
The table below shows the pin assignment when using a PS/2 cable
and adapter:
PS/29-pole serial
interface on PC
PinNo.
Standard PS/2
male connector
BL67 gateway:
PS/2 female
PinNo.
Male connector
connector
1CLK+5 V
4, 6 A DTR, DSR
(from gateway)
2GNDGND5GND
3DATAnot connected––
4n.c. (DATA2)TxD2RxD
5+5 V/CtrlMode7RTS
6n.c. (CLK2)RxD3TxD
D301033 1106 BL67-PG-EN3-14
Page 43
Address Setting
Address Setting
The addressing of BL67-PG-EN can be realized via different modes:
rotary mode (manual addressing via rotary coding-switches)
PGM mode (manual addressing via software)
BootP mode, DHCP mode (automatic addressing via BootP/
DHCP-server at the boot-up of the gateway).
The setting of the address modes is done via the 3 rotary codingswitches at the gateway.
Note
It is not necessary to address the station’s internal module bus.
Attention
The cover of the decimal rotary coding-switches must be closed by
tightening the screw after use.
The seal in the cover must not be damaged or slipped.
The protection class IP67 can only be guaranteed when the cover is
closed correctly.
3
LED-behavior
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.
D301033 1106 BL67-PG-EN3-15
Page 44
Technical Features
Default setting of the gateway
The gateway’s "out of the box"-settings are the following:
IP address192.168.1.254
The gateway can be reset to these default settings by the user at any
time.
To reset the gateway, please set the three coding-switches at the
gateway to "000" followed by a power-on reset.
Figure 21:
Decimal rotary
coding-switches
for the address
setting
After every change of the address-mode, a voltage reset must be
carried out.
x 100
x 10
x 1
D301033 1106 BL67-PG-EN3-16
Page 45
Address Setting
Address setting via the rotary-mode
When using the rotary-mode, the last byte of the gateway’s IP
address can be set via the rotary coding-switches at the gateway.
Figure 22:
Address setting
Note
All other network settings are stored in the module’s non-volatile
EEPROM and can not be changed in the rotary-mode.
Addresses in the range from 0 to 254 can be allocated. The
addresses 0 and 255 are reserved for broadcast messages in the
subnet.
The following example shows the setting of the address 173.
0
1
9
8
8
8
2
100×
3
7
6
4
5
0
1
9
2
×10
3
7
6
4
5
0
1
9
2
×1
3
7
6
4
5
3
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.
Attention
After changing the position of the rotary coding-switches, a voltage
reset must be carried out to store the new address.
D301033 1106 BL67-PG-EN3-17
Page 46
Technical Features
Address setting via BootP-mode
The address setting is carried out by a BootP-server in the network
after the start-up of the gateway.
In order to activate the BootP-mode, the rotary coding-switches
have to be set to "300".
Figure 23:
BootP-mode
0
1
9
8
8
8
2
× 100
3
7
6
4
5
0
1
9
2
×10
3
7
6
4
5
0
1
9
2
×1
3
7
6
4
5
Note
The IP address as well as the default subnet mask assigned to the
gateway by the BootP-server are stored in the gateway’s non-volatile memory.
If the gateway is subsequently switched to rotary- or PGM-mode,
the settings carried out via BootP (IP address, subnet mask, etc) will
be taken from the module’s EEPROM.
D301033 1106 BL67-PG-EN3-18
Page 47
Address Setting
Address setting via DHCP-mode
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".
3
Figure 24:
DHCP-Modus
0
1
9
8
8
8
2
100×
3
7
6
4
5
0
1
9
2
×10
3
7
6
4
5
0
1
9
2
×1
3
7
6
4
5
Note
The IP address as well as the default subnet mask assigned to the
gateway by the DHCP-server are stored in the gateway’s non-vola
tile memory.
If the gateway is subsequently switched to rotary- or PGM-mode,
the settings carried out via DHCP (IP address, subnet mask, etc) will
be taken from the module’s EEPROM.
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 reassigned.
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.
-
D301033 1106 BL67-PG-EN3-19
Page 48
Technical Features
Address setting via PGM-mode
The PGM-mode enables the access of I/O-ASSISTANTs to the
module’s network settings.
In order to activate the PGM-mode, the rotary coding-switches have
to be set to "500".
Figure 25:
PGM-mode
0
1
9
8
8
8
2
100×
3
7
6
4
5
0
1
9
2
×10
3
7
6
4
5
0
1
9
2
×1
3
7
6
4
5
Note
In the PGM-mode, all network settings (IP address, subnet mask,
etc.) are read from the module’s internal EEPROM.
The settings carried out in the rotary-mode are stored in the
module’s non-volatile EEPROM.
D301033 1106 BL67-PG-EN3-20
Page 49
Address Setting
Addressing via PGM-DHCP
The addressing of the BL67 Modbus TCP gateway via PGM-DHCP
is at the moment comparable to the addressing via DHCP (see page
3-19).
3
D301033 1106 BL67-PG-EN3-21
Page 50
Technical Features
Address setting via the software "I/O-ASSISTANT"
The software-tool "I/O-ASSISTANT" enables direct access to the
Ethernet-network via the fieldbus cable.
Naturally, the access to the single station via the service interface at
the gateway is possible as well.
Figure 26:
Interface Ethernet
Figure 27:
Opening the
Address-Tool
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 Address Tool.
Changes in the network-configuration are only accepted in the
PGM-mode (see page 3-20).
D301033 1106 BL67-PG-EN3-22
Page 51
Address Setting
Figure 28:
change
IP address
3
Attention
Please observe that, if the system integrated Windows-firewall is activated, difficulties may occur during the communication between
the gateway and the Address-tool. The firewall may possibly inhibit
the access of the tool on Ethernet.
D301033 1106 BL67-PG-EN3-23
Page 52
Technical Features
SET Button
The SET button on the gateway is used to save the Current Configuration of the station as the Reference Configuration in the
gateway’s non volatile configuration memory.
Note
Please press the SET button for 10 seconds after every change in
the station’s hardware configuration in order to save the Current
Configuration as the Reference Configuration in the Gateway.
D301033 1106 BL67-PG-EN3-24
Page 53
Status Indicators/Diagnostic Messages Gateway
Status Indicators/Diagnostic Messages Gateway
The gateway sends the following diagnostic messages:
undervoltage monitoring for system- and field supply,
monitoring of the station status,
monitoring of the communication via the internal module bus,
monitoring of the communication to Ethernet
monitoring of the gateway status
Diagnostic messages are displayed in two different ways:
via the LEDs
via the respective configuration software
Diagnostic Messages via LEDs
Every BL67 gateway displays the following statuses via LEDs:
2 LEDs for module bus communication (module bus LEDs): GW
IO
and
1 LED for displaying if the gateway/ the program in the gateway
has started:
3 LEDs for monitoring the voltage supply (system, VCC/ inputs,
Vi/ outputs, Vo).
2 LEDs for the Ethernet communication (fieldbus-LEDs): LINK/
ACT and MS.
RUN/STOP
3
D301033 1106 BL67-PG-EN3-25
Page 54
Technical Features
Table 5:
LED-displays
LED StatusMeaningRemedy
GWOffCPU not supplied.–
GreenFirmware active,
–
gateway ready to
operate and transmit
Green,
flashing,
Firmware not active.If LED "IO" red → Firm-
ware download necessary
1 Hz
Green,
flashing,
4 Hz
Red Controller is not
Firmware active,
gateway hardware
defect.
ready, VCC level is
not within the
required range →
possible reasons:
Replace the gateway.
– Check wiring at the
gateway and the voltage
supply.
– Dismount modules
– Replace the gateway.
– too many modules
connected to the
gateway
– short circuit in
connected module
– hardware error in
gateway
D301033 1106 BL67-PG-EN3-26
Page 55
Status Indicators/Diagnostic Messages Gateway
Table 5:
LED-displays
LED StatusMeaningRemedy
IOOffCPU not supplied.– Check the voltage
supply at the gateway.
GreenModule bus is
–
running,
the configured
module bus station
corresponds to the
physically connected
station, communica
-
tion is active.
Green,
flashing
1 Hz
Green,
flashing
4 Hz
Station is in the
I/O-ASSISTANT
Force Mode.
Maximum number of
modules at the
gateway is exceeded.
– Deactivate the
I/O-ASSISTANT Force
Mode.
– Check the number of
modules connected to
the gateway, dismount
modules
Red Controller is not
ready, VCC level is not
within the required
→
range
possible reasons:
– Check wiring at the
gateway and the voltage
supply.
– Dismount modules
– Replace the gateway.
– too many modules
connected to the
gateway
– short circuit in
connected module
– hardware error in
– gateway
3
D301033 1106 BL67-PG-EN3-27
Page 56
Technical Features
Table 5:
LED-displays
LED StatusMeaningRemedy
IORed
flashing,
1 Hz
Non-adaptable modification of the physically connected
station.
– Compare the planned
BL67 station with the
physical station.
– Check the physical
station for defective or
incorrectly fitted elec
tronics modules.
Red
flashing,
4 Hz
no module bus
communication
– At least one module has
to be plugged and has to
be able to communicate
with the gateway.
Red/
green
flashing,
1 Hz
RUN/
OffNo program loaded
STOP
GreenApplication loaded to
Adaptable modification of the physically
connected station;
data transfer possible
into the gateway.
– Check the physical
station for pulled or new
but not planned
modules.
–
–
gateway, program
running.
Green
flashing
Application loaded to
gateway, PLC not yet
– Start the gateway/ the
PLC program.
started or stopped.
-
RedPLC test during
–
gateway start.
VCCOffCPU not supplied– Check the system
supply at the gateway.
GreenModule bus and CPU
–
running
D301033 1106 BL67-PG-EN3-28
Page 57
Status Indicators/Diagnostic Messages Gateway
Table 5:
LED-displays
LED StatusMeaningRemedy
VOOffNo voltage supply.Check the system supply
at the gateway.
Output
supply
ok.
Green
flashing,
– Check the wiring at
the gateway and the
voltage supply.
Undervoltage VO,
system running
Green
– Check the system
supply at the gateway
1 Hz
Green
flashing,
Overvoltage VO,
system running
4 Hz
VIOffNo voltage supply.– Check the wiring of the
voltage supply at the
gateway
Greensensor supply ok.–
Green,
flashing,
1Hz
Green,
flashing,
undervoltage VI,
system running
Overvoltage VI,
system running
– Check the wiring of the
voltage supply at the
gateway
4 Hz
3
RedShort circuit or over-
load at sensor supply
– Automatic restart when
debugging.
→ sensor supply is
switched off
D301033 1106 BL67-PG-EN3-29
Page 58
Technical Features
Table 5:
LED-displays
LED StatusMeaningRemedy
LINK/
OffNo Ethernet link– Check the Ethernet-
ACT
GreenLink, 100 Mbit
Green
flashing
Ethernet Traffic,
100 Mbit
YellowLink, 10 Mbit
Yellow,
flashing
Ethernet Traffic,
Mbit
10
MSGreenDisplays the logical
connection
–
–
–
–
–
connection to a
Master (1. Modbus
TCP- connection)
As soon as an application is downloaded to the BL67-PG-EN, the
programmable gateway simply allows read-only-access to the standard Modbus registers (0×0000h to 0×01FFh, 0×0800h to 0×09FFh).
A write-access is only possible using the Modbus output registers
(register
Note
If no application is loaded to the BL67-PG-EN, the programmable
gateway works as a standard-gateway for MODBUS-TCP.
Note
Some Modbus PLCs and/ or configuration tools do not define
register-number 0×0000h as the starting address according to the
Modbus specification. In this case, the address area may begin with
decimal "1".
0×4400 to 0×47FF, see following table).
4
D301033 1106 BL67-PG-EN4-3
Page 62
Implementation of MODBUS-TCP
Table 6:
Modbus registers
of the gateway
A ro = read only
rw = read write
Address
Access ADescription
(hex.)
0×0000 to
0×01FF
0×0800 to
0×09FF
ropacked process data of inputs
(process data length of modules, see
Table 7: "Data width of the I/O-modules")
rwpacked process data of outputs
(process data length of modules, see
Table 7:"Data width of the I/O-modules")
0×1000 to
rogateway identifier
0×1006
0×100Crogateway status (see Table 8:"Register
100Ch: gateway-status")
0×1010roprocess image length in bit for the intelli-
gent output modules
0×1011roprocess image length in bit for the intelli-
gent input modules
0×1012roprocess image length in bit for the digital
output modules
0×1013roprocess image length in bit for the digital
input modules
0×1017roregister-mapping revision (always 1, if
not, mapping is incompatible with this
description)
D301033 1106 BL67-PG-EN4-4
Page 63
Modbus Registers
A ro = read only
rw = read write
Address
AccessADescription
(hex.)
0×1018 to
0×101A
rogroup diagnostics of I/O-modules 0 to 32
(1 bit per I/O-module)
0×1020rowatchdog, actual time [ms]
0×1120rwwatchdog predefined time [ms]
(default: 0)
0×1121rwwatchdog reset register
0×1130rwmodbus connection mode register
0×1131rwmodbus connection time-out in seconds
(default: 0 = never)
0×113C to
rwmodbus parameter restore
0×113D
0×113E to
rwmodbus parameter save
0×113F
0×2000 to
rwservice-object, request-area
0×207F
0×2080 to
roservice-object, response-area
0×20FF
4
0×2400rosystem voltage U
SYS
[mV]
0×2401roload voltage UL [mV]
0×2405roload current IL [A]
0×27FErono. of entries in actual module list
0×27FFrwno. of entries in reference module list
0×2800 to
0×2840
0×2900 to
rwreference module list (32 × 4 bytes per
module-ID)
roreserved
0×29A0
D301033 1106 BL67-PG-EN4-5
Page 64
Implementation of MODBUS-TCP
A ro = read only
rw = read write
Address
(hex.)
0×2A00 to
0×2A20
0x4000 to
0x43FF
0x4400 to
0x47FF
0×8000 to
0×8400
0×9000 to
0×9400
0×A000 to
0×A400
Access ADescription
roactual module list (32 × 4 bytes per
module-ID)
rwModbus input registers
(SPS application-registers, see also
"Mapping of the Modbus Registers",
page 5-17).
Modbus output registers
Modbus-communication of the programmable gateway with a higher-level
Modbus-client (i.e. PLC or OPC-server).
See also Figure 29:"Mapping the
Modbus registers" orSPS application-
registers, "Mapping of the Modbus
Registers", page 5-17
roprocess data inputs (32 × 64 bytes)
rwprocess data outputs (32 × 64 bytes)
rodiagnostics (32 × 64 bytes)
0×B000 to
0×B400
rwparameters (32 × 64 bytes)
D301033 1106 BL67-PG-EN4-6
Page 65
Structure of the Packed In-/ Output Process Data
Structure of the Packed In-/ Output Process Data
In order to assure a largely efficient access to the process data of a
station, the module data are consistently packed and mapped to a
coherent register area.
The I/O-modules are divided into digital and intelligent modules
(analog modules, serial interfaces).
Both module types are mapped in separate register ranges.
The data mapping always starts with the mapping of the intelligent
modules. Each module occupies as much Modbus registers as
necessary, depending on it’s data width. At least one register is
occupied. A RS232-module, for example, occupies 4 consecutive
registers (8 bytes) in the input and in the output area.
The data byte arrangement is done according to the physical order
in the station, from the left to the right.
The data of the intelligent modules are followed by the data of the
digital modules, also structured according to their physical appearance in the station. The Modbus registers for the digital data are
filled-up up to 16 bit. This means on the one hand that one Modbus
register can contain data of different digital modules and on the
other hand that the data of one digital module can be distributed
over multiple registers. Bit 0 of a digital module is thus not obligatory
located on a word limit.
4
Packed input-process data
input register area: 0000h to 01FFh
0000h 01FFh
intelligent modules,
input data
Note
Independent of the I/O-configuration, an access to all 512 registers
is always possible. Registers that are not used send "0".
D301033 1106 BL67-PG-EN4-7
digital input
modules
status/
diagnosis
free
Page 66
Implementation of MODBUS-TCP
Status/ diagnosis
The area "status/diagnosis" comprises a maximum of 9 registers.
The first register contains a common gateway-/station-status.
The following registers (max. 8) contain a group diagnostic bit for
each I/O-module which shows whether a diagnostic message is
pending for the relevant module or not.
Status/ diagnosis
n + 0000h n + 0008h
gateway status
(Reg. 100Ch)
Packed output process data
output register area: 0800h to 09FFh
0800h 09FFh
intelligent modules,
output data
Note
Independent of the I/O-configuration, an access to all 512 registers
is always possible. Registers that are not used send "0" answering
a read access, write accesses are ignored.
group diagnosis I/O-modules 0...127
(registers 1018h to 101Fh)
digital output datafree
D301033 1106 BL67-PG-EN4-8
Page 67
Data Width of the I/O-Modules in the Modbus-Register Area
Data Width of the I/O-Modules in the Modbus-Register Area
The following table shows the data width of the BL67 I/O-modules
within the modbus register area and the type of data alignment.
Table 7:
Data width of the
I/O-modules
ModuleProcess
input
Process
output
Alignment
– digital inputs
BL67-4DI-x4 bit-bit by bit
BL67-8DI-x8 bit-bit by bit
– digital outputs
BL67-4DO-x-4 bitbit by bit
BL67-8DO-x-8 bitbit by bit
BL67-16DO-x-16 bitbit by bit
–analog inputs
BL67-2AI-x2 wordsword by word
– analog outputs
BL67-2AO-x2 wordsword by word
– technology modules
BL67-1RS×××4 words4 wordsword by word
BL67-1SSI4 words4 wordsword by word
4
BL67-1CVI4 words4 wordsword by word
D301033 1106 BL67-PG-EN4-9
Page 68
Implementation of MODBUS-TCP
Register 100Ch: "Gateway-Status"
This register contains a general gateway-/ station-status.
Table 8:
Register 100Ch:
gateway-status
BitNameDescription
Gateway
15I/O Controller ErrorThe communication controller for
the I/O-system is faulty.
14Force Mode Active
The Force-Mode it activated.
Error
The state of the outputs may no
longer accord to the settings made
via the fieldbus.
13reserved-
12Modbus Wdog ErrorA time-out in the Modbus commu-
nication occurred.
Module bus
11I/O Cfg Modified ErrorThe I/O-configuration has been
changed and is now incompatible.
10I/O Communication
Lost Error
No communication on the I/Omodule bus.
D301033 1106 BL67-PG-EN4-10
Page 69
Data Width of the I/O-Modules in the Modbus-Register Area
BitNameDescription
Voltage errors
9VI too low System supply voltage too low
(< 18 VDC).
8VI too high System supply voltage too high
(> 30 VDC).
7VO too low Load voltage too low (< 18 VDC).
6VO too highLoad voltage too high (> 30 V).
4
5I
too highOverload of the system voltage
sys
4reserved-
Warnings
3I/O Cfg Modified
Warning
0I/O Diags Active
Warning
supply.
At least one I/O-module sends
active diagnostics.
D301033 1106 BL67-PG-EN4-11
Page 70
Implementation of MODBUS-TCP
Register 1130h: "Modbus-connection-mode"
This register defines the behavior of the Modbus connections:
Table 9:
register 1130h:
Modbus-Connec
tion-Mode
BitNameDescription
15 to 2 reserved
-
1MB_ImmediateWritePermission
– 0: With the first write access, a write authorization for the
respective Modbus-connection is requested. If this
request fails, an exception response with exception-code
01h is generated. If the request is accepted, the write
access is executed and the write authorization remains
active until the connection is closed.
– 1:The write authorization for the respective Modbus-
connection is already opened during the establishment of
the connection. The first Modbus-connection thus
receives the write authorization, all following connections
don’t (only if bit 0 = 1).
0MB_OnlyOneWritePermission
– 0: all Modbus-connections receive the write authorization
– 1: only one Modbus-connection can receive the write
permission. A write permission is opened until a Discon
nect. After the Disconnect the next connection which
requests a write access receives the write authorization.
-
Register 1131h: "Modbus-connection time-out"
This register defines after which time of inactivity a Modbusconnection is closed through a Disconnect.
Register 0×113C and 0×113D:
"Restore Modbus-connection parameter"
Registers 0×113C and 0×113D serve for resetting the parameterregister 0×1120 and 0×1130 to 0×113B to the default settings.
D301033 1106 BL67-PG-EN4-12
Page 71
Data Width of the I/O-Modules in the Modbus-Register Area
For this purpose, write "0×6C6F" in register 0×113C. To activate the
reset of the registers, write "0×6164" ("load") within 30 seconds in
register 0×113D.
Both registers can also be written with one single request using the
function codes FC16 and FC23.
The service resets the parameters without saving them. This can be
achieved by using a following "save" service.
Register 0×113E and 0×113F:
"Save Modbus-connection parameters"
Registers 0×113E and 0×113F are used for the non-volatile saving
of parameters in registers 0×1120 and 0×1130 to 0×113B.
For this purpose, write "0×7361" in register 0×113E. To activate the
saving of the registers, write "0×7665" ("save") within 30 seconds in
register 0×113F.
Both registers can also be written with one single request using the
function codes FC16 and FC23.
4
D301033 1106 BL67-PG-EN4-13
Page 72
Implementation of MODBUS-TCP
The Service-Object
The service-object is used to execute one-time or acyclic services.
It is an acknowledge service which may serve, for example, to
parameterize an I/O-module.
2000h 2080h20FFh
service request areaservice response area
The service request area allows write access, the service response
area only read access.
Service request area
2000h 2001h 2002h 2003h 2004h2005h 20FFh
service
no.
The register service no. in the request area can contain a user
defined value which is deleted after the execution of the service.
The register service code specifies which service is requested.
The register index/addr is optional and the meaning depends on
the particular service.
The register data-reg-count contains, depending on the service,
the number (0 to 122) of the transferred or of the requested data
registers.
Depending on the service, the optional data area can contain additional parameters and/or other data to be written.
Service response area
2080h2081h 2082h 2083h 2084h2085h 20FFh
service
no.
reservedservice
code
resultservice
code
index/
addr
index/
addr
dataregcount
dataregcount
optional data
(0 to122 registers)
optional data
(0 to 122 registers)
D301033 1106 BL67-PG-EN4-14
Page 73
The Service-Object
After the execution of a request, the registers service-no., service
code
values in the request area.
Note
The service no. is thus used for a simple handshake on the application level. The application increases the service no. with every request. The service is blocked, until the service number in the request
area matches the service number in the response area.
The register result shows whether the execution was successful or
not.
The register data-reg-count contains the number of data registers
(0 to 122).
The optional Data area can contain, depending on the service, the
requested data.
Supported service numbers::
and index/addr in the response area contain a copy of the
4
Table 10:
Supported service
numbers:
Service codeMeaning
0×0000no function
0×0003indirect reading of registers
0×0010indirect writing of registers
A service request may have the following results:
Table 11:
results of the
service request
Service codeMeaning
0×0000error free execution of service
0×FFFEservice parameters
incorrect/ inconsistent
0×FFFFservice code unknown
D301033 1106 BL67-PG-EN4-15
Page 74
Implementation of MODBUS-TCP
Note
The services "indirect reading of registers" and "indirect writing of
registers " offer an additional possibility to access any Modbus
register.
Current Modbus-masters support only a limited number of registerareas that can be read or written during the communication with a
Modbus-server. These areas can not be changed during operation.
In this case, the services mentioned above enables non-cyclic access to registers.
"Indirect reading of registers"
1 to 122 (Count) Modbus-registers are read, starting with address
x (Addr).
service-request
2000h2001h 2002h 2003h 2004h 2005h 207Fh
service
no.
service-response
2080h2081h 2082h 2083h 2084h 2085h 20FFh
service
no.
"Indirect writing of registers"
1 to 122 (Count) Modbus-registers are written, starting with address
x (Addr).
service-request
2000h2001h 2002h 2003h 2004h 2005h 207Fh
service
no.
0x0000 0x0003 AddrCountreserved
result0x0003 AddrCountregister contents
0x0000 0x0010 AddrCountregister contents
D301033 1106 BL67-PG-EN4-16
Page 75
The Service-Object
service-response
2080h2081h 2082h 2083h 2084h 2085h 20FFh
service
no.
result0x0010 AddrCountreserved
4
D301033 1106 BL67-PG-EN4-17
Page 76
Implementation of MODBUS-TCP
Mapping: Input-Discrete- and Coil-Areas
Function codes FC1 ("Read Coils"), FC2 ("Read Discrete Inputs"),
FC 5 ("Write Single Coil") and FC15 ("Write Multiple Coils") allow
single-bit access to in- and output data.
The data mapping in these areas is the following:
Mapping: input-discrete-area
All digital inputs are stored in this area (offset "0").
Mapping: Coil-area
All digital outputs are stored in this area (offset "0").
Note
In addition to that, digital in- and outputs can also be accessed via
the packed process data, page 4-7 within the Modbus registers of
the gateway.
In the Modbus registers, the digital I/O data are stored with a variable offset, depending on the station’s I/O-configuration.
D301033 1106 BL67-PG-EN4-18
Page 77
Mapping the Modbus Registers
Mapping the Modbus Registers
Figure 29:
Mapping the
Modbus registers
PC or PLCBL67-PG-EN
MODBUS registers
Inputs:
Read only access
4000
hex
4001
hex
4002
hex
4003
hex
...
43FF
hex
MODBUS registers
Outputs:
Read and write access
4400
hex
4401
hex
4402
hex
4403
hex
...
47FF
hex
BL67-registers
4
Output register 0
Output1register
Output2register
Output3register
...
Output1023register
Input0register
Input1register
Input2register
Input3register
...
Input1023register
D301033 1106 BL67-PG-EN4-19
Page 78
Implementation of MODBUS-TCP
Implemented Modbus Functions
The BL67 gateway for Ethernet supports the following functions for
accessing process data, parameters, diagnostics and other
services.
Table 12:
Implemented
functions
Function Codes
No. Function
Description
1Read Coils
Serves for reading multiple output bits.
2Read Discrete InputS
Serves for reading multiple input bits
3Read Holding Registers
Serves for reading multiple output registers
4Read Input Registers
Serves for reading multiple input registers
5Write Single Coil
Serves for writing single output bits
6Write Single Register
Serves for writing single output registers
15Write Multiple Coils
Serves for writing multiple output bits
16Write Multiple Registers
Serves for writing multiple output registers
23Read/Write Multiple Registers
Serves for reading and writing multiple registers
D301033 1106 BL67-PG-EN4-20
Page 79
Parameters of the Modules
Parameters of the Modules
Digital input modules
BL67-4DI-PD
Table 13:
Module
parameters
A Defaultsetting
Byte BitParameter
name
00 to 3input filter
channel 0 to 3
Value
– Meaning
0 = deactivate A:
– input filter: 0,25 ms.
4
1 = activate:
– input filter: 2,5 ms
10 to 3digital input
channel 0 to 3
0 = normal A:
– input signal not inverted.
1 = inverted:
– input signal inverted, conver-
sion of the effective signal direction for sensors
20, 1 operation mode
group 1/ 2
0 = normal
1 = open circuit monitoring
Group A (channel 0 and 2)
Group B (channel 2 and 3).
D301033 1106 BL67-PG-EN4-21
Page 80
Implementation of MODBUS-TCP
BL67-8DI-PD
Table 14:
Module
parameters
A Defaultsettings
Byte BitParameter
name
00 to 7input filter
channel 0 to 7
Value
– Meaning
0 = deactivate A:
– input filter: 0,25 ms.
1 = activate:
– input filter: 2,5 ms
10 to 7digital input
channel 0 to 7
0 = normal A:
– input signal not inverted.
1 = inverted:
– input signal inverted, conver-
sion of the effective signal direction for sensors
20, 1,
operation mode
2, 3
group 1 to 4
0 = normal
1 = open-circuit monitoring:
Group A (channel 0 and 4)
Group B (channel 1 and 5)
Group C (channel 3 and 6)
Group D (channel 4 and 7).
D301033 1106 BL67-PG-EN4-22
Page 81
Parameters of the Modules
Analog input modules
BL67-2AI-I (1 byte parameter per channel)
Table 15:
Module
parameters
A Defaultsettings
Table 16:
Module
parameters
A Defaultsettings
Byte BitParameter
name
0/10 current mode0 = 0...20 mA A
1value
representation
Value
– Meaning
4
1 = 4...20 mA
0 = Integer (15 bit + sign) A
1 = 12 bit (left justified)
2 diagnosis0 = activate A
1 = deactivate
3 channel0 = activate A
1 = deactivate
BL67-2AI-V (1 byte parameter per channel)
Byte BitParameter
name
Value
– Meaning
0/10 voltage mode0 = 0...10 V A
1value
representation
1 = -10...+10 V
0 = Integer (15 bit + sign) A
1 = 12 bit (left justified)
2 diagnosis0 = activate A
1 = deactivate
3 channel0 = activate A
1 = deactivate
D301033 1106 BL67-PG-EN4-23
Page 82
Implementation of MODBUS-TCP
BL67-2AI-PT (2 byte parameter per channel)
Table 17:
Module
parameters
A Defaultsettings
Byte BitParameter
name
0/20 mains
suppression
1value
representation
Value
– Meaning
0 = 50 Hz A
0 = 60 Hz
0 = Integer (15 bit + sign) A
1 = 12 bit (left justified)
2 diagnosis0 = release A
1 = block
3 channel0 = activate A
1 = deactivate
7 to 4element0000 = PT100, -200...850 °CA
0001 = PT100, -200...150 °C
0010 = NI100, -60...250 °C
0011 = NI100, -60...150 °C
0100 = PT200, -200...850 °C
0101 = PT200, -200...150 °C
0110 = PT500, -200...850 °C
0111 = PT500, -200...150 °C
1000 = PT1000, -200...850 °C
1001 = PT1000, -200...150 °C
1010 = NI1000, -60...250 °C
1011 = NI1000, -60...150 °C
1100 = resistance, 0...100 Ω
1101 = resistance, 0...200 Ω
1110 = resistance, 0...400 Ω
1111 = resistance, 0...1000 Ω
1/30measurement
mode
0 = 2-wire A
1 = 3-wire
D301033 1106 BL67-PG-EN4-24
Page 83
Parameters of the Modules
BL67-2AI-TC (2 byte parameter per channel)
Table 18:
Module
parameters
A Defaultsettings
Byte BitParameter
name
0/10 mains
suppression
1value
representation
Value
– Meaning
0 = 50 Hz A
0 = 60 Hz
0 = Integer (15 bit + sign) A
1 = 12 bit (left justified)
4
2 diagnosis0 = release A
1 = block
3 channel0 = activate A
1 = deactivate
7 to 4element0000 = type K, -270...1370 °CA
0001 = type B, +100...1820 °C
0010 = type E, -270...1000 °C
0011 = type J, -210...1200 °C
0100 = type N, -270...1300 °C
0101 = type R, -50...1760 °C
0110 = type S, -50...1540 °C
0111 = type T, -270...400 °C
1000 = ± 50 mV
1001 = ± 100 mV
1010 = ± 500 mV
1011 = ± 1000 mV
... reserved
D301033 1106 BL67-PG-EN4-25
Page 84
Implementation of MODBUS-TCP
BL67-4AI-V/I (1 byte parameter per channel)
Table 19:
Module
parameters
A Defaultsettings
Byte BitParameter
name
Value
– Meaning
0 to 3 0 range0 = 0...10 V/ 0...20 mA A
1value
representation
1 = -10...+10 V/ 4...20 mA
0 = Integer (15 bit + sign) A
1 = 12 bit (left justified)
2 diagnosis0 = release A
1 = block
3 channel 0 = activate A
1 = deactivate
4operation mode 0 = voltage A
1 = current
D301033 1106 BL67-PG-EN4-26
Page 85
Parameters of the Modules
Digital output modules
BL67-16DO-0.1A-P
Tabelle 20:
Module parameters
A defaultsettings
Byte BitParameter
name
0 0 Open circuit
current LSB
(Channel 0 to 7)
1 + 2reserved
3 Open circuit
current MSB
(Channel 8 to
15)
4Short-circuit
current LSB
(Channel 0 to 7)
5 + 6reserved
7Short-circuit
current MSB
(Channel 8 to
15)
Value
– Meaning
0 to 12 A
– current below which an open
circuit diagnosis is generated:
"Value" × 10 mA
0 to 12 A
– current below which an open
circuit diagnosis is generated:
"Value" × 10 mA
0 A to 12
– current above which a short-
circuit diagnosis is generated:
"Value" × 10 mA.
0 A to 12
– current above which a short-
circuit diagnosis is generated:
"Value" × 10 mA.
4
10DiaOverCur0 = short-circuit diagnosis off
1 = short-circuit diagnosis on A
1DiaOpeLoa0 = open circuit diagnosis off A
1 = open circuit diagnosis on
2 to 7reserved
D301033 1106 BL67-PG-EN4-27
Page 86
Implementation of MODBUS-TCP
Analog output modules
BL67-2AO-I
Table 21:
Module
parameters
A Defaultsettings
Byte BitParameter
name
Value
– Meaning
0 0 current mode0 = 0...20 mA A
1value
representation
1 = 4...20 mA
0 = Integer (15 bit + sign) A
1 = 12 bit (left justified)
2reserved
3 channel 0 = activate A
1 = deactivate
4 to 7reserved
1substitute value
low byte
2substitute value
high byte
The substitute value will be transmitted if the respective parameters
of the gateway have been set to
"output substitute value".
D301033 1106 BL67-PG-EN4-28
Page 87
Parameters of the Modules
BL67-2AO-V
Table 22:
Module
parameters
A Defaultsettings
Byte BitParameter
name
Value
– Meaning
0 0 voltage mode0 = 0...10 V A
1value
representation
1 = -10...+10 V
0 = Integer (15 bit + sign) A
1 = 12 bit (left justified)
4
2reserved
3 channel 0 = activate A
1 = deactivate
4 to 7reserved
1substitute value
low byte
2substitute value
high byte
The substitute value will be transmitted if the respective parameters
of the gateway have been set to
"output substitute value".
D301033 1106 BL67-PG-EN4-29
Page 88
Implementation of MODBUS-TCP
Digital combi modules
BL67-4DI4DO-PD
Table 23:
Module
parameters
A Defaultsettings
Byte BitParameter
name
00 to 3input filter
channel 0 to 3
Value
– Meaning
0 = deactivate A:
– input filter: 0,25 ms.
1 = activate:
– input filter: 2,5 ms
10 to 3digital input
channel 0 to 3
0 = normal A:
– input signal not inverted.
1 = inverted:
– input signal inverted, conver-
sion of the effective signal direction for sensors
20 to 3 output at
overcurrent
channel 4 to 7
0 = automatic recovery A:
– the output switches-on auto-
matically after a short-circuit
1 = controlled recovery:
– the output is manually
switched-off and on again.
D301033 1106 BL67-PG-EN4-30
Page 89
Parameters of the Modules
BL67-8XSG-PD
Table 24:
Module
parameters
A Defaultsettings
Byte BitParameter
name
00 to 7input filter
channel 0 to 7
Value
– Meaning
0 = deactivate A:
– input filter: 0,25 ms.
4
1 = activate:
– input filter: 2,5 ms
10 to 7digital input
channel 0 to 7
0 = normal A:
– input signal not inverted.
1 = inverted:
– input signal inverted, conver-
sion of the effective signal direction for sensors
Constant setting:
– The diagnosis messages are set
in Byte 6 of the process input data
(independent of "diagnostic").
Byte 6 of the process output data
contains two bits which may set
to flush the transmit- or the
receive-buffer.
– Byte 7 contains the status- or the
control-byte.
– Bytes 0 to 5 contain the user data.
7 diagnosis 0 = release A
1 = block
D301033 1106 BL67-PG-EN4-32
Page 91
Parameters of the Modules
A Default-
settings
Byte BitParameter
name
10stop bits0 = 1 bit A
Value
– Meaning
1 = 2 bit
2,1parity00 = none
4
01 = odd A
– The number of the bits set (data
bits and parity bit) is odd.
10 = even
– The number of the bits set (data
bits and parity bit) is even.
3data bits0 = 7 A
– The number of data bits is 7.
1 = 8
– The number of data bits is 8.
5,4data flow
control
00 = none A
– the data flow control is deacti-
vated
01 = XON/XOFF
– Software-Handshake
(XON/XOFF) is activated
10 = RTS/CTS
– Hardware-Handshake
(RTS/CTS) is activated.
7,6reserved
2XON-characterThis character is used to start the
data transfer of the data terminal
device (DTE) when the softwarehandshake is activated
3XOFF-characterThis character is used to stop the
data transfer of the data terminal
device (DTE) when the softwarehandshake is activated
Constant setting:
– The diagnosis messages are set
in Byte 6 of the process input data
(independent of "diagnostic").
Byte 6 of the process output data
contains two bits which may set
to flush the transmit- or the
receive-buffer.
– Byte 7 contains the status- or the
control-byte.
– Bytes 0 to 5 contain the user data.
D301033 1106 BL67-PG-EN4-34
Page 93
Parameters of the Modules
A Default-
settings
Byte BitParameter
name
07 diagnosis 0 = release A
Value
– Meaning
1 = block
10stop bits0 = 1 bit A
4
1 = 2 bit
2,1parity00 = none
01 = odd A
– The number of the bits set (data
bits and parity bit) is odd.
10 = even
– The number of the bits set (data
bits and parity bit) is even.
3data bits0 = 7 A
– The number of data bits is 7.
1 = 8
– The number of data bits is 8.
D301033 1106 BL67-PG-EN4-35
Page 94
Implementation of MODBUS-TCP
BL67-1SSI
Table 27:
Module
parameters
A Defaultsettings
Byte BitParameter
name
Value
– Meaning
0 4 to 0reserved
5Encoder data
cable test
0 = activate A
– ZERO test of data cable.
0 = deactivate
– After the last valid bit, a ZERO
test of the data cable is not
carried out.
7,6reserved
13 to 0Number of
invalid bits
(LSB)
0000 to 1111:
Number of invalid bits on the LSB
side of the position value supplied
by the SSI encoder. The meaningful
word width of the position value
transferred to the module bus
master is as follows:
SSI_FRAME_LEN INVALID_BITS_MSB INVALID_ BITS_LSB.
The invalid bits on the LSB side are
removed by shifting the position
value to the right, starting with the
LSB.(Default 0 bit = 0x 0).
INVALID_BITS_MSB
+INVALID_BITS_LSB must always
be less than SSI_FRAME_LEN.
D301033 1106 BL67-PG-EN4-36
Page 95
Parameters of the Modules
A Default-
settings
Byte BitParameter
name
16 to 4Number of
invalid bits
(MSB)
Value
– Meaning
Number of invalid bits on the MSB
side of the position value supplied
by the SSI encoder. The meaningful
word width of the position value
4
transferred to the module bus
master is as follows:
SSI_FRAME_LEN INVALID_BITS_MSB INVALID_BITS_LSB.
The invalid bits on the MSB side are
zeroed by masking the position
value. INVALID_BITS_MSB +
INVALID_BITS_LSB must always
be less than SSI_FRAME_LEN.
Default: 0 = 0hex