Measurement-computing CIO-RELAY08 Uživatelský manuál Strana 10

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 20
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 9
Table 4-2. Sample Coding to Turn ON Relays 0, 1, 3, 5, & 7
111111OP0
212212OP1
004004OP2
818818OP3
00160010OP4
32132201200P5
00640040OP6
128112880180OP7
WEIGHT
ON=1
DECIMALWEIGHTON=1HEXRELAY
Totals AB 171
4.2 PROGRAMMING NOTES
WRITE = CONTROL: Write a byte to the register to control the relays. A one in the
relay bit position turns the relay on.
READ = STATUS: Read the status of the relay control register. A one in the relay
bit position indicates the relay is on.
ON & OFF for FORM C RELAYS:
ON means that FORM C relay common terminal is in contact with the No rmally
Open contact.
OFF means that FORM C relay common terminal is in contact with the no rmally
closed contact.
4.3 DETAILED RELAY CONTROL I/O MAP
The following section provides a detailed description of the register map and relay
control registers.
Base Address +0
(applicable to all CIO-RELAY series boards).
RELAY OP7 OP6 OP5 OP4 OP3 OP2
OP1 OP0
BIT No.
7 6 5 4 3 2 1 0
HEX Value
80 40 20 10 8 4 2 1
DECIMAL
128 64 32 16 8 4 2 1
6
Zobrazit stránku 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 19 20

Komentáře k této Příručce

Žádné komentáře