Sfilehead file header, Sfilename file naming rule, Smediasave automatic data file saving – Yokogawa Touch Screen GP20 User Manual

Page 26: Sfileformat display/event data file format

Advertising
background image

2-12

IM 04L51B01-17EN

Query

SDirectory?

Example Set the directory name to “DATA0.”

SDirectory,’DATA0’

Description

• For the characters that you can use in the directory

name (p1), see

Appendix 1

.

• The following character strings cannot be used for

directory names.

Character String

AUX

CON

PRN

NUL

CLOCK$

COM0 to COM9

LPT0 to LPT9

• You cannot use a character string that starts or ends

with a period or space for directory names.

SFileHead

File Header

Sets the file header character string.

Syntax SFileHead,p1

p1 File header (up to 50 characters, UTF-8)

Query

SFileHead?

Example Set the file header to “GX_DATA.”

SFileHead,’GX_DATA’

SFileName

File Naming Rule

Sets the file naming rule for data files.

Syntax SFileName,p1,p2

p1 File naming rule

Date

Date

Serial

Serial number

Batch

Batch name

p2 Specified file name (up to 16 characters,

ASCII)

Query

SFileName?

Example Set the file naming rule to “Date.” Set the

specified file name to “Recorder1_data.”

SSFileName,Date,’Recorder1_data’

Description

• If the batch setting is disabled (SBatch: p1=Off), you

cannot specify p1=Batch.

• If p1=Batch, p2 is invalid.

• For the characters that you can use in the specified

file name (p2), see

Appendix 1

.

SMediaSave

Automatic Data File Saving

Sets the auto saving of data files to an external storage

medium.

Syntax SMediaSave,p1,p2

p1 Auto saving to an external storage

medium (Off, On)

p2 Media FIFO (Off, On)

Query

SMediaSave?

Example Enable the auto saving to the external storage

medium and media FIFO.

SMediaSave,On,On

SFileFormat

Display/Event Data File Format

Sets the file format of display data files and event data

files.

Syntax SFileFormat,p1

p1 File format (Binary, Text)

Query

SFileFormat?

Example Create files in text format.

SFileFormat,Text

Description

• The types of data that you can set file formats for are

display data and event data.

• The file saving methods that the specified file format

is applied to are auto saving, saving of unsaved data,

manual saving, and FTP data transfer.

2.4 Setting Commands

Advertising
This manual is related to the following products: