Cognex string command examples

Steve Bailey

Lifetime Supporting Member + Moderator
Join Date
Apr 2002
Location
The boondocks of Western Massachusetts USA
Posts
8,589
Does anyone have an example of a successful string transaction between a PC or HMI and a Cognex DM302 barcode scanner using ModbusTCP?

I have been able to successfully trigger the scanner using bit [01] of the control block. Now I'm trying to do the same using bit [17] (Initiate string command) along with the string command block and string result block. I get an acknowledgement bit when I send the command but I don't get any data, just an error code that translates to "Unidentified Error". I've tried every way I can think of to interpret what the DataMan Control Commands manual says about formatting the commands but so far no joy. I'm sure I'll put a dent in my forehead when I see a correct example.
 

Similar Topics

Gents, I've the following problem: We have several Cognex Insight 5604 line scan camera's on our production lines. To show the opperators what's...
Replies
0
Views
2,062
We finally replaced our Cognex Checker with an IV-3 and I'm wondering if can replace the s/w in the monitor with anything else. I haven't been...
Replies
0
Views
100
Thank you for any and all responses/help. I have an RSLogix 5000 v20 and a Cognex In-Sight v5.9 spreadsheet (8502P). I can not figure out how to...
Replies
0
Views
123
Which signals do I have to use to get data from camera. For example camera detects a defect and sends signal to controller. Power cable: CCB-PWRIO-05
Replies
1
Views
210
Good People of PLCTALK. I am trying to understand the pass-fail on one of our product lines. I was able to record the Cognex images on the...
Replies
2
Views
230
Back
Top Bottom