SimpleComTools, LLC COM1000 – AT Commands COM1000 Setup and Configuration using AT Commands September 2004 SimpleComTools, LLC 1
SimpleComTools, LLC COM1000 – AT Commands Copyright © 2003 SimpleComTools, LLC All rights reserved. November 2003. The information in this document is subject to change without notice. The statements, configurations, technical data, and recommendations in this document are believed to be accurate and reliable, but are presented without express or implied warranty. Users must take full responsibility for their applications of any products specified in this document.
SimpleComTools, LLC COM1000 – AT Commands Preface The COM1000 is part of the SimpleComTools Industrial Internet Appliance family. The COM1000 supports secure, reliable serial and IP communications and Internet Messaging applications in a single, integrated hardware device. In this guide, the COM1000 may also be referred to as ‘the device’.
SimpleComTools, LLC COM1000 – AT Commands COM1000 Setup and Configuration using AT Commands To make setup and configuration easy, the COM1000 provides a common AT Command interface. This means the device is easily configured using any Telnet or Terminal application, such as HyperTerminal, Tera Term, or similar communications programs. This interface is also available via Telnet on TCP port 6123. Connection Steps Step 1: Connect your PC to the COM1000 Terminal Port using a standard RS232 serial cable.
SimpleComTools, LLC COM1000 – AT Commands SECURITY To make the COM1000 secure from unauthorized users, you can set it to run in the PROTECTED MODE. This is an option that must be activated by the user. The following are the steps to enabling this feature. Step 1: Set the device Password BEFORE activating PROTECTED MODE, it is necessary to select a device password. This will be the secret password used at the serial or Telnet command prompt. The factory default password is ‘SIMPLE’ (uppercase).
SimpleComTools, LLC COM1000 – AT Commands Other Security Features Inactivity Lockout: After 15 minutes of inactivity (no keystrokes), the COM1000 will drop back into PROTECTED MODE, and you will need to re-enter the device password to gain access to the device. Inactivity Lockout Password Recovery: In the event the password for a COM1000 is lost or unrecoverable, SimpleComTools can provide a unique 24-hour access password.
SimpleComTools, LLC COM1000 – AT Commands AT Command Usage The COM1000 provides (4) types of Commands: • AT : These are traditional Hayes-Compatible AT Commands • AT& : These are traditional Hayes-Compatible AT Commands • AT* : These are COM1000 specific AT Commands • Non AT Commands : These are commands that do not use the ‘AT’ prefix The following is a list of the AT Commands in alphabetical order. For more specifics on how to apply these commands, please consult the COM1000 User Manual.
SimpleComTools, LLC * I1TCPDESTIP * I1TCPDESTPORT * I1UDPDESTIP * I1UDPDESTPORT COM1000 – AT Commands IP or Domain of TCP Packet Destination x.x.x.x or abc.123.com (Up to 50 characters) TCP Packet Destination Port = nnnnn (5 digit value with range between 1 and 65535) IP or Domain of UDP Packet Destination x.x.x.x or abc.123.
SimpleComTools, LLC *485RECIPIENT COM1000 – AT Commands n, n, n, n … = Desired message recipient(s) as detailed in Message Config registers. (Comma separation for multiple, ie 1,2,3,4,5,6,7,8) Max number = 8.
SimpleComTools, LLC *485TRIG3 *485UDPDESTIP *485UDPDESTPORT *485UDPSERVER *AALARMREPT COM1000 – AT Commands RS485 Application #3 Trigger; IP or Domain of UDP Packet Destination. x.x.x.x or abc.123.com (Up to 50 characters) UDP Packet Destination Port = nnnnnn (5 digit value with range between 1 and 65535) UDP/Device Server Application Desired message recipient(s) as detailed in Messaging Config registers. =[n, n, n, n … ](Comma separation for multiple, ie 1,2,3,4,5,6,7,8) Max number = 8.
SimpleComTools, LLC COM1000 – AT Commands *ALOWALARM Displays Low Alarm Count. *ALOWALARMACT Sets the Low Alarm Action. *ALOWALARMMSG Customized Low Alarm Set Point Message. (Up to 20 characters) A free-text field used in all UDP, TCP, SMS, and SMTP messages. For SMS and SMTP, this will be seen as the SUBJECT field. *ALOWALARMSET Low Alarm Set Point. The Set Point for exception reporting (n = 0.0-30.0) *ALOWWARN Displays Low Warning Count. *ALOWWARNACT Sets the Low Warning Action.
SimpleComTools, LLC *AUDPDESTPORT COM1000 – AT Commands UDP Packet Destination Port = nnnnnn (5 digit value with range between 1 and 65535) *AVALRESET Reset COUNTER value after reporting *AVOLTMAX Highest voltage output of the chosen sensor. *AVOLTMIN Lowest voltage output of the chosen sensor. *AWARNRECPT Desired message recipient(s) as detailed in Messaging Config registers. =[n, n, n, n … ](Comma separation for multiple, ie 1,2,3,4,5,6,7,8) Max number = 8.
SimpleComTools, LLC COM1000 – AT Commands *DDNSUSER Primary DDNS Account Username; *DELIMITER Device stored data default output delimiter: *DHCP Dynamic Host Configuration Protocol (DHCP) is used for assigning dynamic IP addresses to devices on a network. DHCP being on by default allows for the COM1000 to be added to a network without manually assigning a unique IP address. Leaving DHCP on means the unit will get a different IP address every time it connects to the network. *DNS1 x.x.x.
SimpleComTools, LLC COM1000 – AT Commands *FTPUSER Primary FTP Server Account Username; *GATEWAY x.x.x.x = IP address of the router or computer that routes the traffic from the COM1000 to another outside network such as the Internet. Consult your Network Administrator for the appropriate GATEWAY value.
SimpleComTools, LLC *I1INACTIVENAME *I1NAME *I1RECIPIENT *I1SWITCHTYPE *I1VALRESET COM1000 – AT Commands Customized Digital Input 1 Inactive State name. (Up to 20 characters) A freetext field used when the switch is in the INACTIVE state. Name will be used in all UDP, TCP, SMS, and SMTP messages. For SMS and SMTP, this will be seen as the SUBJECT field. Customized Digital Input 1 interface NAME.
SimpleComTools, LLC *IMSERVERIP *IMSERVERPORT *IMUSER *INACTMSGFREQ COM1000 – AT Commands IP or Domain of Instant Message Server. x.x.x.x or abc.123.com (Up to 50 characters) Instant message Server Port = nnnnnn (5 digit value with range between 1 and 65535) IM Account Username; Repeat Inactive Event Message Transmission Frequency; Frequency of Repeating Inactive Event Messages.
SimpleComTools, LLC COM1000 – AT Commands *MPASSWORD AT*MPASSWORD=xxxxxx Sets the dialup or PPP Password, where 'xxxxxx' is any alphanumeric character stream up to 20 characters. Acceptable characters include A-Z, 0-9, and - or _. Characters ~ ! @ # $ % ^ & *,.; are invalid. *MUSER AT*MUSER=xxxxxx Sets the dialup or PPP Uername, where 'xxxxxx' is any alphanumeric character stream up to 20 characters. Acceptable characters include A-Z, 0-9, and - or _. Characters ~ ! @ # $ % ^ & *,.; are invalid.
SimpleComTools, LLC COM1000 – AT Commands *RNAME Customized RELAY Interface Name. A free-text field for the NAME of the interface which will be used in all UDP, TCP, SMS, and SMTP messages. (Up to 20 characters) *ROFFALIAS Customizable Relay ON command. This is a free-text field to be used to create a term to be interpreted as the *ROFF AT Command. (Accepts up to 20 characters)Example: 'AT*ROFFALIAS=engine-off' would allow for the term 'engine-off' to be used as a command to DE-ENERGIZE the relay.
SimpleComTools, LLC *RSCHTOD COM1000 – AT Commands Sets the TIME OF DAY for regularly scheduled relay triggering. Set the time value using the format HH:MM. Must enter value in Military time. Example = 16:00 (aka: 4PM). Options: 00:00 = Midnight (DEFAULT) Note: Requires the value DAY OF WEEK or DAY OF MONTH be set as well. *RTC *RTCTIME *RTCIP Forces real-time clock update from SNTP server specified in the *RTCIP. Real-time Clock Timer.
SimpleComTools, LLC AT*SCHFTPTYPE *SCHMSGTIME *SCHMSGRECIPIENT *SCHEDTIMER COM1000 – AT Commands SCHEDULED FTP TYPE Data format to be uploaded by FTP client. Data will be sent in TXT file format. Options: 0 = None (DEFAULT) 1 = Status (The STATUS events specified in the General Tab) 2 = Log (The device EVENT LOG will be uploaded) SCHEDULED MESSAGE TIMER. Sets the time interval for scheduled sending of data files via SMTP or SMS. Value is in minutes.
SimpleComTools, LLC *SENDTO8 *SMSGETTIME COM1000 – AT Commands 50 character alphanumeric value; can be phone number or email address SMS GET MESSAGE TIMER Frequency on which to check for SMS Messages *SMSMODEM SMS Modem Type;0 = No SMS Service Used1 = AirLink Redwing CDMA2 = AirLink Redwing GPRS3 = AnyData iPort4 = Nokia GSM5 = Siemens M206 = Wavecom Fastrack *SMTPAUTH SMTP Server Uses Authentication; *SMTPEMAIL EMAIL for SMTP Authentication: *SMTPIP IP or Domain of SMTP Server. x.x.x.x or abc.
SimpleComTools, LLC *TESC *TEVENTMSG *TH COM1000 – AT Commands Sets Terminal Escape String: Alphanumeric value up to 20 characters Customizable Terminal Port message text. (Up to 20 characters) A free-text field used when Terminal Port Applications are set to 3 or 4 (SMTP or SMS). This text will be seen as the message SUBJECT field. Sets Terminal Hangup String: Alphanumeric value up to 20 characters *TICT Terminal Port Inter-Character Timer.
SimpleComTools, LLC COM1000 – AT Commands *TTCPSVRPORT TCP/Device Server Application Port = nnnnnn (5 digit value with range between 1 and 65535) *TTCPSVRTIMER TCP/Device Server inactivity timer. Device Server will drop TCP connection if there is no data flow for that period of time. (n =0-255 Seconds) *TTIMER1 Terminal Port Application #1 Timer Trigger: (n = # Minutes) Period of time to wait before executing *TAPP1.
SimpleComTools, LLC COM1000 – AT Commands Other ‘Non-AT’ Device Commands Command IPCONFIG Description Plain-text command useable from a TCP, UDP or Terminal interface. Returns the Current Ethernet IP Address and PPP Link Status PING Plain-text command useable from a TCP, UDP, Terminal, or Instant Message interface. Will force the COM1000 to send an ICMP PING to any IP reachable via the default interface (*DEFINT). Example: PING 203.123.123.