Chapter 8 Communication Functions

Example 1)

[NUL] , [ENQ] , [1] , [A] : Possible

Example 2) NUL, ENQ , [12] , [ABC] : impossible

- It is allowed to be only 3 consecutive characters.

 

Example 3)

[ENQ][STX][NUL] : Possible

Example 4) [A][NUL][ENQ][STX] : impossible

Send / Receive

-Not defined : It is the initial value that doesn’t declare a frame format.

-Send : It is that declares send frame.

-Receive : It is that declares receive frame.

-When Frame 0 window is activated, Tx/Rx term is set as “Not defined,” and all the segments are not in activation.

Segment (1-8): Enter segment by segment to separate fixed sending data area (CONSTANT) and device

 

 

area (Array).

 

 

Item

 

Contents

 

 

 

 

To set a segment type, there’re NONE (not defined), CONST (fixed data

 

 

 

 

area), ARRAY (Device area). CONST declares commands and fixed data

 

 

 

 

that are used for communication frame and ARRAY is used to input and save

 

 

 

 

the data needed for interactive communication. ARRAY type must be always

 

 

 

 

set by byte.

 

 

 

 

 

 

 

 

 

This field is to declare commands and fixed data that will be used in communication

 

 

 

 

frame and constant data to be declared by inputting. ASCII input must be done

 

 

 

 

within 10 characters and hex within 20 characters. If the number exceeds the limit,

 

 

 

 

set the next segment as the same type and continue to input there. As an

 

 

 

 

dedicated protocol communication, 10RSB06%MW10006 is a frame to execute

 

 

 

 

reading 6 word data from M100 at the slave station no. 16.

 

 

 

 

Ex1) 10RSB06%MW10006

 

If the segment is declared as ARRAY type, designate transmitting device (P,M,L,K, F,T,C,D) and number of transmitting. The unit is byte

Ex2) If you want to transmit D000 ~ D003, the setting is as below. (transmitting device : D000 , number of transmitting : 6 bytes)

8-41

Page 231
Image 231
LG Electronics 120S user manual Communication Functions