Program - Prg_<name device module>
Program Contained in the Motor_Ctrl_2D1S Device Module
The program is created in programming language CFC (Continuous Function Chart).
Implemented features are:
1.Mapping the manual command to the control word.
2.FB instance (MOT2D1S) call with assigned parameters.
3.Extracting of the status word (detailed alarm and alert information) to boolean variables.