85
Communications Commands
Section 6-2
3.
When using EEPROM (battery-free) Data Carriers, be sure the write area
is all on one page (refer to
page
59). If processing is performed for which
the write area extends across more than one page is performed for this
Data Carrier, the Data Carrier Address Error Flag (word (n + 8), bit 13) in
the Results Information will turn ON and the command will not be execut-
ed.
4.
Check the memory capacity of the Data Carriers before setting the Pro-
cessing Address and Number of Processing Bytes. If the Processing Ad-
dress and Number of Processing Bytes are not suitable for the Data
Carriers for which communications are being performed, the Data Carrier
Address Error Flag (word (n + 8), bit 13) will turn ON.
Calculation Write
Reads the specified number of bytes from the specified start address, per-
forms the specified operation with the data specified for the Command Option,
and writes the result.
The calculation result is stored in the data storage area.
Up to 4 bytes (i.e., 2 words) can be specified for one command execution.
Example for Additions
1 1 1 1 1 1 1 0
1 1 1 1 1 1 1 1
=
0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0
Data Carrier Data
0
1
2
0 0 0 0 0 0 0 1
3
7
Data Written to
Data Carrier
0
1
2
0 0 0 0 0 0 1 0
3
7
0 0 0 0 0 0 1 1
0 0 0 0 0 0 0 0
Data Specified
for Option
0
1
2
7
Bit
Bit
Bit
Bit
Bit
Bit
Word address
Bit No.
Type
Bit name
Description
Head 1 of
CS1W-
V600C11,
CS1W-
V600C12,
CJ1W-
V600C11,
or CJ1W-
V600C12
Head 2 of
CS1W-
V600C12
or CJ1W-
V600C12
n + 1
n + 11
08 to 15
Command
Command code
05 (hex)
04 to 07
Communications Specifi-
cation (Refer to page 52.)
Specify the communications method
with the Data Carrier.
0
Trigger
1
Single auto
2
Repeat auto
00 to 03
Processing Specification
Specify the calculation method.
0
Add
1
Subtract
n + 2
n + 12
00 to 15
Processing Address
Specify the first Data Carrier address to
write.
n + 3
n + 13
00 to 15
Number of Processing
Bytes
Specify number of Data Carrier write
bytes.
Summary of Contents for CJ - 12-2004
Page 2: ...SYSMAC CS CJ Series ID Sensor Units Operation Manual Revised December 2004...
Page 3: ...iv...
Page 11: ...xii...
Page 55: ...36 Connections and Wiring Section 3 4...
Page 69: ...50 I O Data Allocations Section 4 3...
Page 91: ...72 Data Check Section 5 7...
Page 141: ...122 Sample Programming Appendix B...
Page 147: ...128 Revision History...