Activity for dengsberg

  • dengsberg dengsberg posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    Another question is how to test the quality of the individual variable?

  • dengsberg dengsberg posted a comment on discussion Deutsch πŸ‡©πŸ‡ͺ

    I am using the Data Source Manager with OPC-UA Client to get data from another CodeSys application in the same Project. How can I check in the PLC_PRG structured text if the connection is ok or not?

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

    I have a serial Modbus RTU communicating to the Slave device. But when the control system is not in Run there is no power applied to one of the Modbus Devices. Can I enable / disable the communications to that Modbus Slave in the code based on my running mode, so I don't get all the errors?

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

    Hi Blewl, Did you end up with a workable solution? I am using the Modbus_TCP_Slave by adding it to the device tree under the Modbus_TCP_Master. I need to allow the user to change the slave device Offset setting through the HMI. It seems that value is not accessible in runtime. I'm not really sure I understand the response from dFx in using a ModbusTCP Slave FB. I'm still a beginner, and also mostly just familiar structured text. Any more info on that would be very helpful. Thanks.

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

    I was hoping to keep the enum contained within the function block, not the entire project. So if I have other projects that uses the function block, I don't have to create the enum again and again. Is it different with libraries? It seems like I can download a library and the library contains enums within itself. That is what I was shooting for.

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

    I have created a function block with a Method. I would like to pass this method a Constant or an Enumeration value, from the outside the function block. I would like the constants and enumerations contained within the function block itself, but have access to them from the outside. So if the function block is called myFunctionBlock, and the method is call SendChar, and the Constant is CHR_STX, it looks like this : myBlock : myFunctionBlock; myBlock.SendChar(CHR_STX); I have something working, but...

1