ClimateController
Member
Hello. I want to establish serial communication between the S7-300 and a raspberry pi. Toward that end, I'd like to begin by sending a simple 1 or 0 and have my PLC react accordingly. So I suppose you could say I want to use the raspberry pi as a switch. This is for testing purposes. I can transmit data from the raspberry pi via C++ or Python but I have no idea how to incorporate data received serially by the PLC in my ladder logic program. How can I accomplish this in Siemen's TIA Portal V13? Is there a block or instruction that I can insert into my ladder logic program and it will read the serial port? Thanks for the help in advance.