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

The text of a manual · part 11 of 15

SYSMAC C200H-IDS01-V1/IDS21 ID Sensor Operation Manual: SECTION 3 Programming, pages 81 to 87

Pages 81 to 87 of 114, from SYSMAC C200H-IDS01-V1/IDS21 ID Sensor Operation Manual

The original document is the PDF (1.1 MB). 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 C200H-IDS01-V1

Page 81

Monitoring

3-2-9

Section 3-2

Error Log Display (ERR) This operation displays errors that have occurred while the ID Sensor Unit was in the RUN mode and the user program was being executed. The errors are displayed in two formats: newest error information and statistical error information. “Newest error” is a list of the 30 most recent errors; “statistical error” displays the number of times an error has occurred since a predetermined starting date. The MCBF (Mean Cycle Between Failures: total number of commands/ total number of errors) is also displayed. To change the date from which errors are to be monitored (registration date), execute the statistical error clearing operation (key 4) as shown in the following figure.

ERROR1 2 3 4 ERR

L S CL CS

Press the ERR key to display the newest error information or statistical error information.

Error formats can be selected by pressing the following keys:

1

: displays newest error information

2

: displays statistical error information

3

: clears newest error information

4

: clears statistical error information

Use keys 1 through 4 to display or clear desired error information.

The error information storage area of the ID Sensor Unit is undefined upon delivery. Before using the ID Sensor Unit, press key 3 to clear newest error information, and key 4 to clear statistical error information. Error information is backed up by a capacitor for up to 15 days (at 25°C). If the ID Sensor Unit is left OFF for more than 15 days, the error information becomes undefined and the error information must be cleared again. Clearing Newest Error Information (Key 3)

ERR

ERROR1 2 3 4 L S CL CS

3

CLEAR LAT. ERRORS CLEAR L?PUSH SET "L" = "Newest"

SET

HEAD 1 PAGE 1 STadrs1F data 29

66

When the ERR key is pressed, the menu shown at left is displayed. Press key 3 to choose the newest error clearing operation. The message "CLEAR L?" is displayed, asking for confirmation that the information is to be cleared. Press RESET to preserve the error information. Press SET to clear the information. When the information has been cleared, the display returns to the RESET status.

Page 82

Monitoring

Section 3-2

Clearing Statistical Error Information (Key 4)

ERROR1 2 3 4

ERR

Press key 4 to clear the statistical error information and set a new registration date.

L S CL CS CLEAR STA.ERRORS

4

The message "CLEAR S?" is displayed, asking for confirmation that the statistical error information is to be cleared.

CLEAR S?PUSH SET "S" = "Statistical"

SET

CHANGE the DATE? 90-07-25 Year Month Day

Press the RESET key to retain the information. Press the SET key to clear the information and set a new date from which statistical error information is to be collected. When the error information has been cleared, the previous registration date is displayed, followed by the message, "CHANGE the DATE?"

To change date

CHANGE the DATE?

DATA

9

For no change of date

0

0

SET

Press the DATA key to begin entering the date.

_−− 0

9

5

CHANGE the DATE?

Enter the last 2 digits of the year. In this example, the year is set to 1990.

90-_CHANGE the DATE?

Next, enter the month as a 2-digit number (01 for January; 09 for September). In this example, the month is set to September.

90-09-_ CHANGE the DATE? 90-09-05 HEAD 1 PAGE 1 STadrs1F data 29

Now input the day as a 2-digit number. Be sure to input the prefix 0 when entering a single-digit day (i.e. 01, 02). In this example, the day is set to the 5th. Press the SET key to set the date. The display will return to the reset status. If the month is set to 00 or greater than 12, or if the day is set to 00 or greater than 31, all the previously set values will be cleared and the date must be re-entered.

67

Page 83

Monitoring

Section 3-2

Newest Error Information (Key 1)

ERROR1 2 3 4 ERR

L S CL CS LAT.ERRORS INF.

1

Press key 1 to display the command that caused the error and the corresponding error message.

Up to 30 errors can be displayed sequentially by using the INC key.

N01 RD1 COM.DC E Indicates how recent the error is. 01: newest 30: oldest

Error message Read/Write Head word number (fixed to 1) Command that caused the error RD: Read WT: Write AR: Auto Read AW: Auto Write CA: Clear All or

Press either the left or right arrow key to alternately display the error code number and error message.

LAT.ERRORS INF. N01 RD1 error70 Error code number

LAT.ERRORS INF. INC

N02 WT1 PROTCT E

Each time the INC key is pressed, the previous error is displayed. If an error code is being displayed, press INC to display the error message associated with that code.

LAT.ERRORS INF. INC

N30 AW1 VERIFY E LAT.ERRORS INF.

DEC

68

Each time the DEC key is pressed, new errors are displayed in the order in which they occurred.

N29 RD1 NO DC E

If no error occurred

LAT.ERRORS INF. NO ERROR

If no errors have occurred, "NO ERROR" is displayed.

RESET

HEAD 1 PAGE 1 STadrs1F data 29

To start another operation or abort the operation, press the RESET key and the display will return to reset status.

Page 84

Monitoring

Section 3-2

Statistical Error Information (Key 2) ERR

ERROR1 2 3 4

Press key 2 to display the statistical error information.

L S CL CS

2

STA.ERRORS INF. 90-09-05

The date is displayed first. This date was previously registered by the user as the date from which errors were to be monitored.

Year Month Day INC

STA.ERRORS INF. S 9 1 COM.DC E

Press the INC key to display the number of times an error has occurred, the error message, and the R/W Head word number.

Error message Number of times an error occurred

R/W Head word number (fixed to 1)

Up to 999 errors can be displayed. If 1000 errors have occurred, the 1000th error is displayed as 999.

"S" = "Statistical" or

