Download PROGRAMMING SOFTWARE - Spectrum Controls, Inc.
Transcript
CHAPTER 8: SOI-120 FUNCTION KEY BUILDER Bit Write Mode Defining the function keys with Bit Write enabled allows each function key to either set (1) or clear (0) a bit in the PLC. Bit Write may be enabled with or without Auto Return or Continue Mode screen linking enabled. The function keys access contiguous registers defined by the user in SOI-SPS. Example: F1 through F8 are assigned to Register 101 through 108, respectively, so pressing a function key would send the corresponding integer value to the PLC, depending on whether the function is to set (1) or clear (0) the bit, per the following. SOI-120 Function Key Set Value Clear Value Register Location F1 00000000 00000001 00000000 00000000 1 F2 00000000 00000010 00000000 00000000 2 F3 00000000 00000100 00000000 00000000 3 F4 00000000 00001000 00000000 00000000 4 F5 00000000 00010000 00000000 00000000 5 F6 00000000 00100000 00000000 00000000 6 F7 00000000 01000000 00000000 00000000 7 F8 00000000 10000000 00000000 00000000 8 All function keys shall be defined with the same bit manipulation such that all keys either set or clear the assigned bit. It is the responsibility of the system design engineer to read and reset the bit in the PLC program. Function key screen link and Bit Write The F1-F8 Function Keys may perform a “HOT” screen call-up and perform a Bit Write simultaneously, if programmed to do so. All of the above capabilities and operation guidelines apply to this combination functionality. 85