Page 1 of 1

[?]: Send Data From a Siemens S7300 PLC to a PC

Posted: Sun Apr 05, 2009 5:14 pm
by siavashhn
Does any body have any idea how I can transfer data from Siemens PLCs to a PC?
for example I wana send a DB to a PC.
I've thought of using a CP card and sending out data and receiving via serial port on a PC.
but I'm worried about Voltage levels. any comments???

Posted: Wed Apr 08, 2009 11:44 pm
by njvr
You can use TCP/IP open protocol(UDP). This is fast and you can use long cable's too.

Posted: Thu Apr 09, 2009 4:52 am
by Umencho
Hello,
Give more details about existing software and hardware in your application and PC.
regards

Posted: Thu Apr 09, 2009 1:13 pm
by TitusII
You can use the CP340 to connect the PLC with a PC. (RS232)
Thats very slow...

If you have a 31x-2PN/DP CPU you can use on CPU-Side the "open TCP/IP Kommunikation" with FB63/64/65 (TCON,...)
On PC-Side you must use in Visual Studio 2008 the class TCPListener, but you can only kommunicate only with TCP/IP native and UDP.
only 1460 Byte per package

for 8192 you must use ISO on TCP/IP, but there is a Problem on PC-Side.

Posted: Fri Apr 10, 2009 12:15 pm
by Bogoev
If you can have Step 7 on you PC you can download all program via MPI.
You need MPI module because from PLC side you get 24V but on PC side (USB for example) you have 5V. In other you can try with USB to COM1(9 pin) cable and RS-485.

RS485
Pin / 3 / RS-485 Signal B /RS-485 Signal B
Pin / 5 / 5 V Return /Logic common
Pin / 8 / RS-485 Signal A /RS-485 Signal A

on 2 and 7 Pin is +24 and 24V Return. If you try with USB you cant make diagnostic, just you can transfer programs.