'Open Serial Communication', line 2: Cannot locate instruction definition #511

I am trying to take a program that we wrote many years ago in IOControl that is now in PACcontrol and debug so that it can be sent to a GROOV Epic. Everything works except that I get the following error.

ERROR - Block #33 ‘Open Serial Communication’, line 2: Cannot locate instruction definition #511.

Block #33 includes the “Open outgoing communication” and there are two communication handles. I think the problem is the “initial value” in the communication handles, but I’ve not found a way to configure them to eliminate the error. Any clue why this error would occur and how to eliminate it.

Hi Andrew. Welcome to the Opto forums!

The init commands of PAC and EPIC serial are different.
First up, the EPIC serial modules MUST only go in the first 4 slots.
If that is in order, then the manual will guide you.
Page 294 of the PAC Control Users Guide…

PAC control you call out the port, EPIC you call out the name.

Looks like a compiler error to me, so I don’t think the comm handle value would cause that - can you post a screen shot of the block or script?