Open Thus0 opened 3 years ago
In fact, Aflow/feed2 is about 640 kMol/h (on my simulation HMI) but it's limited to 500 kMol/h (on ScadaBR HMI) because of this scaling (divide by 500) https://github.com/Fortiphyd/GRFICSv2/blob/22d7b050cc4ec8fd5057db0dffa298e5995d6135/simulation_vm/simulation/remote_io/modbus/feed2.py#L57
So I've divided by 700 in feed2.py and modified the multiplier (0,0106813153276875) on ScadaBR of Aflow so I can see the real value on the HMI instead of 500 kMol/h
I think I need to update the scale also in the PLC program but I don't know what I need to change... I've seen some "flow_max=500" https://github.com/Fortiphyd/GRFICSv2/blob/22d7b050cc4ec8fd5057db0dffa298e5995d6135/workstation_vm/simplified_te.st#L183
Could you provide some help or update the scaling ? @djformby @sam-bryce
Hi,
first of all, thanks for the great work ! I've managed to run GRFICSv2 with docker containers and I've used OpenPLCv3 instead of OpenPLCv2 as the web interface is nicer. The chemical plan seems to work : I can see the values on ScadaBR which match what I see on the Simulation. I can also change directly OpenPLC holding registers with modbus command to change the pressure_sp.
I have a question : what's the purpose of the variables hmi_* registers at %MWxx as ScadaBR seems to read %IWxx variables ?
https://github.com/Fortiphyd/GRFICSv2/blob/master/workstation_vm/simplified_te.st#L377