How in codesys call an “at command” for gsm modem? Not standart send_sms and e.t.c
I have a gsm-modem and plc, plc sees a modem (I use a *.lib and functional block "openPort"), but I don't understand how write in modem an "at command", for example, "ate0". First, to increase your understanding of AT commands in general, read the V. 250 specification . That will go a long way in making you an AT command expert. Then for the actual implementation, I do not know codesys, so the following is pseudo code of the structure you should have for handling AT commands: the_modem = openPort(); ... // start sending ATE0 writePort(the_modem, "ATE0\r"); do { line = readLinePort(the_modem);