nVision Programming Instructions for Reference Recorder & Lab Reference
Contents Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 I/O Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 nVision Communication Format . . . . . . . . . . . . . . . . . . . . . . . . .
—— Introduction 1 Introduction Thank you for choosing the nVision Reference Recorder from Crystal Engineering Corporation. Your nVision is a combination of leading edge technology and rugged industrial design. We hope your nVision meets your expectations, and we’re interested in any comments or suggestions you may have. You can send us a note at: crystal@ametek.
—— nVision Communication Format 2 nVision Communication Format The nVision is a sophisticated instrument that may allow the use of any number of modules in either bay. Therefore all communication must include all the relevant information to either communicate with the chassis or all the way down to the specific module. All queries end with a question mark (?) and all commands end with an exclamation mark (!). Input is case-sensitive; all instructions should be sent in UPPERCASE.
—— Chassis Queries and Commands 3 Chassis Queries and Commands Queries XX Automatic Shutoff Timer AO? . . . . . . . . . . . Returns the auto off time in seconds. For example, 1200 is 20 minutes. XX Firmware Version VER?. . . . . . . . . . Returns the nVision firmware version in a R08XXXX.XX format. XX Message Store MSG?. . . . . . . . . . Returns the data from the chassis message store. XX Model MOD?. . . . . . . . . . Returns the model name of the chassis.
Module Queries and Commands 4 XX Serial Number SN? . . . . . . . . . . . The serial number is returned as a six digit number. Commands XX Automatic Shutoff Timer AO!XXXX Set the auto off time for the chassis. (3600 seconds is the max auto off time.
Module Queries and Commands 5 XX Message Store MOD:MSG? # XX Model MOD:MOD? # XX Reading MOD:RD? # Note: The MA20 switch test states are “1” for open, and “0” for closed. Units for MA20 module are either “mA, % 4-20mA, %10-50mA (for MA-20+ modules only), VDC, or Switch Test.
Module Queries and Commands 6 Commands XX Water Reference Sets the module to the water reference entered. MOD:H2O! # 4C MOD:H2O! # 60F MOD:H2O! # 68F Note: This command is only available when the nVision has R080007 or greater firmware and is populated with a pressure (PM) or barometric (BARO) module. XX Unit Changes the module to the unit of measure entered.
Module Queries and Commands 7 Acknowledgement of a Command The nVision always returns some indication to let you know a command or query was received and acted on. The return code for a command is eight hexadecimal digits.
Module Queries and Commands 8 XX Recording Error Codes Recording error codes can be broken down as follows: Form: ABBDDEEE A BB DDEEE Error/Success Section Error/Status Code On success, a default success response |00000000 is returned. On error, a default error code format is returned.
—— Programming Tips 9 Programming Tips The nVision is a very straightforward device to communicate with, provided you follow these tips. This advice is derived from our own experiences automating systems based on the nVision, as well as the experiences of our users; following these tips will help save you some time. Anytime you establish (or re-establish) communications with the unit, you should use the following initialization sequence, which will help you deal with possible noise due to reset, etc.
© 2013 Crystal Engineering Corporation 708 Fiero Lane, Suite 9, San Luis Obispo, California 93401-8701 4414.