Meant to be like this (cut and pasted from multiple Excel columns earlier):
m01 = 127.0
m02 = 128.0
m03 = 8388608.0
step01 = CST
step02 = ROO LI01
step03 = BIF 6
step04 = SOO RO01
step05 = EXIT
step06 = COO RO01
step07 = IN 2
step08 = INH LI01
step09 = IN H7F80
step10 = ANDX 2
step11 = DUP
step12 = IN H7F80
step13 = XORX 2
step14 = BIT 17
step15 = SBD RO01
step16 = EXIT
step17 = CBD RO01
step18 = POP
step19 = LAC M02
step20 = IDIV
step21 = SUB M01
step22 = EXP
step23 = INH LI01
step24 = LAC MO1
step25 = ANDX 2
step26 = DIV M02
step27 = INL LI01
step28 = DIV M03
step29 = ADD 2
step30 = INC
step31 = IN 1
step32 = IN 2
step33 = IN IO01
step34 = MUL 2
step35 = SUB
step36 = MUL 3
step37 = OUT RO01
step38 = END
Accuracy or resolution is limited by the 24-bit (23 actual with the leading
"1" implied) mantissa; not really the whole 32-bits.
Example-1: 0 to 16,777,216 with delta of 1 for values without decimals.
Example-2: A value of 1.1 will be represented in 32-bit FP hex as "3F8C
CCCC", which when re-computed back to real value becomes 1.099999905.
Edwin Nasol
-----Original Message-----
From: Nasol, Edwin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 23 August, 2001 8:52 AM
To: Foxboro DCS Mail List
Subject: RE: Omni 6000 Computers to I/A
We have used the below MDG CALC program to calculate real values (on RO01)
from 32-bit FP (from an MCIN.PAKCIN) OMNI flow computer data -- sent as two
16-bit registers (MSB/LSB) through a Modbus RTU link.
8< --- snipped --- >8
Best regards,
Edwin Nasol
ISS (S) P/L
Sr. Engr. 2
-----Original Message-----
From: hafedh ghodhbani [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 23 August, 2001 6:25 AM
To: Foxboro DCS Mail List
Subject: Omni 6000 Computers to I/A
Hi list,
I simulated a communication between I/A and Omni Computer using
an MDG. I found some difficulties using Modbus RTU (registers16/32 bits,
accuracy).
I would like to know if so from the list has got a similar running
application.
I have some questions about accuracy of values and Calc blocks used.
Regards
Hafdeh Ghodhbani
C&I Engineer
British Gas International, Tunisia
-----------------------------------------------------------------------
This list is neither sponsored nor endorsed by the Foxboro Company. All
postings from this list are the work of list subscribers and no warranty
is made or implied as to the accuracy of any information disseminated
through this medium. By subscribing to this list you agree to hold the
list sponsor(s) blameless for any and all mishaps which might occur due to
your application of information received from this mailing list.
To be removed from this list, send mail to
[EMAIL PROTECTED]
with "unsubscribe foxboro" in the Subject. Or, send any mail to
[EMAIL PROTECTED]
-----------------------------------------------------------------------
This list is neither sponsored nor endorsed by the Foxboro Company. All
postings from this list are the work of list subscribers and no warranty
is made or implied as to the accuracy of any information disseminated
through this medium. By subscribing to this list you agree to hold the
list sponsor(s) blameless for any and all mishaps which might occur due to
your application of information received from this mailing list.
To be removed from this list, send mail to
[EMAIL PROTECTED]
with "unsubscribe foxboro" in the Subject. Or, send any mail to
[EMAIL PROTECTED]