Hello
I have an analog module and I want to drive a 0-10v asynchronous motor with it.
Write references with LCRLimScal
I assigned it with LREAL_TO_INT. The code is as in the vaccine. When I tried it in simulation it worked. When I do this on a real plc, the plc gets many errors. plc falls into service error. example errors
error:
30023
-1067378812
-1067317245
-1064303625
From the error numbers you’ve shared, I don’t think that these are related to your analog motor control.
Error 30023 is “Configured module not found during boot”. Do you have any modules in your project that are not connected to the real PLC? I suggest turning off Module Supervision for all modules in the project to avoid this error. This is probably causing the Service mode.
The other errors are motion errors, but they’re related to motion control with mapp Motion or ACP10. From what you’ve shared, it doesn’t sound like you’re using either of these solutions as the motor is controlled by a single analog output value and your own control code.
For each module, right-click on it in the Physical View and select Configuration. In the window that appears, you’ll find the setting towards the top: