
Appendix A. EC150 Settings
The instruction syntax is:
EC100Configure(Result,SDMAddress,C onfigCmd,DestSource)
Result is a variable that contains a value indicating the success or failure of the
command. A result code of 0 means that the command was successfully
executed. If reading a setting, 0 in the result code means that the value in the
DestSource variable is the value the desired setting has in the EC150. When
writing a setting, if the result code is 0, the value and setting were compatible,
but the value was not changed because it contained the same value that was
sent. A return code of 1 from the set operation means that the value was valid,
different, set and acknowledged. This allows CRBasic code to control whether
or not to save the settings. NAN (not a number) indicates that the setting was
not changed or acknowledged or a signature failure occurred.
SDMAddress defines the address of the EC150 to configure. Valid SDM
addresses are 0 through 14. Address 15 is reserved for the SDMTrigger()
instruction.
ConfigCmd is a variable that indicates whether to get or set a setting. The
options are listed in TABLE A-2.
DestSource is a variable that will contain the value to read when getting a
setting, or that will contain the value to send when writing a setting to the
EC150.
TABLE A-2. ConfigCmd Values for Setting and Retrieving Settings
Setting Description (some settings list possible
values for the DestSource variable)
Set Retrieve
0 100
Bandwidth:
• 5 = 5 Hz
• 10 = 10 Hz
• 12 = 12.5 Hz
• 20 = 20 Hz
• 25 = 25 Hz
1 101
Unprompted Output:
• 10 = 10 Hz
• 25 = 25 Hz
• 50 = 50 Hz
2 102
• 0 = EC100 Basic
• 1 = User-supplied
• 2 = EC100 Enhanced
• 3 = None (use fixed value)
3 103
Differential Pressure:
• 0 = Disable
• 1 = Enable
4 104 Fixed Pressure Value
5 105 Pressure Offset
A-10
Komentarze do niniejszej Instrukcji