Levanteri
Member
Hi.
I have a CPU314IFM, CP340 RS-232 and GSM-module(EBG-350) built by Eindrich.
The idea is to control the PLC by sending SMS.
I´ve got the module and the PLC configured, cables built and so on. The only problem now is this:
When the module receives an SMS, the SMS only goes in to the memory of the SIM-card in the module and therefore can not be read by the CP340. I know the commands to read the messages from the module, but now I should command the PLC to read the message from the module and that´s the problem.
So I´d probably somehow modify the P_RCV and P_SEND blocks to cyclically read the data from the GSM-module, so that when a new message arrives, the block send a command to open it and then it´ll be available for reading?
I have a CPU314IFM, CP340 RS-232 and GSM-module(EBG-350) built by Eindrich.
The idea is to control the PLC by sending SMS.
I´ve got the module and the PLC configured, cables built and so on. The only problem now is this:
When the module receives an SMS, the SMS only goes in to the memory of the SIM-card in the module and therefore can not be read by the CP340. I know the commands to read the messages from the module, but now I should command the PLC to read the message from the module and that´s the problem.
So I´d probably somehow modify the P_RCV and P_SEND blocks to cyclically read the data from the GSM-module, so that when a new message arrives, the block send a command to open it and then it´ll be available for reading?
Last edited: