Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 6 of 18

Digi One and PortServer TS Family User's Guide: Configure Network and Serial Ports, pages 45 to 53

Pages 45 to 53 of 140, from Digi One and PortServer TS Family User's Guide

The original document is the PDF (2.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Digi PortServer TS4

Page 45

Port Profiles Industrial Automation Port Profile Important: Before using use the Industrial Automation port profile, consider using the IA Wizard instead. The IA Wizard is the recommended method for configuring your device for use with Industrial Automation applications. It guides you through common IA scenarios and configures your Digi device. To launch the IA Wizard from the web interface, under Applications, select Industrial Automation, then click IA Wizard. The Industrial Automation (IA) Profile allows you to connect IA devices and PLCs (programmable logic controller) to the serial port in order to networkenable the devices. Use this profile if you need to communicate over the network with an IA device or PLC that only uses serial protocols. This profile may also be used to add routing capabilities to IA devices or PLCs that act as serial masters and send packets to various systems or devices on the network. Industrial Automation enhances the IA device or PLC connected to the serial port. Use the Help button for more assistance configuring this profile.

Chapter 3

Configure Network and Serial Ports

45

Page 46 read from a scan by OCR; it may hold reading errors

Port Profiles

Return to Serial Ports +« Previous Next >

Serial Port Configuration - Port 2

~ Port Profile

Current Port Profile: Industrial Automation Change Profile... The Industrial Automation (IA) Profile allows you to communicate and network-enable various IA devices and PLCs

Profile Settings

Current Protocol: Custom Serial Slave Change Protocol... My PLC or other IA device is connected to this serial port and needs to communicate with another

PLC, device, or system on the network.

~ Custom Settings

Start delimiter:

End delimiter:

Only receive messages from slaves (servers) and distribute to connected masters (clients) Only send messages to slaves (servers) as received from connected masters (clients) @ Send messages from masters (clients) to slaves (servers) and wait for responses (half-duplex)

[] Process ANSI Escape Characters

Maximum message size: 530 bytes

Apply » Advanced Protocol Settings

> Basic Serial Settings > Port Security Settings > Advanced Serial Settings

>» Restore Factory Serial Port Settings

46 Chapter 3 Configure Network and Serial Ports

Page 47 read from a scan by OCR; it may hold reading errors

Port Profiles

Select IA Protocol...

Please select the best matching scenario that closely matches your environment:

@ Serial Slave: My device or PLC accepts incoming requests from other systems, often referred to as masters. My PLC, then, acts as a slave device. This scenario accepts connections over the network or through a serial bridge using RealPort (COM port redirection).

Serial Master: My device or PLC initiates connections and sends requests to one or more systems, often referred to as slaves. My PLC, then, acts as a master. This scenario uses routing to determine where to send requests, which can be a device on a different serial port, another Digi device acting as a serial bridge between two serial PLC's, or any other networked device.

Please select the best matching IA serial protocol that your device or PLC communicates with:

@ Modbus RTU Modbus ASCII

My device or PLC uses an IA serial protocol not listed above and may take advantage of the Custom protocol. More...

| Apply | Cancel

Chapter 3. Configure Network and Serial Ports 47

Page 48

Port Profiles Configure Industrial Automation with Modbus 1. Click Serial Port > Change profile and select Industrial Automation. 2. Click Apply. 3. Under Profile settings, click Change protocol -(Master or Slave). 4. Select the serial protocol that your device expects to communicate on. The only option is User defined.The User Defined IA serial protocol is useful for devices or PLCs that do not use any of the predefined protocols and have a protocol that conforms to the following criteria: All message packets are bounded by fixed header and trailer strings Every protocol request is followed by a single response. 5. Use the Help button for additional information. 6. Click Apply. Configure the serial port for the serial communication parameters (baud rate, data bits, parity and stop bits) required by the connected IA device. If you configure the port for a slave, you do not have to configure a networkbased master. Communication with the master simply works. However, if the master is connected to a serial port, it must be configured. If you configure a port for a master and the slaves are located on the network, TCP sockets, UDP sockets, and Modbus/TCP are all supported. Use the protocol required by the master.

48

Chapter 3 Configure Network and Serial Ports

Page 49

Port Profiles Chat Mode Port Profile This configuration allows multiple clients to simultaneously connect to or manage a server connected to the same serial port, similar to a chat room. In chat mode, the serial device can be a slave or a master. Enabling the device as a server (slave) allows you to establish the end of line detection, the timeouts, and the disconnect conduct. Server settings establish the data echo direction. As a client (master) device, the same settings apply but you may also direct your communication to a specific port or other networked device.

Chapter 3

Configure Network and Serial Ports

49

Page 50 read from a scan by OCR; it may hold reading errors

Port Profiles

Serial Port Configuration - Port 2 Return to Serial Ports @ Previous Next @

~ Port Profile

Current Port Profile: Chat Mode Change Profile...

The Chat Mode Profile is used to allow multiple clients to simultaneously connect to or manage a server connected to the same serial port similar to a chat room.

Profile Settings

Select the type of Chat that the serial device connected to this serial port uses. If the serial device is a client that sends messages to a server on the network or connected to another serial port, select Client. If this serial device is the server that other clients on the network or serial ports communicate with, select Server.

~ Chat Mode Settings Chat Mode:

Serial device acts as a client device (serial master) ® Serial device acts as the server device (serial slave)

End of Line Detection: » Automatically detect end of line Carriage Return (CR) Line Feed (LF) ® Carriage Return/Line Feed (CRLF) ») Line Feed/Carriage Return (LFCR) End line when Character Timeout expires

Custom Pattern

End Delimiter:

Character Timeout (idle timeout between characters): 2000 ms

(4) Disconnect idle clients when no new data received:

14400 s

>» Server Settings

> Basic Serial Settings

> Port Security Settings

» Advanced Serial Settings

> Restore Factory Serial Port Settings

50 Chapter 3 Configure Network and Serial Ports

Page 51

Port Profiles Modem Port Profiles There are 3 types of modem port profiles: • Modem Emulation • Modem • Internal Modem Modem Emulation Port Profile The Modem Emulation port profile allows you to configure the serial port to act as a modem. The Digi device emulates modem responses to a serial device and seamlessly sends and receives data over an Ethernet network instead of a PSTN (Public Switched Telephone Network). The advantage for a user is the ability to retain legacy software applications without modification and use a less expensive Ethernet network in place of public telephone lines. For more details about modem emulation and descriptions of the commands that can be issued, see the chapter of the Digi One and PortServer TS Family Command Reference titled “Modem Emulation Commands.”

Chapter 3

Configure Network and Serial Ports

51

Page 52

Port Profiles Modem Port Profile The Modem port profile configures the Digi device for attaching a modem to the serial port in order to establish or receive connections from other systems and modems. If the attached modem uses PPP connections, select Enable PPP Connections on this Modem and click the PPP Configuration link below the setting to set up incoming, outgoing or advanced PPP settings. See "System Configuration" on page 61 for more information about PPP settings.

52

Chapter 3 Configure Network and Serial Ports

Page 53

Port Profiles Internal Modem Port Profile The Internal Modem port profile is used for the serial ports that contains the embedded modem. This profile allows you to configure the modem port. This profile configures the internal modem for PPP connections.

Chapter 3

Configure Network and Serial Ports

53