Message: “Var '{var}' ({value}), used at {location}, doesn't correspond to any known state in any known macro”
Example: “Var 'xm7_3' ( 203), used at MAST-SR11-L117+1, doesn't correspond to any known state in any known macro”
Explanation:
A step is used in the code but not found in the SFC.
Possible considerations:
Cause 1: The code stills use a step that was deleted in the graph.
Cause 2: Table of step is used in TSX, which is not supported by the PLC Converter neither by the destination PLC.
Cause 3: A graph was not found by the SFC parser because the graph does not contain an initial step. In that case:
Remedy 1: Translate manually the missing SFC in the destination file(s)
Remedy 2: on TSX workbench, an initial step can be linked to a step of the graph via an always false transition. This does not affect the graph behavior and allows PLC Converter to detect the graph in a new conversion.
Remedy 3: an option of the PLC Converter (since v2.0.20091130) can be used to define SFC step ID (e.g. 10 for x10 step) to be set as initial step, before to finalizing the TSX conversion. WARNING: this step has to be set as non-initial step on the workbench of the targeted PLC.