Hi at all,
will Codesys be supported on Axon plc? Or will it never be implemented?
Latest posts made by mikeardy
Multiple Modbus Read Registers Access by an Array of Elements
(I posted this on CODESYS Forum without any suggestions or help)...
I need to read about 250 UDINT via Modbus in Slave mode. A SCADA manages this data and write via Modbus remotely to my controller.
So inizially I configured on my controller a modbus slave device. Due to Modbus limitations I configured 4 channel in Read Holding Registers mode with an array of 125 elements (500 elements in total of WORD type).
In a GVL I defined an array of 250 elements of UDINT type poiting at the starting address of the input registers, beginning at %IW60.
Finally in my application program I used the array poiting values I need directly by index.
Is it the right way or maybe there is a quite simpler or "more readable" and canonical method?
See pictures I added to this post.
Configure Neuron S103x as Modbus Slave
I need to configure my Raspberry Pi, that handle valves and controls, as a TCP Modbus Slave.
The problem is that the application is a porting of another application and for compatibility I need to leave the same Modbus registers.
I need to configure an array of 600 elements of DINT contiguous, another area configured like array of 600 elements of REAL, a 600 bit array area and some other bits distributed in different other areas.
I have configured the system as the following image illustrates...
I have the following questions:
*** the controller can act at the same time as a master and as a client in Modbus TCP?
*** how can I set the right Modbus area to be available exactly as previous ones?
For me isn't so clear the area configuration in the left side of the configuration Modbus windows. I checked the "Modbus TCP Slave Device I/O Mapping" but is not clear for me how to proceed to configure addresses I need.
RE: SFTP access to Neuron directories
@mikeardy what about /tmp/
There is an issue! When the Neuron gets power outage and restarts again the /tmp/ folder is restored to its default that is an empty folder and in this way the config file is lost...
I need the file must remain available in the SD.