Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2008, 10:10:22 PM
Home Help Search Calendar Login Register
News: Any Problems or Experience with Industrial Robots ?
Register and place your Question to worldwide Robotexperts right here !

+  Robotforum | Support for Robotprogrammer and Users
|-+  Robot Help and Discussion Center
| |-+  KUKA Robots (Moderators: Werner Hampel, kai_n, MartinH)
| | |-+  Trying to communicate with an omron vision system using serial
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Trying to communicate with an omron vision system using serial  (Read 156 times)
robots_at_apex
Newbie
*
Offline Offline

Posts: 11


« on: July 14, 2008, 10:27:53 AM »

I need to write the command MEASURE<CR> to the Omron vision so that it will respond back with the measurement values. There is nowhere in the manuals to show how I can join the carriage return to the end of the string MEASURE.

I have tried cwrite(........."%-s\r",vis_cmd)        where DECL char vis_cmd[12]   
                                                                                     vis_cmd="MEASURE"

Does anyone know why this doesn't work.?  How do I join alphabetic characters with non-alphabetic (or  action)characters?  Many thanks
Logged
MartinH
Global Moderator
Full Member
*****
Offline Offline

Gender: Male
Posts: 123

Kent, UK


« Reply #1 on: July 14, 2008, 12:48:23 PM »

You should find the answer on this thread :-

http://www.roboterforum.de/roboter-forum/kuka_roboter/keyence_machine_vision_x_kuka_robot-t2797.15.html
Logged

There are 10 types of people in this world - those who understand binary, and those who dont.
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!