Technical data

PLC Library SINAUT MICRO SC
SINAUT MD720-3
38 C79000-G8900-C210
8.2 Program module WDC_INIT
The module initialises the GRPS library, the PLC serial interface as well as the
GPRS modem.
Remark:
This module is to be called from the user program once per cycle.
Entering configuration parameters as string
A lot of the configuration parameters need to be entered as strings. These strings
need to be defined in the „data module“ of MicroWIN. The first Byte of the strings
contains the number of characters, the following Bytes contains the several
characters. The disposal of the parameter to the WDC_INIT module is made by
giving the reference to the corresponding string (&-operator) („Memory address of
the strings“).
Example:
Name of the modem at address VB1830.
Data module:
VB1830 6
VB1831 'modem1'
Call of WDC_INIT:
WDC_INIT
STATION_NUMBER BUSY
IP_ADDRESS_CS DONE
DESTPORT_CS ABORTED
MODEM_NAME ERROR
MODEM_PASSWORD
PIN
APN
AP_USER
AP_PASSWORD
DNS
CLIP