192
Lamps, Touch Switches, Numeral Setting
Section 5-3
5-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 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.
The lamp bit indicates the lamp status as follows:
0 (OFF): Unlit
1 (ON): Lit (reverse display) or flashing
1,2,3...
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.
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 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
NT20
PLC
Lamp #1
Lamp #2
Unlit
Allocated bit (Lamp #1)
Allocated bit (Lamp #2)
Lit
1
2
0 (OFF)
1 (ON)
Summary of Contents for NT20
Page 1: ...Programmable Terminal Cat No V091 E1 01 NT20 USER S MANUAL ...
Page 2: ...NT series Programmable Terminal User s Manual Produced March 2007 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 9: ...x TABLE OF CONTENTS ...
Page 15: ...xvi ...
Page 21: ...xxii EC Directives 6 ...
Page 37: ...16 Before Operating Section 1 6 ...
Page 153: ...132 Transferring the Resource Data Section 3 11 ...
Page 185: ...164 Numeral Setting Section 4 8 ...
Page 267: ...246 Key to Programs Section 6 8 ...
Page 281: ...260 Specifications Appendix A ...
Page 285: ...264 Transporting and Storing PTs Appendix C ...
Page 303: ...282 Function Restrictions Depending on the Support Tool Appendix I ...
Page 307: ...286 Index ...
Page 309: ...288 Revision History ...