Dynamic Fluid Measurement SFC332L connectivity to 3150-MCM
Problem Solution Overview
We performed testing between the subject device and our 3150-MCM product.
Solution Brief
Our testing generated the following results:
- We were able to successfully communicate with the device. (see below for configuration parameters used during the testing)
- The product supported Modbus functions 3 & 16
- The purpose of our testing is to assure a level of compatibility in the communications between the two products. Through this testing, we attempt to identify problem areas that may arise when implementing the interface in the field.
Configuration:
The product testing was performed with the following settings used for both devices.
- Baud: 9600
- Parity: None
- Stop: 1
- Mode: RTU Master Mode
- Physical Connection : RS-232
The Module Configuration used in our testing was as follows:
|
Address
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
|
N7:0
|
0
|
0
|
5
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
|
N7:10
|
1
|
1
|
5
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
|
N7:20
|
4
|
1
|
2
|
130
|
150
|
0
|
0
|
0
|
4
|
0
|
This configuration, in combination with the example ladder logic referenced below, generates the following memory map:
N10:0 to N10:129 - Slave Data
N10:130 to N10:149 - Slave Error Table (Contains revision level information also)
N10:150 to N10:199 - Master Error Table (Contains status of commands for diagnostics)
Command List:
|
Offset
|
0
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
|
N7:50
|
1
|
1
|
3
|
3082
|
3
|
0
|
0
|
0
|
0
|
0
|
|
N7:60
|
1
|
1
|
3
|
3086
|
1
|
3
|
0
|
0
|
0
|
0
|
|
N7:70
|
1
|
1
|
3
|
3819
|
2
|
4
|
0
|
0
|
0
|
0
|
|
N7:80
|
1
|
1
|
3
|
3821
|
2
|
6
|
0
|
0
|
0
|
0
|
|
N7:90
|
1
|
1
|
3
|
3823
|
2
|
8
|
0
|
0
|
0
|
0
|
-
N7:50 - N7 : 59 Read Meter #1 Temperature 1 decimal inferred, place in register 0.
Read Meter #1 Pressure 1 decimal inferred, place register 1. Read Meter #1 Net Flow Rate 1 decimal inferred, place in register 2.
- N7:60 - N7:69 Read Meter # 1 Mass Flow Rate 1 decimal inferred, place in register 3.
- N7:70 - N7:79 Read Net Total BBl 2 registers 0 decimal inferred, place in register 4 and 5.
- N7:80 - N7:89 Read Mass Total MLB 2 registers 1 decimal inferred, place in registers 6 and 7.
- N7:90 - N7:99 Read Meter #1 Density LB/FT3 3 decimal inferred, place in registers 8 and 9.
Cable Connection:
|
3150-MCM
|
|
SFC332L
|
|
2 RxD
|
--------------------------
|
TxD
|
|
# TxD
|
--------------------------
|
RxD
|
|
5 GND
|
--------------------------
|
COM
|
|
7 RTS
|
------------|
|
|
|
8 CTS
|
------------|
|
|
|