Download Function Block - Schneider Electric

Transcript
Tech.Ref.XXMIT
Initialization
Message
The initialization message is just like any other ASCII message and may be a
maximum of 512 characters long, although 50 characters is usually more than
enough to initialize a modem. You may implement any Hayes AT command as part
of the initialization string. We recommend the following commands when initializing
a modem for use with XXMIT.
Initialization Message for Dial-Up Modem
Initialization Message = AT&F&K0&Q0&D0V1Q0X0E1
AT=
Self-calibrate Modem 1
&F=
Recall factory configuration as active configuration 1
&K0=
Disable local flow control 2
&Q0=
Communicate in asynchronous mode 2
&D0=
Ignore status of DTR signal 1
V1=
Display result codes as words 1
If V1 is not used or if modem is not capable of returning verbose
responses the XXMIT block returns error 117 (modem replay
time out).
Q0=
Return result codes 1
X4=
Provide basic call progress result codes: Connect, No Carrier,
and Ring 1
E1=
Echo characters from the keyboard to the screen in command
state 1
1
2
These parameters must always be part of the initialization string for XXMIT to function
properly.
These parameters should be part of the initialization string for XXMIT to transmit a
message to remote modem properly. Only a experienced modem user should change
or not use these parameters.
Note: While some modem manufacturers state full compatibility with Hayes, they
may still be slightly different. Therefore, we recommend using only those
commands that have the same definition as those stated above.
The initialization message must always start with Hayes standard AT command. The
XXMIT block automatically precedes modem command messages with AT and
appends the message with carriage return (0x0D) and line feed (0x0A) characters
since these are required by all modem control messages. Other (non controlling)
ASCII messages do not have to end with a carriage return and line feed.
33002196
107