Simulation
Simulation allows you to test your PLC program on SimuLab without downloading and running it on the real machine. To use simulation, on the Debug menu, click Simulation mode. For more information about simulation, see the SimuLab manual, which can be downloaded from the Axel website (https://www.axelsoftware.it) > Download > Simulab user manual.
Currently, KINGSTAR has some limitations in the simulation mode:
- If your variables or parameters are LINT or LREAL types, you can't compile them. For example, the function block MC_CamIn contains the parameters that use the LREAL type, so it can't be compiled.
- You can't compile and download the PLC program to the KINGSTAR PLC Runtime.
After you turn off the simulation mode, KINGSTAR's variables and parameters can be compiled and run, as long as you have installed KINGSTAR Runtime.