background image

Industrial Telephone  Modem

www.westermo.com

©

W

estermo T

eleindustri 

AB 

• 

2007

AT Commands 

Interface Guide

6618-3201

TDW-33

TD-36, TR-36

4
3
2
1

4
3
2
1

Содержание TD-36

Страница 1: ...IndustrialTelephone Modem www westermo com Westermo Teleindustri AB 2007 AT Commands Interface Guide 6618 3201 TDW 33 TD 36 TR 36 4 3 2 1 4 3 2 1...

Страница 2: ...g modes are controlled by AT commands Modem operation modes Example of commands events that can trigger a change of the modems operation modes 1 ATD command 2 Hangup from the remote end 3 Escape seque...

Страница 3: ...with command S3 LF Linefeed character which value is specified with command S4 Name enclosed in angle brackets is a syntactical element Brackets themselves do not appear in the command line Optional s...

Страница 4: ...ters Command example Possible responses Note ATA CONNECT speed Answer to this incoming call call accepted S register S7 sets time allowed to connect An Dial Abort Option Supported by TDW 33 TD 36 TD 3...

Страница 5: ...nses Note ATB n OK The command is valid and accepted ERROR Otherwise S register The value is written to S27 bit 6 Bn Transmit Break to Remote Supported by TDW 33 TD 36 TD 36 485 TR 36 Description In n...

Страница 6: ...by sending an escape sequence to enter command mode and then set the Bn command See also AT D and AT K Syntax B n Parameters n 0 Disable DTR TX Hotcall Default 1 Enable DTR Hotcall 2 Enable TX Hotcal...

Страница 7: ...1 3 Enables both V 42bis and MNP5 data compression Sets S46 bit 1 Default Command example Possible responses Note AT C n OK The command is valid and accepted ERROR Otherwise S register The value is w...

Страница 8: ...r Delimiter between number to be dialed P and PSTN security access password W Wait Wait for dial tone before processing to next character in the dial string Secdialsep Wait for second dialtone Wait fo...

Страница 9: ...the ATD command is one of the following Result code Numeric result code Description CONNECT speed Refer to description If the call succeeds for of result codes data calls only speed takes the value ne...

Страница 10: ...a soft reset Command example Possible responses Note AT D n OK The command is valid and accepted ERROR Otherwise S register The value is written to S21 bits 3 and 4 En Echo Supported by TDW 33 TD 36 T...

Страница 11: ...the line quality and requests a retrain E1 or fall back when line quality is insufficient or a fall forward when line quality is sufficient E2 Set S41 bits 2 and 6 Syntax AT E n Parameters n 0 Disabl...

Страница 12: ...e of the remote modem Default 1 Selects 300 bit s V 21 if B0 is set or Bell 103 if B1 is set 2 Selects V 22 600 bit s 3 Selects V 23 see Fn for speed 4 Selects V 22 if B0 is set or Bell 212A if B1 is...

Страница 13: ...and is valid and accepted ERROR Otherwise Fn Restore Factory Configuration Supported by TDW 33 TD 36 TD 36 485 TR 36 Description The modem loads factory default configuration profile A configuration p...

Страница 14: ...8 Select Voice Mode Gn Select Guard Tone Supported by TDW 33 TD 36 TD 36 485 TR 36 Description The modem Generates the guard tone elected by this command according to the param eter supplied DPSK modu...

Страница 15: ...and or Call back functionality For compatibility reasons only See also AT WCB Syntax G n Parameters n 0 Disables Password Control Default corresponds to AT WCB 0 1 Enables Password Control corresponds...

Страница 16: ...e Default Command example Possible responses Note AT GCI value OK The command is valid and accepted ERROR Otherwise S register None Hn Disconnect Hang Up Supported by TDW 33 TD 36 TD 36 485 TR 36 Desc...

Страница 17: ...e 8 Display switch settings 9 Display Westermo Application Software revision identification Other values OK string is sent back Command example Possible responses Note ATI0 33600 Max line speed OK ATI...

Страница 18: ...t format can t be set with rate set to auto Syntax AT ICF format AT ICF AT ICF Parameters format 0 Auto 4 4 7N2 5 1 7E1 5 0 7O1 3 4 8N1 2 1 8E1 2 0 8O1 4 1 7E2 4 2 7O2 1 4 8N2 1 1 8E2 1 2 8O2 Command...

Страница 19: ...d rates that can be used by the DCE 0 enables autobauding 300 600 1200 2400 4800 9600 19200 38400 57600 115200 Command example Possible responses Note AT IPR IPR 9600 OK Current rate is 9600 bit s AT...

Страница 20: ...d modem no break sent to the remote modem 1 Clear data buffers and send break to remote modem 2 Same as 0 3 Send break to remote modem immediately 4 Same as 0 5 Send break to remote modem in sequence...

Страница 21: ...esponses Note AT K n OK The command is valid and accepted ERROR Otherwise S register The value is written to S40 bits 3 4 and 5 Kn DTE DCE flow control Supported by TDW 33 TD 36 TD 36 485 TR 36 Descri...

Страница 22: ...fault Command example Possible responses Note ATL n OK ERROR Otherwise S register The value is written to S22 bits 0 and 1 L Report Line Signal Level Supported by TDW 33 TD 36 TD 36 485 TR 36 Descript...

Страница 23: ...0 Password Callback number 1 Password Callback number OK ERROR Otherwise S register None Mn Speaker Control Supported by TDW 33 TD 36 TD 36 485 TR 36 Description Speaker Control command Syntax ATM n P...

Страница 24: ...23FDX 1200 1200 bit s full duplex 4 wire leased line only TD 36 485 V32 4800 or 9600 bit s V32B 4800 7200 9600 12000 or 14400 bit s V34 2400 4800 7200 9600 12000 14400 16800 19200 21600 24000 26400 28...

Страница 25: ...ection Failure to make a reliable connection results the modem hanging up 3 Selects reliable mode Failure to make a reliable connection results the modem fall ing back to speed buffered mode 4 Selects...

Страница 26: ...command allows you to return to online data mode either with or without a retrain Syntax ATO n Parameters n 0 Enters on line mode without a retrain Default 1 Enters on line mode with a retrain Comman...

Страница 27: ...umber 1 Command example Possible responses Note P0 woodoo 911 OK ERROR Otherwise S register None Qn Result Code Control Supported by TDW 33 TD 36 TD 36 485 TR 36 Description The Q command controls the...

Страница 28: ...h S36 and S48 See also AT Nn Syntax AT Q n Parameters n 0 Selects direct asynchronous operation The value 000b is written to S27 bits 3 1 and 0 respectively 5 The modem will try to negotiate an error...

Страница 29: ...0 2 2 rings to answer OK ERROR Otherwise S register None Sn Set DSR signal Supported by TDW 33 TD 36 TD 36 485 TR 36 Description This commands controls the Data Set Ready DSR signal Syntax AT S n Para...

Страница 30: ...ation responses text CR LF 0 Result codes numeric code CR 1 Information responses CR LF text CR LF 1 Result codes CR LF verbose code CR LF Command example Possible responses Note ATV0 0 DCE transmits...

Страница 31: ...d below subject to the command settings V verbose and Q Quiet In a non verbose mode V0 single line connect messages are disabled and a single numeric result code is generated for CONNECT DTE The singl...

Страница 32: ...0 E1 M0 Q0 V1 W0 X4 A1 B0 C1 D0 K0 Q5 S1 N4 F3 S00 001 S02 043 S03 013 S04 010 S05 008 S06 003 S07 075 S08 001 S09 000 S10 004 S11 000 S12 000 S22 112 S25 005 S30 000 S31 000 S40 040 S41 003 S46 002 S...

