82
Communications Commands
Section 6-2
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.
Bit Clear
Reads the specified number of bytes from the specified start address and
clears the specified bits to 0. For the Designation Data, set a hexadecimal
value with the bits to be cleared to 0 turned ON.
Up to 4 bytes (i.e., 2 words) can be specified for one command execution.
The following example shows specifying 100240 (hex) for 3 bytes of data to
clear bit 4 in byte 1, bit 0 in byte 2, and bit 6 in byte 3.
0 0 0 1 0 0 0 0
0 0 0 0 0 0 0 1
=
1 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0
0 1 0 0 0 0 0 0
0 0 0 0 0 0 0 1
Designation Data in
Data Storage Area
0
1
2
7
Data Written to
Data Carrier
0
1
2
3
3
7
1 0 0 0 0 0 0 0
0 0 1 0 0 0 0 1
0 0 0 0 0 0 0 1
Data Carrier Data
0
1
2
7
3
The data in boxes is cleared.
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
03 (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
(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 dig-
its)
Specify the storage area for the Desig-
nation 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 dig-
its)
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...