Moxa Technologies C360 manual Mobufed

Page 33

For UNIX Users

Chapter 4

 

 

2.MOBUFED

This function let user know the byte count queued in output buffer when this function is issued.

#define MOBUFED 0x402

int

count; /* number of bytes queued in the output buffer */

ioctl(moxa_fd, MOBUFED, &count);

3.MTCRTS

This function, only valid when hardware flow control is turned off (see MHWFLOW), is used to drive RTS on or off.

#define MTCRTS

0x403

#define TurnON

1

#define TurnOFF

0

ioctl(moxa_fd, MTCRTS, TurnON); ioctl(moxa_fd, MTCRTS, TurnOFF);

4.MTCDTR

This function is used to DTR on or off.

#define MTCDTR

0x404

#define TurnON

1

#define TurnOFF

0

ioctl(moxa_fd, MTCDTR, TurnON); ioctl(moxa_fd, MTCDTR, TurnOFF);

5.MSTATUS

This function is used to know the RS-232 line status(CTS/DSR/DCD).

27

Image 33
Contents C360 Copyright Notice Moxa Internet Services Table of Contents Appendix a Troubleshooting Page Overview IntroductionFeatures Features and SpecificationsSpecifications SystemAsync Concentrator Control BoardC360 Control Board Check listRack Mount Kit Installation of C360 Hapter 2 Hardware InstallationHardware Installation ∙ ∙ Chapter Rack Mount Kit HubLED Indicators DiagnosticsSerial Number of the Async Concentrator ~10~ Hardware Installation ∙ ∙ Chapter Software Driver Installation and Setup Driver InstallationControl Board Configuration Driver Loading Driver Setup~14~ Moxa Serial Port Naming Convention Driver RemovalAdministrations DOS API-232 Library and Programming LanguagesAsync Concentrator Status Monitoring Data Scope Async Concentrator DiagnosticsFor Unix Users Driver InstallationFor Unix Users ∙ ∙ Chapter Moxa TTY and Non-TTY Ports Moxa TTY PortsConvention of the Moxa TTY device name is Moxa Non-TTY Ports Tty + a + B + CConfiguration TTY or Non-TTY Async Concentrator Serial NumberDriver Reset DiagnosticsMonitoring Concentrator RestartTerminal Emulation Programming the Moxa TTY Ports Using Standard Unix APIFunction Description Extended Function List for Moxa TTY PortsMobufed Mhwflow Function List Programming the Moxa Non-TTY Ports Using Moxa Unix API-232Open a non-TTY port Function DescriptionClose a non-TTY port Read data from a non-TTY portWrite a string of data to Tx buffer Non-TTY port parameter settingFlush Tx/Rx buffer data Send break signalRead the length of data queued in Rx buffer Read the length of data queued in Tx bufferGet modem line status Set modem line control signal DTR Set modem line control signal RTSSetting CTS/RTS and XON/XOFF flow control Enable transmitting data Disable transmitting dataAppendix a Software Cause and Solution Hardware causes and solutionsSoftware Causes and Solutions RTS DSR CTS DTR SolutionUnder UNIX, the newly rebuilt kernel could not boot Hardware Cause and SolutionEthernet Cabling Appendix BAsync Concentrator and Serial Number RS-232 Cable Wiring RJ-45 Female ConnectorDTE GND RTS CTS DSR Appendix C Appendix C ∙ Customer name Company Date Tel Fax Problem Report FormWarranty

C360 specifications

Moxa Technologies C360 is a cutting-edge solution designed to meet the demands of modern industrial networking. This device is pivotal for various sectors including manufacturing, transportation, and smart grid applications, where reliable communication is critical.

One of the main features of the C360 is its ability to provide robust connectivity options. It comes equipped with multiple Ethernet ports, allowing for seamless integration into existing networks. The device supports advanced networking protocols such as EtherNet/IP, Modbus TCP, and MQTT, which facilitates easy communication between devices, enhancing interoperability and data exchange capabilities.

Another standout characteristic of the C360 is its high-level security features. With the increasing number of cyber threats targeting industrial networks, Moxa Technologies emphasizes the importance of safeguarding connected systems. The C360 includes built-in firewall capabilities, access control lists, and support for virtual private networks (VPN), ensuring that critical data remains secure during transmission.

The C360 is also designed for reliability in harsh environments. Its rugged construction guarantees durability and resilience against extreme temperatures, vibrations, and electromagnetic interference. This makes it perfectly suited for outdoor deployments or in situations where conditions may compromise less robust devices.

Moreover, the C360 boasts a user-friendly interface with intuitive management tools. Network administrators can monitor performance, configure settings, and troubleshoot issues easily via a web-based interface or command-line options. This level of accessibility improves operational efficiency and allows for rapid response to network needs.

Compatibility with Moxa's MXview network management software adds another layer of convenience. This software provides centralized network monitoring, enabling proactive management of network devices, which is essential for maintaining uptime in critical applications.

In conclusion, Moxa Technologies C360 is a versatile and reliable solution that addresses the complexities of modern industrial communication. With its advanced networking protocols, robust security measures, rugged design, and user-friendly management tools, it stands out as an essential component for organizations looking to enhance their operational efficiency and secure their networks. The C360 is engineered to provide lasting performance, making it a valuable investment for businesses aiming for growth and innovation in an increasingly connected world.