Страница 33: ...0 DataFrames Sent Rec 0 0 ErrorFrames 0 ResentFrames 0 Frames Sent Rec 0 0 CompressionEfficiency 100 ProtocolProgress 0 Disconnect Reason No disconnection SNR 0 dB RXLevel 0 dB Echo Level 0 dB Near E...

Страница 34: ...ax VRN n VRN VRN Parameters n Decimal number 0 specifying the time period that the modem will wait for Ringback during call origination A value of 0 forces the modem to report the OK result code All o...

Страница 35: ...ection the modem reports the DCE speed Command example Possible responses Note ATW OK n 0 1 2 ERROR Otherwise S register The value is written to S31 bits 2 and 3 Wn Store system setting Supported by T...

Страница 36: ...Caller ID when A number answer is enabled Syntax AT WACCTAB entry num AT WACCTAB AT WACCTAB Parameters entry Secure callback entry 1 10 num Accepted Caller ID 0 20 characters Command example Possible...

Страница 37: ...numbers stored in the WACCTAB On a true compare the modem will answer the call immediately If the CID not compares to a number in the WACCTAB the normal answering procedure controlled by S0 and ATA t...

Страница 38: ...allow data only after the password is correctly entered After 3 retries of entering wrong password or after 60 seconds the link will be disconnected and the callback secure access aborted Numbers and...

Страница 39: ...interface 4 Callback enabled Password and callback number in WCBTAB The call request will be accepted silently no RING and CONNECT message will be sent to the DTE interface at that time After a succes...

Страница 40: ...up to 20 characters long a pass word field if used size should be between 6 and 12 characters long otherwise 0 size Syntax AT WCBTAB entry num psword AT WCBTAB AT WCBTAB Parameters entry Secure callba...

Страница 41: ...number of seconds delay between hang up and callback dialing start Syntax AT WCBTIME n Parameters n Callback delay 0 255 s Command example Possible responses Note AT WCBTIME 10 OK Set callback delay t...

Страница 42: ...N connection after the specified number of minutes and then try to connect on the 2 wired leased line Syntax AT WDB num retries time AT WDB AT WDB Parameters num Dial backup number string 0 16 charact...

Страница 43: ...es 2 Send information string to remote DCE after connect message or DCD 3 Send information string to DTE when inactivity timer S30 expires 4 Send information string to DTE after connect message or DCD...

Страница 44: ...ntention with this command is to enable use of application which has been written for other types of modems and has been using undocumented bugs in command interpretation in the replaced modem Syntax...

Страница 45: ...to the number defined in data1 2 SMS data1 Destination number of the SMS data2 SMS message data3 SMS service provider number data4 SMS protocol type 0 NONE 1 UCP 2 TAP data5 Password if required by pr...

Страница 46: ...table entry will always be execute regardless of the exit status of the current timeout Timeout is used in Dial and Transparent I O The timeout is designed as a inactivity timer and will be retrigged...

Страница 47: ...n the entry is trigged can be used to modify the trigger condition TRANS Phone number of the modem to which the transparent I O should occur For dependencies of other parameters and line type Please S...

Страница 48: ...EMAIL service Service Parameter data4 SMS SMS protocol 0 No protocol 1 UDP 2 TAP EMAIL Reserved for mail protocol data5 Field data5 is only used for SMS and EMAIL service Service Parameter data5 SMS P...

Страница 49: ...umber Yes CS Normal Transparent I O over Circuit switched line Yes Empty No CS Use current connection for I O transfer The Empty data 1 will override priority Yes Empty Yes CS Use current connection f...

Страница 50: ...2 PG1 OK Example 2 Define entry 4 for Transparent I O service with retry for ever priority timeout 400s remote modem number 016480250 AT WIOL 4 7 1 40 1 016480250 0 OK Example 3 List the entry table A...

Страница 51: ...ervice 7 4_Flag 1 4_Timeout 40 4_Priority 1 4_Data1 016480250 4_Data2 4_Data3 4_Data4 0 4_Data5 4_Data6 OK Example 4 Read the format string AT WIOL WIOL 1 10 0 7 0 3 0 255 0 1 0 20 char 0 160 char 0 2...

