PortaSonic 7000 communication driver is the driver to communicate with Flow Meter PortaSonic 7000 and MoniSonic 4600 of Badger meter Europe GmbH in Germany.
<Figure 1> is read Schedule setting example of PortaSonic 7000 communication driver.
<Figure 1> Read Schedule setting example of PortaSonic 7000 communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively according to setting of controller.
PortaSonic 7000 communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) STATION – setting of controller type.
255 = MoniSonic 4600, 0, other = PortaSonic 7000.
2) Read command – command = refer to <Table 1>.
3) Read start address – don't care.
4) Save Start Address for Communication Server – Input save start address of communication server.
5) Read Size – fixed to 1.
Read schedule example)
READ, 0, DQ01, 0, 0, 1,
READ, 0, DI+, 0, 10, 1,
<Table 1> is command and contents for PortaSonic 7000 communication driver.
Controller type |
Command |
Contents |
Data saving address |
PortaSonic 7000 |
DQ01 |
Instantaneous Flow (L/s or gal/s) |
Start addr + 0 : data value Start addr + 1 : unit |
DQ02 |
Instantaneous Flow (L/min or gal/min) |
||
DQ03 |
Instantaneous Flow (L/h or gal/h) |
||
DQ04 |
Instantaneous Flow (ML/d or Mgal/d) |
||
DQ05 |
Instantaneous Flow (m3/s or ft3/s) |
||
DQ06 |
Instantaneous Flow (m3/min or ft3/min) |
||
DQ07 |
Instantaneous Flow (m3/h or ft3/h) |
||
DQ08 |
Instantaneous Flow (Mm3/d or Mft3/d) |
||
DQ09 |
Instantaneous Flow (BBL/s) |
||
DQ10 |
Instantaneous Flow (BBL/min) |
||
DQ11 |
Instantaneous Flow (BBL/h) |
||
DQ12 |
Instantaneous Flow (MBBL/d) |
||
DV |
Instantaneous Flow (m/s or ft/s) |
||
DI+ |
Normal Direction Integration Flow |
Start addr + 0 : Total character Start addr + 1 : data value Start addr + 2 : unit |
|
DI- |
Reverse Direction Integration Flow |
||
DAO |
Analog Output |
Start addr + 0 : data value Start addr + 1 : ANALOG character Start addr + 2 : OUT or IN character |
|
DAI |
Analog Input |
||
DC |
Status |
Start addr + 0 : status character, ¡¦ |
|
DT |
Date/Time |
Start addr + 0 ~ 2 : year, month, day Start addr + 3 ~ 4 : hour, minute |
|
LF01 ~ LF20 |
Output of Logger File Data |
Start addr + 0 : name of log ¡¦ |
|
LD01 ~ LF20 |
Output of Logger Data |
||
MoniSonic 4600 |
U0000 |
Flow Velocity |
Start addr + 0 : data value Start addr + 1 : unit ¡¦ |
U0001 |
Flow Rate |
||
U0002 ~ U0007 |
Total, Range % , ... |
||
<Table 1> Command and contents for PortaSonic 7000 communication driver |
PortaSonic 7000 communication driver store the same data in WORD, DWORD, FLOAT, STRING memory, but the data format are different.
If you click the icon in protocol option part at <Figure 1>, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part.
<Figure 2> Example of PortaSonic 7000 communication driver¡¯s Option dialog box |
You can set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> Example of PortaSonic 7000 communication driver¡¯s read schedule Add/Edit dialog box |
When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.
You can read by using 'write settings'.
Digital Write
Digital write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION setting of controller type. 255 = MoniSonic 4600, 0, other = PortaSonic 7000.
3) ADDRESS decimal unit readed data saving start address.
4) Extra1 read command = refer to <Table 1>.
5) Extra2 don't care.
Write example 1)
PORT:0, station:0, ADDRESS:0050, Extra1: DQ01, Extra2 :
The setting parameter shown above is Instantaneous Flow (L/s or gal/s) reading example for PortaSonic 7000 controller.
After reading, the readed data save from 50 WORD, DWORD, FLOAT, STRING memory.
Write example 2)
PORT:0, station:0, ADDRESS:0100, Extra1: U0000, Extra2 :
The setting parameter shown above is Normal Direction Integration Flow reading example for PortaSonic 7000 controller.
After reading, the readed data save from 100 WORD, DWORD, FLOAT, STRING memory.
Write example 2)
PORT:0, station:255, ADDRESS:0200, Extra1: DI+, Extra2 :
The setting parameter shown above is Flow Velocity reading example for MoniSonic 4600 controller.
After reading, the readed data save from 200 WORD, DWORD, FLOAT, STRING memory.
Analog Write
Analog write and digital write have the same setting parameters except output value.
Please connect normal RS-232C communication cable to 9pin sochet of PortaSonic 7000 controller such as <Figure 4>.
<Figure 4> Connection example of main power and communication cable to PortaSonic 7000 controller |
<Figure 5> is appearance of PortaSonic 7000 controller.
<Figure 5> Appearance of PortaSonic 7000 controller |
PortaSonic 7000 controller can set station, baud rate, ... by using setting button of front panel. ( refer to <Figure 5> )
1) Select ¡®SYSTEM SETUP¡¯ menu by using 'Up', 'Down', 'Left', 'Right' button.
2) Select ¡®BAUD RATE¡¯, ¡®PARITY¡¯, ¡®STOP BIT¡¯, .. by using 'Up', 'Down' button. After selection, press ¡®ENT¡¯ button. ( will be displayed each setting data )
3) Please input baud rate, ... by using 'Up', 'Down' button and press 'ENT' button. Then, setting is completed.
4) Power On after power Off.