User manual XC-32 XC-320 XC-4200
VII.Mux mode
VII.1 - Introduction
Mux mode enables you to establish an asynchronous link from end to end through an IP
network.
To make this possible, data (composed by characters and changes of signal's states) are
separated into packets. These packets are then transmitted, thanks to TCP or UDP
transfert's protocols, from one serial port to the other.
VII.2 - TCP Mux
The TCP protocol warrants retransmission of lost or mistaken data and manages packets.
This mode must be used in most of the cases.
To configure this connection, you must set the '
client
' port in mux mode and the '
server
'
port in raw mode.
VII.3 -
UDP Mu
x
To transmit the data flow that forwards the asynchronous link from one end of the network
to the other, we must change this data flow in a characters flow mixed with codes which
match with signal's states. Packaging of data and forwarding of an IP network can
generate delays between characters and changes of signal states if they are in different
packets. It means that out data flow and in data flow can have mismatching
chronogrammes. It can disrupt the good running of some serial transmission's protocols
like ones used in industrial environment.
Thanks to a measured delay between in data flow and out data flow, UDP mux mode
enables most of transmission's protocols to use a connection through an IP network. To
configure this connection, you must set both ports in
mux_dg
mode.
VII.4 - Example n°1: Remote management of a PLC by a technician
VII.4.1 - Description
A technician wants to manage a PLC located on a remote TCP/IP network thanks to a
terminal (or a terminal emulator).
-47-