81
Communications Commands
Section 6-2
Bit Set
Reads the specified number of bytes from the specified start address and sets
the specified bits to 1. For the Designation Data, set a hexadecimal value with
the bits to be set to 1 turned ON.
Up to 4 bytes (i.e., 2 words) can be specified for one command execution.
The following example shows specifying 0120 (hex) for 2 bytes of data to set
bit 0 in byte 1 and bit 5 in byte 2.
Note
1.
Data status will not be changed for any bit that is OFF in the Designation
Data.
2.
Verification will not be performed if No Verification is set for writing.
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.
1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1
The data in boxes is set.
=
1 0 0 0 0 0 0 1
0 0 1 0 0 0 0 1
Data Carrier Data
0
1
2
7
Data Written to
Data Carrier
0
1
2
7
0 0 0 0 0 0 0 1
0 0 1 0 0 0 0 0
Designation Data in
Data Storage Area
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
02 (hex)
04 to 07
Communications Specifica-
tion (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
(Refer to page 46.)
Specify the storage order for the Desig-
nation Data.
0
Leftmost
→
Rightmost
1
Rightmost
→
Leftmost
n + 2
n + 12
00 to 15
Processing Address
Specify the first Data Carrier address to
process.
n + 3
n + 13
00 to 15
Number of Processing
Bytes
Specify number of Data Carrier bytes to
process.
n + 4
n + 14
00 to 15
Data stor-
age area
Data Storage Word
Address (rightmost 4 digits)
Specify the storage area for the Designa-
tion Data. Refer to page 46 for details.
n + 5
n + 15
12 to 15
Data Storage Area
08 to 11
Bank Specification
00 to 07
Data Storage Word
Address (leftmost 2 digits)
n + 6
n + 16
00 to 15
Option
Command Option
Not used
Содержание CJ - 12-2004
Страница 2: ...SYSMAC CS CJ Series ID Sensor Units Operation Manual Revised December 2004...
Страница 3: ...iv...
Страница 11: ...xii...
Страница 55: ...36 Connections and Wiring Section 3 4...
Страница 69: ...50 I O Data Allocations Section 4 3...
Страница 91: ...72 Data Check Section 5 7...
Страница 141: ...122 Sample Programming Appendix B...
Страница 147: ...128 Revision History...