Skip to content

Usage of variables HMI_* in OpenPLC  #10

Description

@Thus0

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

  hmi_pressure AT %MW20 : INT;
   hmi_level AT %MW21 : INT;
   hmi_f1_valve_pos AT %MW22 : INT;
   hmi_f1_flow AT %MW23 : INT;
   hmi_f2_valve_pos AT %MW24 : INT;
   hmi_f2_flow AT %MW25 : INT;
   hmi_purge_valve_pos AT %MW26 : INT;
   hmi_purge_flow AT %MW27 : INT;
   hmi_product_valve_pos AT %MW28 : INT;
   hmi_product_flow AT %MW29 : INT;
   scan_count AT %MW30 : UINT := 0;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions