Sdispdata display data recording, Seventdata event data recording, Srecdisp channel for recording display data – Yokogawa Touch Screen GP20 User Manual
Page 24

2-10
IM 04L51B01-17EN
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.
• The setting specified with this command is valid if at
least one module is installed.
SMemory
Recording Mode
Sets the type of data to record.
Syntax SMemory,p1
p1 Recording mode
D
Display data
D+E1 Display data and event data
E1
Event data
Query
SMemory?
Example Record display data.
SMemory,D
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.
SDispData
Display Data Recording
Sets the display data recording mode.
Syntax SDispData,p1,p2
p1 Recording interval (5s, 10s, 15s, 30s,
1min, 2min, 5min, 10min, 15min, 20min,
30min, 1h, 2h, 4h, 10h)/div.
p2 File save interval (10min, 20min, 30min,
1h, 2h, 3h, 4h, 6h, 8h, 12h,1day, 2day,
3day, 5day, 7day, 14day, 31day)
Query
SDispData?
Example Set the recording interval to 1 minute and file
save interval to 12 hours.
SDispData,1min,12h
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.
• You cannot choose a recording interval that is shorter
than the scan interval.
• You cannot choose a recording interval that is not an
integer multiple of the scan interval.
• File save interval is valid when display data recording
is enabled (recording mode of the
command).
SEventData
Event Data Recording
Sets the event data recording mode.
Syntax SEventData,p1,p2,p3,p4,p5,p6
p1 Scan group (1)
p2 Recording interval (100ms, 200ms,
500ms, 1s, 2s, 5s, 10s, 15s, 20s, 30s,
1min, 2min, 5min, 10min, 15min, 20min,
30min)
p3 Operation mode
Free
Starts recording at
recording start and
stops recording at
recording stop.
SingleTrigger After a trigger event
occurs, the GX/GP will
record for the specified
time and stop.
RepeatTrigger After a trigger event
occurs, the GX/GP will
record for the specified
time and stop. Then,
the GX/GP will enter
the trigger-wait state.
p4 Data length (10min, 20min, 30min, 1h,
2h, 3h, 4h, 6h, 8h, 12h, 1day, 2day, 3day,
5day, 7day, 14day, 31day)
p5 Pre-trigger (0, 5, 25, 50, 75, 95, 100) [%]
p6 Trigger source key (Off, On)
Query
SEventData[,p1]?
Example Record event data in Free mode at a recording
interval of 1 second. Separate the data into
different files every 2 hours.
SEventData,1,1s,Free,2h
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.
• You cannot choose a recording interval that is shorter
than the scan interval.
• You cannot choose a recording interval that is not an
integer multiple of the scan interval.
• This setting is valid when event data recording is
enabled (recording mode of the
SRecDisp
Channel for Recording Display Data
Sets the channel for recording display data.
Syntax SRecDisp,p1,p2,p3
p1 Number (see “Description”)
p2 Channel type
Off
Do not record display data.
IO
I/O channel
Math Math channel
Com
Communication channel
p3 Channel number
Query
SRecDisp[,p1]?
Example Assign the display data of I/O channel 0005 to
number 10 and record.
SRecDisp,10,IO,0005
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.
2.4 Setting Commands