Omron V640 - MANUAL 2 User Manual page 78

V640 series
Hide thumbs Also See for V640 - MANUAL 2:
Table of Contents

Advertisement

• Write data
S18,F7
Write Request
L,4
1.<TARGETID>
2.<DATASEG>
3.<DATALENGTH>
4.<DATA>
• If DATASEG is specified as "0" and a character string, a size of data corresponding to the DATALENGTH setting and starting
from the address within the data area indicated by the DATASEG setting is written (address specification). If DATALENGTH
= 0, data is written 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 written (segment specification).
• When the data for all segments is batch written, both DATASEG and DATALENGTH are omitted (they are zero length items).
• When all the data for a particular segment is written, 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 the specified DATALENGTH is written, compressed into the smaller addresses.
• The item lengths of DATASEG and DATA must be matched.
• If DATASEG and DATALENGTH are both omitted (made zero length items), the length of DATA must match the total of the
set lengths of all segments.
Data Segment Area
S18,F8
Write Acknowledge
L,3
1.<TARGETID>
2.<SSACK>
3.L,s
1.<STATUS1>
s.<STATUSs>
• When the specified target is invalid:
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 DATASEG and DATALENGTH are illegal:
s = 0, SSACK = "CE" communications error
• If the status of SSACK is other than "NO" (normal), the List of Status will comprise zero items.
Refer to page 129.
SECTION 4
Reading from/Writing to ID Tags
S,H→E,reply
"01"-"31"
S,H←E
"01"-"31"
CIDRW System
75
User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

V640-ham11-v2V640-hs61V700-l22V700-l11

Table of Contents