EasyManuals Logo

LSIS XBL-C21A User Manual

LSIS XBL-C21A
194 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #85 background imageLoading...
Page #85 background image
Chapter 7 XGT Dedicated Protocol
7-9
(2) Direct variable continuous reading (R(r)SB)
(a) Purpose
This is a function that reads the PLC device memory directly specified in accord with memory data
type. With this, data is read from specified address as much as specified continuously.
(b) PC request format
Format
name
Head
er
Station
No.
Comman
d
Comman
d type
Device length Device
Number of data
Tail
Frame
check
Ex. of
frame
ENQ H10 R(r) SB H06 %MW100 H05 EOT
BCC
ASCII
value
H05
H3130 H52(72)
H5342 H3036
H254D5731
3030
H3035 H04
Number of data specifies the number to read according to the type of data. Namely, if the
data type of device is word and number is 5, it means that 5 words should be read.
In the number of data, you can use up to 60 words (120Byte).
Protocol of continuous reading of direct variable doesn't have number of blocks.
. Bit device continuous reading is not supported.
Item Description
BCC
When command is lowercase(r), only one lower byte of the value resulted by
adding 1 Byte each to ASCII values from ENQ to EOT is converted into
ASCII and added to BCC.
Device length
(Length of
device name)
This indicates the number of name's characters that means device, which is
allowable up to 16 characters. This value is one of ASCII converted from hex
type, and the range is from H01 (ASCII value:3031) to H10 (ASCII
value:3130).
Device name
Address to be actually read is entered. This must be ASCII value within 16
characters, and in this name, digits, upper/lowercase, and '%' only are
allowable to be entered.
(c) XGB response format (ACK response)
Format name
Header
Station
No.
Command
Command
type
Number of
blocks
Number of
data
data Tail
Frame
check
Ex. of frame
ACK H10 R(r) SB H01 H02 H1122 ETX BCC
ASCII value
H06 H3130 H52(72) H5342 H3031 H3134 H31313232 H03
Note

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the LSIS XBL-C21A and is the answer not in the manual?

LSIS XBL-C21A Specifications

General IconGeneral
BrandLSIS
ModelXBL-C21A
CategoryController
LanguageEnglish

Related product manuals