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.
m01
127.0
m02
128.0
m03
8388608.0
step01
CST
step11
DUP
step21
SUB M01
step31
IN 1
step02
ROO LI01
step12
IN H7F80
step22
EXP
step32
IN 2
step03
BIF 6
step13
XORX 2
step23
INH LI01
step33
IN IO01
step04
SOO RO01
step14
BIT 17
step24
LAC MO1
step34
MUL 2
step05
EXIT
step15
SBD RO01
step25
ANDX 2
step35
SUB
step06
COO RO01
step16
EXIT
step26
DIV M02
step36
MUL 3
step07
IN 2
step17
CBD RO01
step27
INL LI01
step37
OUT RO01
step08
INH LI01
step18
POP
step28
DIV M03
step38
END
step09
IN H7F80
step19
LAC M02
step29
ADD 2
step10
ANDX 2
step20
IDIV
step30
INC
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]