Spirax Sarco Mag910 FlowMeter is driver to communicate with Mag910 Flow Meter device of Spirax Sarco Corp., in Britain.
<Figure 1> is read setting example of Spirax Sarco Mag910 FlowMeter communication driver.
<Figure 1> Read setting example of Spirax Sarco Mag910 FlowMeter 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 device.
Also, input whether to use RS-232C communication mode(0 : Not use(RS-485 mode), 1 = Use, Default = 0) as number, at Option part.
Sprix Sarco Mag910 FlowMeter driver's read schedule
Read schedule setting parameters are as follows:
1) Device Number – Value between 0 and 255, but in case of RS-232C communication mode, it is fixed to 0.
2) Read Command – Input among IDN, SCM, SFM, SPM, SSM, SIM, SCO, SFO, SPO, SIO, SPT, SFC, SFF, SF1, SF2, SHY,
FFS, FVS, FFR, FVR, FFU, FVU, FFC, FVC, FFD, FLF, FTC, FIS, FCE, FTM, FDT, RFL,
RVO, RVP, RVN, RVA, RMX, RMN, RDN, RQN, RCE, DST, DNR, DPC, DRT, IT, ISR. (Refer to <Table 1>)
3) Read Start Address – Don't care.
4) Save Start Address for Communication Server - Saving start address of Communication Server.
5) Read Size – Always fixed to 1.
Read schedule example)
FLOAT, 1, RFL, 0, 0, 1,
FLOAT, 1, RVO, 0, 1, 1,
READ, 1, FTM, 0, 10, 1,
<Table 1> is save address of read value and contents for Spirax Sarco Mag910 FlowMeter communication driver.
Command | Command Contents | Save address of Read value | Remarks |
IDN | Reading Flow Meter Model Type and Number | Save addr + 0 : Save Model Type number to String memory | Refer to String memory |
SCM | Reading Current Output Mode Setting | Save addr + 0 : Setting value | 0 = Off, 1 = Pos. Flow, 2 = Neg. Flow, 3, = Abs. Flow, 4 = Bip, Flow, 5 = Fixed |
SFM | Reading Frequency Output Mode Setting | Save addr + 0 : Setting value | 0 = Off, 1 = Pos. Flow, 2 = Neg. Flow, 3, = Abs. Flow, 4 = On Pos., 5 = On Neg., 6 = On In, 7 = On Out, 8 = Dose On, 9 = Dose Off, 10 = On < F2, 11 = On > F2, 12 = Fixed |
SPM | Reading Impuse Output Mode Setting | Save addr + 0 : Setting value | 0 = Off, 1 = Pos. Flow, 2 = Neg. Flow, 3, = Abs. Flow 4 = On Pos., 5 = On Neg., 6 = On In, 7 = On Out, 8 = Dose On, 9 = Dose Off, 10 = On < F2, 11 = On > F2 |
SSM | Reading Status Output Mode Setting | Save addr + 0 : Setting value | 0 = Off, 1 = On Pos., 2 = On Neg. 3, = On In, 4 = On Out , 5 = Dose On, 6 = Dose Off, 7 = On < F2, 8 = On > F2 |
SIM | Reading Digital Output Mode Setting | Save addr + 0 : Setting value | 0 = Off, 1 = Dose, 2 = Clr. Vol |
SCO | Reading Current Output Constant QI | Save addr + 0 : Constant value | Flowrate value for 20mA |
SFO | Reading Frequency Output Constant QF | Save addr + 0 : Constant value | Flowrate value for 1000Hz |
SPO | Reading Impulse Output Constant QP | Save addr + 0 : Constant value | Volume value for 1 Impulse |
SIO | Reading Dosing Constant QD | Save addr + 0 : Constant value | Volume value for Dosing |
SPT | Reading Impulse Width | Save addr + 0 : Impulse Width value | 10 ~ 2500 ms |
SFC | Reading Fixed Current | Save addr + 0 : Fixed Current value | 4 ~ 20 mA |
SFF | Reading Fixed Frequency | Save addr + 0 : Fixed Frequency value | 0 ~ 12000 Hz |
SF1 | Reading Low Limit Value | Save addr + 0 : Low Limit value | Low Limit value |
SF2 | Reading High Limit Value | Save addr + 0 : High Limit value | High Limit value |
SHY | Reading Hysteresis | Save addr + 0 : Hysteresis value |
|
FFS | Reading Flow Rate Unit | Save addr + 0 : Flow rate Unit value | 0 = l/s, 1 = m3/h, 2 = G/m, 3 = ¡°user¡± |
FVS | Reading Volume Unit | Save addr + 0 : Volume Unit value | 0 = m3, 1 = l, 2 = US.G, 3 = ¡°user¡± |
FFR | Reading Flow Rate Resolution | Save addr + 0 : Flow Rate Resolution value | 0 = 0, 1 = 0.0, 2 = 0.00, 3 = 0.000, 4 = 0.0000 |
FVR | Reading Volume Resolution | Save addr + 0 : Volume Resolution value | |
FFU | Reading Flow Rate User Unit | Save addr + 0 : Flow Rate User Unit value | Save unit value to String memory(Max 5 letters) |
FVU | Reading Volume User Unit | Save addr + 0 : Volume User Unit value | |
FFC | Reading Conversion Constant for Flow Rate User Unit | Save addr + 0 : User Unit proportion value | User Unit proportion for Flow Rate default Unit( l/s ) |
FVC | Reading Conversion Constant for Volume User Unit | Save addr + 0 : User Unit proportion value | User Unit proportion for Volume default Unit( l ) |
FFD | Reading Flow Rate Direction | Save addr + 0 : Direction value | 0 = Positive, 1 = Negative |
FLF | Reading Low Flow Cutoff | Save addr + 0 : Cutoff value | Float value |
FTC | Reading Time Constant | Save addr + 0 : Time Constant value | 1 ~ 20 Second |
FIS | Reading Internal Self-Test | Save addr + 0 : Self-Test status value | 0 = Off, 1 = On |
FCE | Reading Current Loop Test | Save addr + 0 : Current Loop status value | 0 = Off, 1 = On |
FTM | Reading Current Time | Save addr + 0 : Hour value, Save addr + 1 : Minute value, Save addr + 2 : Second value, |
|
FDT | Reading Current Date | Save addr + 0 : Day value, Save addr + 1 : Month value, Save addr + 2 : Year value, |
|
RFL | Reading Flow Rate value | Save addr + 0 : Flow Rate value | Float value |
RVO | Reading Volume value | Save addr + 0 : Volume value | |
RVP | Reading Positive Volume value | Save addr + 0 : Positive Volume value | |
RVN | Reading Negative Volume value | Save addr + 0 : Negative Volume value | |
RVA | Reading Auxiliary Volume value | Save addr + 0 : Auxiliary Volume value | |
RMX | Reading Maximum Flow Rate value | Save addr + 0 : Max/Min Flow value, Save addr + 1 : Hour value, Save addr + 2 : Minute value, Save addr + 3 : Day value, Save addr + 4 : Month value, Save addr + 5 : Year value |
|
RMN | Reading Minimum Flow Rate value |
|
|
RDN | Reading Nominal Diameter value | Save addr + 0 : Nominal Diameter value, |
|
RQN | Reading Nominal Flow Rate value | Save addr + 0 : Nominal Flow Rate value |
|
RCE | Reading Current Loop State | Save addr + 0 : Loop State value | 0 = Closed, 1 = Disconnected |
DST | Reading Datalogger Step | Save addr + 0 : Datalogger Step value | 0 = Off, 1 ~ 9 = 5, 10, 15, 30, 45, 60, 120, 180, 240 Minutes |
DNR | Reading the number of Datalogger Sample | Save addr + 0 : Sample value |
|
DPC | Reading Datalogger Filling | Save addr + 0 : Filling value | 0 ~ 100 % |
DRT | Reading Datalogger | Save addr + 0 : Datalogger value | Save log letter to String memory |
IT | Reading Internal Temperature | Save addr + 0 : Temperature value |
|
ISR | Reading Service Information | Save addr + 0 : Serial Number, Save addr + 1 : Power Voltage, Save addr + 2 : Power Frequency, Save addr + 3 : Information |
|
<Table 1> Save address of read value and contents for Spirax Sarco Mag910 FlowMeter communication driver |
Notice) Read value of Spirax Sarco Mag910 FlowMeter communication driver is saved to WORD/DWORD/FLOAT memory(Format of saved value is difference) as same value.
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 Spirax Sarco Mag910 FlowMeter communication driver's Option dialog box |
You can set read schedule by using , , button and listbox of <Figure 2>.
When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.
<Figure 3> Example of Spirax Sarco Mag910 FlowMeter communication driver's Add/Edit dialog box |
You can change setting value by using Spirax Sarco Mag910 FlowMeter driver's writing settings.
Digital Write
Digital write and analog write have the same setting parameters except output value(0 or 1).
Analog Write
Analog write setting parameters are as follows :
1) Port Connected port number. (Not COM number)
2) Station Value between 0 and 255, but in case of RS-232C communication mode, it is fixed to 0.
3) Address Don't care. Fixed to 0.
4) Extra1 Input among SCM, SFM, SPM, SSM, SIM, SCO, SFO, SPO, SIO, SPT, SFC, SFF, SF1, SF2, SHY, FFS, FVS, FFR, FVR,
FFU, FVU, FFC, FVC, FFD, FLF, FTC, FIS, FCE, FTM, FDT, DST, WEP, DCLR, CLRAV, CLRMM.( Refer to <Table 2> )
5) Extra2 Don't care.
<Table 2> is writing command type and setting value of Spirax Sarco Mag910 FlowMeter communication driver.
Command | Command Contents | Output value |
Remarks |
SCM | Writing Current Output Mode Setting | 0 ~ 5 |
0 = Off, 1 = Pos. Flow, 2 = Neg. Flow, 3, = Abs. Flow, 4 = Bip, Flow, 5 = Fixed |
SFM | Writing Frequency Output Mode Setting | 0 ~ 12 |
0 = Off, 1 = Pos. Flow, 2 = Neg. Flow, 3, = Abs. Flow, 4 = On Pos., 5 = On Neg., 6 = On In, 7 = On Out, 8 = Dose On, 9 = Dose Off, 10 = On < F2, 11 = On > F2, 12 = Fixed |
SPM | Writing Impuse Output Mode Setting | 0 ~ 11 |
0 = Off, 1 = Pos. Flow, 2 = Neg. Flow, 3, = Abs. Flow 4 = On Pos., 5 = On Neg., 6 = On In, 7 = On Out, 8 = Dose On, 9 = Dose Off, 10 = On < F2, 11 = On > F2 |
SSM | Writing Status Output Mode Setting | 0 ~ 8 |
0 = Off, 1 = On Pos., 2 = On Neg. 3, = On In, 4 = On Out , 5 = Dose On, 6 = Dose Off, 7 = On < F2, 8 = On > F2 |
SIM | Writing Digital Output Mode Setting | 0 ~ 2 |
0 = Off, 1 = Dose, 2 = Clr. Vol |
SCO | Writing Current Output Constant QI | Float value |
Flowrate value for 20mA |
SFO | Writing Frequency Output Constant QF | Flowrate value for 1000Hz |
|
SPO | Writing Impulse Output Constant QP | Volume value for 1 Impulse |
|
SIO | Writing Dosing Constant QD | Volume value for Dosing |
|
SPT | Writing Impulse Width | 10 ~ 2500 |
10 ~ 2500 ms |
SFC | Writing Fixed Current | 4 ~ 20 |
4 ~ 20 mA |
SFF | Writing Fixed Frequency | 0 ~ 12000 |
0 ~ 12000 Hz |
SF1 | Writing Low Limit Value | Float value |
Low Limit value |
SF2 | Writing High Limit Value | High Limit value |
|
SHY | Writing Hysteresis |
|
|
FFS | Writing Flow Rate Unit | 0 ~ 3 |
0 = l/s, 1 = m3/h, 2 = G/m, 3 = ¡°user¡± |
FVS | Writing Volume Unit | 0 ~ 3 |
0 = m3, 1 = l, 2 = US.G, 3 = ¡°user¡± |
FFR | Writing Flow Rate Resolution | 0 ~ 4 |
0 = 0, 1 = 0.0, 2 = 0.00, 3 = 0.000, 4 = 0.0000 |
FVR | Writing Volume Resolution | ||
FFU | Writing Flow Rate User Unit | Output value is none. FFU.??? or FVR.??? ??? = Unit to set( 5 letters in English ) |
Save unit value to String memory ( Max 5 letters ) |
FVU | Writing Volume User Unit | ||
FFC | Writing Conversion Constant for Flow Rate User Unit | Float value |
User Unit proportion for Flow Rate default Unit( l/s ) |
FVC | Writing Conversion Constant for Volume User Unit | User Unit proportion for Volume default Unit( l ) |
|
FFD | Writing Flow Rate Direction | 0 ~ 1 |
0 = Positive, 1 = Negative |
FLF | Writing Low Flow Cutoff | Float value |
|
FTC | Writing Time Constant | 1 ~ 20 |
1 ~ 20 Second |
FIS | Writing Internal Self-Test | 0 ~ 1 |
0 = Off, 1 = On |
FCE | Writing Current Loop Test | ||
FTM | Writing Current Time | None, Set as computer time |
|
FDT | Writing Current Date | None, Set as computer date |
|
DST | Writing Datalogger Step | 0 ~ 9 |
0 = Off, 1 ~ 9 = 5, 10, 15, 30, 45, 60, 120, 180, 240 Minutes |
WEP | Set all settings as EEPROM default value | None |
All values which are set are disappear |
DCLR | Datalogger Clear | Set as 0 |
|
CLRAV | Auxiliary Volume Counter Reset | ||
CLRMM | Min/Max Flow Rate Reset | ||
<Table 2> Writing command type and setting value of Spirax Sarco Mag910 FlowMeter communication driver |
Connect communication cable and basic power to Spirax Sarco Mag910 FlowMeter device.
Serial(RC-485) communication cable connection
Connect RS-485 communication cable of computer to RS-485 terminal of Spirax Sarco Mag910 FlowMeter device such as <Figure 4>.
<Figure 4> Appearance of connecting RS-485 communication cable and basic power etc to Spirax Sarco Mag910 FlowMeter device |
BBasic power connection
Connect 220V AC power to Spirax Sarco Mag910 FlowMeter device such as <Figure 4>.
<Figure 5> Appearance of Spirax Sarco Mag910 FlowMeter device |