Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 4 of 9

V600 RFID System V600-CD1D-V Serial Interface ID Controller Operation Manual, pages 31 to 40

Pages 31 to 40 of 89

The original document is the PDF (566 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Omron V600-CD1D-V2

Page 31

Section

RS-232C Interface Connection

3-6

Connecting/Disconnecting Connector Phillips screwdriver

Lock screw

To connect the connector, be sure to hold the housing of the connector, and securely insert the connector. After the connector has been inserted, tighten the two lock screws with a screwdriver.

To disconnect the connector, completely loosen the two lock screws, hold the projection of the connector hood with your fingers, and pull the connector straight out, while holding down the Controller with the other hand. Note Ground the shielded cable at either the ID Controller side or at the host computer side to prevent malfunctioning (the ID controller side is grounded in the following figure). Internally short-circuit RS and CS pins. Example of grounding shielded cable: ID Controller

Host computer

SG (9)

SG

SD (2)

SD

RD (3)

RD

RS (4)

RS

CS (5)

CS

ÉÉÉ GR

22

FG GR (1)

Page 32

SECTION 4 Communications This section provides information on the communications aspects of the RFID System. 4-1 4-2

4-3 4-4

4-5

Movement of Data Carrier and Command Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Memory Map of Data Carrier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2-1 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2-2 Format of Production Date (Written by Manufacturer) . . . . . . . . . . . . . . . . . . . . . 4-2-3 Write Protect Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Types of Commands and Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-1 Read (RD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-2 Write (WT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-3 Expansion Read Command (XR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-4 Expansion Write Command (XW) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-5 Auto Read (AR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-6 Auto Write (AW) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-7 Polling Auto Read (PR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-8 Polling Auto Write (PW) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-9 Command Processing Terminating Command (AA) . . . . . . . . . . . . . . . . . . . . . . . 4-4-10 Data Check Command (MD C/K) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-11 Data Management Command (MDS/MDL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-12 Write Processing Repeat Command (RP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-13 Controller Control Command (CC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-14 Error Information Read Command (CF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-15 Test Command (TS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-16 Abort Command (XZ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-17 Command Undefined Response (IC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-18 Error Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4-19 End Code List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example of Communications Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

24 28 28 28 29 32 36 36 37 37 38 39 40 40 41 42 42 43 44 45 45 46 46 46 47 47 48

23

Page 33

Section

Movement of Data Carrier and Command Status

4-1

4-1

Movement of Data Carrier and Command Status

Communications Control Procedure The host communication control procedure conforms to the OMRON SYSWAY procedure.

R/W Head or R/W Antenna

Data Carrier

Host communication Host computer

ID Controller

(2)

Lower communications: Communication between R/W Head and Data Carrier

(1) Host communications: Communication between host computer and ID Controller

Command (3) Response

Description 1, 2, 3...

1. The host computer transmits commands to the ID Controller. 2. The ID Controller analyzes the commands from the host computer, executes lower communications, and writes/reads data to/from a DC. 3. When a read command has been executed, the ID Controller transmits the contents of the data it has read and a responds to the host computer. When a write command has been executed, the Controller transmits a response indicating the end of processing to the host computer.

Command Reception The ID Controller assumes the following status in response to a command sent from the host computer: Command Wait Status

In this status, the ID Controller processes no command and is ready to receive any command.

Command Processing Status

In this status, the ID Controller receives and processes a read/write (including expansion command) or auto read/write command, and returns a response to the host computer after the processing has ended. While the ID Controller is in this status, the Controller only receives a command that will terminate the current command, and an abort command.

Polling Auto Subcommand Wait Status

When the ID Controller has received a polling auto command, a) the Controller returns the result of the processing as a response to the host computer after the processing with the DC has been completed and a polling processing inquiry command has been sent from the host computer. b) the processing of the ID Controller can be terminated by a polling processing termination command from the host computer. When the ID Controller is in the polling auto subcommand wait status, it can receive only a polling subcommand (inquiry, termination) and an abort command.

24

Page 34

Section

Movement of Data Carrier and Command Status

4-1

Read/Write Function Read/Write Command Processing: The read/write function is used for communication when the Data Carrier is motionless. Therefore, it must be confirmed that the Data Carrier is at a specified position, i.e., in the communication area of the R/W Head. If the Data Carrier is missing, the ID Controller returns a response to that effect. (Host computer)

(ID Controller)

(Data Carrier) Not approaching Data Carrier

Read/Write command

Stops Read/Write processing

Data Carrier

Stops Response

Command end

1, 2, 3...

Moves

1. The host computer confirms that the Data Carrier is at a specified position and transmits a command to the ID Controller. 2. The ID Controller performs write or read processing in accordance with the command. 3. After the processing is complete, the ID Controller returns a response to the host computer to indicate that the processing has ended. The host computer, on receiving the response, moves the workpiece (with a Data Carrier) on the conveyor line.

25

Page 35

Section

Movement of Data Carrier and Command Status

4-1

Auto Read/Write Function Auto Command Processing: When the ID Controller has received an auto command, it does not respond to the host computer until the Data Carrier approaches. When the Data Carrier approaches, the communication line between the Controller and the host computer becomes busy. (Host computer)

(ID Controller)

(Data Carrier)

Head

Not approaching

Head

Not approaching

Auto command

Busy status

Busy status

Read/Write processing Head Response

(Data Carrier)

Communication

Head Command end

1, 2, 3...

26

(Processing end)

1. The host computer transmits an auto command to the R/W Head. 2. The ID Controller does not respond to the host computer until the Data Carrier approaches, and only at this time does the host computer become busy. 3. When the Data Carrier passes by the R/W Head, data is read or written. 4. After the processing has been completed, the ID Controller returns a response to the host computer to indicating the end of processing. For further details, refer to Appendix B.

Page 36

Section

Movement of Data Carrier and Command Status

4-1

Polling Function When an ordinary auto command is executed, the ID Controller does not respond to the host computer until the Data Carrier approaches. Only when the Data Carrier approaches, the communication line between the host computer and the ID Controller becomes busy. However, when a polling auto command is executed, the ID Controller returns a response to the host computer on request. Therefore, the communication line ceases to be busy. (Host computer)

(ID Controller)

(Data Carrier)

Response

Not approaching

Polling auto command (Head)

(Head) Subcommand (Inquiry to Head) Response

Not approaching

(Head not approaching)

Subcommand

Read/Write processing (Head)

(Data Carrier)

(Inquiry to Head 1) Response

Passing

(Head 1 processing end)

1, 2, 3...

1. The host computer sends a polling auto command to Head 1. 2. As soon as the ID Controller has received the command, it responds to the host computer to indicate the reception of the command. 3. The host computer can make an inquiry on the progress of the processing or terminate the polling auto processing by using a subcommand. 4. If the Data Carrier does not approach, the ID Controller responds to that effect to the host computer in response to a subcommand making an inquiry. 5. When the Data Carrier passes by the R/W Head, read or write processing is performed. 6. When processing has ended, the ID Controller responds to the host computer to indicate the end of the processing in response to a subcommand making an inquiry.

27

Page 37

Section

Memory Map of Data Carrier

4-2

4-2

Memory Map of Data Carrier

4-2-1 Memory Map The Data Carrier (DC) has a memory area of up to 8 KB. Data of 1 byte can be written to an address of the memory area. Address

Data

0000

Production date area

0001 0002 to

Write protect setting area

0005 0006 to 2 KB to

00FF 0100

2 KB to to

01FF to to

0700 to to 07FF to to

1F00 to to 1FFF

Higher digits Lower digits 1 byte Note Addresses 0000 and 0001 form a production date area in which data is factoryset for shipment. Addresses 0002 through 0005 are used to set write protection.

4-2-2 Format of Production Date (Written by Manufacturer) To manage the battery life of the Data Carrier, the date of production is written to the first 2-byte area of the Data Carrier memory as a factory-set condition for shipment. The data in this area can be read, but no data can be written to this area by the user. If a write operation is performed on this area by mistake, an error will occur.

Contents of Production Date Area Address

Bit 7

Note

28

6

5

4

3

2

1

0000

Digit 10 of month

Digit 1 of month

0001

Digit 10 of year

Digit 1 of year

0

1. Lower 2 digits of year are recorded (1991 –> “91”). 2. Month is expressed in two digits (June –> “06,” October –> “10”). Example: June, 1991

Page 38

Section

Memory Map of Data Carrier Address

4-2

Bit 7

6

5

4

3

2

1

0

0000

0

0

0

0

0

1

1

0

0001

1

0

0

1

0

0

0

1

0

6

9

1

Note The battery life of the Data Carrier can be managed not only by reading the sticker on the battery, but also by the host computer through software by using a read command.

4-2-3 Write Protect Function The write protect function protects important data stored in the memory of the Data Carrier, such as product number and model, from inadvertent write access. With this function, the data in a specified memory area can be protected. It is recommended that important data be write-protected as follows:

Setting Write Protect Function The write protect function is set by 4 bytes of the addresses 0002 through 0005 of the Data Carrier’s memory. Whether or not the write protect function is effected is specified by the most significant bit of address 0002. Address

Bit 7

0002

6

5

4

3

0003

YES/ Higher 2 digits of start address NO Lower 2 digits of start address

0004

Higher 2 digits of end address

0005

Lower 2 digits of end address

2

1

0

Write protect execution bit (most significant bit of address 0002) 1: Write-protected 0: Not write-protected Setting area: Address

2 KB type

8 KB type

Start address

0006 to 07FF

0006 to 1FFF

End address

0006 to 07FF

0006 to 1FFF

Note Use addresses 0002 through 0005 as a write protect area. To protect addresses 0006 through 07FF: Address

Higher digits

0002

1

0

0003

0

0

Lower digits

0

0

0

0

0

0

0

1

8

0

0

1

0

1

0

0

0

1

1

1

1

1

7 1

F

1 6

0 0005

0

0

0 0004

0

1

1

1 F

29

Page 39

Section

Memory Map of Data Carrier

4-2

To not protect addresses: Address 0002

Higher digits 0

0

0

Lower digits 0

0

0

0 0003

0

0

0

0

0

0

0 0004

0

0

0005

0

0

0

0

0

0

0

0

0

0

0 0 0

0

0

0

0

0

0

0

0

0

0

0

Example of Setting Write Protect Function 1, 2, 3...

1. To write-protect addresses 0015 through 0120. (End address) Address 0002

Bit 7

6

5

4

3

2

1

0

1

0

0

0

0

0

0

0

0

1

0

1

0

0

8 0003

0

0

0 0

1

0

1

1 0004

0

0

5 0

0

0

0

0 0005

0

0

1 1

2

0

0

0 0

2. To write-protect only 1 byte <start address = end address> Set the same address as the start and end addresses. 3. If the end address exceeds the last address of the Data Carrier memory (end address > 07FF): Since the memory area of the Data Carrier is from 0000 through 07FF, addresses up to 07FF are write-protected. 4. If start address exceeds end address (start address > end address): Addresses from 0006 through end address, and start address through 07FF are write-protected.

30

Page 40

Section

Memory Map of Data Carrier

4-2

<Example with 2KB Data Carrier> With an 8KB Data Carrier, the last address is 1FFF. Address

ÉÉÉÉÉÉ ÉÉÉÉÉÉ ÉÉÉÉÉÉ

0000 0015 0120

Write-protected area

07FF

ÉÉÉÉÉÉ

1 byte

ÉÉÉÉÉÉ ÉÉÉÉÉÉ ÉÉÉÉÉÉ ÉÉÉÉÉÉ ÉÉÉÉÉÉ ÉÉÉÉÉÉ ÉÉÉÉÉÉ

Write-protected area

0000

07FF

Write-protected area

0000 0006

07FF

End address Start address

Note The above example is when the memory capacity of the Data Carrier is 2 KB. When the Data Carrier with an 8 KB memory is used, the last address is 1FFF.

Canceling Write Protection To cancel write protection, clear the most significant bit of address 0002 to 0. The write protection is canceled and both the start and end addresses specified in addresses 0002 through 0005 become invalid.

31