MASTER-K10S1 RS232 communication driver

 

MASTER-K10S1 RS232 communication driver is the driver to communicate with MASTER-K 10S1 model PLC of LSIS Co., Ltd.  in Korea.

You can use MASTER-K communication driver when RS-485 communication.

 

1. Read Settings

 

<Figure 1> is read setting example of MASTER-K10S1 RS232 communication driver.

<Figure 1>  Read setting example of MASTER-K10S1 RS232 communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively according to PLC.

Baud rate, parity bit, data bit, stop bit of MASTER-K 10S1 series(for serial communication) are fixed to 9600, 0, 8, 1.

 

MASTER-K10S1 RS232 communication driver read schedule

Read schedule setting parameters are as follows:

1) Station – don't care. ( fixed to 0 )

2) Read memory type – memory type of PLC = (P(input/output), M, L, K, F, T, C, D, S, ...

3) Read start address – reading start address in PLC memory.

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read Size – word unit read size.

 

Read schedule example)

READ, 0, P, 0, 0, 2,
READ, 0, M, 0, 2, 2,
READ, 0, D, 0, 4, 2,
READ, 0, L, 0, 6, 2,

 

2. Writing settings

You can set MASTER-K 10S1 PLC by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             don't care. ( fixed to 0 )

3)  ADDRESS          write address in memory.

4)  Extra1                   write memory type = P,M,L,K.

5)  Extra2                   don't care.

 

Write example 1) 

PORT : 0  Station : 0, ADDRESS : 0100, EXTRA1 : M,  EXTRA2 : 0

The setting parameter shown above is a control(On/Off) example of M0100 address.

 

Write example 1) 

PORT : 0  Station : 0, ADDRESS : 0000, EXTRA1 : RUN,  EXTRA2 : 0

The setting parameter shown above is PLC run setting example.

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             don't care. ( fixed to 0 )

3)  ADDRESS          decimal unit write address in memory.

4)  Extra1                   write memory type = P,M,L,K,T,C,D,S.

5)  Extra2                   don't care.

 

Write example 1) 

PORT : 0  Station : 0, ADDRESS : 0090, EXTRA1 : L,  EXTRA2 : 0

The setting parameter shown above is word unit write setting example of L0090 address.

 

3. Pin assignment of communication connector

Please refer to <Table 1> for pin assignment of communication connector.

pin number

signal

signal direction

remarks

1

2

3

4

5

6

NC

RD

SD

NC

SG

NC

 

PLC  <==  PC

PLC  ==>  PC

 

 

don't use

RECIVE DATA

TRANSMIT DATA

don't use

SIGNAL GROUND

don't use

<Table 1> Pin assignment of communication connector

Please connect only 2, 3, 5 pin( 9pin connector ) between MASTER-K10S and computer.