Startpage

CODESYS Talk

    CODESYS Forge

  • garrian modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks for your reply. I belive it is contiguous, I'm writing to adress 0 to 4. Or, do you mean something else? Well, something is happening. If I on the client set adress 1,2,3 to true, only 1 is set to true on the server side. On the client side, the data is array of word. But on the server side, the coils are array of bool. Holding register is array of word on server side. Can this be a problem? Attached screenshot of how it looks at the server side.

  • garrian posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Thanks for your reply. I belive it is contiguous, I'm writing to adress 0 to 4. Or, do you mean something else? Well, something is happening. If I on the client set adress 1,2,3 to true, only 1 is set to true on the server side. On the client side, the data is array of word. But on the server side, the coils are array of bool. Holding register is array of word on server side. Can this be a problem?

  • eschwellinger eschwellinger posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Which plc is this - seems that the performance of this device is not enough. You could check the plcload in the plcshell by 'plcload'

  • ben1 posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    When you say it does not work, does nothing happen or do you get an error? I have not used this function in codesys but from my past experience with Modbus I believe the coils need to be contiguous, which may be why yours is failing? Have you tried using Write Registers (16) to do the job? Or is their data in-between you do not want to edit in the transaction?

  • ben1 posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Tough to know exactly what you are asking for here. Can you give a more thorough explanation and/or provide snips?