Lamps, Touch Switches, Numeral Setting
5-3-5
Notifying the Host That a Switch Has Been Pressed
(Determining Touch Switch Status)
Symbol
C-series
None
IR Area
H
HR Area
A
AR Area
L
LR Area
T
TC Area
Timer PVs
TU
---
C
TC Area
Counter PVs
CU
---
W
---
TK
---
D
DM Area
E
EM Area
(See note 2.)
E0_to EC_
---
196
This section describes how the status of a touch switch (whether it has been
pressed or not) is ascertained.
With the NT20, when a touch switch is pressed, the notify bit allocated to that
touch switch in the PLC memory is automatically updated.
Touch switch #1
NT20
Depending on the set operation type, the status of the allocated bit for touch
switch status notification will be controlled in one of the following ways:
Momentary:
0 (OFF) ... Not pressed
1 (ON) ... Pressed
Alternate:
The allocated bit is switched 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).
In order to determine the status of a touch switch, the status of the touch
switch notification bit allocated to it is determined.
The touch switch notify bits can be allocated to the following areas of the PLC
memory.
Alloca-
CVM1/CV -series
tion
❍
CIO Area
❍
---
❍
AR Area
❍
---
TC Area
Timer PVs
---
---
TC Area
Counter PVs
---
---
---
---
---
---
❍
DM Area
❍
EM Area
Current bank
---
---
Since all the CVM1/CV-series AR area bits are allocated to the system, they
cannot be used for applications not related to the system.
PLC
Allocated notify bit (touch switch #1)
1
Alloca-
CS/CJ-series
tion
❍
CIO Area
---
HR Area
AR Area
---
LR Area (See note 1.)
TC Area
Timer PVs
---
TC area,
Timer Completion Flags
TC Area
Counter PVs
---
TC area,
Counter Completion Flags
---
WR
---
Task Flags
❍
DM Area
Not for
EM Area
Host Link
Current bank
---
EM Area
EM bank 0 to C
Section 5-3
Alloca-
tion
❍
Not for
Host Link
❍
Not for
Host Link
Not for
Host Link
❍
Not for
Host Link
Not for
Host Link
❍: OK
: NG