Страница 52: ...x AT WIOD n m AT WIOD Parameters n Entry number to be deleted n 1 10 m Range of entries to be deleted from entry n to entry m m included Command example Possible responses Note AT WIOD 2 OK Delete Gen...

Страница 53: ...s The number of pulses will be calculated when the time between pulses is longer than Tp Note Tp must be longer than 2ta type Trig source and type 0 NO Trigger not used 1 LEVEL Trigger source is the d...

Страница 54: ...t 4 DTR Output will be controlled by DTR An active DTR will activate the output Note If LEVEL trigged input is programmed all defined entries will be trigged Command example Possible responses Note AT...

Страница 55: ...indes number 0 10 1 10 selects the entry at the corresponding index in the table Selecting entry num 0 selects the local output the state of the output is selected with parameter IO_state IO_state Th...

Страница 56: ...sisting of four signs in on line data mode When the remote modem detects this escape sequence it will respond with the remote configuration password prompt C_PASSWORD Notice if remote configuration sh...

Страница 57: ...et with WRCP command Syntax AT WRCA n AT WRCP AT WRCP Parameters n 0 Disables Remote Configuration 1 Enables Remote Configuration Default Command example Possible responses Note AT WRCA n OK The comma...

Страница 58: ...signals if allowed by the local PTT blind dialling 1 Enables all result codes except 6 and 7 the modem ignores dial tone and BUSY signals if allowed by the local PTT blind dialling 2 Enables all resul...

Страница 59: ...le 1 Command example Possible responses Note AT Y n OK ERROR Otherwise S register None Zn Soft Reset Supported by TDW 33 TD 36 TD 36 485 TR 36 Description This command do a soft reset and restores the...

Страница 60: ...e code The default value is 43 ASCII S2 canbe set to any value from 0 to 127 To return to the command state when the escape code is disabled the distant modem must hang up local modem looses carrier S...

Страница 61: ...me before continuing the dial process in case there is no wait ing for dialtone Units is in seconds Maximum 255 Default 3 S7 Wait Time for Carrier Silence or Dial Tone 0 255 s 50 This register gives t...

Страница 62: ...e of 255 In some countries the maxi mum value is limited If country code sets a maxi mum value and 2 or more consecutive separators are used only the first will be considered S10 Lost Carrier To Hang...

Страница 63: ...nce the interval between each entry of the three characters must be of shorter duration than that specified for the guard time The value can range between 0 255 the unit corresponds to 0 02 sec In cas...

Страница 64: ...3 Result Codes Vn 0 Numeric 1 Verbose Default Bit 4 Dial Abort An 0 Enable Defult 1 Disable Bit 5 Reserved Bit 6 Password Gn 0 Disabled Default 1 Enabled Bit 7 Originate Answer 0 Answer 1 Originate D...

Страница 65: ...Bit 7 Reserved S23 General Bit Mapped Options Status 0 Definition S23 Indicates the status of command options Bits 0 5 Not Used Bits 6 7 Guard Tone Gn 0 None G0 Default 1 None G1 2 1800 Hz G2 S25 Dela...

Страница 66: ...ontrol 7 Definition S36 Bits 0 2 indicates what should happen upon a LAPM failure These fallback options are initiated imme diately upon connection if S48 128 0 Bits 0 2 0 Modem disconnects 1 Modems S...

Страница 67: ...dis connects For S38 values 0 254 the modem waits this time until all data is sent from buffer before disconnecting S38 255 the modem does not time out S39 Flow Control Bit Mapped Options Status 3 De...

Страница 68: ...0 C0 Disabled 1 C1 MNP 5 2 C2 V 42bis 3 C3 MNP 5 and V 42bis Bits 2 6 Auto Retrain Fallback Fall forward Bit 6 Bit 2 0 0 Disabled E0 0 1 Retrain Enabled E1 1 0 Fallback fall forward enabled E2 Bit 3...

Страница 69: ...s of the remote modem are known and negotiation is unnecessary this proc ess can be bypassed if so desired S48 0 Disable Negotiation and proceed with LAPM S48 7 Enable negotia tion S48 128 Disable neg...

Страница 70: ...DCD speed Bit 1 Append to CONNECT XXXX result code in error correction mode Bit 2 Enable MCR XXXX result code XXXX rate Bit 3 Enable ER XXXX result code XXXX protocol identifier Bit 4 Reserved Bit 5...

Страница 71: ...p delay before data when carrier acti vated 0 255 Ms 23 S201 Multidrop delay after data when carrier acti vated 0 255 Ms 10 S202 Normal buffer mode buffer size 1 255 Buffer size 64 S203 Normal buffer...

Страница 72: ...ditions occur 1 The command line contains a syntax error 2 The modem can not execute a command contained in the com mand line i e the command does not exist or is not supported 3 A command parameter w...

Страница 73: ...ONNECT 57 600 Connection DTE speed 57 600 bit s DTE speed enabled 19 CONNECT 115 200 Connection DTE speed 115 200 bit s DTE speed enabled 22 CONNECT 75TX 1200RX The modem has estabilished a V 23 origi...

Страница 74: ...t 21600 bit s and carrier reporting is enabled see S95 and Xn 56 MRR 24000 The modem has connected to the line at 24000 bit s and carrier reporting is enabled see S95 and Xn 57 MRR 26400 The modem has...

Страница 75: ...B103 The modem has connected to the line with Bell 103 modulation and modulation reporting is enabled see MR Wn and Xn 135 MCR B212 The modem has connected to the line with Bell 212 modulation and mod...

Страница 76: ...d DCE reporting is enabled 189 CONNECT 41333 The modem has connected to the line at 41333 bit s and DCE reporting is enabled 190 CONNECT 46667 The modem has connected to the line at 46667 bit s and DC...

Страница 77: ...rrier reporting is enabled 204 MRR 45333 The modem has connected to the line at 45333 bit s and carrier reporting is enabled 205 MRR 46667 The modem has connected to the line at 46667 bit s and carrie...

Страница 78: ...ntry name ITU_T E 180 supplement 2 GCI code T 35 Argentina 07 Canada 20 Cayman Islands 22 Chile 25 Costa rica 2B Cuba 2C Ecuador 35 El salvador 37 Honduras 4F Hongkong 50 Jamaica 5B Mexico 73 New zeal...

Страница 79: ...Islands Jersey Note D Countries previously part of the USSR normally follow the USSR settings Armenia ARM Azerbaijan AZE Belarus BLR Estonia EST Georgia GEO Kazakhstan KAZ Kyrgystan KGZ Latvia LVA Lu...

Страница 80: ...Country Profile X Profile 1 Profile 0 W1 F1 F0 Z1 Z0 W0 Y0 Y1 E2 HW RESET Hard Coded Profiles Priority Country Profile has precedence of all other profiles Factory Profile has precedence of profile 0...

Страница 81: ...d in EEPROM F2 sets default Incl Factory Setting F sets default and W saves Incl Country Profile Default setting A An A0 Bn B0 Bn Bn B0 Cn Cn C3 Cn C1 D Dn D0 En E1 En E2 F F0 F F3 Fn Gn G0 Gn G0 GCI...

Страница 82: ...l Country Profile Default setting Pn no password Qn Q0 Q Qn Q5 R S See respective register Sn S0 Vn V1 Vn V0 Vn Wn W0 Wn WACCTAB Table cleared WCB WCB 0 WCID WCID 0 0 WCBTAB Table cleared WCBTIME WCBT...

Страница 83: ......

Страница 84: ...03 03 Fax 47 22 09 03 10 E mail contact ontimenet com Westermo Data Communications Ltd Talisman Business Centre Duncan Road Park Gate Southampton SO31 7GA Phone 44 0 1489 580 585 Fax 44 0 1489 580586...

Отзывы: