Chapter 8 Communication Functions

3) Error code

Code

Error type

explanation

 

 

 

06

Slave Device Busy

It’s sending or waiting to receive

09

Parameter Error

Communication parameter setting error, Link enable setting error

 

 

 

10

Frame Type Error

Frame does not setting or frame does not ‘sending’

8.2.4 Example of Usage

This example is supposed that there’s a communication between MASTER-K120S’s by the user-defined protocol. The system configuration is as follows and the cable is the same with the one of 1:1 dedicated protocol communication.

MASTER-K120S main unit

 

MASTER-K120S main unit

 

(Slave: Station No. 1)

(Master: Station no. 0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1:1 dedicated protocol communication cable

The data in M area of the master station is sent to the slave station and the slave station saves received data in M area, output as direct variable, and sends the data back to the master. This process repeats between the master and the slave.

1)The Programming and setting communication parameter of the master station

Select the communication parameter and then select communication method and communication channel. Select ‘user Defined’ at protocol and mode item(‘list item is activated), then Click the ‘list’

8-48

Page 238
Image 238
LG Electronics 120S user manual Example of Usage, Error code