Sign in to follow this  
Followers 0
FranciscoMYT

CP1L connected with scanner symbol, with RS-232 on board CP1W-CIF01

1 post in this topic

CP1L connected with scanner symbol DS-4308 reading 2D data matrix,  with RS-232 on board CP1W-CIF01

Hi all, need some help because I can't read the information. Let me explain,

I have a PLC, " CP1L-L14DR-D " with a RS-232 option borad " CP1W-CIF01 " , a scanner Symbol DS-4308, and I'm trying to read a data matrix 2d barcode (I don't know if that matters).

so I build a cable with the next configuration,

CABLE_CONNECT.jpg.6b87386a2f14e44c3771bb

(one side male and the other female)

PORT CONFIG PIN OUT

PORT1_PINOUT.jpg.202e63ecfbd6ce4b2226ce6

SCANNER CABLE RJ-50 TO RS-232 PINOUT

CABLE_SCANNER.jpg.952a42470eeda9ef86923a

Maybe I'm missing a connection? a bridge? power supply ? ground?

 

in the program, I only have this to check the communication,

 

PROGRAM.jpg.57309443e974302b3bae376a5a3f

 

 

When my reception flag complete (A392.06), my instruction RXD is going to execcute, reading in D1500 the data.

if is any error in communication (A392.04) or overflow (A392.07), my port is going to restart (A526.00)

(ignore w0.03)

with the followign config: (9600, 7,2,E, RS-232C, End code: Received Bytes 3

 

CONFIG.jpg.b08bdecf1a6d91756a1a41b837acd

 

 

and I'm reading only, data on D1500 and D1501, and the data makes no sense.

 

READ.jpg.27e0d1e102668d051a5637da8dee276

with the configuration of End Code: CR, LF,          can't make it work, I read nothing.

and if I change the END CODE: Received bytes to 4,      don't work. and my flag A392.04 go to ON.

 

PLC HAS 4 PIN SWITCH, ALL ARE OFF

The configuration on the scanner is setting to default and then config to RS-232 Standard.

SCANNER_DEFAULT.jpg.8283f9afae0538dcf7b1

SCANNER_RS232.jpg.c801e5ad1ec57a4b89bc5b

 

So, what I'm missing? 

bad connections?

plc don't support?

scanner config?

program?

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0