Section 2: Operating the 9605
Page 4
PM9605 Revision 1, 9605 Version 36.1.1
2.4 Green/Amber/Red LED bits, Mode A only
In Operating Mode A, The SLC-500's application program must control the 9605's LED's, using the
Green, Amber, and Red LED bits. The third, fourth and fifth registers of the Dialogue File are reserved for this
purpose. Each LED is assigned one bit from each of the three color registers. The following table shows the
correlation between the LEDs and color register bits.
LED
Number
Green
Register
Amber
Register
Red
Register
1
00
00
00
2
01
01
01
3
02
02
02
4
03
03
03
5
04
04
04
6
05
05
05
7
06
06
06
8
07
07
07
9
08
08
08
10
09
09
09
11
10
10
10
12
11
11
11
13
12
12
12
14
13
13
13
15
14
14
14
16
15
15
15
To illuminate an LED a particular color the appropriate bit must be energized. For example, to light LED 10 red, bit
number 09 of the red register must be energized. A priority scheme exists so that if more than one color register
bit is energized for the same LED the outcome can be anticipated. Red has highest priority, followed by amber
then green. Only LEDs that are configured to be controlled by bits inside the PLC (Mode A) will be affected by the
color registers.
Note:
For a given LED to be off, all three of its color bits must be 0.
2.5 Switch Configure bits
Each of the 9605's 16 switches can be individually configured as a push-button or selector switch. Each one of
the Switch Configure bits will configure one of the 9605's switches. The second register in the Dialogue File is
reserved for use as a switch configure register. The 9605 will frequently update the bits in this register to
correspond to the action on the sixteen switches.
The diagram on the following page shows the correlation between the switches and the switch configure register
bits.
Содержание 9605
Страница 18: ......