LG GLOFA-GM Series User Manual page 290

Programmable logic controller cnet i/f module
Hide thumbs Also See for GLOFA-GM Series:
Table of Contents

Advertisement

Chapter 8 Exercising program
C) Read response frame (Temperature controller's response : sends temperature value of 12 channels)
Classification
Frame
Communication protocol in [Figure 8.20] is a protocol for HEX communication with data areas all in HEX except
header and tail.
Communication frame is described next.
Header : Indicates start of frame with [DLE][STX] in request frame and continuous control characters
Tail
Device ID : Means temperature controller No. with '01' used in.
Command : Dependent on Read/Write commands, '01' for Write and '02' for Read command.
Address : Memory address of temperature controller.
Channel number : I/O channels number of temperature controller.
Data : I/O channel data of temperature controller.
Status : Indicates the status of response frame. '00' if displayed means response successful.
BCC : HEX data sum from Device-ID next to header to BCC prior.
4) Frame edit
Define 3 frames above through Frame Editor to download to Cnet I/F module.
A) Write request frame : Write request frame as of TX frame is configured to send data to specified protocol
through segment of ARRAY type. Next is Frame Editor screen of TX frame edited. CON_WR is entered in
frame name, CONST in segment 1, HEX for channel number in Device-ID, ARRAY variable in segment 2 and
24 bytes for TX number of data.
Header
Device ID
[DLE][ACK]
01
of [DLE][ACK] in response frame.
: Indicates end of frame with [DLE][ETX] in request frame and continuous control characters of
[DLE][EOT] in response frame.
Command
Status
02
00
BCC calculation range
8-39
Channel
Data
number
0c
12 word data
BCC
Tail
[DLE][EOT]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents