CPAC Intialization

Hello!

I’m looking to head a CPAC in Venus 4, but I keep experiencing the below errors and was wondering how to fix the issue. I have included the associated portion of the script as well. The CPAC is connected to channel 1 of the control box.

CPACInitialization

Thank you!

You’ll need to call the Initialize step from the same library before sending other commands to the controller:

Edit: Also, in that snippet you’re not setting CPAC_Device_ID anywhere. If you’re not setting it somewhere else in your method, you’ll want to make sure to set it to 1 to match the slot number.

2 Likes

Thank you very much! Adding these while keeping the Controller_ID set to 0 and the Device_ID set to 1 as suggested got it working.

1 Like