EasyManua.ls Logo

Omega i-SERIES - Table 6.1 Function Code

Omega i-SERIES
60 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
40
Example: Set Alarm2 Low to –100.0 on Device address 20
We have to send two commands to accomplish this task.
First, we have to set decimal point into the position 2 (FFF.F) and then, set value of
Alarm 2 Low to –1000 counts (disregard decimal point).
1. Set Decimal Point
Set the Decimal point to the position 2 (FFF.F), Temperature unit ºF, Filter constant 4
- see example in 5.7.2
SEND TO DEVICE: Address 20 (Hex 14), write (06) to register 8, data 4A
DEVICE FUNCTION REGISTER DATA/ CRC
ADDRESS CODE VALUE
14 06 00 08 00 4A 8B 3A
RETURNED FROM DEVICE:
DEVICE FUNCTION REGISTER DATA/ CRC
ADDRESS CODE VALUE
14 06 00 08 00 4A 8B 3A
2. Conversion the Decimal value of (–1000) to Hexadecimal Value:
N = +1000 Dec = 0000 0011 1110 1000 Bin = 2 bytes or 16 bits
1’s complement of N = 1111 1100 0001 0111 Bin = Not N
2’s complement of N = 1111 1100 0001 1000 Bin = 1’s complement of N + 1LSB
F C 1 8 Hex
SEND TO DEVICE: Address 20 (14 Hex), write (06) to register 21 (15 Hex) value
(–1000) (FC18 Hex)
DEVICE FUNCTION REGISTER DATA/ CRC
ADDRESS CODE VALUE
14 06 00 15 FC 18 DB C1
RETURNED FROM DEVICE:
DEVICE FUNCTION REGISTER DATA/ CRC
ADDRESS CODE VALUE
14 06 00 15 FC 18 DB C1
For examples of how to Read/Write data code for INPUT, RDGCNF, ALR1CNF,
ALR2CNFG, OUT1CNF, OUT2CNF, COLOR, COMM.PARAMETERS,
BUSFORMAT, DATAFORMAT see section 5.7 of this manual.

Table of Contents

Related product manuals