hello guys
i want to read a code by a bar-code reader in S7-400 PLC and for this, I need to use CP340 (RS232C Interface module) to read code information form barcode reader and use in PLC program but i don't know how?
I read on net that i must use FB2 & FB3 for reading from or writing to CP340 and where are they?
how do they work?
is there anything that i don't know yet?!
thanks
Thanks my Friend, it was really useful but i have two little questions!
first, what's the difference between CP340 And CP341 ?
and second every bar-code reader with RS232C Output like Data Logic with "DATA-PM8300-433" order number is compatible with CP340?
thank again
Hi guys
I have a Question about reading data to wincc v7 I/O field, the Question is, I want to read a bar code from a car body by a serial or USB barcode reader and use it in PLC, the first way is using CP 340 or CP341 module but i don't want to use this way because i have a PC next to that station and I can read that code by PC very easily but the problem is how can I read data from a serial port or USB port directly and send this code to an I/O field in wincc v7?
P.S. I can exchange data between excel and wincc so if i could write in a cell of MS that's ok I can send it to an I/O field in wincc but it must repeat periodically not for one time (reading from that port and writing in that MS cell).
thanks for your help