BRX Do-More PLC Serial Communication - Modbus RTU to Solo Controller

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ย. 2024

ความคิดเห็น • 17

  • @bobbys4327
    @bobbys4327 6 ปีที่แล้ว +1

    I tried to use this as a template to get a temperature reading from my Click that has a thermocouple module on it to my BRX. I get a Modbus connection but I am getting screwy readings on my BRX from the Click. I have tried every combination of registers I can think of in the BRX and can not get my temp reading in F from the Click.
    I guess what I am saying is; I can read it as an integer from the Click, but I want to read it as floating point. Any help would be greatly appreciated!

    • @ACCautomation
      @ACCautomation  6 ปีที่แล้ว

      Hi Bobby,
      The following thread will help you out:
      forum.automationdirect.com/forum/general-applications/108413-floating-point-from-click-to-brx-conversion
      "MHRx:RD (Real Double). The : D cast just changed the size, not the data type, so it was interpreting it as a simple 2's complement 32 bit value, instead of IEEE floating point"
      Regards,
      Garry

    • @bobbys4327
      @bobbys4327 6 ปีที่แล้ว +1

      Thanks Garry! I saw that thread a couple days ago and tried it but all i read is 5.0510E-41 lol. I do not understand why it doesm't work.

    • @ACCautomation
      @ACCautomation  6 ปีที่แล้ว

      Hi Bobby,
      I have just hooked up a Click (Server(Slave)) PLC and used the Do-More Simulator (Client (Master)) to communicate Modbus TCP to it.
      In the Click I am using DF10 with a number. (1234.56)
      In the Do-More I am using the instruction MRX (Modbus Network Read)
      Function Code - 3 - Read Holding Registers
      (The modbus address in the Click is 428691. This is seen using the address picker and selecting modbus address.)
      From Modbus Offset Address is set for 28691.
      Number of Modbus Registers is set for 2. The floating point values are 32 bits or 2 words.
      To Do-More Memory address was R0. This was also a 32 bit floating point address in the Do-More.
      Running the program and monitoring R0, I am getting the correct value in the address R0. (1234.56)
      I then changed the MRX instruction in the Do-More to read the information to the MHR0 address. This would take up two channels, MHR0 and MHR1 for the information.
      Running the program the information was transferred. This time when monitoring the value I used MHR0:RD to cast into a real value. The information was still correct. (1234.56)
      A couple of thing come to mind:
      - Please check to make sure that you are reading two words. When using modbus, it is just sending bits. The meaning of the bits is not interpreted.
      - Check that the address used is correct for the information.
      Let me know how you make out.
      Regards,
      Garry

    • @bobbys4327
      @bobbys4327 6 ปีที่แล้ว +1

      Thank you Garry! I had done everything right, except, I did not specify TWO registers......DUH lol. Thanks again, I really appreciate it!

    • @ACCautomation
      @ACCautomation  6 ปีที่แล้ว +1

      I'm glad you got it going.
      Garry

  • @ACCautomation
    @ACCautomation  6 ปีที่แล้ว +1

    Learn more about the Modbus Protocol:
    th-cam.com/play/PL3y71jAPOdZAs1Y4T58fPFJ8jWUogfLBq.html
    Garry

  • @QuebecoisSti
    @QuebecoisSti 4 ปีที่แล้ว +1

    @Garry Shortt: what would you recommend for sensors using UART and I2C data protocol with BRX ? I just ordered BRX system because of all the good infos You and AutomationDirect provided trough training videos, it seems the platform is well documented all around, especially because of good guys like you. In hurry to receive it soon! Greets from Canada.

    • @ACCautomation
      @ACCautomation  4 ปีที่แล้ว +2

      Hi QuebecoisSti,
      Thanks for the comments. I have not worked with UART or I2C, however, the protocol does not seem to elaborate.
      I would try using the custom serial instructions STREAMIN and STREAMOUT. This can be used with any serial port on the BRX. Failing this I would then look for a UART or I2C converter to Modbus. This would then convert into a standard protocol for the controller to control.
      I am also from Canada.
      Garry

    • @QuebecoisSti
      @QuebecoisSti 4 ปีที่แล้ว +1

      @@ACCautomation thanks alot Garry. I will try to find a converter. I am new and noob to the BRX and to me it seems theres only one RS-232/485 serial port and I don't know if a card exist to add more serial ports... Best would be a converter that bring it in 0-10V or 4-20mA since I would have that expansion card. If you have any recommendations for a store to buy components (Canadian if possible since customs & post office are overwelmed and $USD is strong). I am actually looking for industrial pH sensor, pump to adjust pH and CO2 sensor. I found AtlasScientific company that seems decent for their products but expensive and US based. I will be starting an indoor culture monitoring.

    • @ACCautomation
      @ACCautomation  4 ปีที่แล้ว +1

      @@QuebecoisSti
      You can add additional ports using a communication card.
      www.automationdirect.com/adc/shopping/catalog/programmable_controllers/do-more_series_(brx,_h2,_t1h)_plcs_(micro_modular_-a-_stackable)/brx_series_plcs_(stackable_micro_brick)/communications_-a-_networking
      I do not have any recommendations for a store to purchase these sensors. I would only recommend if I've actually used the service.
      The last time I used humidity was to use a Solo temperature controller with a humidity analog sensor. Communication was then done back to a data logger using Modbus RTU.
      accautomation.ca/brx-plc-serial-communication-modbus-rtu-to-solo-process-temperature-controller/
      Regards,
      Garry

  • @saurabhsharma6173
    @saurabhsharma6173 6 ปีที่แล้ว +1

    Hi gary!
    As you suggested me Ethernet Standard PLC Units that have the Ethernet (Modbus TCP) communication back to the router. This will also have a RS485 communication port (Modbus RTU) to the temperature controller. The solo temperature controller has a built in RS485 communiation port. (RS485).
    I am using to control the temperature of muffle furnace.K thermocouple is connected to SOLO Temperature controller.
    What should be the Current Value (0.5 A, 0.1 A, 1A, 2A, >2A) ,No. of units ( 9,14,16,24), Display type (7 segment LED, LED), Power (12V DC, 24V DC,100V AC, 220V AC, 240 VAC? Please tell me in detail

    • @ACCautomation
      @ACCautomation  6 ปีที่แล้ว

      Hi Saurabh,
      The actual Solo Process Temperature control unit settings can be found in the following manual:
      cdn.automationdirect.com/static/manuals/solocontrolm/solocontrolm.pdf
      The Solo unit will need to be supplied 100 to 240 VAC 50 / 60 Hz or 24 VDC.
      You will need to look at the specifications of your muffle furnace to determine the best model of Solo for your application.
      Regards,
      Garry

    • @saurabhsharma6173
      @saurabhsharma6173 6 ปีที่แล้ว +1

      Specification of Muffle furnace: Power Supply 415V 3PH AC, 50Hz. What other specification required?

    • @ACCautomation
      @ACCautomation  6 ปีที่แล้ว

      Hi Saurabh,
      You will need to look at what control configuration you will need to control the temperature. Is it a relay, voltage, etc.
      Regards,
      Garry

  • @TheUnofficialMaker
    @TheUnofficialMaker 3 ปีที่แล้ว +1

    whats up with the audio?

    • @ACCautomation
      @ACCautomation  3 ปีที่แล้ว +1

      Hi V Richter,
      Newer videos now use a better microphone.
      BRX Do-More PLC FTP Client Get Put
      th-cam.com/video/D6BX5dnut5U/w-d-xo.html
      BRX Do-More PLC Dynamic Web Pages
      th-cam.com/video/WjiBED03BPY/w-d-xo.html
      Thanks,
      Garry