Hi at all,
will Codesys be supported on Axon plc? Or will it never be implemented?
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.
-
RE: SFTP access to Neuron directories
I'm using UniPian Neuron OS 2018-03-07 with CODESYS.
I have been written correctly a CODESYS PRG capable to write and read files into the root directory.
Why is it not possible with SFTP with regular access? -
SFTP access to Neuron directories
Hi,
for an application, I need to access the directory of the Neuron to write down remotely a file in a folder.
I found this:https://www.raspberrypi.org/documentation/remote-access/ssh/sftp.md
With Filezilla it works but I get always access denied when I tried to modify a file (copy it into a directory, delete it, rename it). I can only copy it from Neuron to my local PC and no more.
Could someone help me?
Thanks -
RE: Neuron S103 and fast input (or counter)
@tomas_knot said in Neuron S103 and fast input (or counter):
Reading the counters would be your best bet; I'm not sure if interrupts are supported in the current CODESYS implementation.
Ok,
have you some examples? Is there a possibility to reset the counter and read it again in subsequentially step? -
Neuron S103 and fast input (or counter)
Hi,
for an application, I'm evaluating the possibility to catch fast pulse input signals.
In CODESYS I need to count them by a native internal counter or via interrupt routine.
Could someone help me? -
Setting Static IP Address on Neuron
Hi.
I need to set a static IP address on Neuron wired in ethernet.
I followed some indication and link for Raspberry PI without any success.
I changed some settings in dhcpcd.conf file:
After reboot (sudo reboot command) the Neuron gets again a dhcp ip address.
Could someone lights my way?
thanks. -
Expansion Modbus I/O and RS232 Module
Hi.
I'm searching for a Modbus expansion module capable of carries a set of digital I/O and an RS232 com port.
Could someone help me? -
UniPi Neuron and Variable Retain, WiFi, Bluetooth
Hi,
I need to know if there are possibilities to:-
Enable some variables to be retainable and maintain their value in case of power outage
-
If is possible and how to use WiFi and/or bluetooth wireless connectivity
Thanks at all
-
-
Using USB Ports to connect a RS232/USB converter
Hi,
for a my project I need to connect a device that can communicates only in RS232 and I'm asking for possibility to use a RS232/USB converter connected directly to USB ports of the Neuron.
I'm using CODESYS.
Could be possible to drive this device?
Thanks.