1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Yaskawa Motoman Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Communication with DX100

  • travor
  • August 16, 2013 at 9:19 AM
  • Thread is Resolved
  • travor
    Trophies
    3
    Posts
    15
    • August 16, 2013 at 9:19 AM
    • #1

    Hi,everybody
    im using PC(Vision system) to communicate with DX100 and not experienced on this (without motocom32) :help:
    1.DX100 is a master in DCI Function,could i turn it around? :wallbash:
    2.Does RS232 transmission format work on Ethernet?
    3.Could Host Control Function work on variable set using LOADV/SAVEV?
    some example code for me is pleasure,VB6.0 is better
    my e-mail:leafstar1989@163.com

  • motorobo
    Reactions Received
    2
    Trophies
    3
    Posts
    83
    • August 16, 2013 at 10:25 AM
    • #2

    Hi there,

    I am also trying to communicate with the host function since this week but haven't got any luck. I'd also like to know if someone who know how to communicate with it. I've set all parameters and remote is also showing "I/O and Command Mode" in TP. I'm using DX100 controller.

    Command sent (sent one by one, with and without "<BSC command>" pad character):
    <ENQ><ACK0><SOH>01,000<STX>DELETE TJOB<CR><ETX><BCC><EOT>

    Response received (in decimal :frowning_face:
    016 048 005 016 048 005 016 048 005 005 005 005 005 005 005 005 005 005 005 004 016 048 005 005 016 048 005 016 048 005 005 016 048 005 005 016 048 005 005 016 048 005

    All examples in data communication manual says that I must receive ACK1 (016 049) after BCC but I don't. What is the correct way of doing this?

    Edited once, last by motorobo (August 16, 2013 at 10:27 AM).

  • travor
    Trophies
    3
    Posts
    15
    • August 19, 2013 at 2:40 PM
    • #3

    Hi,motorobo
    I just tried the communication between PC and DX100 using RS232 today.What I sent and what I received were most like the attached file describes.
    I have to sent another Mail to look for the solution for some questions happening unexpectedly . Hope you take it down soon!

    Files

    Data Transmission.pdf 1.17 MB – 173 Downloads
  • motorobo
    Reactions Received
    2
    Trophies
    3
    Posts
    83
    • August 19, 2013 at 4:29 PM
    • #4

    hi travor,

    yes, i also figured out today..it is working now in at least DCI mode (robot controller as master) and i know what mistake i did :grmpf:
    must be possible with host mode but dci must be enough for me. Now i'm writing a c or c++ application for it.

    hope you're doing well too! :beerchug:

    Edited once, last by motorobo (August 19, 2013 at 4:48 PM).

  • travor
    Trophies
    3
    Posts
    15
    • August 27, 2013 at 3:46 PM
    • #5

    Hi motorobo
    It's a long time before I return to this case. I just read my program and the bug is out.
    It works well and thank for your warmhearted reply. :beerchug:

  • Silverstamp
    Trophies
    3
    Posts
    95
    • August 27, 2013 at 10:45 PM
    • #6

    Hi everybody,
    This is my very first post and I can see that I share the same problems that so many people! :uglyhammer2:

    I'm trying to integrate a Cognex IS7200 camera to a Motoman robot, DX100 controlled. The task is to read a couple of coordinates and correct the position.
    I've been seccesful using RS232 serial communication (SAVEV and LOADV commands). But response is sooooooooo slow that I must turn
    into Ethernet as soon as possible.
    The fact is that I don't know if these DCI commands aply the same to Ethernet communication.
    Using Telnet over PC is so easy and simple. Just sending camera IP address, then sending user and password, then sending a simple ASCII string to trigger and then a simple ASCII string
    to get the coordinates in a couple of lines.
    But, how to do this on Motoman DX100 programming enviroment?
    I just get the 4102 alarm with subcode (90).
    Please somebody send me a clue!!!
    Many thanks to all you guys!

    Franco :top:

  • smith_scott
    Reactions Received
    1
    Trophies
    3
    Posts
    160
    • August 28, 2013 at 3:38 AM
    • #7

    I believe when you setup the Cognex inside Insight Explorer, you can pick Motoman for communication mode. This only works over the RS-232 port of the Cognex.

    On the Motoman side, DCI will function in serial and Ethernet port.

    You might want to look at doing EthernetIP function or investigate MotoSight2D. The MotoSight product is an ethernet interface designed for Cognex.

    RoboGuru

  • travor
    Trophies
    3
    Posts
    15
    • August 28, 2013 at 5:30 AM
    • #8
    Quote from fbolzoni


    Hi everybody,
    This is my very first post and I can see that I share the same problems that so many people! :uglyhammer2:

    I'm trying to integrate a Cognex IS7200 camera to a Motoman robot, DX100 controlled. The task is to read a couple of coordinates and correct the position.
    I've been seccesful using RS232 serial communication (SAVEV and LOADV commands). But response is sooooooooo slow that I must turn
    into Ethernet as soon as possible.
    The fact is that I don't know if these DCI commands aply the same to Ethernet communication.
    Using Telnet over PC is so easy and simple. Just sending camera IP address, then sending user and password, then sending a simple ASCII string to trigger and then a simple ASCII string
    to get the coordinates in a couple of lines.
    But, how to do this on Motoman DX100 programming enviroment?
    I just get the 4102 alarm with subcode (90).
    Please somebody send me a clue!!!
    Many thanks to all you guys!

    Franco :top:

    Display More


    Hi fbolzoni
    How fast could you need for your transmission speed? I have tested the speed of RS232 transmission in VB6 code and it costs about 300ms.
    The next step for me is to try the Ethernet. All I know about the Ethernet transmission from the service of Robot is that it has the same transmission
    format with RS232.
    Your error code 4102 alarm with subcode (90) seems like the error code I experienced "4104" which means wrong order by "LOADV".Yours means you have sent the wrong order to DX100 by "SAVEV".Just check your code!
    I will try Ethernet transmission and we could communicate if any question occurs.
    Thanks

  • Silverstamp
    Trophies
    3
    Posts
    95
    • August 28, 2013 at 6:31 PM
    • #9
    Quote from Robo Guru


    I believe when you setup the Cognex inside Insight Explorer, you can pick Motoman for communication mode. This only works over the RS-232 port of the Cognex.

    On the Motoman side, DCI will function in serial and Ethernet port.

    You might want to look at doing EthernetIP function or investigate MotoSight2D. The MotoSight product is an ethernet interface designed for Cognex.

    RoboGuru

    RoboGuru,

    Ethernet control of the camera is been done, using Telnet. So I guess that sending same instructions over DX100 should be that simple too. But I have no documentation were to get support of
    the Ethernet programming using DX100.
    What do you mean with 'doing EthernetIP function'?
    I know that Motosight solves the problem but it requires time that I do not count with.
    Many thanks!

  • Silverstamp
    Trophies
    3
    Posts
    95
    • August 28, 2013 at 6:42 PM
    • #10
    Quote from travor


    Hi fbolzoni
    How fast could you need for your transmission speed? I have tested the speed of RS232 transmission in VB6 code and it costs about 300ms.
    The next step for me is to try the Ethernet. All I know about the Ethernet transmission from the service of Robot is that it has the same transmission
    format with RS232.
    Your error code 4102 alarm with subcode (90) seems like the error code I experienced "4104" which means wrong order by "LOADV".Yours means you have sent the wrong order to DX100 by "SAVEV".Just check your code!
    I will try Ethernet transmission and we could communicate if any question occurs.
    Thanks

    Display More

    Hi Travor,
    The camera resolves it's own recognition program in a couple of tenths of a second. But Motoman takes a couple or more of seconds to trigger, retrieve and apply changes to position variables. It's inacceptable for our
    pourposes. About VB6 code I have no experience at all, do you have any sample job?
    Regarding the syntax of programming lines for Ethernet function at least it share the commands with RS232, I've checked that because the errors/alarms refer to that function, meaning that Ehernet is being disturbed and he wants nothing with me!!! hahaha.
    The problem is that 'communication steps' between native commands on Cognex processor and DX100-Rs232 are a solved issue, shown on many documents. But what I want is to 'emulate' the 'communication steps' that is possible with Telnet:
    o:
    192.168.255.1
    user: admin
    password: admin
    sw8 // here the camera is triggered and the program determinates the coordinates that the robot needs.
    gv007 // here the camera is asked for the coordinates obtained in the previous command
    234.587 //these are the coordinates, that simple.

    But how to link this protocol with DX100 variable enviroment? That is the question,
    So far I have received error alarms only..

    Many thanks everybody! :icon_smile:

  • wiwatarun
    Trophies
    3
    Posts
    1
    • June 30, 2017 at 7:54 PM
    • #11

    Hi,

    Anyone has a sample code for Nx100 to communicate to Data transmission function (BSC protocol)?

    Thank you
    Wiwat A

  • gauravgupta9595
    Trophies
    3
    Posts
    6
    • November 27, 2017 at 11:37 AM
    • #12

    I am trying to communicate with DX100 via LAN as mentioned in the High Speed Ethernet Server Function Manual.

    I am trying to get the position data with the Robot Position Data Reading Command as per the Manual. The data sent is as follows (This in decimal form): [89, 69, 82, 67, 32, 0, 0, 0, 51, 49, 0, 0, 0, 0, 0, 0, 57, 57, 57, 57, 57, 57, 57, 57, 117, 0, 101, 0, 6, 14, 0, 0]

    This is as per the packet format mentioned in the manual. The above data when converted to ASCII & hexadecimal reads as Y,E,R,C,0x20,0,0,0,'3','1',0,0,0,0,0,0,'9','9','9','9','9','9','9','9',0x75,0,101,0,6,0x0E,0,0.

    I am getting a error in the reply which is Format Error (Access level error) as per the Manual. I am unable to find the error in the format. Please help.

  • Roboteer
    Trophies
    3
    Posts
    13
    • December 4, 2017 at 7:47 AM
    • #13
    Quote from gauravgupta9595

    I am trying to communicate with DX100 via LAN as mentioned in the High Speed Ethernet Server Function Manual.

    I am trying to get the position data with the Robot Position Data Reading Command as per the Manual. The data sent is as follows (This in decimal form): [89, 69, 82, 67, 32, 0, 0, 0, 51, 49, 0, 0, 0, 0, 0, 0, 57, 57, 57, 57, 57, 57, 57, 57, 117, 0, 101, 0, 6, 14, 0, 0]

    This is as per the packet format mentioned in the manual. The above data when converted to ASCII & hexadecimal reads as Y,E,R,C,0x20,0,0,0,'3','1',0,0,0,0,0,0,'9','9','9','9','9','9','9','9',0x75,0,101,0,6,0x0E,0,0.

    I am getting a error in the reply which is Format Error (Access level error) as per the Manual. I am unable to find the error in the format. Please help.

    This is the command I'm sending and it works for me (in HEX)
    0x59,0x45,0x52,0x43,0x20,0x0,0x0,0x0,0x3,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x39,0x75,0x0,0x65,0x0,0x0,0x1,0x0,0x0
    I have never got the error you're getting, so I'm not sure what it means... try sending the above pocket and see if you get the same error

  • Roboteer
    Trophies
    3
    Posts
    13
    • December 10, 2017 at 7:23 AM
    • #14
    Quote from gauravgupta9595


    I am trying to get the position data with the Robot Position Data Reading Command as per the Manual. The data sent is as follows (This in decimal form): [89, 69, 82, 67, 32, 0, 0, 0, 51, 49, 0, 0, 0, 0, 0, 0, 57, 57, 57, 57, 57, 57, 57, 57, 117, 0, 101, 0, 6, 14, 0, 0]

    While making some tests I came across the same error you've got (E4A4). change your 9th and 10th elements to HEX:
    instead 0x51 (ascii convertion to '3') use 0x03.
    instead 0x49 (ascii convertion to '1') use 0x01.
    that will solve your problem...

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download