Chapter 8 Communication Functions

8-39
8.2 User Defined Protocol Communication
8.2.1 Introduction
User Defined Protocol Communication allows users who do communication between MASTER-K120S main unit and other kind
of device to define the other company’s protocol at MASTER-K PLC. There’re a number of kinds of protocols made by many
companies, that it’s difficult to have all protocols in it. So if a user defines a protocol that can be applied to his/her purpose,
MASTER-K120S main unit executes the communication with the other kind of device through the defined protocol.
For this, protocol frame must be defined in KGLWIN (Version 2.0 or higher). And exact knowledge about the contents of the
protocol defined by the user is vital in making the communication possible. KGLWIN can download a user defined protocol
frame into MASTER-K120S main unit and it is saved. it is not erased by power’s off/on. For using user-defined mode, he/she
should program with instruction controlling sending of PLC as well as edit frames. This section explains User Defined Protocol
Communication setting & usage.

8.2.2 Parameter Setting

1) Setting Communications Parameter
(1) Open a new project file from KGLWIN and select K120S as PLC type
(2) After setting communication parameter at KGLWIN. Double click it to activate this window.
(3) Set according to the following table.

Communication Method Protocol and mode
Communi
-cation
Station
no.
Baud
rate
Data
bit
Parity
bit Stop bit Communication
channel Timeout User
defined
Enable 0 19200 8 None 1 RS232C null modem
or RS422/485 500ms Master