Technical Forum

Communication / Networks

S7-300 CP 343-1 Lean communicates SICK barcode scanner CLV620-0120

Thread Starter: leonwang11   Started: 7/20/2011 11:38 AM   Replies: 10

« Previous thread Next thread »
12» Page 1 of 2 (11 items)
  7/20/2011, 11:38 AM
Joined 5/1/2011
Last visit: 12/7/2011
Posts: 17
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello Experts, I have a SICK barcode scanner CLV620-0120 which has 200bytes input and 200byte output memory, it has an Ethernet/IP port, I can connect it to Allen Baradley CompactLogix L32E with Ethernet/IP port easily and got the scanning result. Allen Baradley Ethernet/IP port provide memory mapping configuration, but I couldn't get the mapping from SIEMENS's. I don't have any idea on how to connect it to SIEMENS S7-300. I tried to connect it to CP-343-1 Lean through a switch, it can be connected, but I don't know how to get the data that passed from SICK barcode scanner.  Please help. 


Thanks

Leon 
Top
  7/20/2011, 3:05 PM
Joined 8/5/2009
Last visit: 4/13/2014
Posts: 120
Rating:
Rated: Above avarage [3 out of 5 / rated 1 time(s)]. (1) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
We have an application with S5 S7 Communication

This works with CP525 On the S5 Side

and an CP341 RS232 TTY On the S7 Side

Top
  7/20/2011, 7:44 PM
Joined 4/30/2007
Last visit: 4/11/2014
Posts: 214
Rating:
Rated: Excellent [4.19 out of 5 / rated 16 time(s)]. (16) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi leonwang11

you may want take a look on this
 
http://support.automation.siemens.com/WW/view/en/1188622

Hopefully helps
Top
  7/20/2011, 9:17 PM
Joined 9/27/2006
Last visit: 4/20/2014
Posts: 4574
Rating:
Rated: Excellent [4.2 out of 5 / rated 752 time(s)]. (752) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello Leon;
The reason it is so easy to communicate with your CompactLogix PLC is because you were using Ethernet/IP, which is a protocol used by Rockwell, with your barcode scanner; Siemens does not support this protocol, so you have to change the way you connect to the barcode.
First, you could look for a protocol converter between Rockwell's Ethernet/IP and Siemens' Industrial Ethernet (on the CP 343-1). Siemens has an application note on the use of an Echochange gateway just for this purpose:
Communication between SIMATIC S7 and Allen-Bradley ControlLogix CPUs via Ethernet: Use of "Echochange" gateways   

Or you could use other protocols supported by Sick: you could select their TCP/IP interface, also supported by the CP 343-1; you will have to program all the data exchange strings between the PLC and the scanner; ask Sick for more technical information.
Or you could use a Profibus-DP interface between the S7-300 CPU and the barcode reader. This would be the easiest solution fior you, as Profibus-DP is natively supported by most Siemens PLCs. Sick will provide the required module and gsd file, along with the registers available for data exchange.
Hope this helps,
Daniel Chartier



=== Edited by dchartier @ 7/20/2011 9:27 PM [GMT ] ===


=== Edited by dchartier @ 7/20/2011 9:26 PM [GMT ] ===


Top
  7/21/2011, 3:58 AM
Joined 5/1/2011
Last visit: 12/7/2011
Posts: 17
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi Marciano:

Thanks a lot for your fast reply and help.

Best Regards
Leon
Top
  7/21/2011, 4:00 AM
Joined 5/1/2011
Last visit: 12/7/2011
Posts: 17
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi Chartier,

Thank you very much, you helped me save a lot of time.

Best Regards
Leon
Top
  7/28/2011, 2:50 AM
Joined 5/1/2011
Last visit: 12/7/2011
Posts: 17
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi dendhondt,

Thanks a lot, but my question is how my device which has EtherNet/IP to communicate with CP 343-1Lean. I don't know how to get EtheNet/IP to work along with Industrial Ethernet. Can I use programming in S7 to get the data from my device and how? 

Best Regards
Leon
Top
  8/2/2011, 11:04 AM
Joined 5/1/2011
Last visit: 12/7/2011
Posts: 17
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi Dchartier/other experts,

My Barcode scanner output can be set to telegram data stream like seen on PC when using Telnet command. The display has the format: 02 XXXXXX ... XXXXX03. Can I connect the barcode scanner EotherNet port directly to CP 343-1 Lean and use S7 300 command to send /receive data? if can, which commands should I use? and how to configue it in NetPro?

grin
Thanks a lot.
Leon
Top
  8/2/2011, 4:04 PM
Joined 9/27/2006
Last visit: 4/20/2014
Posts: 4574
Rating:
Rated: Excellent [4.2 out of 5 / rated 752 time(s)]. (752) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello eon;
As stated before:
"Or you could use other protocols supported by Sick: you could select their TCP/IP interface, also supported by the CP 343-1; you will have to program all the data exchange strings between the PLC and the scanner; ask Sick for more technical information."
Hope this helps,
Daniel Chartier
Top
  8/2/2011, 5:14 PM
Joined 5/1/2011
Last visit: 12/7/2011
Posts: 17
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello Dcharter,

Thanks.

grin
Leon
Top
12» Page 1 of 2 (11 items)
Actions