Technical data
PLC Library SINAUT MICRO SC
SINAUT MD720-3
C79000-G8900-C210
47
8.5 Program module WDC_CONTROL
The WDC-This module indicates the current operation mode of the GPRS modem
and the library.
This module enables the modem switching in the AT command mode, to become
access directly to the modem via AT commands from the user program (call via
positive flank ACT_AT_MODE).
This module enables the change to the „normal operation“ after a remote
programming session via CSD call to the GPRS modem (call via rising edge at
ACT_GPRS_SERVICE).
With separation of the CSD connection, the GPRS modem changes automatically
back into the GPRS mode. The controler is not able to recognise the end of the
phone connection. To return in any way to the GPRS communication, a time
delayed switch has to be activated in the freeport mode before connection end via
module WDC_CONTROL from the variable table of MicroWin. Therefore in
DELAY_TIME_GRPS the delay time must be specified and the switch to
ACT_GPRS_SERVICE must be activated.
For security a maximum time interval for the „not GPRS operation“ (this means
INT_MODE <> 1) can be specified (MAX_TIME_AT). After this time the modem is
switched back in any case to the GPRS operation mode, if the PLC is set to RUN.
Remark
This module is to be called from the user program once per cycle.
WDC_CONTROL
ACT_GPRS_SERVICE INT_MODE
ACT_AT_MODE BUSY
DELAY_TIME_GPRS DONE
MAX_TIME_AT ABORTED
ERROR










