Digi W manual Modem Emulation Cable Signals, Serial Device Digi Device Server

Page 34

application if the remote side closes the TCP connection.

User Scenario-Diagram B

Workstation

Serial cable

#1

Ethernet

 

Digi One TS

 

 

 

 

 

 

Workstation

 

 

#2

 

 

 

 

 

 

 

 

Digi One TS

 

 

192.168.25.30

 

 

 

 

Serial cable

In Diagram B, two Digi device servers will replace modems on both sides of the connection. The initiation of the connection occurs with either of the Digi device servers. If both ends are Digi device servers, the TCP listening port number is 50001 for port 1. An example of the connection command is ATDT 192.168.25.30:50001. Upon establishing a successful TCP connection, a CONNECT message is sent to the serial port and only then does the Digi device server switch from AT command mode to data mode. After the CONNECT is received, the transmission of data begins. Using the modem escape sequence or dropping DTR on either side terminates the connection.

Modem emulation has the ability to communicate to an infinite number of other devices.

Modem Emulation Cable Signals

Use the following signal assignments to make a cable connecting the Digi device server to a serial device.

Note: DSR and DTR on the serial device side are connected to the DSR signal of the Digi device server.

Serial Device

 

 

 

 

 

 

 

 

 

 

 

 

 

Digi Device Server

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CTS (in)

 

 

 

 

 

 

 

 

 

 

 

 

 

RTS (out)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RTS (out)

 

 

 

 

 

 

 

 

 

 

 

 

 

CTS (in)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DSR (in)

 

 

 

 

 

 

 

 

 

 

 

 

 

DSR (in)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DTR (out)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DCD (in)

 

 

 

 

 

 

 

 

 

 

 

 

 

DTR (out)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TX (out)

 

 

 

 

 

 

 

 

 

 

 

 

 

RX (in)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RX (in)

 

 

 

 

 

 

 

 

 

 

 

 

 

TX (out)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

34

Chapter 9 Modem Emulation

Image 34
Contents Digi TS W Family 9000329B N t e n t s Chapter Configuring WirelessConfiguring the IP Address Chapter IntroductionChapter Configuring PPP Setting Up RealPortConfiguring the Serial Ports Chapter Configuring AutoconnectionConfiguring IP Routing Configuring Security FeaturesConfiguring Snmp Configuring the Digi Device for IAIndustrial AutomationConfiguring DNS Configuring UsersConfiguring Power Over the Serial Ports Reference and CertificationsContents Setup Overview T r o d u c t i o nAbout This Guide About Entering Commands on the Command LineSupported Devices Other Documents in the LibraryAbout Configuration Methods Configuration Prerequisites Configuration Considerations N f i g u r i n g W i r e l e s sSelect Discover Digi Device from the CD Configuring Wireless Configuring Wireless Configuring Wireless Configuring Wireless Options for Configuring the IP Address and Mask N f i g u r i n g t h e I P a d d r e s sConfiguring the IP Address Using ARP-Ping Configuring the Ethernet Interface from the Command Line Configuring an IP Address using Dhcp and Rarp T t i n g U p R e a l P o r t About RealPortSetting Up RealPort Options for Configuring the Serial Ports Configuring the Serial Port Settings with the Web InterfaceConfiguring the Serial Port Settings from the Command Line Configuring Inbound PPP Connections N f i g u r i n g P P PConfiguring Inbound PPP Connections Example Configuring Outbound PPP Connections Command LineProcedure Sample Use the following table for additional configurations Configuring PPP Modem Emulation Digi One TS and PortServer TS 2/4 MEI only D e m E m u l a t i o nCommon User Scenarios Modem Emulation Cable Signals Serial Device Digi Device ServerOriginating, Answering, and Disconnecting Calls Application AT Com Digi Device Server Response MandServer. P represents a one second pause Modem Emulation AT Command Set Function Result CodeFunction Result ATPATXn Accepted but ignored There is no Nvram support currently AT+MS Registers Function Range Units Saved Default AsciiRegister Function Range Units Saved Default Register Function Range Units Saved Default 17 11h =XON/XOFF &K4 Result Codes Short Long Form Modem Emulation Configuring a User for Autoconnection Web Interface Configuring a Port for Autoconnection Web InterfaceCommands for Configuring Autoconnection by Port or by User N f i g u r i n g a u t o c o n n e c t i o nClick Serial Ports Configuring TCP Socket CommunicationConfiguring UDP Multicast Click Change ProfileClick Change Profile and select UDP Socket Configuring Autoconnection Configuring Static Routes N f i g u r i n g I P R o u t i n gConfiguring Dynamic Routes Using RIP Configuring Proxy ARP Configuring IP Routing Controlling Access to Inbound Ports Controlling Access to the ConfigurationN f i g u r i n g S e c u r i t y F e a t u r e s Controlling Access to Outbound Ports Controlling Access to the Command LineConfiguring SSH Version 2 for Secure Communication Issuing User PasswordsDevice Required Hardware Firmware Controlling Access to Services HttpSnmp SSH Configuring Security Features Configuring Modbus Configuring the User-Defined ProtocolConfiguring the Digi Device for IA Industrial Automation N f i g u r i n g D N S About the Domain Name SystemConfiguration Procedures N f i g u r i n g S N M P About Snmp and the Device Server AgentConfiguration Procedure Web Interface MIBFeature Description Set user Field About Configuring UsersCommon User Features N f i g u r i n g U s e r sCommands for Configuring a User Configuring a User Web InterfaceClick New User Copying the Configuration to and from a Remote Host Upgrading the FirmwareResetting Device Server Configuration to Defaults Commands for Resetting the Configuration to Defaults Managing the OS and Configuration Serial Power Feature Configuring RI PowerConfiguring DTR Power Serial Power Table DTR on DTR OFFConfiguring Power Over the Serial Ports Interpreting the LEDs F e r e n c e a n d C e r t i f i c a t i o n sColor State Indicates RJ-45 Pinouts EIA-232 EIA-422/485 EIA-485 Half Full-Duplex Certifications EnvironmentalDigi Contact Information Digi Contacts Reference and Certifications