Variable names

FluidSIM 4 Hydraulics

Previous Next

Variable names

There are four different types of variables. All variables can be used in conditions and assignations.

  • Action variablesAction variables are available throughout GRAFCET and can be set in actions (see example: Grafcet/Grafcet10.ct).
  • Step variables
    Step variables are inserted automatically for each step and have the value “1” when and only when the corresponding step is active. Step variables have the form X + “step name”. If, for example, the step name is “12”, then the associated variable is “X12”.
    Step names are only ever valid within a partial GRAFCET or within the global GRAFCET. This means that the same step name can be used in different partial GRAFCETs. In order to be able to address step variables across partial GRAFCETs in FluidSIM, the step variable has to be preceded by the partial GRAFCET name.
    Example:
    Partial GRAFCET “1” contains step “2” and is meant to be addressed in the global GRAFCET. Within the global GRAFCET, the step variable name “G1.X2” has to be used. Within partial GRAFCET “1”, “X2” is enough (see example: Grafcet/Grafcet11.ct).
    Variables of macro-steps have the form XM + “step name”, macro inputs have XE + “step name” and macro outputs have XS + “step name” (see example: Grafcet/Grafcet15.ct).
  • Partial GRAFCET variables
    Partial GRAFCET variables are automatically inserted for each partial GRAFCET and have the value “1” when and only when at least one step in the corresponding partial GRAFCET is active. Partial GRAFCET variables have the form XG + “partial GRAFCET name”. If, for example, the partial GRAFCET name is “1”, the associated variable is “XG1” (see example: Grafcet/Grafcet12.ct).
  • Labels of fluidic or electrical components
    These labels can be used as GRAFCET input variables (see Access to labels of fluidic and electrical components ).
Related Topics

Step

Transition

Action

Partial GRAFCET



Previous Next