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

The text of a manual · part 10 of 15

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

Pages 72 to 80 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 72

Monitoring

Section 3-2

Setting Address Page Numbers

JOB

There are two methods for setting address page numbers: with the INC and DEC keys or with the DATA key (refer to the following figures). In the following example, the INC and DEC keys are used.

HEAD 1 PAGE 00 STadrs00 data 00 HEAD 1 PAGE 00

SET

STadrs00 data 00

INC

HEAD 1 PAGE 01 STadrs00 data 00

INC

Press the JOB key while the initial message or reset message is displayed.

A R/W Head (or Antenna) number can now be set; as the word number is already fixed, press the SET key to continue. The address page number is increased by one each time the INC key is pressed.

HEAD 1 PAGE 02 STadrs00 data 00

DEC

HEAD 1 PAGE 01 STadrs00 data 00

HEAD 1 PAGE 03 SET

The address page number is decreased by one each time the DEC key is pressed.

After the address page number has been selected, press the SET key.

STadrs00 data 00

57

Page 73

Monitoring

Section 3-2 There are two methods for setting address page numbers: with the INC and DEC keys or with the DATA key. In the following example, the DATA key is used. C200H-IDS01-V1

HEAD 1 PAGE 0

Press the JOB key while the initial message or reset message is displayed.

JOB

STadrs00 data 00

SET

HEAD 1 PAGE 0

A R/W Head word number can now be set; as the word number is already fixed, press the SET key to continue.

STadrs00 data 00 DATA

HEAD 1 PAGE

Press the DATA key; an address page number can now be input.

STadrs00 data 00 0

HEAD 1 PAGE 0 STadrs00 data 00

A

HEAD 1 PAGE 0A STadrs00 data 00

Set the address page number to the desired value (within the range 0 through F) by pressing the corresponding numeric key. In this example, the address page number is set to 5. Set the lower digit of the address page number to the desired value (within the range 0 through F) by pressing the corresponding numeric key. In this example, the address page number is set to 0A.

C200H-IDS21

JOB

ANT.1 PAGE 0 STadrs00 data 00 ANT. 1 PAGE 0

SET

STadrs00 data 00

DATA

ANT. 1 PAGE STadrs00 data 00

5

ANT. 1 PAGE 5 STadrs00 data 00

Press the JOB key while the initial message or reset message is displayed.

A R/W Antenna number can now be set; as the word number is already fixed, press the SET key to continue.

The address page number is decreased by one each time the DEC key is pressed.

Set the address page number to the desired value (within the range 0 through 9). In this example, the address page number is set to 5.

ANT. 1 PAGE 5 SET

STadrs00 data 00

58

Press the SET key to complete the procedure.

Page 74

Monitoring

3-2-4

Section 3-2

Address/Data Setting Before executing the Read (READ), Step Write (WRITE 1), Continuous Write (WRITE 2), or Test (TEST) commands, you must specify the Data Carrier address to be accessed and the data (1 byte) to be written to that address. This section explains the procedure for specifying the data, selecting the addresses, and setting the addresses and data. The data and addresses that must be set before the execution of each command are shown in the following table. Once the data is set in the specified address range, it will be retained until the data is set again. Therefore, the same address can be accessed as many times as required by pressing the command key. Command

Note

Address Start address End address

Data

READ WRITE 1 (Step Write)

• •

− −

− •

WRITE 2 (Continuous Write) TEST 1 (Read)

• •

• •

• −

TEST 2 (Write)

•

•

•

TEST 3 (Auto Read) TEST 4 (Auto Write)

• •

• •

− •

1. Items marked • must be set. 2. Set an end address whose value is equal to or greater than that of the specified start address.

Selecting Start and End Addresses

First, select a start or end address. Refer to the diagram below in selecting either the start address or the end address of a specific page. Once selected, the desired values can be input.

HEAD 1 PAGE 1

Press the RESET button to display the reset screen, as shown on the left.

RESET

STadrs00 data 00 Start address or

Pressing the left or right arrow key alternately displays the current start and end addresses.

HEAD 1 PAGE 1 EDadrsFF data 00 End address

"FF" is displayed on power application.

Note This operation displays only the current addresses; it cannot be used to change an address.

59

