Home Robotiq Products


Left ArrowBack to discussions page
BeatriceBeatrice Unconfirmed Posts: 2 Recruit
I am using the robotiq wrist cam to scan barcodes.
After the scanning I want
  • the barcodes to be saved in an excel document
  • to transmit the information to another Cobot
  • to make a decision based on the barcode scanned (means the same type of product will have a some same numbers in the barcode which I want to compare and make a decision of which program will follow)

For that I need to send the information from the cobot to the computer and another cobot.
But how can I do that? I don’t know where the information is saved in the registers of the cobot.
I tried to save the string in a register to read the register from the computer via modbus but unfortunatly this isn’t possible.

It is possible to save the data in the URCab local on USB but I need to get the information while the program is running.

Thank you a lot if someone has an idea how I can do that.


  • bcastetsbcastets Vacuum Beta tester Posts: 695 Expert
    If the barecode data fit inside a register you can share it with a modbus register.

    It is also possible to send the data via a socket connection.

    If you want to save data in a CSV file you can use this package:
    This data loging package use socket communication to send data. It is a good example on how to send data.
  • BeatriceBeatrice Unconfirmed Posts: 2 Recruit
    Thank you for your answer.
    When I try to put it into a register it says, that strings can't be written into the modbus register. Do you have an idea how I can still do it?
    I didn't find a solution how to convert a string to an integer.
    Also I tried to do the socket connection but somehow the cobot won't connect.
  • bcastetsbcastets Vacuum Beta tester Posts: 695 Expert
    Indeed it is not possible to send a string using modbus register. You will have to use socket.

    Socket connection should be the best option. You can do that through the scan code node or using UR socket function and sending the string value detected by the scan.

    Using the UR socket functions may give you more control on how you send the data.

Sign In or Register to comment.
Left ArrowBack to discussions page