4 setting commands, 4 setting commands -10, Sr sets the input range – Yokogawa µR20000 User Manual

Page 53

Advertising
background image

4-10

IM 04P01B01-17E

4.4 Setting Commands

4.4 Setting Commands

SR

Sets the input range.

When setting channels to skip

Syntax

SR p1,p2<terminator>
p1 Channel number
p2 Measurement mode (SKIP)

Query

SR[p1]?

Example Set channel 01 to skip.

SR01,SKIP

Description • This command cannot be specified while

computation is in progress.

• Measurements are not made on channels that

are set to SKIP.

When setting channels to voltage, TC, RTD, or

ON/OFF input

Syntax

SR p1,p2,p3,p4,p5<terminator>
p1 Channel number
p2 Measurement mode (Input type)

VOLT

DC voltage

TC

Thermocouple

RTD

Resistance temperature
detector

DI

ON/OFF input

p3 Range type
p4 Leftmost value of span
p5 Rightmost value of span

Query

SR[p1]?

Example Measure 0°C to 1760.0°C on channel 01 using

thermocouple type R.
SR01,TC,R,0,17600

Description • This command cannot be specified while

computation is in progress.

• Set p3 according to the table in section 4.3.
• For p4 and p5, enter an integer value of 5

digits or less according to the table in section
4.3. The decimal position is fixed to the
position indicated in the table in section 4.3.

When setting channels to 1-5V range

Syntax

SR p1,p2,p3,p4,p5,p6,p7,p8<terminator>
p1 Channel number
p2 Measurement mode (Input type) (1-5V)
p3 Leftmost value of span
p4 Rightmost value of span
p5 Leftmost value of scaling (−20000 to 30000)
p6 Rightmost value of scaling (−20000 to

30000)

p7 Scale decimal point position (0 to 4)
p8 Whether to use 1-5V low-cut function (ON,

OFF)

Query

SR[p1]?

Example Set channel 01 to 1-5V range and scale the input

value in the range 0.0 to 1200.0. Do not use the
low-cut function.
SR01,1-5V,1000,5000,0,12000,1,OFF

Description • This command cannot be specified while

computation is in progress.

• For p3 and p4, enter an integer value of 5

digits or less according to the table in section
4.3. The decimal position is fixed to the
position indicated in the table in section 4.3.

• Be sure that p6 is greater than p5.
• Parameter p8 is valid only when the low-cut

function is enabled (see the UF command).

When computing the difference between channels

Syntax

SR p1,p2,p3,p4,p5<terminator>
p1 Channel number
p2 Measurement mode (DELTA)
p3 Reference channel
p4 Leftmost value of span
p5 Rightmost value of span

Query

SR[p1]?

Example Set channel 03 to channel difference

computation with respect to channel 01
(reference channel). Set the leftmost and
rightmost values of span to −200.0 and 200.0,
respectively.
SR03,DELTA,01,−2000,2000

Description • This command cannot be specified while

computation is in progress.

• The reference channel must be a channel that

is smaller in channel number than itself.

• The range type is the same as that of the

reference channel.

• For p4 and p5, enter an integer value of 5

digits or less according to the table in section
4.3. The decimal position is fixed to the
position indicated in the table in section 4.3.

When setting the linear scaling

Syntax

SR p1,p2,p3,p4,p5,p6,p7,p8,p9
<terminator>
p1 Channel number
p2 Measurement mode (SCALE)
p3 Input type

VOLT

DC voltage

TC

Thermocouple

RTD

Resistance temperature
detector

DI

ON/OFF input

p4 Range type
p5 Leftmost value of span
p6 Rightmost value of span
p7 Leftmost value of scaling (−20000 to 30000)
p8 Rightmost value of scaling (−20000 to

30000)

p9 Scaling decimal point position (0 to 4)

Query

SR[p1]?

Example Scale channel 02 whose input range is 0 to 10 V

to −100.0 to 500.0.
SR02,SCALE,VOLT,20V,0,1000,−1000,
5000,1

Advertising
This manual is related to the following products: