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.
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:
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 ..
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
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...