This document is a user manual for the EB500 Macro macro instruction module, designed for programming and operating macro language functions. It covers syntax rules, variable types, operators, control structures, and communication with PLCs using library functions. The manual includes detailed sections on data types, expressions, statements, functions, and error handling, with examples of program structure and compilation steps. This manual is written in Chinese.
Use 'For counter = start To end [Step step]' followed by statements, then 'Next [counter]' to complete the loop.
Use the library functions GetData(...) to read from and SetData(...) to write to PLC addresses.