file: acmcmnd2.html
26 Mar 2008

Acoustic Modem Logger (for single ADCP) Ver1.x Command Set (uses GILWND45 Interface Board)

See ASIMET MODULE OPERATIONS document for instructions on how to hook up the comms link to your PC and RS-485 adapter. This board is used to buffer 4 one-hour samples from a ADCP for use with an Iridium comms system on a buoy.

Refer to Latest Version Information for reference info on latest firmware version numbers.

Note 1: All commands MUST be terminated with <cr> (ASCII carriage return)

Note 2: commands sent are indicated in BOLD, responses in normal text. <crlf> represents ASCII carriage return and line feed.

Command Description


        A       Address acknowledge
                - returns address of module, terminated by <crlf>
                - e.g. #ACM01A GIL01<crlf>
                - NOTE 1: ACM01 is the default address of the ACMIF module;
                it may be changed by the 'U' command but any failure of 
                EEPROM will result in the use of the default address.  In
                addition, use of defaults is reported in the 'L' command.
                - NOTE 2: The address MUST be ACM01 to operate with the Iridium Comms
		system

        C       Output the most recent 1-hour record received from the ADCP
                - outputs: 228 bytes HEX-ASCII in ADCP PD12 format, plus CRLF

        H       Help
                - #ACM01H - a multiple line response with text similar to 
                the first line of each command description in this 
                document as the help line, with each line terminated 
                <crlf>, as follows:
                Firmware ACMODEM45 V1.01
		A - Address acknowledge
		C - Send latest 1-hour ADCP record - PD12 format
                H - Display Help message
                STAT - System Status info
		R - Send 4 hours of ADCP records - PD12 format
                T - Test mode
		TV - Test mode - Verbose
                UOK - Update EEPROM constants

        R       Output the 4 most recent 1-hour records received from the ADCP
                - outputs: 4 lines of 228 bytes each HEX-ASCII in ADCP PD12 format plus CRLF
		for a total of 920 bytes.

        STAT       Report ID, serial #, cal info, etc.
                - the 'STAT' command provides miscellaneous status information 
                about the module in a multi-line response. 
                - The number of lines in the response may vary depending upon
                the EEPROM status. Normally, after an initial <crlf>, 8 lines of info
                are provided, as follows:
        
                #ACM01STAT
                module id from EEPROM
		module model name from EEPROM
                module serial number from EEPROM
		configuration date from EEPROM
                firmware name and version from program EPROM

        T[V]       Enter test mode
                - TBD ....
		- there is a verbose mode (TV command) that returns the same data in a 
		3-line format with line headers.

        U       Update EEPROM contents
                - enters the update mode after confirmation of 'OK' password.
                New EEPROM values may be entered in this mode.
                - upon initial entry, you must send the letters OK after the 
                command or the command is ignored, e.g. #GIL01UOK may be sent
                as one.  Upon receipt of the correct 'password', the response will
                be OK if current parameters are valid, or NEW if parameters
                have never been entered or are suspicious (i.e. EEPROM failure or
                bad internal checksum).
                - response to an unknown command is '?'
                - IMPORTANT! command letter A or S
                will respond with the current setting when issued followed
                by <cr> only .  If followed by =xxxxx<cr>, where xxxxx is some
                appropriate value, the EEPROM setting will be changed pending
                receipt of 'WOK' command to make it permanent.  Subsequent
                requests for current settings will report the new value while
                still in update mode.  However, if update mode is exited with 
                'Q', the original settings of all parameters will remain intact.
                - the following commands are available in EEPROM update mode:
                    A - module Address (1 to 5 characters)
                    Q - Quit without writing new info to EEPROM
                    S - Serial number
                    WOK - Write new info to EEPROM and exit

                - examples:
                    To change the current module address:
                    A=ACM01<cr>
                    To see the address:
                    A<cr>
                    To see the current Serial number:
                    S<cr>

                    To change it:
                    S=15<cr>

                NOTE: Upon completion, the newly updated module address 
                will not take effect until the next reset or power-up.

Revision history: