beautypg.com

12 app, Omtreset resets the match time timer, Obatname sets a batch name – Yokogawa Touch Screen GP20 User Manual

Page 63: Obatcomment sets a batch comment, Obattext sets a batch text, Odisprate switches the trend interval

background image

2-49

IM 04L51B01-17EN

Commands and Responses

1

2

App

ORTReset,2

OMTReset

Resets the Match Time Timer

Resets the match time timer

Syntax OMTReset,p1

p1 Timer type

0

All timers

1 to 4 Timer number

Example Reset match time timer 2.

OMTReset,2

OCmdRelay

Outputs the DO Channel and Internal

Switch Status

Outputs the DO channel and internal switch status.

Syntax OCmdRelay,p1

p1 Specification of a setting

Express the setting. Set a channel status

as follows: [channel number]-[status]. Use

a hyphen as a separator.

You can specify the following values for

the channel number.

DO channel number

Internal switch number

You can specify the following values for the

status.

Off: Off status

On: On status

You can specify the status of multiple

channels at once. To do so, use a semicolon

to separate channels as follows: [channel

number]-[status]:[channel number]-

[status]:. . . You can specify up to a total of

32 channels that consist of DO channels

and internal switches.

Example Set channels 0101, 0102, and 0103 to On and

internal switches S001 and S002 to Off.

OCmdRelay,0101-On:0102-On:0103-

On:S001-Off:S002-Off

Description
If any of the channels that you specify do not exist or

are not set to manual output (

SRangeDO

command),

the settings of all channels are canceled, and a

command error results.

OBatName

Sets a Batch Name

Sets a batch name.

Syntax OBatName,p1

p1 Always set this to 1.

p2 Batch number (up to 32 characters,

ASCII)

p3 Lot number (up to 8 digits, ASCII)

Query

OBatName?

Example Set the batch name structure to batch number

“PRESSLINE” and the lot number 007.

OBatName,1,’PRESSLINE’,007

Description
For the characters that you can use in the specified

batch number (p2), see

Appendix 1

.

The character limitations on the batch number (p2)

are the same as those for directory names. See the

explanation for the

SDirectory

command.

OBatComment

Sets a Batch Comment

Sets a batch comment.

Syntax OBatComment,p1,p2,p3

p1 Always set this to 1.

p2 Comment number (1 to 3)

p3 Comment string (up to 50 characters,

UTF-8)

Query

OBatComment?

Example Set comment number 2 to “THIS PRODUCT IS

COMPLETED.”

OBatComment,1,2,‘THIS PRODUCT IS

COMPLETED’

OBatText

Sets a Batch Text

Sets a batch text.

Syntax OBatText,p1,p2,p3,p4

p1 Always set this to 1.

p2 Field number (1 to 24)

p3 Field title (up to 20 characters, UTF-8)

P4 Field string (up to 30 characters, UTF-8)

Query

OBatText?

Example For field number 1, set the title to “Ope” and

the character string to “GX.”

OBatText,1,’Ope’,’GX’

ODispRate

Switches the Trend Interval

Switches between first trend interval (normal trend

interval) and second trend interval.

Syntax ODispRate,p1

p1 Trend interval

NORMAL First trend interval (normal trend

interval)

SECOND Second trend interval

Example Switch from first trend interval to second trend

interval.

ODispRate,SECOND

Description
Set the second trend interval with the

STrdRate

command.

2.6 Operation Commands

This manual is related to the following products: