Hi at all,
will Codesys be supported on Axon plc? Or will it never be implemented?
Latest posts made by mikeardy
-
Codesys on Axon plc?
-
Multiple Modbus Read Registers Access by an Array of Elements
(I posted this on CODESYS Forum without any suggestions or help)...
Hi,
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.
Many thanks! -
RE: Configure Neuron S103x as Modbus Slave
@DavidCozens ok - many thanks. I'll wait for you and if I move through some test I'll inform you.
-
Configure Neuron S103x as Modbus Slave
Hi,
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.
Thanks -
RE: SFTP access to Neuron directories
ok I will try to use the /home/pi/ folder.
-
RE: SFTP access to Neuron directories
@tomas_hora said in 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. -
RE: SFTP access to Neuron directories
@tomas_hora said in SFTP access to Neuron directories:
@mikeardy what about /tmp/
IT'S FANTASTIC!
IT WORKS!
Thanks! -
RE: SFTP access to Neuron directories
Hi,
no matter about the folder.
If you suggest me a specific folder I could write a CODESYS sketch to be directed in that folder. I think. -
RE: SFTP access to Neuron directories
@tomas_hora I configured Filezilla to connect in SFTP with user: pi and password: raspberry, the same I used to connect via SSH Putty terminal.