Wago PFC300 (750-8302) and WagoAppSQL_xxx libs

Hi everyone,

I have a problem on new PLC PFC300 (750-8302) with WagoAppSQL_MySQL lib. It looks like it is not compatible with 64bits PLCs. On older PLCs like 750-8212 and 750-8202 it works without problems.

I am using the newest Codesys/libs/devices description

  • Codesys V 3.5 SP21 Patch 5
  • Wago Devices and Libraries 2.0.8.9

The problem is when I add FbMySql_Login to my POU - it won’t compile with error messages like “C0032: Cannot convert type ‘ULINT’ to type ‘UDINT’”.

I think the problem is more related to the internal wagosyssocket library than to WagoAppSQL_….

I also tried WagoAppSQL_MsSQL, but I ended up with the same errors.

Am I doing something wrong, or is it just a bug? Please see the print screen below.

Thanks a lot for any help.

Not sure if you ended up getting this working - I have a similar issue. I am upgrading code, having shifted from a PFC200 (32 bit) to the PFC300 (64 bit). Like you, I received compile errors. Version 1.7.1.1 of the library seems to have resolved those errors, but now my Execute and Query implementations report MYSQL-ERROR: Not connected with database, LOGIN before use. That is after the FbMySql_Login output reporst XConnected = True. I note the new refTLSContext input for FbMySql_Login and have updated my code to include that, but it doesn’t alter the error message of Execute and Query commands.