Setting of Device type

 

Device type have com port, TCP/IP, UDP/IP. MODEM, ....

 

Serial communication

Device setting of serial communication need baud rate, parity bit, data bit, stop bit, Parity Bit. ( this parameter must match computer and controller )

Normally, baud rate, parity bit, data bit, stop bit can set by Dip switch or program(Ladder or setting program).

<Table 1> is Device setting example of serial communication.

Device setting example

Description

com1,9600,0,8,1,

com1, 9600bps, no parity, 8 data bit, 1 stop bit

com2,4800,1,7,2,

com2, 4800bps, odd parity, 7 data bit, 2 stop bit

com10,19200,2,8,2,

com10, 19200bps, even parity, 8 data bit, 2 stop bit

com10,19200,2,8,2,TxRTS

com10, 19200bps, even parity, 8 data bit, 2 stop bit,
 use RTS control when Tx ( RS-485/422, .. )

com10,19200,2,8,2,TxDTR

com10, 19200bps, even parity, 8 data bit, 2 stop bit,
use DTR control when Tx ( RS-485/422, .. )

com10,19200,2,8,2,TxRTS,RxON,10,

com10, 19200bps, even parity, 8 data bit, 2 stop bit,
use RTS control when Tx ( RS-485/422, .. ), Rx = always Open,
RTS on time = 10 milli second
<Table 1> Device setting example of serial communication

TCP/IP communication

TCP/IP communication use IP address and Service port.

 

Device setting example of TCP/IP communication)

TCP/IP, 162.0.9.1, 5000,

when using IP address = 162.0.9.1,  Service port = 5000

 

UDP/IP communication

UDP/IP communication also use IP address and Service port.

 

Device setting example of TCP/IP communication)

UDP/IP, 162.0.9.2, 2001,

when using IP address = 162.0.9.2,  Service port = 2001

 

MODEM communication

When using a dedicated line(Modem, telephone, etc ), you can use MODEM device.

Setting of MODEM device are same as the serial communication.

<Table 2> is Device setting example of modem communication.

Device setting example

Description

modem1, 9600, 0, 8, 1,

modem1, 9600bps, no parity, 8 data bit, 1 stop bit

modem2, 4800, 1, 7, 2,

modem2, 4800bps, odd parity, 7 data bit, 2 stop bit

modem10, 19200, 2, 8, 2,

modem10, 19200bps, even parity, 8 data bit, 2 stop bit
<Table 2> Device setting example of modem communication

Relate items)

Communication cable's basic concept and connection

Menu of Communication Server

Communication Server Main Help