12 app, Srecevent channel for recording event data, Sbatch batch function – Yokogawa Touch Screen GP20 User Manual

Page 25: Stextfield batch text, Sdirectory name of directory to save data

Advertising
background image

2-11

IM 04L51B01-17EN

Commands and Responses

1

2

App

• If p2=Off, you cannot set p3.

• There is a limit to the number of recording channels

depending on the recording interval (

SDispData

command).

Recording

Interval

Number of Recording Channels

5 s/div

100

10 s/div

200

15 s/div or higher 500

• You cannot set a channel more than once.

SRecEvent

Channel for Recording Event Data

Sets the channel for recording event data.

Syntax SRecEvent,p1,p2,p3,p4

p1 Scan group (1)

p2 Number (see “Description”)

p3 Channel type

Off

Do not record event data.

IO

I/O channel

Math Math channel

Com

Communication channel

p4 Channel number

Query

SRecEvent[,p1[,p2]]?

Example Assign the event data of I/O channel 0006 to

number 11 and record.

SEventData,1,11,IO,0006

Description

• You cannot use this command to configure settings

while recording is in progress.

• You cannot use this command to configure settings

while computation is in progress.

• If p3=Off, you cannot set p4.

• This setting is valid when event data recording is

enabled (recording mode of the

SMemory

command).

• There is a limit to the number of recording channels

depending on the recording interval (

SEventData

command).

Recording

Interval

Number of Recording Channels

100 ms

100

200 ms

200

500 ms or more 500

• You cannot set a channel more than once.

SRecManual

Channel for Recording Manual Sampled

Data

Sets the channel for recording manual sampled data.

Syntax SRecManual,p1,p2,p3

p1 Number (1 to 50)

p2 Channel type

Off Do not record manual sampled data.

IO

I/O channel

Math Math channel

Com Communication channel

p3 Channel number

Query

SRecManual[,p1]?

Example Assign the manual sampled data of I/O

channel 0003 to number 2 and record.
SRecManual,2,IO,0003

Description

• You cannot use this command to configure settings

while recording is in progress.

• You cannot use this command to configure settings

while computation is in progress.

• If p2=Off, you cannot set p3.
• You cannot set a channel more than once.

SBatch

Batch Function

Configures the batch function’s basic settings.

Syntax SBatch,p1,p2,p3

p1 Enable or disable (Off, On)

p2 Number of lot number digits (Off, 4, 6, 8)

Off

Do not use lot numbers.

4

4-digit lot number

6

6-digit lot number

8

8-digit lot number

p3 Auto increment (Off, On)

Query

SBatch?

Example Enable the batch function. Use 4-digit lot

numbers. Automatically increment the lot

number in the next operation.

SBatch,On,4,On

Description

• You cannot use this command to configure settings

while recording is in progress.

STextField

Batch Text

Sets a batch text.

Syntax STextField,p1,p2,p3

p1 Field number (1 to 24)

p2 Title (up to 20 characters, UTF-8)

p3 Character string (up to 30 characters,

UTF-8)

Query

STextField[,p1]?

Example For field number 3, set the field title to

“OPERATOR” and the character string to

“RECORDER1.”

STextField,3,’OPERATOR’,’RECORD

ER1’

Description

• You cannot use this command to configure settings

while recording is in progress.

SDirectory

Name of Directory to Save Data

Sets the name of the directory to save data.

Syntax SDirectory,p1

p1 Directory name (up to 20 characters,

ASCII)

2.4 Setting Commands

Advertising
This manual is related to the following products: