Пошук серед найпопулярніших питань
How to initialize an SFC program back to the Init step in EcoStruxure Machine Expert?
Issue
The sequential function chart needs to be set back to the Init step using a variable.
Product Line
M241, M251, M262, M258, LMC058
Environment
EcoStruxure Machine Expert v1.x, 2.x
Resolution
You can use the implicitly available variables, also named SFC flags to control the operation of an SFC. In order to be able to access these flags you have to declare and activate them. This procedure is done in the SFC Settings dialog box. There is a subdialog box of the object Properties dialog box, available by right-clicking the SFC POU. The step by step procedure is described below:
1. Right-click on the SFC POU and select Properties...
2. Go to the SFC Settings tab
3. Uncheck Use defaults. Under the Use column check the variables that you want to use. If you want to use these flags from another POU, declare them locally, for example declare the SFCinit as an VAR_INPUT BOOL:
VAR_INPUT
SFCinit: BOOL;
END_VAR
4. Set back the SFC to the Init step by activating the flag from another POU. Use SFC_prog.SFCinit syntax to access the flag.
This completes the procedure to initialize an SFC program back to the Init step in EcoStruxure Machine Expert.
The sequential function chart needs to be set back to the Init step using a variable.
Product Line
M241, M251, M262, M258, LMC058
Environment
EcoStruxure Machine Expert v1.x, 2.x
Resolution
You can use the implicitly available variables, also named SFC flags to control the operation of an SFC. In order to be able to access these flags you have to declare and activate them. This procedure is done in the SFC Settings dialog box. There is a subdialog box of the object Properties dialog box, available by right-clicking the SFC POU. The step by step procedure is described below:
1. Right-click on the SFC POU and select Properties...
2. Go to the SFC Settings tab
3. Uncheck Use defaults. Under the Use column check the variables that you want to use. If you want to use these flags from another POU, declare them locally, for example declare the SFCinit as an VAR_INPUT BOOL:
VAR_INPUT
SFCinit: BOOL;
END_VAR
4. Set back the SFC to the Init step by activating the flag from another POU. Use SFC_prog.SFCinit syntax to access the flag.
This completes the procedure to initialize an SFC program back to the Init step in EcoStruxure Machine Expert.
Опубліковано для:Schneider Electric Україна
Досліджуйте більше
Серія:
Досліджуйте більше
Серія: