-2137882606: No PV registered





Hi everyone!

I’m currently working with AS6.1 and learning its features through YouTube tutorials and the online help documentation.

The problem is that most of the YouTube tutorials and Automation Studio Help6 seem to be based on AS4, so there are many differences when working with AS6.1.

I’ve run into issues starting from basic tasks like creating alarms or recipes. Even when I follow the videos step by step, the recipe function gives me an error: -2137882606. I have no idea what’s causing it.

I would really appreciate it if anyone could help me understand this issue or point me to reliable resources specifically for AS6.1

Is the task name correct?

Hi!

The warning -2137882606 is stating that you do not have any PV registered (most likely you got this one on the MpRecipeXml_0). Can you check on the MpRecipeRegPar_0 FB if you can see any errors there? You may also check in the Services log if you can see any errors/warnings related to MpRecipe.

Apart from that, the most likely cause (seeing your code looks correct from the screenshots) is (as @stephan.herbig mentioned) that the task name may not be correct. You have to specify the task name as you see it in the Cpu.sw. For example:

Please note that task names can only be 10 characters long! After this they will be truncated (“cut off”) or in case of conflicting names, made even shorter with a number appended to them (will be done until they are unique in the system). Keep in mind that the order in which you add tasks to the Cpu.sw matters for this renaming “magic”!

Thank you so much! I made such a basic mistake :pensive_face: Thank you for the clear explanation!