Skip to Main Content
Cognex 支持中心
Logo

How to Send Scanner Result in Serial RS-232 Communication

Instructions on how to send the scanner result in serial RS-232 communication to PC(LabVIEW ,3rd party software ,etc. )/PLC

2026/02/17

Details

This article will help users get data using RS-232 communication for fixed-mount devices powered by CCB-PWRIO-xx, such as,

  • DataMan 290,
  • DataMan 390/DataMan 380
  • DataMan 280,
  • DataMan 260, etc.

Step 1:

Connect 9-pin (DB9) connector on one end PC /PLC and a scanner cable (breakout cable) on the other end as below 

DB9 PinSignal NameDirection (PC)Scanner WirePower supply 
2RXD (Receive)2TX from scanner (White/Yellow) 
3TXD (Transmit)3RX from scanner (Brown) 
5GND5GND (Black)0V

Note: If the power cable is CCB-M12x12Fy-xx, please use the TX and RX connections as per the wiring document 

How to send scanner result in serial RS-232 communication_image-1

Step 2:

Open the DataCman  -- > Go to communication -- > Serial communication tab ->> make sure the following settings are configured correctly 

How to send scanner result in serial RS-232 communication_image-2
How to send scanner result in serial RS-232 communication_image-3

Step 3:

I am checking the data received using Hercules software, but you can use your own preferred software. I am sharing my setup here , in my case, the selected port is COM3, but you should choose your current port number. When you trigger the scanner, you will see the scanned result as shown below.

How to send scanner result in serial RS-232 communication_image-4

相关资源