2-20
IM 04L51B01-17EN
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 (/MT)
Com
Communication channel (/MC)
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,p4
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)
p4
Recording start screen (Comment,
TextField)
Comment
Batch comment
TextField
Text field
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,TextField
Description
• You cannot use this command to configure settings
while recording is in progress.
• When the multi batch function (/BT) is enabled, p1 is
fixed to On.
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.
• This command is valid only when the multi batch
function (/BT) is disabled.
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)
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
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’
Description
• This command is valid only when the multi batch
function (/BT) is disabled.
2.4 Setting Commands