Page 75

Monitoring

Section 3-2

Setting Addresses

First select either a start address (STadrs) or end address (EDadrs) as described under the previous heading Selecting Start and End Addresses. Then enter the desired value for the start address or end address. The values can be input either directly or by using the INC/DEC keys. Refer to the following figures.

Setting Addresses (Direct Input)

HEAD 1 PAGE 1 ADRS

STadrs_ data 00

1

HEAD 1 PAGE 1 STadrs1 data 00

F

HEAD 1 PAGE 1 STadrs1F data 00

Change the current address (start or end address) by first pressing the ADRS key and then entering the desired value. In this example, the start address is changed to 1F. Enter the value (from 0 through F) of the leftmost digit of the address. In this example, the higher digit is 1.

Enter the value (from 0 through F) of the rightmost digit of the address. In this example, the lower digit is F.

The address can also be input or changed using the INC or DEC keys, as shown below. Setting Addresses (INC/DEC keys)

HEAD 1 PAGE 1 INC

STadrs20 data 00 HEAD 1 PAGE 1

The address is incremented each time the INC key is pressed. Note that the address is set in hexadecimal.

The address is decremented each time the DEC key is pressed.

DEC

STadrs1F data 00 When setting the address, be sure that the end address is equal to or greater than the start address. If a value input for the end address is less than that of the start address, the buzzer will sound and the input will not be accepted. When the last value is input, the entire address is automatically set; it is not necessary to press the SET key.

60

Page 76

Monitoring

Section 3-2

Data Setting

After the address to be accessed has been set, input and set the data. Refer to the following figure.

HEAD 1 PAGE 1 DATA

5

A

Press the DATA key to begin entering and setting data.

STadrs1F data _ HEAD 1 PAGE 1 STadrs1F data 5_ HEAD 1 PAGE STadrs1F data 5A

First, enter the value of the leftmost digit (0 through F). In this example, the higher digit is 5.

Next, enter the value of the rightmost digit (0 through F). In this example, the lower digit is A.

After the lower digit has been entered, the data is automatically set; it is not necessary to press the SET key. If you have entered the wrong data, or you want to change the data, press the DATA key and repeat the procedure. If the Read command is subsequently used to read data to the same data area, the set data will be changed to the value read by the Read command.

61

Page 77

Monitoring

3-2-5

Section 3-2

Read This operation reads 1 byte of data from a specified address in the Data Carrier. Refer to the following figure. Before performing this operation, select the address and data you want to read. Refer to 3-2-4 Address/Data Setting for details.

HEAD 1 PAGE 1 start address setting

Set the start address from which the data is to be read.

STadrs1F data 00 start address (read address)

HEAD 1 PAGE 1

READ

RDadrs1F data

Press the READ key; the data in the specified start address will be read.

Indicates that Read will be executed. Normal completion

HEAD 1 PAGE 1 RDadrs1F data CS

When the read operation has been completed, the read data is displayed.

Read data When an error occurs

HEAD 1 PAGE 1 RDadrs1F NO DC E

If an error has occurred during the READ operation, the buzzer will sound for 2 seconds, and an error message will be displayed (refer to 3-2-10 Error Codes ).

Error message or

Pressing the left or right arrow key will toggle the display between the error message and the corresponding error code.

HEAD 1 PAGE 1 RDadrs1F error 72 Error code number

HEAD 1 PAGE 1 RESET

STadrs1F data C8

62

To perform another operation or to abort the READ operation, press the RESET key. The display will return to the reset display. In this example, the display indicates the reset status. Another operation can now be performed.

Page 78

Monitoring

3-2-6

Section 3-2

Step Write (WRITE 1) This operation writes 1 byte of specified data to a specified address in the Data Carrier. Refer to the following figure. Before performing this operation, select the address and the data you want to write. Refer to 3-2-4 Address/Data Setting for details.

start address/ data setting

HEAD 1 PAGE 1 STadrs1F data 83 start address (write address) WRITE

1

Set the data to be written and the address in the Data Carrier the data is to be written to.

Data to be written

HEAD 1 PAGE 1 SWadrs1F data

Press the WRITE 1 key to write the data to the start address and begin the Step Write operation.

Indicates that Step Write will be executed. Normal completion

