Momentary : 0 (OFF) ... Not pressed 1 (ON) ... Pressed

'￿￿￿￿4￿￿￿￿￿￿-￿￿￿￿￿￿4￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿

Section 5-3

The status of the notify bit reflects the touch switch status, as follows:

Momentary : 0 (OFF) ... Not pressed 1 (ON) ... Pressed

Alternate

: The bit allocated for notification is set to 1 (ON) if currently 0, and to

 

0 (OFF) if currently 1.

Set

: The bit allocated for notification is forcibly set to 1 (ON).

Reset

: The bit allocated for notification is forcibly set 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

Data memory

 

 

 

 

 

CH

Internal/Special Relay

Internal/Special Relay

 

 

 

 

 

TIM

Timer

 

Timer

 

 

 

 

 

 

CNT

Counter

￿

Counter

 

 

 

 

 

 

HR

Holding Relay

--

 

 

 

 

 

 

AR

Auxiliary Relay

Auxiliary Relay

￿

 

 

 

 

 

LR

Link Relay

--

 

 

 

 

 

 

 

 

 

: OK ￿: NG

When making a data memory (DM) specification, specify the bit number (00 to 15) following the word number.

Reference It is not possible to allocate a momentary switch to the same word as an alter-

￿nate/set/reset switch.

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 291) for more details.

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.

￿￿￿

Page 200
Image 200
Omron V022-E3-1 operation manual Section, Momentary : 0 OFF ... Not pressed 1 ON ... Pressed