STA.ERRORS INF. S 9 1 error70 Error code number INC

Press the left or right arrow key to alternately display the error code number and error message.

If an error code is being displayed, as in the example shown at left, press the INC key again to display the error message for the same error. Press the INC key once more to display the next error code and message.

STA.ERRORS INF. S152 1 PROTCT E

INC

STA.ERRORS INF. MCBF S 1357 Mean Cycle BeMCBF (1 through tween Failures 9999999) "S" = "statistical"

DEC

STA.ERRORS INF. S152 1 PROTCT E

After all messages have been displayed, press the INC key to display the MCBF. The MCBF value is calculated using the following expression: Total number of commands MCBF value = Total number of errors (The MCBF is rounded off.) If the MCBF value is 9999999 or more, "9999999" will be displayed. Press the DEC key to display the previous screen.

(Continued on next page.)

69

Page 85

Timing Considerations

If an error did not occur

RESET

Section 3-3

STA.ERRORS INF.

If no errors have occurred, this message will be displayed.

NO ERROR HEAD 1 PAGE 1

To start another operation or abort the Error Log operation, press the RESET key and the display will return to reset status.

STadrs1F data 29

3-2-10 Error Codes Error code number

3-3

Error name

Error message

70 71

Data carrier communicatin error Data verification error

COM.DC E VERIFY E

72 7A

No Data Carrier error Data Carrier address error

NO DC E ADRS E

7C 7D

Read/Write Head (or Antenna) disconnect error Wrire protect error

R/W H E PROTCT E

Timing Considerations This section covers command processing time, which is the time required for data communication between the Data Carrier and ID Sensor Unit; and turnaround time, which is the time required by the PC to retrieve a command and complete the reading/writing of data from/to the Data Carrier. Use the following table and graph to calculate the amount of time required for executing commands involving data communication between the ID Sensor Unit and Data Carrier.

3-3-1

Command Processing Time Command Processing Time is the time required for data communication between the CPU, ID Sensor, and Data Carrier. The following graphs show the relationship between the quantity of data to be processed and the time required for processing a command.

C200H-IDS01-V1

C200H-IDS21 6,000 4,000

Processing time (ms)

Processing time (ms)

6,000 4,000 2,000 1,000 600 400 200 100 60 40 20 10

1,000 600 400 200 100 60 40 20 10

12

4 6 10 20 40 60100 200

Amount of data (bytes)

70

2,000

1,000

12

4 6 10 20 40 60100 200

Amount of data (bytes)

1,000

Page 86

Timing Considerations

Section 3-3 Refer to the following tables for the processing time of each command used for communications between the ID Sensor Unit and Data Carrier.

C200H-IDS01-V1 Data Carrier V600-D@@R@@ (battery builtin type) V600-D@@P@@ (with no battery)

IDS mode

Command 1

4

---

Read 54 Write (clear 96 all) Commu- Read 72 nications disWrite 185 tance priority mode Commu- Read nications speed Write priority mode

Note

8

16

32

Byte 128

64

256

512

1K

2K

8K

59 66 82 111 172 293 109 127 162 232 374 709

536 1000 1986 ----1220 2349 4607 9123 36128

86

1224 ---

---

---

---

212 249 322 468 760 1345 2515 ---

---

---

---

91

---

---

---

---

197 219 250 309 428 667 1145 2098 ---

---

---

---

85

104 141 213 357 646

99

113 144 205 326

567

1. The IDS mode is set with pin 2 of the DIP switch. 2. The time required for command processing of the Data Carrier with a builtin battery is not influenced by the IDS mode. 3. 3.2k and 8k bytes only allow the execution of the clear all command.

C200HIDS21 Command

Byte

Read/Write command (including auto command)

1 90

4 95

8 16 32 64 128 256 512 1K 2K 105 120 200 355 665 1285 2530 5015 ---

Clear all command

---

---

---

Data Carrier Moving Speed

---

---

---

---

---

---

---

9875

Use the following formula to obtain the moving speed of the Data Carrier. Moving speed =

Moving distance in the communications zone Command processing time

Refer to the above tables for the processing time of each command. The Data Carrier’s moving distance in the communications zone varies with the combination of the R/W Head and Data Carrier. Refer to the appropriate R/W Head and Data Carrier Operation Manual. d d: Moving distance within communications zone

Data Carrier

Communications zone

R/W Head

71

Page 87

Timing Considerations

3-3-2

Section 3-3

Turnaround Time Turnaround time (TAT) is the elapsed time from the retrieval of a command by the PC until the data has been read from or written to the Data Carrier. Turnaround time can be calculated as follows: TAT = Coefficient x PC scan time + Command processing time (+ Remote I/O communication time, if applicable) Coefficient: Differs according to the number of bytes to be read/written and the I/O refresh time. PC scan time: The time required by the CPU to scan the program, refresh the I/O area, etc. Determine this value by referring to Coefficient Values below. Command processing time: The time required to process the communication between the ID Sensor Unit and the Data Carrier. Determine this value by referring to Section 3-3-1 Command Processing Time. Remote I/O communication time: additional time required when the ID Sensor Unit is mounted to a Remote I/O Slave Rack. If the ID Sensor Unit is not mounted to a Remote I/O Slave Rack, this time is zero.

Coefficient Values (per execution of a single command) 1,2,3...

1. Write (Auto Write) command Coefficient (min) = [(number of bytes of data to be transferred + 8) / 40] + 3 (Round up to next whole number.) Coefficient (max) = Coefficient (min) + 2 2. Read (Auto Read) command Coefficient (min) = (number of bytes of data to be transferred / 40) + 5 (Round up to next whole number.) Coefficient (max) = Coefficient (min) + 2 3. Clear-all command Coefficient (min) = 4 Coefficient (max) = 6

72