electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

S7-200 test


Post new topic  Reply to topic    EDAboard.com Forum Index -> Industrial, Robotics and Automatics Forum -> S7-200 test
Author Message
DrWhoF



Joined: 06 May 2005
Posts: 334
Helped: 12


Post14 May 2009 9:00   

rs232 s7200


Can someone advice how to test all inputs and outputs of the S7-200 PLC (222CPU).
Maybe a simple program, as I am not familiar with this stuff and have to test it.
Very Happy
Back to top
IanP



Joined: 05 Oct 2004
Posts: 6490
Helped: 1542
Location: West Coast


Post15 May 2009 1:53   

s7-200 serial port pin


Write and download a program that sets output when input is pulled-up to a “1”.
It may look like this (STL option in Step7-Mico/Win):
Input: I0.0
Outputs: Q0.0, Q0.2 and Q0.4

Code:
Network 1
LD I0.0
= Q0.0
= Q0.2
= Q0.4


You can do the same for input I0.1 and outputs Q0.1, Q0.3 and Q0.5:

Code:
Network 2
LD I0.1
= Q0.1
= Q0.3
= Q0.5


and you can do the same for all other inputs ..

Rgds,
IanP
Back to top
DrWhoF



Joined: 06 May 2005
Posts: 334
Helped: 12


Post17 May 2009 8:45   

forum s7200


OK.
I made a cable connected as per this discription:
http://www.edaboard.com/viewtopic.php?t=338618&highlight=s7200
but there is no communication between PC and PLC.
Any (prompt) advice is highly appreciated Exclamation
Back to top
Google
AdSense
Google Adsense




Post17 May 2009 8:45   

Ads




Back to top
IanP



Joined: 05 Oct 2004
Posts: 6490
Helped: 1542
Location: West Coast


Post02 Jun 2009 3:22   

s7 200 rs485


What serial port has your PC?
You need the RS-485 to connect to S7-200 and the connection is gnd on pin 5, line A(Tx/Rx+) on 8, and line B(Tx/Rx-) on 3 ..

Rgds,
IanP
Back to top
venix



Joined: 20 Mar 2008
Posts: 86
Helped: 9


Post02 Jun 2009 18:37   

s7 ppi test


Hello!

I put in one of my posts some schematics how to build a cable for S7-200.The post is Siemens useful cables.

Another great resource(different from Siemens official sitewww.simatic.com) for programming S7 PLC family is www.plc.net.ru

Best regards!
Venix


Last edited by venix on 09 Jun 2009 6:09; edited 1 time in total
Back to top
DrWhoF



Joined: 06 May 2005
Posts: 334
Helped: 12


Post07 Jun 2009 4:41   

test port s7-200


My mistake, I tried to connect through rs232.
Thanks for the info on 232-485 connection.
I'm going to try it. Very Happy
Back to top
IanP



Joined: 05 Oct 2004
Posts: 6490
Helped: 1542
Location: West Coast


Post20 Jun 2009 15:12   

rs 485 connection and s7200


I hope you’ve managed to establish connection with the PLC ..
After all they are pretty robust, so even if you try the RS232 signals on the RS485 pins it should survive ..
Rgds,
IanP
Back to top
Medtronic



Joined: 19 May 2005
Posts: 164
Helped: 11
Location: Egypt


Post09 Nov 2009 12:38   

Re: S7-200 test


Dear Inap.
i made the rs232 to rs485 converter to s7-200..it semes to be worked ok..
but now i test this converter with commander sk drive converter,and there is no communication please advice to solve this problem...

Best Regards.

MedTronic
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Industrial, Robotics and Automatics Forum -> S7-200 test
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
what is test case,test vector,test bench? (6)
two test clock in ATE test (1)
cable S7 200 (3)
s7-200 simulator? (3)
200 m separation (1)
Gain of 200 (3)
PLC S7-200 CN (2)
test pattern vs. test vector (7)
IEEE Standard for Open-Circuit Test and Short-Circuit Test (1)
S7-200 PLC manual (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS