Turning On (Lit) And Off (Unlit) The Lamps; (Changing The Contents Of Allocated Bits) - Omron NT20S-ST121B-EV3 User Manual

Programmable terminal
Table of Contents

Advertisement

Lamps, Touch Switches, Numeral Setting
5-3-2

Turning ON (Lit) and OFF (Unlit) the Lamps

(Changing the Contents of Allocated Bits)

1,2,3...
Application Example to Make the Lamp Light or Flash
192
The following describes the procedure to change the lamp display status on
the NT20 by changing the contents of the allocated bits.
To change the lamp display status on the NT20, turn ON and OFF the lamp
control bit allocated in the PLC.
NT20
Lamp #1 Lamp #2
Lit
Unlit
The lamp bit indicates the lamp status as follows:
0 (OFF): Unlit
1 (ON): Lit (reverse display) or flashing
1. Use the Support Tool to set the PLC memory area where the lamp 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 PLC program to turn ON/OFF the lamp 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.
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 mes-
sage "UP"
Lamp #1: Word 000201 (output bit to lower robot arm), guide display mes-
sage "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
display message "CLOCK"
Lamp #4: Word 000204 (output bit to clamp rotate robot arm), guide dis-
play message "CLAMP"
Lamp #5: Word 000205 (output bit to unclamp rotate robot arm), guide dis-
play message "UNCLAMP"
Contents registered to the screen: Lamp #0 to #5
Section 5-3
PLC
Allocated bit (Lamp #1)
1 (ON)
1
Allocated bit (Lamp #2)
0 (OFF)
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt20Nt series

Table of Contents