MrPLC Member
  • Content count

  • Joined

  • Last visited

Everything posted by uminded

  1. Codesys - Updating Unused Variables

    SOLVED! : In the IO Mapping in the bottom right corner set “Always Update Variables”: Enabled 2 (always in bus cycle task)
  2. Is there a setting somewhere to get the UI to update unused variables? For example, I just need to troubleshoot an Ethernet/IP device I load up an empty project, setup the EDS and I want to view the data. The bit mapping never updates unless I include it in logic. The yellow highlighted items are not used in my program so they do not update. They may be diagnostics or error codes though that I want to see but not use.
  3. Delta DVP12SE Modbus TCP Help

    I requested support on getting my DVP to talk to Factory IO for some cost-effective programming experience but the DVP is really poorly documented. The below wording and 2 pictures were all the support I got as I am not a business. The M codes are not listed in the ISPSoft help file and hard to track down, combined with things like "After the reception of the command is complete, bit8 in D1395 is ON" and then if I am reading input registers and holding coils but saving to a D word register how the heck do I convert the data into a useable boolean format for logic use??!! I have no been able to even get the DVP to read or write ANYTHING but I can use a modbus program to turn on the DVP's bits no problem so I know communication works. eg: F05 H500 will toggle coil Y0. The issue is when I try and use the DVP as the modbus client. From my laptop I can use these commands to modify Factory IO which is running as modbus server Slave ID 1: F02 H0000 H0009 (Read inputs 0 to 9) Tx: 00 02 00 00 00 06 01 02 00 00 00 0A, Rx: 00 02 00 00 00 05 01 02 02 C0 00 (In put 6 & 7 are on) F15 H0000 H0009 (force coils 0 to 9) Tx: 00 0F 00 00 00 09 01 0F 00 00 00 0A 02 00 00, Rx: 00 0F 00 00 00 06 01 0F 00 00 00 0A   But how the heck do I format the LD program to actually do those commands? IA PLC Modbus address_20160707.pdf SE-T001 Application Note Data Exchange SE PLC.pdf