12 app, Scolorcom channel color (/mc), Szonecom waveform display zone (/mc) – Yokogawa Touch Screen GP20 User Manual

Page 39: Sscalecom scale display (/mc), Sbarcom bar graph display (/mc), Spartialcom partial expanded display (/mc), Sbandcom color scale band (/mc)

Advertising
background image

2-25

IM 04L51B01-17EN

Commands and Responses

1

2

App

SColorCom

Channel Color (/MC)

Sets the color of a communication channel.

Syntax SColorCom,p1,p2,p3,p4

p1 Channel number

p2 R value of RGB display colors (0 to 255)

p3 G value of RGB display colors (0 to 255)

P4 B value of RGB display colors (0 to 255)

Query

SColorCom[,p1]?

Example Set the communication channel 025 display

color to red.

SColorCom,025,255,0,0

Description

• For details on RGB values, see “Description” of the

SColorIO

command.

SZoneCom

Waveform Display Zone (/MC)

Sets the waveform display zone of a communication

channel.

Syntax SZoneCom,p1,p2,p3

p1 Channel number

p2 Zone lower limit [%] (0 to 95)

p3 Zone upper limit [%] (5 to 100)

Query

SZoneCom[,p1]?

Example Set the waveform zone of communication

channel 025 waveform to 0% to 30%.

SZoneCom,025,0,30

SScaleCom

Scale Display (/MC)

Sets the scale display of a communication channel.

Syntax SScaleCom,p1,p2,p3

p1 Channel number

p2 Scale display position (Off, 1 to 10)

p3 Number of scale divisions (4 to 12, C10)

Query

SScaleCom[,p1]?

Example Display the communication channel 025 scale

at display position 1. Display four equally

spaced main scale marks.

SScaleCom,025,1,4

SBarCom

Bar Graph Display (/MC)

Sets the bar graph display of a communication channel.

Syntax SBarCom,p1,p2,p3

p1 Channel number

p2 Bar display base position

Lower Lower

Center Center

Upper Upper

p3 Number of scale divisions (4 to 12)

Query

SBarCom[,p1]?

Example Display the values of communication channel

025 on a bar graph with the center set as the

base position (Center). Display four equally

spaced main scale marks.

SBarCom,025,Center,4

SPartialCom

Partial Expanded Display (/MC)

Sets the partial expanded display of a communication

channel waveform.

Syntax SPartialCom,p1,p2,p3,p4

p1 Channel number

p2 Partial expanded On/Off (On, Off)

p3 Partial expanded boundary position [%] (1

to 99)

P4 Partial expanded boundary value

Query

SPartialCom[,p1]?

Example For channel 025 whose measurement range is

0 to 1.0000 V, display the measured value of

0.7500 V at the 50% position.

SPartialCom,025,On,50,7500

Description

You cannot set this on a “Off” channel. p2 is fixed to

Off.

If p2=Off, you cannot set p3 or subsequent

parameters.

P2=On can be specified when the difference between

the span upper and lower limits is 2 digits or greater.

SBandCom

Color Scale Band (/MC)

Sets the color scale band of a communication channel.

Syntax SBandCom,p1,p2,p3,p4,p5,p6,p7

p1 Channel number

p2 Color scale band (Off, In, Out)

p3 R value of the color scale band RGB

colors (0 to 255)

P4 G value of the color scale band RGB

colors (0 to 255)

p5 B value of the color scale band RGB

colors (0 to 255)

p6 Upper limit of the color scale band display

(span lower limit to span upper limit)

p7 Lower limit of the color scale band display

(span lower limit to span upper limit)

Query

SBandCom[,p1]?

Example For communication channel 025, set a blue

band in the range of -0.5000 to 1.0000.

SBandCom,025,In,0,0,255,5000,10000

Description

You cannot set this on a “Off” channel. p2 is fixed to

Off.

If p2=Off, you cannot set p3 or subsequent

parameters.

For details on RGB values, see “Description” of the

SColorIO

command.

2.4 Setting Commands

Advertising
This manual is related to the following products: