Download HMI User Manual

Transcript
7. Scripts
This is useful for advanced users with Programming knowledge like C, C++, C#, Visual
Basic etc.. HMI editor software allow to use scripts similar to C language
Scripts are useful to write simple program for small applications as follows
Math calculations
Execute conditional statements
Logic control applications etc.
Scripts are useful to write small tasks. If complex task with extended logic is
available, better to write it at PLC level using ladder programs or functional blocks etc.
Procedure
First write a sample script. Double click at User Scripts at Project explorer
Click at icon
in above interface. By default, FunctionX will appears, where X is number.
If required, you may change name of function so it is easy to remember.
246