The text of a manual · part 7 of 9
V600 RFID System V600-CD1D-V Serial Interface ID Controller Operation Manual, pages 61 to 70
Pages 61 to 70 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 61
Section
Diagnostics
5-2
5-2
Diagnostics
Errors Errors that Stop Operation If a hardware error of the ID Controller has occurred, the STOP indicator lights, and RUN output is turned OFF. Errors that Allow Operation to Continue If an error has occurred during communications between the ID Controller and the host computer, or between the Controller and the R/W Head, the error code is displayed on the monitor (error code display mode). Up to 30 error codes are recorded and can be read by the host controller.
Indicators and Outputs Status
Test
RUN
Stop error Emergency stop
Indicator
Monitor
POWER
HEAD
STOP
Lower processing in progress
Lit
Lit
Not lit
---
Lower processing interval
Lit
Not lit
Not lit
Communication error occurrence
Lit
Not lit
Command reception wait Command processing in progress
Lit
Output RUN
End of processing
User 1
User 2
OFF
OFF
---
---
---
OFF
OFF
---
---
Not lit
Error code
OFF
OFF
---
---
Not lit
Not lit
---
ON
OFF
---
---
Lit
Lit
Not lit
---
ON
OFF
USR
USR
Communication error occurrence
Lit
Not lit
Not lit
Error code
ON
ON
---
---
CPU error
Lit
Not lit
Lit
92
OFF
OFF
---
---
Memory error
Lit
Not lit
Lit
93
OFF
OFF
External reset input ON
Lit
---
Lit
---
OFF
OFF
---
---
Note USR: Set by the controller control command.
52
Page 62
Section
Error Lists
5-3
5-3
Error Lists
Communication Error Location Host communication error
Error code 10
Parity error
11
Framing error
12 14
Overrun error Command input error
18
Frame length MAX error
Command or data length exceeding 266 characters.
70
Data carrier communication error
71
Unmatching error
Error during communication between R/W Head and DC. – Setting error such as passing speed and distance – Malfunctioning due to obstacle Read or write processing is not performed correctly.
72
Data carrier missing
7A
Address over
DC does not exist in specified area when write/read command is executed. Address exceeding memory area of DC is specified. When using MDS/MDL command, first address of the area is incorrectly specified.
7C
R/W head not connected
R/W Head is not connected.
7D
Write protect error
Production date area or write-protected area is specified for write command.
Lower communication error
Type
Note
Condition Error occurs during communication between host computer and ID Controller. – Incorrect setting of communication format – Malfunctioning due to noise Wrong command format.
1. The host communication error is an error that has occurred during communications between the host computer and ID Controller. 2. The lower communication error is an error that has occurred during communications between the ID Controller and R/W Head. These errors are all recorded in the ID Controller and their error codes and messages can be read using a command from the host computer. 3. These errors are all recorded in the ID Controller and their error codes can be read using a command from the host computer.
Warning Code Warning Code
Name
Meaning
7B
Data carrier battery low
The voltage of the Data Carrier’s built-in battery is low.
76
Excessive number of Data Carrier overwriting operations
76
Data Carrier memory check error
This warning will be returned when the data management command (MDS/MDL) is executed if the number of Data Carrier overwriting operations is 100,000 or over. This warning will be returned if a memory error is detected when the memory check command (MDC) is executed.
System Error Error code 92
Type CPU error
93
Memory error
Condition May be due to an ID Controller error or the influence of noise. Turn OFF power once and then turn it back ON again. Turn ON the reset input (if the error still persists, use the other ID Controller).
Note The system error (error that stops the operation) can be displayed on the monitor of the ID Controller but cannot be checked by the host computer.
53
Page 63
Section
Checking the Data Carrier Life
5-4
5-4
Checking the Data Carrier Life
5-4-1 SRAM-type Data Carrier Checking Battery Voltage Drop 1, 2, 3...
1. A voltage drop of the battery cannot always be checked but can be checked only when specific access is made.This is because, to check the battery voltage, a certain amount of current is temporarily allowed to flow through the internal circuit of the data carrier. If the battery voltage is checked each time the data carrier is accessed, the battery life is shortened. It is recommended that a routine that checks the battery once a day be incorporated in the system program. 2. Access to check battery voltage: The battery is checked only when the 2-byte data of addresses 0000 and 0001 are is read. <Battery voltage check command> a) Read command ... RD H 1 0000 02 b) Auto read command ... AR H 1 0000 02 c) Polling auto read ... PR H 1 0000 02 d) Expansion read command ... XR H 1000 02 3. Response when battery voltage drops: If the battery voltage has dropped, “7B” is returned as the end code of a response. Example: Normal state
RD 0 0 AR 0 0
0990* 0990*
Normal completion code
Read data Produced in Sept., 1990
When battery voltage drops
RD 7 B AR 7 B
0990* 0990*
Battery error code
Read data Produced in Sept., 1990
Battery Life of the Data Carrier After Battery Voltage Drop The Data Carrier can still be used for about 1 month under ordinary operating conditions, even if the voltage of the battery has dropped below the rated level. However, it is recommended that the Data Carrier be replaced with a new one as soon as possible. The battery-replaceable V600-D2KR16 can still be used for about 2 weeks under ordinary operating conditions, even if the voltage of the battery has dropped below the rated level. However, it is recommended that the battery be replaced with a new one as soon as possible. Note SRAM-type Data Carriers (excluding the V600-D2KR16) have a built-in thionyl chloride lithium battery. Due to the characteristics of thionyl chloride lithium batteries, the internal resistance of the battery increases when it is unused for several months. If the battery voltage drop is checked on a Data Carrier in this condition, a voltage drop will result even though the battery life is still satisfactory. This phenomenon is due to the increase in the internal resistance, and does not indicate that the battery life is over. Accordingly, if a Data Carrier is purchased and
54
Page 64
Section
Checking the Data Carrier Life
5-4 left unused for several months, activate the battery by performing a read operation for about 10 minutes. (Activating the battery in this way will run current through it, which will return the internal resistance to its normal state. This will have almost no effect on the battery life.)
5-4-2 EEPROM-type Data Carrier The MDL and MDS commands can be used to check whether or not the number of overwriting operations for the EEPROM in an EEPROM-type Data Carrier has exceeded the allowable number. The MDS command subtracts the number of overwriting operations from a userspecified management area and makes it possible to check whether or not the number of overwriting operations has exceeded a user-specified number. The MDL command adds the number of overwriting operations to a user-specified management area and makes it possible to check whether or not the number of overwriting operations has exceeded 100,000. This command is for EEPROM-type Data Carriers with a specification of 100,000 for the allowable number of overwriting operations. Note The MDS command can be used only with version 2.1 or later. Refer to ??? for details on the method used to check the version. Command Format M
D
S/L
1
X
X
X
X
X
X
∗
CR
Specify a hexadecimal value (00H, 01H, 02H,..., FBH) for the number of overwriting operations to be added or subtracted. First address specification to or to Read/Write head word (fixed to 1) Mode specification S: Subtraction method used. The allowable number of overwriting operations is specified by the user (16,700,000 max.) Note that the specification for the allowable number of overwriting operations for an EEPROM-type Data Carrier is 300,000 at temperatures of less than 40°C. L: Addition method used. When using this command, the allowable number of overwriting operations is 100,000.
Response Format M
D
7
∗
5
CR
End code 75: The number of overwriting operations has not exceeded the allowable number. 76: The number of overwriting operations has exceeded the allowable number.
Note
1. The first address must be to or to Do not specify to or to as the first address, otherwise address error code 7A (hexadecimal) will be returned. 2. The unit number is required for 1-to-n procedure. MDS Command The management area consists of three bytes beginning with the first address of
55
Page 65
Section
Checking the Data Carrier Life
5-4 the area. When the MDS command is executed, the specified number of overwriting operations is subtracted from the present number and the result is written to this area. If it is 0 (00H), end code 76 will be returned as a warning. It is necessary to specify the allowable number of overwriting operations beforehand. This can, in theory, be set to any number up to 16,700,000 but the specification for the allowable number of overwriting operations for an EEPROM-type Data Carrier at temperatures of less than 40°C is 300,000 (0493E0H) so set to a number less than this. The number of overwriting operations up to the present time is written in the management area as hexadecimal data. The data can also be read using the read command. If the number of overwriting operations in the management area is already 0, the hexadecimal data value will not be renewed. In this case, only the warning will be returned when the MDS command is executed. If the MDS command is executed with 00H, nothing will be written to the hexadecimal data but the number of overwriting operations up to the present time can be checked.
First address of the area
Leftmost digit Middle digit
Three bytes
Rightmost digit
MDS Command Execution Example 1, 2, 3...
In the following example, three bytes beginning with address 0010H are specified as the management area for overwriting operations. 1. Input 300,000 overwriting operations with WTH100100493E0.
0010H
04H
0011H
93H
0012H
E0H
2. Input 5 overwriting operations with MDS1001005.
0010H
04H
0011H
93H
0012H
DBH
3. The following indicates that the number of overwriting operations is 300,000. MD76 will be returned to indicate an excessive number of overwriting operations if MDS1001000 is executed.
0010H
00H
0011H
00H
0012H
00H
Note Do not use MDS and MDL commands together in a Data Carrier. Doing so would disable lifetime management.
56
Page 66
Section
Checking the Data Carrier Life
5-4
MDL Command The management area consists of three bytes beginning with the first address of the area. When the MDL command is executed, the specified number of overwriting operations is added from the present number and the result is written to this area. If it is 100,000 (0186A0H) or over, end code 76 will be returned as a warning. The number of overwriting operations up to the present time is written in the management area as hexadecimal data. The data can also be read using the read command. If the number of overwriting operations in the management area is already 100,000 or over, the hexadecimal data value will not be renewed. In this case, only the warning will be returned when the MDL command is executed. If the MDL command is executed with 00H, nothing will be written to the hexadecimal data but the number of overwriting operations up to the present time can be checked.
First address of the area
Leftmost digit Middle digit
Three bytes
Rightmost digit
MDL Command Execution Example 1, 2, 3...
In the following example, three bytes beginning with address 0010H are specified as the management area for overwriting operations. 1. Clear the management area first with WTH10010000000.
0010H
00H
0011H
00H
0012H
00H
2. Input 4 overwriting operations with MDL1001004.
0010H
00H
0011H
00H
0012H
04H
3. Input 5 as the next number of overwriting operations with MDL1001005 make the total overwriting operations 9.
0010H
00H
0011H
00H
0012H
09H
4. The following indicates that the number of overwriting operations is 100,000. MD76 will be returned to indicate that an excessive number of overwriting operations will result if MDL1001000 is executed.
57
Page 67
Section
Checking Function of the Data Carrier’s Memory
5-5
0010H
01H
0011H
86H
0012H
A0H
5-5
Checking Function of the Data Carrier’s Memory A Data Carrier memory check is possible by executing the data check command MD. CRC (Cyclic Redundancy Check) code calculation, data writing, and data collation are possible in a check block specified by the user. A CRC code is calculated with the generating function X16 + X12 + X5 +1.
Command Format
M
D
C/K
1
X
X
Processing specification (C: Collation; K: Calculation)
X
X
X
X
∗
CR
Specify a hexadecimal value (03H, 04H,..., FEH, FFH, 00H) for the number of overwriting operations to be added. 00H means 256 bytes.
Read/Write head word (fixed to 1) Check block first address (0000H to FFFDH)
Response Format
M
D
0
0
∗
CR
Note:
The unit number is required for 1-to-n procedure(s).
End code 00: Normal completion (at the time of calculation processing only) 75: Normal data (at the time of collation processing only) 76: Data abnormal warning (at the time of collation processing only)
In each check block consisting of the first address and the number of bytes specified by the user, the area excluding the last two bytes is the calculation area and the last two-byte area is the check code area of the check block. If check code write processing is specified with processing code K, the CRC of the data in the calculation area is calculated and the result is written to the check code area. If data collation is specified with processing code C, the CRC of the data in the calculation area is calculated and the result is compared with the data in the check code area. If the result coincides with the data in the check code area, end code 75 will be returned. If they do not coincide with each other, end code 76 will be returned as a warning.
58
Page 68
Section
Checking Function of the Data Carrier’s Memory
5-5
Address 0000H 0001H
First address of the area
Check code calculation area (the number of check block bytes less two bytes)
The number of check block bytes
CRC (right digit) CRC (left digit)
Data Carrier Memory Check Command Example
Check code area (two bytes)
In the following example, the data in addresses 0010H to 0012H are checked on condition that the following data exists in these addresses.
0010H
12H
0011H
34H
0012H
56H
0013H 0014H
1, 2, 3...
1. Execute MDK1001005 (calculation processing) so that the CRC code (5CD6H) of the data “123456” is written to addresses 0013H and 0014H.
0010H
12H
0011H
34H
0012H
56H
0013H
5CH
0014H
D6H
2. Execute MDC1001005 (collation processing). If the result coincides with the data in the check code area, MD75 will be returned as a normal response.
59
Page 69
Section
Checking Function of the Data Carrier’s Memory
0010H
12H
0011H
34H
0012H
56H
0013H
5CH
0014H
D6H
5-5
3. If the result does not coincide with the data in the check code area, MD76 will be returned as a warning.
60
Page 70
Section
Troubleshooting
5-6
5-6
Troubleshooting The following are the major causes of ID Controller malfunctioning: Cause
Measures
Influence of noise Malfunctioning of external devices Malfunctioning of ID Controller Others
Take countermeasures against noise. Repair is needed.
Influence of Noise If the system malfunctions due to noise, take appropriate countermeasures against noise by referring to the following table: 1
No.
Occurrence On power application to motor, transformer, or capacitor.
2
Irregular.
3
Input signal turns ON when it should be OFF.
Possible cause
Countermeasures
Momentary voltage drop due to inrush current of large load. Common mode noise due to the above.
Increase the capacity of the power supply facility or use larger power cables. Supply power through 1:1 non-grounded insulated transformer. Do not share the ground lines with other high-capacity loads. Independently ground at less than 100 Ω.
Noise superimposed on power lines. Inductive noise of input wiring.
Supply power through 1:1 non-grounded insulated transformer or noise filter. Separate input signal lines from other power lines. If the influence of noise is high, route input lines using a grounded metal conduit or use shielded cables.
(1) Improvement of grounding Other equipment
Other equipment ID Controller
ID Controller Grounding at 100 Ω
(2) Countermeasures against noise ID Controller
Power supply Noise filter
Use twisted pair cables. Do not route the cables in parallel with power lines.
61