Omron NT-series Programmable Terminal V022-E3-1 User Manual

Page 195

Advertising
background image

Reference

 

' 4  - 4     

Section 5-3

6-3-2

Turning ON (lit) and OFF (unlit) the Lamps
(Changing the Contents of Allocated Bits)

The following describes the procedure to change the lamp display status on the
NT600S by changing the contents of the allocated bits.

To change the lamp display status on the NT600S, turn ON and OFF the lamp con-
trol bit allocated in the PC.

NT600S

PC

Lamp #1

Lamp #2

Unlit

Allocated bit (Lamp #1)

Allocated bit (Lamp #2)

Lit

1

2

0 (OFF)

1 (ON)

The lamp control bit indicates the lamp status as follows:

0 (OFF): Unlit

1 (ON):

Lit (reverse display) or flashing

Procedure

1. Use the support tool to set the PC memory area where the lamp control bit is to

be allocated to.

2. Register the lamps to the screen when creating the screen data by using the

support tool.

3. Create a PC program to turn ON/OFF the lamp control bit.

Use the support tool to set the lamp display attributes whether the lamp is lit or
flashing when the lamp control bit is turned ON.

Application Example to Make the Lamp Light or Flash

This example gives a procedure to control the bits to move a robot arm and turning
the lamps ON and OFF.



Support tool settings

Allocate the memory as shown below by using the support tool.

Lamp #0:

Word 000200 (output bit to raise robot arm), guide display message
“UP”

Lamp #1:

Word 000201 (output bit to lower robot arm), guide display message
“DOWN”

Lamp #2:

Word 000202 (output bit to rotate robot arm counterclockwise),
guide display message “C/CLOCK”

Lamp #3:

Word 000203 (output bit to rotate robot arm clockwise), guide dis-
play message “CLOCK”

Lamp #4:

Word 000204 (output bit to clamp rotate robot arm), guide display
message “CLAMP”

Advertising