tjarcoboerkoel

MrPLC Member
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About tjarcoboerkoel

  • Rank
    Hi, I am New!

Profile Information

  • Country Netherlands
  1. Dear readers, I am working with a M251 Modicon controller in Somachine V4.1SP1and have an analog expansion. These are read to the known system registers. Every analog input/output has its own register and these can be assigned to self created variables, great. But can't this be done by assigning the 'root' of the tree to a structure instead assigning every member to a single variable? This also applies to Modbus slave devices. Problem is that I 'm having Modbus devices like the DucoBox. This device has 50 sub-devices and all have the same basic structure layout all starting at a fixed register offset. For example, sub-device 0 starts at offset 0000, sub-device 1 at address offset 0100, etc. Am I able to make a GLOBAL structure and assign the WHOLE device range to a structure, instead of assigning each variables one-by-one? This could be done by using the declaration below, but isn't there something cleaner to use? This feels like a hack.      DeviceName AT %QW0: StructureType ; best regards, Tjarco  
  2. Dear Members, As an embedded system engineer I have programming skills but the Somachine (with structured text) is a new area for me. I have a project with M251 controller and some analog and digital IO attached, some Modbus TCP and RTU slaves, and made some missing functions in Structured Text. So far so good. Now I'm needing some additional features like JSON parser for wheather forecasts and if possible a Dali or Knx/IP interface. I found some JSON plugin at code sys, but is this usable as library in Somachine V4.1PS1?? How am I able to add the JSON_HTTP_Client_1.0.1.1.package to the system. Are there thirdparty plugins for somachine, like BacNet(IP), etc. best regards, Tjarco Boerkoel the Netherlands