HEAD 1 PAGE 1

If the data is written correctly, it is displayed as shown in the example.

SWadrs1F data 83 Data to be written

When an error occurs

HEAD 1 PAGE 1 SWadrs1F NO DC E

If an error occurs during the operation, the buzzer sounds for 2 seconds, and an error message is displayed (refer to 3-2-10 Error Codes ).

Error message or

Pressing the left or right arrow key will toggle the display between the error message and the corresponding error code.

HEAD 1 PAGE 1 SWadrs1F error 72 Error code number

HEAD 1 PAGE 1 RESET

STadrs1F data 83

To perform another operation, or to abort the Step Write operation, press the RESET key. The display will return to the reset status. In this example, the display indicates the reset status . Another operation can now be performed.

63

Page 79

Monitoring

3-2-7

Section 3-2

Continuous Write (WRITE 2) This operation continuously writes several bytes of the same data to a specified address range in the Data Carrier. Refer to the following figure. Before performing this operation, select the address and the data you want to write. Refer to 3-2-4 Address/Data Setting for details.

start address/ data setting

Select the start and end addresses, as well as the data to be written.

HEAD 1 PAGE 1 STadrs1F data 54

ST: start address ED: end address

Data to be written start address ≥ end address WRITE

2

HEAD 1 PAGE 1 CWadrs1F data 54 Indicates that Continuous Write will be executed.

start address

Press the WRITE 2 key. "CW" is displayed in the lower left corner of the Programming Console display, indicating that Continuous Write is being executed. The data is written to the addresses in the range specified.

HEAD 1 PAGE 1 CWadrs28 data 54

Normal completion

HEAD 1 PAGE 1 CWadrs3F data 54 End address

When an error occurs

Data to be written

HEAD 1 PAGE 1 CWadrs32 NO DC E Address at which an error has occurred

Error message or

When the data is written correctly to all addresses and the Continuous Write operation is completed, the written data appears as shown in the example. If an error occurs during the Continuous Write operation, the buzzer sounds for 2 seconds, and an error message is displayed (refer to 3-2-10 Error Codes ).

Pressing the left or right arrow key will toggle the display between the error message and the corresponding error code.

HEAD 1 PAGE 1 CWadrs1F data 72 Error code number

HEAD 1 PAGE 1 RESET

64

STadrs1F data 54

To perform another operation or abort the Continuous Write operation, press the RESET key, and the display will return to reset status. In this example, the display indicates the reset status. Another operation can now be performed.

Page 80

Monitoring

3-2-8

Section 3-2

Monitor Test (TEST) This operation repeatedly executes (at 1-second intervals) either the Read, Write, Auto Read, or Auto Write command in specified addresses of the Data Carrier. Any command errors that occur are displayed. Use this operation to test and adjust the distance of the Data Carrier from the Read/Write Head (or Antenna), and the travel speed of the Data Carrier. Refer to the following figure. Before performing this operation, select the address and the data you want to read or write. Refer to 3-2-4 Address/Data Setting for details. start address/ end address/ data setting

HEAD 1 PAGE 1 STadrs1F data 29

ST: start address ED: end address

Data to be written

First, select the address to be accessed and the data to be written or read. When executing Write or Auto Write, remember to set the data to be written as well as the address.

start address ≤ end address TEST

TEST 1 2 3 4 RD WT AR AW These commands are selected by pressing the following keys:

1

When an error occurs

1

: read (RD)

2

: write (WT)

3

: auto read (AR)

4

: auto write (AW)

TEST RD

TEST RD error72 NO DC E Error code number

Press the TEST key. Execute a command from the command menu (displayed on the screen) by pressing the number that corresponds to the command you want to execute.

In this example, the READ command is selected.

From the start address to the end address of the Data Carrier, the READ command is executed on a stepby-step basis. In one-second intervals, data is read and checked for errors. If an error occurs while a command is being executed, the corresponding error number and message are displayed. (Refer to 3-2-10 Error Codes ). The error message and code disappear automatically if the next command is executed correctly.

Error message While the TEST operation is being performed, the T/R LED indicator on the ID Sensor Unit blinks.

RESET

HEAD 1 PAGE 1 STadrs1F data 29

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

65