EasyManua.ls Logo

LSIS Master-K K1000S - Read Continuous Devices (RSB)

LSIS Master-K K1000S
238 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
Loading...
Chapter 13 RS-232C function of K200S MASTER-K
13-11
13.7.2 Read continuous devices (RSB)
1) Introduction
This command is used for reading continuous devices by assigning start address and
word number. Only word data type is available for this command, and Max. 60 words can
be read with one command.
2) Request format (External device à PLC)
Format
name
Header
Station
number
Main
instruction
Instruction
type
Length of
device
definition
Device definition
Number of
data
Tail
Frame
check
Frame
example
ENQ h10 R (r) SB h06 %MW100 h02 EOT BCC
ASCII
value
h05 h3130 h52 (h72) h5342 h3036 h254D57313030 h3032 h04
BCC : When the main instruction is small character (r), the lower byte of summation
from ENQ to EOT is converted into ASCII format and added to frame as BCC check.
Length of device definition : It indicates that the device definition include % occupies
how many bytes after converted to ASCII code (1byte = 2 ASCII codes). The
available range is h01 ~ h10 ( ASCII format : h3031 ~ h3130 )
Example : %MW000 = h06
%PW0000 = h07
Device definition : It indicates an actual address to be read. It should be consist of %,
device type (capital or small letter), and numbers only.
Number of data : It indicates that how many words will be read from th e start address.
The range is h01 ~ h3C (1 ~ 60).
Remark
The continuous reading command does not support bit data type.

Table of Contents

Related product manuals