Moxa Technologies C360 manual Moxa TTY and Non-TTY Ports, Moxa TTY Ports

Page 26

Chapter 4

For UNIX Users

 

 

Step 6. Enable the "Terminal" port for login purpose.

Taking ttya11 as an example,

for SCO UNIX/OpenServer/Open Desktop,

# enable ttya11

Or refer to the UNIX system manuals for how to activate a tty port.

4.2 MOXA TTY and Non-TTY Ports

Even though C360 can provide up to 1024 serial port in a system, only 256 ports among 1024 ports can be configured as TTY ports, the rest ports as non- TTY ports.

MOXA TTY ports follow the standard of UNIX tty ports. But MOXA non- TTY ports do not. Instead, they follow the Moxa-defined rule which will be stated below. In other word, the naming convention of MOXA TTY ports is different from that of MOXA non-TTY ports. So is the programming rule.

MOXA TTY Ports

If the TTY ports of C360 are successfully configured, there will be two tty devices created for each TTY port at /dev directory: one is non-MODEM tty (e.g. ttya11), and the other is MODEM tty (e.g. ttyA11). The two devices are actually accessing the same physical port except that the MODEM tty has to check the ON status of DCD signal from remote site to be able to open device and will close device automatically as DCD signal is OFF.

To be able to use speeds higher than 38400 bps in the UNIX system, the 50 baud rate will no longer stand for 50 bps instead it means 57600 bps, 75 baud rate for 115.2K bps, 110 baud rate for 230.4K bps, and 134 baud rate for 460.8K bps.

The convention of the MOXA TTY device name is:

~20~

Image 26
Contents C360 Copyright Notice Moxa Internet Services Table of Contents Appendix a Troubleshooting Page Introduction OverviewSpecifications Features and SpecificationsFeatures SystemControl Board Async ConcentratorCheck list C360 Control BoardRack Mount Kit Hapter 2 Hardware Installation Installation of C360Hardware Installation ∙ ∙ Chapter Hub Rack Mount KitSerial Number of the Async Concentrator LED IndicatorsDiagnostics ~10~ Hardware Installation ∙ ∙ Chapter Control Board Configuration Software Driver Installation and SetupDriver Installation Driver Setup Driver Loading~14~ Driver Removal Moxa Serial Port Naming ConventionAsync Concentrator Status Monitoring AdministrationsDOS API-232 Library and Programming Languages Async Concentrator Diagnostics Data ScopeDriver Installation For Unix UsersFor Unix Users ∙ ∙ Chapter Convention of the Moxa TTY device name is Moxa TTY and Non-TTY PortsMoxa TTY Ports Tty + a + B + C Moxa Non-TTY PortsConfiguration Async Concentrator Serial Number TTY or Non-TTYMonitoring DiagnosticsDriver Reset Concentrator RestartProgramming the Moxa TTY Ports Using Standard Unix API Terminal EmulationExtended Function List for Moxa TTY Ports Function DescriptionMobufed Mhwflow Programming the Moxa Non-TTY Ports Using Moxa Unix API-232 Function ListClose a non-TTY port Function DescriptionOpen a non-TTY port Read data from a non-TTY portNon-TTY port parameter setting Write a string of data to Tx bufferSend break signal Flush Tx/Rx buffer dataGet modem line status Read the length of data queued in Rx bufferRead the length of data queued in Tx buffer Setting CTS/RTS and XON/XOFF flow control Set modem line control signal DTRSet modem line control signal RTS Disable transmitting data Enable transmitting dataAppendix a Hardware causes and solutions Software Cause and SolutionSoftware Causes and Solutions Solution RTS DSR CTS DTRHardware Cause and Solution Under UNIX, the newly rebuilt kernel could not bootAppendix B Ethernet CablingAsync Concentrator and Serial Number RJ-45 Female Connector RS-232 Cable WiringDTE GND RTS CTS DSR Appendix C Appendix C ∙ Problem Report Form Customer name Company Date Tel FaxWarranty