Hello, i'm trying to communicate arduino uno and Ethernet shield W5100 with a S7-1200 and TIA Portal V13 SP1. The TCP conection is working fine, my problem comes in the last step, when i try to send information to the arduino from PLC using "Client.ReadArea".I get the error 0x300 "Error during data read".i don't know if i need to implement a FB like TSEND_C or if i need to do something else.In case i need to use an FB like TSEND_C, how do i know what's the address that i need to give to the FB? if it is not the case and someone can help me i would be really gratefull.Thanks a lot and best regards
hi, im trying to connect to 1200, and i have a similar error (error 0x100 (Invalid PDU received.)with readdemo and 0x500 (The PLC reported an error for this function.) with dbgetdemo)i dont know what data i need to write on (PUT_DB) ADDR_1 for examplei tested t_send function and doesnt work some one can send a pic to configure the tia portal side.im newbie i know.and excuse my english :p(with modbus i can send data to arduino to plc)
hi,i have the same error 0x300 when i use ReadArea function (in settimino library) to read data from PLC S7-1200. I dont know how to fix it. So i need a help.Thank you!!
This error happens when you try to read more bytes than exist in the DB defined previously. try to read less length from DB or fill the DB with more information until to the length you need to read
Hello,How did you solve your problem with error 0x500?thank you in advance for your help