Help with modbus TCP/IP Client "Talking" to Codesys V3.5

Hi @thasamm,
Are you using SP16 or higher? If so, CODESYS suffered some changes, so try this:

  1. Check the “Discrete Bit Areas” box under ModbusTCP_Slave_Device > General > Configured Parameters and write the number of Coils and Discrete Inputs you need, as shown in the image below.

  2. Map the variables (using Coils and Discrete Inputs).

  3. Map these variables in FIO.

We’ll release a tutorial regarding these alterations. Meanwhile, let me know if this worked for you.

2 Likes