88 Register-Based Programming
Appendix B
Relay Control
Register
There are 16 relay control registers: Bank 0 Relay Control Register (base +
20
16
) through Bank 15 Relay Control Register 2 (base + 3E
16
). These
registers are used to open and close the specified matrix relays. Reading
any Relay Control Register will always return
FFFF
16
regardless of the
channel states.
The numbers in the register maps indicate the channel number to be
written to. To close a relay, you must write a 1 to the bit. For example,
WRITEIO-16,(DE00
16
);0010
16
closes bit 4 of bank 0 (channel 004), where
DE00
16
is the base address, 20
16
is the offset address, and 0010 is the
hexadecimal number to send a 1 to bit 4.
Bank 0 Relay Control Register
Address
Base+20
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
015
014
013
012
011
010
009
008
007
006
005
004
003
002
001
000
Bank 1 Relay Control Register
Address
Base+22
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
115
114
113
112
111
111
109
108
107
106
105
104
103
102
101
100
Bank 2 Relay Control Register
Address
Base+24
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
215
214
213
212
211
210
209
208
207
206
205
204
203
202
201
200
Bank 3 Relay Control Register
Address
Base+26
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
315
314
313
312
311
310
309
308
307
306
305
304
303
302
301
300
Bank 4 Relay Control Register
Address
Base+28
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
415
414
413
412
411
410
409
408
407
406
405
404
403
402
401
400
Bank 5 Relay Control Register
Address
Base+2A
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
515
514
513
512
511
510
509
508
507
506
505
504
503
502
501
500
Bank 6 Relay Control Register
Address
Base+2C
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
615
614
613
612
611
610
609
608
607
606
605
604
603
602
601
600
Содержание E1465A
Страница 2: ......
Страница 6: ...6 ...
Страница 10: ...10 Notes ...
Страница 12: ...12 Getting Started Chapter 1 Figure 1 1 E1465A 16x16 Relay Matrix Module TERMINAL MODULE MATRIX MODULE A B C D ...
Страница 13: ...Getting Started 13 Chapter 1 Figure 1 2 E1466A 4x64 Relay Matrix Module TERMINAL MODULE MATRIX MODULE A B C D ...
Страница 14: ...14 Getting Started Chapter 1 Figure 1 3 E1467A 8x32 Relay Matrix Module TERMINAL MODULE MATRIX MODULE A B C D ...
Страница 18: ...18 Getting Started Chapter 1 Notes ...
Страница 80: ...80 Matrix Modules Command Reference Chapter 4 Notes ...
Страница 98: ...98 Register Based Programming Appendix B Notes ...