
Saia-Burgess
Controls Ltd.
Manual Modem PCDxx7 Serie│Doc. 26/793; Ed. E2│30.04.2005
Modem parameters and Main Driver functions
2
2-1
Confi guration of the modem parameters
2
Modem parameters and Main Driver functions
2.1
Configuration of the modem parameters
Most of the parameterization is done in one Data Block.
This Data Block is called “DB_Modem“ and its number in the library is the DB100.
The number of the DB can be changed as desired to fit in your project.
Depending on the different modem type in use a different DB has to be copied to
DB100, when this is used as DB_Modem
DB102
MODEM_T850
for using the ISDN modem
PCD2.T850
DB103
MODEM_T813
for using the analog modem
PCD2.T813
DB104
MODEM_T813Z42
for using the analog modem
PCD2.T813 or PCD2.T813z42
This “DB_Modem” is divided in two parts.
1.
The first part is reserved for internal use of the Modem Driver, the field in the
DB is called
„reserve“
and it’s the UDT100.
Do not edit and change the
values of this field.
2.
The second part is composed of 3 structures, which are:
•
parameterization of the serial com “
COM_parameter
”
•
AT command of the modem for the main function “
AT_COMMAND”
•
Specific modem answers “
MODEM_MESSAGE
”
Those structure are described in details in the following chapter.
•
The “
DB_Modem
“ has to be edited on your S7-editor. After the values have
been modified make sure to initialize the value before using it.
•
The value of the DB can be changed only by the S7-editor and not by your S7
software during run time.
2.1.1 Structure field “COM_parameter”
In this structure of the “DB_Modem“ you define the serial communication para-
meters, such as the baud rate, number of data bits, parity mode, etc…