Version 1.03
Page 20
13.
SPECIAL PROGRAMMING NOTES
STR Control from a Function Key
Any function key can be programmed to change the screen by sending a new value to the STR in
the PLC. The STR is defined in the tag database as the Screen Trigger Register tag. The PLC
register will store the value in HEX, so select HEX Constant for the function key operation. If
the user needs to change to screen 25, enter the value 25 in the HEX constant field and the NT2S
will send the HEX value 19 to the STR. Screen 25 will be displayed.
STR Control from the PLC
Since the display can have screen numbers up to 65,528 and the STR is only a four digit register,
the STR is always Hexadecimal. Manipulate the STR in HEX when changing screens from the
PLC. For example, if screen 12 is to be displayed, write the value 000C to the STR. This is
usually done with a copy type command in the PLC ladder program.(Function 21-MOV for
Omron)
Function Key Control Definitions
When programming function keys to control bits in the PLC there are five options for the type of
bit control. After selecting one of the keys you must define a coil tag or address. Next you
choose one of five “Operations” on that tag. The Five Operations and there effect on the PLC
address are as follows:
TURN ON –
Performs a FORCE SET of that bit in the PLC. No other bits in that register are affected
TURN OFF
–
Performs a FORCE RESET of that bit in the PLC. No other bits in that register are affected
TOGGLE
–
Performs a FORCE SET first time the key is pressed then a FORCE RESET the next time. No
other bits in that register are affected
HOLD ON –
If the bit is ON, there will be no change to the bit. If the bit is OFF the display performs a
FORCE SET of that bit when the key is pressed and a FORCE RESET when released. No other
bits in that register are affected
HOLD OFF
–
If the bit is OFF, there will be no change to the bit. If the bit is ON the display performs a
FORCE RESET of that bit when the key is pressed and a FORCE SET when released. No other
bits in that register are affected