Download Print this page

Omron NT2S-SF123B-EV2 Instruction Sheet page 5

Programmable terminal
Hide thumbs Also See for NT2S-SF123B-EV2:

Advertisement

E
xample 2: Embed a variable in the screen
Suppose the following screen needs to be displayed on the
NT2S-SF123B-EV2 :
Door:
CLOSED
BAKETIME:
13.6s
Suppose the bake time is available in data word DM0100 and the oven
status is given by bit 001.00.
To display this screen, do the following:
a.
Move number 200 in DM0020 since the screen will be stored in DM0200
onwards.
b.
Move character string "Door:" into 2 words, i.e. DM0200 and DM0201.
c.
Move characters "OPEN" if bit 001.00 is ON or characters "CLOSED" if
001.00 is OFF.
This is a way to implement bit sensitive screens.
e.
In a similar manner, embed the characters "BAKETIME: " into 5 words
from DM0208.
f.
NT2S-SF123B-EV2 uses DM0000 to DM0011 registers for embedding data.
Here we select DM0003 to be used for embedding. So, move the data of
DM0100 into DM0003 so that embedding can be done.
Page 12
U
nit Operations:
The work bits 200.00 to 200.15 control the mode of operation of the unit.
Work Bit
Function
200.00
Controls LED0
200.01
Controls LED1
200.02 & 200.03
Not used
200.04 to 200.07
Reserved for future use
200.08 & 200.09
00: Screen mode
10: Operator mode
200.10 & 200.11
Timeout to screen mode from Operator mode
00: 10 seconds
10: 30 seconds
200.12 to 200.14
Reserved for future use
200.15
To disable data entry in Screen mode
(ON : Disable)
From the above table, it is clear that the unit will display ASCII text (see section
on Screens for more details on this ) if 200.08 and 200.09 are OFF. To allow
operators to view and edit the registers, 200.08 is to be kept ON. If 200.08 is OFF,
the unit will not display any registers and the function keys will only act as push
buttons mapped to the corresponding bits from 201.00. Refer to "Register Mode"
for details. If 200.09 is ON, REG key press will allow an operator to view the registers.
The REG key will scroll through the available register types whereas the UP and
DOWN arrow keys will scroll through the register/bit numbers. After timeout
specified by bits 10 and 11 and if no key is pressed, the unit will switch back to
the Screen mode and display screens. Thus Operator mode is a combination
of Register as well as Screen modes.
01: Register mode
11: Invalid
01: 20 seconds
11: 40 seconds
Page 9

Advertisement

loading