Omron CJ - 12-2004 Manual page 100

Id sensor units
Table of Contents

Advertisement

Communications Commands
Bit Set
Word address
Head 1 of
Head 2 of
CS1W-
CS1W-
V600C11,
V600C12
CS1W-
or CJ1W-
V600C12,
V600C12
CJ1W-
V600C11,
or CJ1W-
V600C12
n + 1
n + 11
n + 2
n + 12
n + 3
n + 13
n + 4
n + 14
n + 5
n + 15
n + 6
n + 16
Note
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.
Data Carrier Data
Bit
7
1
1 0 0 0 0 0 0 0
2
0 0 0 0 0 0 0 1
The data in boxes is set.
Bit No.
Type
08 to 15
Command Command code
04 to 07
Communications Specifica-
tion (Refer to page 52.)
00 to 03
Processing Specification
(Refer to page 46.)
00 to 15
Processing Address
00 to 15
Number of Processing
Bytes
00 to 15
Data stor-
Data Storage Word
age area
Address (rightmost 4 digits)
12 to 15
Data Storage Area
08 to 11
Bank Specification
00 to 07
Data Storage Word
Address (leftmost 2 digits)
00 to 15
Option
Command Option
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
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.
Designation Data in
Data Storage Area
Bit
Bit
0
7
1
0 0 0 0 0 0 0 1
2
0 0 1 0 0 0 0 0
Bit name
02 (hex)
Specify the communications method with
the Data Carrier.
0
Trigger
1
Single auto
2
Repeat auto
Specify the storage order for the Desig-
nation Data.
Leftmost → Rightmost
0
Rightmost → Leftmost
1
Specify the first Data Carrier address to
process.
Specify number of Data Carrier bytes to
process.
Specify the storage area for the Designa-
tion Data. Refer to page 46 for details.
Not used
59). If processing is performed for which
page
Section 6-2
Data Written to
Data Carrier
Bit
Bit
0
7
1
1 0 0 0 0 0 0 1
=
2
0 0 1 0 0 0 0 1
Description
Bit
0
81

Advertisement

Table of Contents
loading

Table of Contents