• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. mikeardy
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 24
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by mikeardy

    • Codesys on Axon plc?

      Hi at all,
      will Codesys be supported on Axon plc? Or will it never be implemented?

      posted in Axon series
      M
      mikeardy
    • 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!

      0_1523962519242_CODESYS_ModbusSlave_1.PNG

      0_1523962402773_CODESYS_ModbusSlave_2.PNG

      0_1523962406362_CODESYS_ModbusSlave_3.PNG

      posted in CODESYS
      M
      mikeardy
    • RE: Configure Neuron S103x as Modbus Slave

      Thank you.
      I will try.

      posted in CODESYS
      M
      mikeardy
    • 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.

      posted in CODESYS
      M
      mikeardy
    • 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.
      0_1523528529070_CODESYS_MODBUS_SLAVE.PNG
      Thanks

      posted in CODESYS
      M
      mikeardy
    • RE: SFTP access to Neuron directories

      ok I will try to use the /home/pi/ folder.

      posted in General Discussion
      M
      mikeardy
    • 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.

      posted in General Discussion
      M
      mikeardy
    • 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!

      posted in General Discussion
      M
      mikeardy
    • 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.

      posted in General Discussion
      M
      mikeardy
    • 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.

      posted in General Discussion
      M
      mikeardy
    • 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?

      posted in General Discussion
      M
      mikeardy
    • 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

      posted in General Discussion
      M
      mikeardy
    • RE: Neuron S103 and fast input (or counter)

      thank you

      posted in CODESYS
      M
      mikeardy
    • 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?

      posted in CODESYS
      M
      mikeardy
    • 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?

      posted in CODESYS
      M
      mikeardy
    • 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:
      0_1520795366479_Raspberry Static IP ETH0 Setting.PNG
      After reboot (sudo reboot command) the Neuron gets again a dhcp ip address.
      Could someone lights my way?
      thanks.

      posted in Neuron Series
      M
      mikeardy
    • 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?

      posted in Neuron Series
      M
      mikeardy
    • 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

      posted in CODESYS
      M
      mikeardy
    • RE: CODESYS on UniPi Neuron installing issues... help please!

      Many Thanks!

      posted in CODESYS
      M
      mikeardy
    • 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.

      posted in CODESYS
      M
      mikeardy