User Defined Protocol Communication; Introduction; Parameter Setting - LG MASTER-K 120S Series User Manual

Programmable logic controller
Table of Contents

Advertisement

Chapter 8 Communication Functions

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

Advertisement

Table of Contents
loading

Table of Contents