Functions; Bcd/Binary Mode; Scaling - Omron SYSMAC C Series Operation Manual

Analog i/o units
Hide thumbs Also See for SYSMAC C Series:
Table of Contents

Advertisement

Functions

9-4

Functions

9-4-1 BCD/Binary Mode

BCD/Binary Mode Bits
BCD/Binary Mode Flag

9-4-2 Scaling

Scaling Upper and
Lower Limits
The BCD/Binary Mode Bits (bits 8 to 15 of address 14) in RAM of the Analog
Output Unit are used to select either BCD or binary mode for each output point.
The default is BCD mode.
The data format is specified for the following four values in RAM by using the
BCD/Binary Mode Bit.
1. Conversion data
2. Scaling upper and lower limits
3. Output ramp set time
4. Upper and lower limits
To enable the BCD/Binary Mode Bit, turn ON this bit, and turn ON the Parameter
Update Bit in the allocated I/O words. Conversion data in RAM will be rewritten
and the Analog Output Unit will generate output signals according to the new
parameter settings.
The BCD/Binary Mode Bits are used to set either BCD or binary mode individual-
ly for each output point. Turning ON a bit sets BCD mode. In this case, all the
conversion data, scaling upper and lower limits, output ramp set time,and upper
and lower limits that are written to RAM will be handled in BCD format.
If there is inconvertible data, the Conversion Error Flag will be set. Data that has
been written to RAM before the BCD/Binary Mode Bit is set is treated as BCD
data and is not converted into BCD format. If data is invalid for BCD format, the
Invalid Data Received Flag will be set and the entire data block containing the
invalid data will be discarded.
Turning OFF the BCD/Binary Mode Bit sets binary mode. In this case, all the
conversion data, scaling upper and lower limits, output ramp set time, and upper
and lower limits that are written to RAM will be handled in binary format. Data
that has been written to RAM before the BCD/Binary Mode Bit is set is treated as
binary data and is not converted into binary format. No conversion or invalid data
errors occur when data is converted into binary format.
The BCD/Binary Mode Flag is turned ON to notify the CPU Unit of the data for-
mat setting (BCD or binary). This flag is read-only.
The scaling function automatically scales data set in engineering units (converts
to a rate of 0% to 100%) and generates output signals. It can be set individually
for each output point. Reverse scaling is also possible.
To enable scaling, set the scaling upper and lower limits, turn ON the Scaling
Enable Bit, and turn ON the Parameter Update Bit in the allocated I/O words.
Conversion data in RAM will be rewritten and the Analog Output Unit will gener-
ate output signals according to the new parameter settings.
Limit
F999 to 7999
Scaling upper limit
(Decimal: –7999 to 7999)
(D
Scaling lower limit
BCD
Hex
Hex
i
l
7999
7999)
Section
9-4
Binary
8001 to 7FFF
Hex
Hex
(Decimal: –32767 to 32767)
(D
i
l
32767
32767)
175

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents