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

    mikeardy

    @mikeardy

    0
    Reputation
    1323
    Profile views
    24
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mikeardy Unfollow Follow

    Latest 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