![Banner DXM100-S Series Скачать руководство пользователя страница 28](http://html.mh-extra.com/html/banner/dxm100-s-series/dxm100-s-series_instruction-manual_471834028.webp)
5.2.4 Modbus Configuration Registers for the Analog Output
The I/O base board has two analog outputs that are selectable as 0 to 20 mA (factory default) or 0 to 10 V. To change the
analog output characteristic, physical jumpers must be change on the I/O board and a parameter Modbus register must be
changed.
For step by step instructions on changing the output characteristics see
Analog (DAC) Outputs for the B1 and S1 Models
on
page 14.
Parameters for Analog Output 1 start at 4001 through 4008. Parameters for Analog Output 2 start at 4021 through 4028.
Table 5: Registers for analog output (4xxxx) parameters
Analog output
1
Analog output
2
Description
Values
4001
4021
Maximum Analog Value
4002
4022
Minimum Analog Value
4003
4023
Enable Register Full Scale
0 = Store readings in unit-specific data
1 = Linear rate from 0 to 65535
4004
4024
Hold Last State Enable
0 = Disables Hold Last State and uses the Default Output State setting during an
error condition
1 = Sets the output to its last known value
4005
4025
Default Output State
4008
4028
Analog Output Type
0 to 20 mA or 0 to 10 V DC output (I/O board jumper selectable)
Accuracy: 0.1% of full scale +0.01% per °C
Resolution: 12-bit
After changing the jumper position, write the appropriate value to the Modbus
registers to define your analog output to match the setting selected by the jumper.
2 = 0 to 20 mA output (default)
3 = 0 to 10 V output
2952
Enable Default
Communication Timeout
0 = Disable
1 = Enable
2953
Communication Default I/O
Timeout (100 ms/Count)
Number of 100 ms periods
2954
Enable Default on Power Up
0 = Disable
1 = Sends device outputs to their default condition
Analog Output Type
—The analog outputs may be configured as either 0 to 20 mA outputs (default) or 0 to 10 V outputs. To
change the analog output type change the hardware jumper position and write to the Modbus register that defines the analog
output type. For analog output 1, write to Modbus register 4008, for analog output 2 write to Modbus register 4028. Write a
value of 2 (default) to select 0 to 20 mA; write a value of 3 to select 0 to 10 V.
Default Output Conditions
—Default output triggers are the conditions that drive outputs to defined states. Example default
output conditions include when radios are out of sync, when a device cycles power, or during a host communication timeout.
•
2952 Enable Default Communication Timeout
— A “communication timeout" refers to the communication between
any Modbus master host and the DXM baseboard. Set this register to 1 to enable the default condition when the host
has not communicated with the DXM baseboard for the period of time defined by the Communication Default IO
Timeout.
•
2953 Communication Default I/O Timeout (100 ms/Count)
—This parameter defines the host timeout period in 100
millisecond increments. If a host does not communicate within this timeout period, the device outputs are set to the
default values.
•
2954 Enable Default on Power Up
—Setting this parameter to 1 sends the device outputs to their default condition
when the DXM baseboard is powered up. Set to 0 to disable this feature.
Default Output State
—The Default Output State parameter represents the default condition of the analog output. When an
error condition exists, the outputs are set to this 16-bit user-defined output state. To define the error conditions for device
outputs, refer to the MultiHop default output parameters 2950–2954.
Enable Register Full Scale
—Set to 1 to enable a linear range from 0 to 65535 for specified input range. For a 4 to 20 mA
output, a value of 0 represents 4 mA and 65535 represents 20 mA. Set this parameter to 0 to store readings in unit-specific
data. For example, the register data representing a 15.53 mA reading is 15530. For units of current (0 to 20 mA outputs),
values are stored as µA (micro Amps) and voltage values are stored as mV (millivolts).
Hold Last State Enable
—Set the Hold Last State to 1 to set the output to its last known value before the error occurred. Set
this parameter to 0 to disable the Hold Last State and use the Default Output State setting during an error condition.
Sure Cross
®
DXM100-Sx Wireless Modbus Slave
28
www.bannerengineering.com - Tel: + 1 888 373 6767