So I just want my PLC to be controlled whenever I send some data (like characters=A or B or ......or any other ASCII data).
Arduino is capable to communicate with PC or any other RS232 enabled device using a serial RS232 cable.
is there any library avalible IN ARDUINO which will directly communicate with AB-DF1
if yes then please provide me the link
From your communication "drawing" I guess you wanna use the Arduino as a GSM interface only. Why do you wanna terminate the link layer protocol then? I would transparently forwarding everything I get from the PLC and terminate the DF1 on the PC (the other side of the GSM I guess). This way you have a reliable link from the PC to the PLC and the Arduino is just a communication device.
i will use PC for one time only i.e to download the programm to PLC .
i want to read and the value of PLC which is coming from the field and also want to write it
i have came to know that modbus library is avalible in the arduino
so can i able to read and write the value of PLC using MODBUS? IF YES THEN HOW?