![Omron NT620C Скачать руководство пользователя страница 228](http://html1.mh-extra.com/html/omron/nt620c/nt620c_operation-manual_744559228.webp)
5-3
Section
Lamps and Touch Switches
217
5-3-5 Notifying the PC that a Switch has been Pressed
(Determining Touch Switch Status)
This section describes how the status of a touch switch (whether it has been
pressed or not) is ascertained.
With the NT620S/620C, when a touch switch is pressed, the notify bit allocated to
that touch switch in the PC memory is automatically notified.
Touch switch 1
Allocated notify bit (touch switch No. 1)
NT620S/620C
PC
1
The status of the notify bit reflects the touch switch status, as follows:
Momentary:
0 (OFF)
Not pressed
. .
1 (ON)
Pressed
. . .
Alternate:
The allocated bit is switches to 1 (ON) if currently 0, and to 0
(OFF) if currently 1.
Set:
The allocated notify bit is forcibly switched to 1 (ON).
Reset:
The allocated notify bit is forcibly switched to 0 (OFF).
The status of a touch switch is determined by checking the ON/OFF status of its
notify bit.
The touch switch notify bits can be allocated to the following areas of the PC
memory.
Symbol
C Series PCs
Allocated
CVM1/CV Series PCs
Allocated
DM
Data memory
f
Data memory
f
CH
Internal/Special Relay
f
Internal/Special Relay
f
TIM
Timer
Timer
CNT
Counter
Counter
HR
Holding Relay
f
–
AR
Auxiliary Relay
f
Auxiliary Relay
LR
Link Relay
f
–
f
: OK
: NG
Since all the CVM1/CV-series special auxiliary relays are allocated to the sys-
tem, they cannot be used for applications not related to the system.
The range of each memory area differs according to the PC type. See Appendix
L “PC Memory Map” (page 327).
When making a data memory (DM) specification, specify the bit number (00 to
15) following the word number.
Procedure
1. Use the support tool to allocate the touch switch notify bits to the PC memory.
2. When creating the screen data using the support tool, register the touch
switch for a screen.
3. Create the PC program to switch the notify bit of the touch switch ON and
OFF.
Содержание NT620C
Страница 1: ...Cat No V033 E1 5 Programmable Terminals NT620S 620C OPERATION MANUAL...
Страница 2: ...NT620S 620C Programmable Terminals Operation Manual Revised April 2001...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 326: ...Appendix K Option List 325 Battery 3G2A9 BAT08 This is a lithium battery used for memory backup...
Страница 328: ......
Страница 329: ......