Compile the program again after modifying the program. In the information list, we can
confirm that there is no grammar error in the program.
(3) Write PLC program, assign value 10 and 20 into registers D0, D1 separately, then call
Func Block ADD_2, see graph below:
(4) Download program into PLC, run PLC and set M0.
(5) From Free Monitor in the toolbar, we can see that D2 changes to be 30, it means
assignment is successful;
Free Monitor
300