EasyManua.ls Logo

Omron V640 - Page 74

Omron V640
141 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...
70
SECTION 4
When SECS is Used
CIDRW System
User’s Manual
SECTION 4
Reading from/Writing to ID Tags
Read data
Data Segment Area Refer to page 125.
S18,F5 Read Request S,HE,reply
L,3
1.<TARGETID> "01"-"31"
2.<DATASEG>
3.<DATALENGTH>
When DATASEG is specified as "0" and a character string, the size of data determined by the DATALENGTH setting is read,
starting from the address indicated by the DATASEG setting. If DATALENGTH = 0, data is read up to the end of the data
area.
If DATASEG is specified as a character string, a size of data determined by DATALENGTH, starting from the address speci-
fied by DATASEG, is read (segment specification).
When the data of all segments is batch read, both DATASEG and DATALENGTH are omitted (they are zero length items).
When all the data for a particular segment is read, DATALENGTH is omitted (it is a zero length item).
In a segment specification, it is not possible to specify a DATALENGTH that exceeds the maximum length of the relevant
DATASEG.
In a segment specification, if a DATALENGTH that is under the set length for DATASEG is specified, only the data corre-
sponding to specified DATALENGTH is read.
S18,F6 Read Data S,HE,reply
L,4
1.<TARGETID> "01"-"31"
2.<SSACK>
3.<DATA>
4.L,s
1.<STATUS1>
s.<STATUSs>
When the specified target is invalid:
DATA item length = 0, s = 0, SSACK = "CE" communications error
In an address specification, if:
(SEGMENT + DATALENGTH) total value for all segments then SSACK = "NO"
In an address specification, if:
(SEGMENT + DATALENGTH) > total value for all segments then DATA item length = 0, s = 0, SSACK = "CE" communica-
tions error
In a segment specification, if an undefined DATASEG is specified, or if the DATALENGTH is illegal:
DATA item length = 0, s = 0, SSACK = "CE" communications error
When reading of all segment data is specified in a system where the data segment is not defined:
DATA length = 0, SSACK = "NO"
If the status of SSACK is other than "NO" (normal), the List of Status will comprise zero items.

Table of Contents

Other manuals for Omron V640

Related product manuals