Chapter 4

For UNIX Users

 

 

14.

sio_RTS( )

Set modem line control signal RTS.

15.

sio_flowctrl( )

Setting CTS/RTS and XON/XOFF flow control.

16.

sio_disableTx( )

Disable transmitting data.

17.

sio_enableTx( )

Enable transmitting data.

Function Description:

The following lists the syntax of MOXA non-TTY port functions. The variable port is the port number of a specific MOXA non-TTY port to be controlled.

The return value -2 stands for Ethernet cabling problem or Async Concentrator problem which may causes time out in function execution.

1.Open a non-TTY port.

int

sio_open(int port)

 

return

=

0

ok

 

 

-1

bad port

 

 

-2

time out

port

=

port number

2.Close a non-TTY port.

int

sio_close(int port)

 

return

=

>=0

ok : bit 0 ON means Rx queue has data

 

 

 

bit 1 ON means Tx queue has data

 

 

-1

bad port

 

 

-2

time out

port

=

port number

3.Read data from a non-TTY port.

~30~

Page 36
Image 36
Moxa Technologies C360 Function Description, Open a non-TTY port, Close a non-TTY port, Read data from a non-TTY port

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.