Allen Bradley Micro820 Modbus RTU Master RS-232 (Part-1 READ MSG)

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2020
  • If this video is helpful, please like, share and subscribe to my channel!
    Thank you.
    MSG_MODBUS / READ Instruction
    Baud: 19200
    Parity: None
    Stop Bits: 1
    Master: Micro820 2080-LC20-20AWB
    Slave: Micrologix1400 1766-L32AWA
    Slave ID: 101
    Modbus Address:
    40101  READ_LOCAL_ADD [1]
    40102  READ_LOCAL_ADD [2]
    40103  READ_LOCAL_ADD [3]
    40104  READ_LOCAL_ADD [4]
    Step 1: Testing Modbus RTU on Slave PLC with Modscan32
    Step 2: Programming on Master PLC.
    Variables:
    READ_LOCAL_CFG
    READ_TAR_CFG
    READ_LOCAL_ADD
    Step 3: Wiring from Slave PLC to Master PLC
    Step 4: Testing Modbus RTU Master/Slave over RS-232.
    Allen Bradley Micro820 Modbus RTU Master RS-232 (Part-2 WRITE MSG)
    • Allen Bradley Micro820...

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

  • @A1spade215
    @A1spade215 6 หลายเดือนก่อน

    The best teacher on the net I wish I had him as my teacher

    • @SYPHOANG
      @SYPHOANG  6 หลายเดือนก่อน

      @hectorsalinas7344: Thank you for your compliments. Glad you have learned something from my videos. You don't have to but a "super thanks" at the lower right corner is a great way to show your support to my channel. If you have any more questions, please let me know. Thank you for your support to my channel.

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

    Great job man

  • @luiggi_s1195
    @luiggi_s1195 4 หลายเดือนก่อน

    I got a question is it the same aplicacion for RS485 conection or there:s a diferents. I'm stil struggling to send data with the instruction blocks.

    • @SYPHOANG
      @SYPHOANG  4 หลายเดือนก่อน

      @luiggi_s1195: I think it should be the same but I might be wrong. Are you able to make it work or still struggling on the communication?

  • @fredriklarsson997
    @fredriklarsson997 3 ปีที่แล้ว

    Hi
    Grate videos!
    Can you do a application with a card reader for let's say 20 difrent users?
    So the PLC ( micro 800 ) know witch user is it.

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

      @Fredrik Larsson: It would be awesome if I have a plug-in module 2080-SERIALISOL to test this master PLC with more than 1 slave PLC. Unfortunately, I do not it. However, the setup would be the same.
      Once you have that module plugged in on your PLC, you will need to insert another MSG_MODBUS into the ladder logic. But this time, for the "READ_LOCAL_CFG.Channel", instead of 2 for the embedded serial port, it will be 5 if that "2080-SERIALISOL" plug-in module is plugged into slot 1 on PLC, 6 for slot 2, 7 for slot 3 and so on. (Micro820 has only 2 slots, so it's going be only 5 and/or 6.) And because of that, the master Micro 820 PLC can communicate with only 3 slave PLC's MAXIMUM over MODBUS RTU I guess (20 different slave PLC's you mentioned is too many, over its limitation). Please also make sure the settings (baud rate, stop bits, data bit...) are also matched between master and all slave PLC's.
      It should work. Thank you so much for subscribing to my channel and leaving me a very thoughtful comment. If you have any further questions, just let me know.

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

      SY P HOANG Thanks man ! Looking forward to your videos.

  • @jefersongiacomeli8488
    @jefersongiacomeli8488 2 ปีที่แล้ว

    Hello, thanks for the vídeo.
    How can i send 32 bits messages?
    I know i need funciona 16 or H10 to write multiple register. But How can i send a dword to It?

    • @SYPHOANG
      @SYPHOANG  2 ปีที่แล้ว

      @Jeferson Giacomeli: You might want to check the below video for WRITE MSG Instruction. Thank you for subscribing to my channel.
      th-cam.com/video/lDZ9KA5DGXc/w-d-xo.html

    • @jefersongiacomeli8488
      @jefersongiacomeli8488 2 ปีที่แล้ว

      @@SYPHOANG hello! I understood the video. But, for example: How can i write the value 90000?

    • @SYPHOANG
      @SYPHOANG  2 ปีที่แล้ว

      @@jefersongiacomeli8488 With DINT data type you can write values from -2,147,483,648 to 2,147,483,647. However, you need to use another instruction in the program to split 1 DINT (32bit) to 2 INT (16bit) registers for Modbus communication and also another instruction on the other end to combine 2 INT registers back into 1 DINT. This requires some testing. Good luck.

    • @jefersongiacomeli8488
      @jefersongiacomeli8488 2 ปีที่แล้ว +1

      @@SYPHOANG thank you very much! I managed to do!
      Make a vídeo about ethernet IP hehehe ;)