Omron NT631 Series Reference Manual page 412

Programmable terminals
Hide thumbs Also See for NT631 Series:
Table of Contents

Advertisement

Examples of Actual Applications of Direct Access
Example:
Enabling and Disabling a Touch Switch with an Interlock Bit
Example:
Downloaded from
Elcodis.com
electronic components distributor
• If character string memory tables No. 0 to No. 6 are used for other applications
at the same time as they are used to display the day of the week.
1, 2, 3...
1. Copy the contents of numeral memory table 253 to a number that can be
allocated to a PC word by using the memory table copy function.
2. To achieve correspondence between the numbers of the character string
memory tables that store Sun to Sat and the contents of numeral memory
table No. 253 (0 to 6), add a constant.
3. Display the day of the week indirectly by following the example above.
Storing Sun to Sat in character string memory tables No. 200 to 206.
Character string memory table
Initial value
Adding 200 to the contents of numeral memory table No. 253 enables indirect
specification of the character string memory tables that store Sun to Sat.
While the system is setting up or initializing, the guide characters Please wait are
displayed on the touch switch and the touch switch's operation is disabled.
When the system is ready, the guide characters Ready are displayed on the
touch switch and the touch switch's operation is enabled.
Register a touch switch with settings like those indicated below in the screen.
• PC address of lamp bit: Bit address of the bit in the PC that indicates op-
• Guide character display:Check mark set, ON/OFF switching character
• Interlock:
• PC address of interlock bit:
With the settings above, the touch switch display will change according to the
operating status of the equipment and the touch switch's operation will be en-
abled/disabled as well.
Suggestions
• The interlock function allows individual inputs (numeral or character string)
and touch switches to be enabled/disabled from the PC. (See Disabling T ouch
Switches with Interlock Bits on page 357 for details.)
200
201
Sun
Mon
PT
Input disabled
Please wait
when OFF
Input enabled
Ready
when ON
erating status of the equipment. (OFF during set
up or initialization and ON when ready.)
strings, guide characters Please wait when lamp
is not lit, guide characters Ready when lamp is lit
Check mark set
Bit address of the bit in the PC that indicates op-
erating status of the equipment. (OFF during set
up or initialization and ON when ready.)
Section
5-1
202
203
204
205
206
Tue
Wed
Thu
Fri
Sat
PC
Interlock bit
403

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt31 seriesNt21 seriesNt31c seriesNt631c series

Table of Contents