Professional Documents
Culture Documents
Digi One IAP Ethernet Serial Interface Reference Guide PMDOC-X194-En-900
Digi One IAP Ethernet Serial Interface Reference Guide PMDOC-X194-En-900
Reference Guide
December 2016
PMDOC-X194-en-900A
R900.1
Release 900.1
Notices, Copyright, and Trademarks Digi One IAP Ethernet Serial Interface Reference Guide
Honeywell Oy
Viestikatu 1-3
FIN-70600 Kuopio, Finland
Phone +358 20 752 2000
Telefax +358 20 752 2400
http://www.honeywell.fi
The Experion PKS with PMD Controller Digi One IAP Ethernet Serial Interface Reference Guide
provides information about the Digi One IAP serial device server hardware installation, device
server configuration, and hardware troubleshooting for communication applications of the PMD
Controller.
References
The following table provides the list of documents that are source of reference, for content
discussed in this publication.
Document Title
Finland
Mail: Honeywell Oy
GTAC P3-DCS
Navitas 1, B-block, 4.kerros
Wredenkatu 2
FI-78250 Varkaus, Finland
Phone: +358 20 752 2000
Email: DL HPS_Q_GTAC_P3_DCS
Elsewhere
Call your nearest Honeywell office
World Wide Web
You can find the Experion PKS with PMD Controller documents
on the Honeywell Process Solutions website at
https://www.honeywellprocess.com and on the Finland Intranet
at
http://fi06.europe.honeywell.com/products/Experion/document
ation/Default.htm.
Tables
Figures
Figure 1: Ethernet Serial Interface connections ............................................................................................................ 9
Figure 2: Device Server ................................................................................................................................................. 10
Figure 3: Mount device server ..................................................................................................................................... 14
Figure 4: PMD Controller cabinet ................................................................................................................................ 15
Figure 5: Device Server in PMD Controller cabinet .................................................................................................. 16
Figure 6: Device server connection.............................................................................................................................. 17
Figure 7: Serial interface................................................................................................................................................ 18
Figure 8: Serial interface type ....................................................................................................................................... 18
Figure 9: RS-232 DIP switch settings ........................................................................................................................... 19
Figure 10: Terminal block wiring without hardware handshaking ........................................................................ 19
Figure 11: Terminal block wiring with hardware handshaking ............................................................................. 20
Figure 12: RS-422/485-4 DIP switch settings ............................................................................................................. 21
Figure 13: Wiring when the signal ground lead and the cable shield are separate .............................................. 21
Figure 14: Wiring without a separate signal ground lead ........................................................................................ 21
Figure 15: RS-485-2 DIP switch settings ..................................................................................................................... 22
Figure 16: Wiring with cable shield grounded at the other end of the cable......................................................... 22
Figure 17: Wiring where the device requires half-duplex transmission ................................................................ 22
Figure 18: RS-422/485 4-wire bus with one master and three slaves ..................................................................... 23
Figure 19: RS-485 2-wire bus with four nodes ........................................................................................................... 23
Figure 20: Wired using bus topology .......................................................................................................................... 23
Figure 21: Power input .................................................................................................................................................. 24
Figure 22: Reset button.................................................................................................................................................. 37
NOTE! In this document, the term device server refers to the Digi One IAP serial device
server.
FC Device Servers
Fixed Cat5 cabling < 90 m
PDS
> 50 mm
> 50 mm
A B
NOTE! The terminal block has removable bridges connecting the signal ground (5-6)
and cable shield (11-12) to the Protective Earth (PE) in the cabinet. This bridge must be
removed if the grounding is done elsewhere.
1 5
1 9 6 9
Screw terminal DB-9M connector DIP switches
The serial interface type is selected using the DIP switches. The DIP switch 4 connects
the RS-422/485 termination resistor.
ON ON ON
1 2 3 4 1 2 3 4 1 2 3 4
2.5.1 RS-232
DIP switch settings
ON
1 2 3 4
3 1
TxD RxD
4 2
6 3
RxD TxD
7 4
DSR
5 5
GND GND
8 6 7
CTS
9 8
DCD
1 9
RTS
2 10
DTR
11
12
3 1
TxD RxD
4 2
6 3
RxD TxD
7 4
DSR
5 5
GND GND
8 6 7
CTS DTR/RTS
9 8
DCD
1 9
RTS
2 10
DTR CTS/DSR
11
12
2.5.2 RS-422/RS-485
Use shielded twisted-pair cable particularly designed for data transmission. The
recommended cables are 0.2–0.3 mm2 stranded (flexible) cable or 0.5 mm2 solid wire
cable. One pair of the cable is used for one signal (TxD+/– and RxD+/–). The "+" lead of
the pair is connected to the "+" connector at both ends, and "–" lead of the pair is
connected to the "–" connector.
The EIA/TIA-485 specification labels the data wires "A" and "B", but usually
manufacturers label their wires "–" and "+". Additionally, separate driver (transmitter)
and receiver leads are labeled as A, B, A', and B'.
The RS-422/485 equivalent of these signals is as follows:
A = TxD– A' = RxD–
B = TxD+ B' = RxD+
The Table 5 provides information about the maximum length of a shielded, low
capacitance cable allowed in a noise-free environment.
1 2 3 4
3 1
TxD + RxD +
4 2
TxD – RxD –
6 3
RxD + TxD +
7 4
RxD – TxD –
5 5
GND GND
8 6 7
CTS +
9 8
CTS –
1 9
RTS +
2 10
RTS –
11
12
Figure 13: Wiring when the signal ground lead and the cable shield are separate
If the signal ground and/or cable shield is grounded at the other end of the cable,
remove the related bridge(s) 5-6 and/or 11-12.
The Figure 14 illustrates wiring without a separate signal ground lead.
Digi One Screw Terminal
IA RealPort terminal block
3 1
TxD + RxD +
4 2
TxD – RxD –
6 3
RxD + TxD +
7 4
RxD – TxD –
5 5
GND GND
8 6 7
CTS +
9 8
CTS –
1 9
RTS +
2 10
RTS –
11
12
1 2 3 4
3 1
TxD + TxD/RxD +
4 2
TxD – TxD/RxD –
6 3
RxD +
7 4
RxD –
5 5
GND GND
8 6 7
CTS +
9 8
CTS –
1 9
RTS +
2 10
RTS –
11
12
Figure 16: Wiring with cable shield grounded at the other end of the cable
The Figure 17 illustrates a wiring example, where the other device requires a half-duplex
transmission flow control to turn off its transmitter while the device server is
transmitting.
3 1
TxD + TxD/RxD +
4 2
TxD – TxD/RxD –
6 3
RxD +
7 4
RxD –
5 5
GND GND
8 6 7
CTS +
9 8
CTS –
1 9
RTS + + Half duplex
2 10
RTS – – flow control
11
12
The RS-422/RS-485 termination resistor must be connected to the last receiver of the
cable.
The Figure 18 illustrates a RS-422/485 4-wire bus with one master and three slaves.
Figure 18: RS-422/485 4-wire bus with one master and three slaves
The Figure 19 illustrates RS-485 2-wire bus with four nodes.
is off. For more information about Ethernet cabling, refer to the Experion PKS with PMD
Controller Network Planning and Design Guide.
NOTE! Note down the MAC address of the device server. You can find the MAC
address on the label of the device driver.
You can configure the IP address using one of the following methods.
Use the Digi Port Authority-Remote utility program.
Update the ARP table on the computer and then ping the Digi device (called
ARP-Ping).
Use set config command from command line.
NOTE! The IP address and the subnet mask can be changed using the web browser. Do
not use this method for IP address configuration. When attached to the network, the
device may obtain a random IP address from the DHCP server. In such case, ARP-Ping
method cannot be used.
5. Verify the MAC address of the discovered device server and select a correct device
for configuration.
6. Select a device from the list, and click Configure. If the device already has an IP
address, the web browser appears. Continue the configuration as described in the
section Configure network addresses using the web browser.
7. If the device has an IP address 0.0.0.0, the Assign IP dialog box appears.
8. In the IP address box, Subnet box, and Gateway box, type the IP address, subnet
mask, and default gateway, and then click OK.
The DPA-Remote configures the settings to the device server.
NOTE! The subnet mask and gateway addresses must be configured using the web
browser. For more information, refer to the section Configure network addresses
using the web browser.
NOTE! The default gateway is not necessary for communication inside the device's
subnet, but it is required if you want to access the device server from other subnet.
NOTE! This guide covers only Modbus RTU and user-defined protocols, as these are
supported by the PMD Controller communication software.
If you do not configure any protocol to the device server, select "Printer" as the serial
device type. In this mode the data flow is "bytes out, bytes in". Bytes or characters
received from the serial interface are sent to the network after a delay (latency) of a few
milliseconds, causing several network packets to be sent for one serial communication
protocol message. When a communication protocol is added to the device server, it can
detect the message structure from the incoming byte stream and transmit the whole
message to the network as one packet. This minimizes the network load and latency
time. Additionally, the device server maintains counters of successful messages, failed
messages, timeouts, and so on for maintenance purposes.
A user-defined protocol means that a starting string (byte or byte sequence) and an
ending string of a message can be entered to the device server. For example, if the
communication protocol consists of text lines ending with carriage return and line feed
characters (CR + LF), the end string consists of these characters. Now the device server
waits for the end of the message to be received from the serial port until it sends the
message to the network. If the protocol uses the ANSI escape character (DLE), it can be
set up in the device server.
To configure the serial interface and communication protocol, perform the following
steps.
1. Open the web browser and type the device server's IP address in the address bar.
For example, http://172.16.102.241
The Digi device prompts for user name and password.
2. Type the user name and password. The default user name is root and the password
is dbps.
3. In the main menu, click Serial Port.
The Select Port Profile page appears.
4. Click one of the following protocols:
Industrial Automation for Modbus protocol
User defined protocol
Printer, if the protocol is unknown by the device server
5. Click Apply.
Industrial Automation
If Industrial Automation is selected as a port profile, Modbus RTU serial slave is the
default choice.
To configure the serial interface and communication protocol using industrial
automation protocol, perform the following steps.
1. Under Configuration, click Serial Ports, then select the port to be configured.
2. Under Port Profile, click Change Profile.
The Select Port Profile page appears.
3. Select Industrial Automation.
4. Click Apply.
5. Under Profile settings, click Change Protocol.
The Select IA Protocol page appears,
6. Select Serial Slave.
7. Select the serial protocol that your device uses to communicate, and then click
Apply.
8. To configure the serial protocol settings, click Modbus RTU Settings, and then
perform the following steps:
9. To configure the network serial protocols, click Modbus/TCP Network Settings, and
then perform the following steps:
viii. Select Enable idle timeouts for idle connections check box.
ix. In Idle timeout box, type the timeout value. The timeout value must be
10 seconds more than the regular Modbus request interval.
x. Click Apply.
10. To configure the basic serial settings, click Basic Serial Settings, and then perform
the following steps:
User-defined
If Modbus RTU serial slave is not the current profile, then change the current protocol.
To configure serial interface and communication protocol using user-defined protocol,
perform the following steps.
1. In the Serial Port Configuration page, under Profile settings, click Change
Protocol.
The Select IA Protocol page appears,
2. Click My device or PLC uses an IA serial protocol not listed above and may take
advantage of the Custom Protocol option.
3. Click Apply.
The Custom Settings page appears.
4. In Start delimiter box and End delimiter box, type the delimiter value.
The Start delimiter and End delimiter specifies the character patterns that define
beginning and ending of the the protocol messages.
5. Click Only receive messages from slaves (servers) and distribute to connected
masters (clients) option. This ensures that messages are sent only from the serial
port to the network master.
6. Click Only send messages to slaves (servers) as received from connected masters
(clients) option. This ensures that messages are sent only from the network master to
the serial port.
7. Click Send messages from masters (clients) to slaves (servers) and wait for
responses option. This ensures that the network master sends request messages to
the serial slave, which sends a response message.
8. Select Process ANSI Escape Characters check box, if the protocol uses DLE
characters (10 hexadecimal) as escape characters.
9. Click Apply.
10. Click Advanced Protocol Settings.
11. In Character timeout box, type the timeout value. The timeout value is the timeout
between bytes until a message is considered as broken. The default value is 50.
12. In Message timeout box, type the same timeout value as in the communication
application.
13. In Slave timeout box, type same value as in the message timeout.
14. Click Apply.
Reset button
DTR output (Data Terminal Ready): the device server turns DTR "ON" when the
application has opened the connection to the device server and is ready for
communication.
DSR input (Data Set Ready): typically the DTR counterpart, but not required for
handshaking in the device server.
DCD input (Data Carrier Detect): used only in telephone modem connections.
In the RS-485 half-duplex (2-wire) mode the RTS signal turns ON, and the LED is ON
always when data is transmitted.
NOTE! "100HDx" means 100 Mbps half-duplex and "100FDx" means 100 Mbps full-
duplex.
4. Select Status /Port Counters in the Ethernet switch. Non-zero values in the Errors Rx
column indicate that erroneous network packets are received from that port. The
reason for the erroneous packets is either faulty devices and cables or difference
between the duplex modes.
Monitoring network errors in Digi One IAP
In the device server’s web user interface, click Device Information / Network Protocols.
If the values of the "Bad … received" or "Segments retransmitted" counters are high, it
indicates a problem in network communication. When Digi One IAP does not receive an
acknowledgement to a sent network packet from the communication counterpart, the
packets are transmitted again.
NOTE! The statistics include information about all network traffic including the web
browser interface and DPA-Remote, in addition to data communication with the PMD
Controller.
NOTE! The voltage between + and – leads is significant, not the voltage between the
signal wire and the signal ground. As per the standard, the voltage between the signal
lead and signal ground must be within the range of -7 V to +12 V. If the edge of the pulse
is sharp or if it peaks high, then either the termination is missing or the contact is loose.