2-48
IM 04L51B01-17EN
SMsgBasic
Message Writing
Sets the message writing operation.
Syntax
SMsgBasic,p1,p2,p3
p1
Message writing method
(GX/GP: Common, Separate)
(GM: Common)
Common
Write messages to all display
groups.
Separate
Write messages to only the
groups that are displayed.
p2
Power failure message (Off, On)
p3
Change message (Off, On)
(GX/GP: On, Off)
(GM: On, Off, Fixed to Off when the
advanced security function (/AS) is
disabled)
Query
SMsgBasic?
Example Write messages to only the groups that are
displayed. Enable the power failure message
and change message.
SMsgBasic,Separate,On,On
SGroup
Display Group
Sets the display group.
Syntax
SGroup,p1,p2,p3,p4
p1
Group number
p2
Enable or disable (Off, On)
p3
Group name (up to 16 characters, UTF-8)
P4
Channel string
• Specify using channel numbers. 4-digit
numbers for I/O channels. Numbers
that start with “A” for math channels
(A015). Numbers that start with “C” for
communication channels (C020). The
maximum number of characters per
channel is 4.
• Use periods to separate channel
numbers (see example).
Query
SGroup[,p1]?
The channel string is output exactly as it is
specified.
Example Assign channels 0001, 0003, 0005, A001, and
C023 to group 2 and name it “GROUP A.”
SGroup,2,On,’GROUP A’,’1.3.5.A1.
C23’
Description
• This command is valid only when the multi batch
function (/BT) is disabled.
• For IO channels in dual interval measurement, only
the channels in the scan group specified with the
SDualGroup command can be selected for p4.
STripLine
Display Group Trip Line
Sets a trip line for a display group.
Syntax
STripLine,p1,p2,p3,p4,p5,p6,p7,p8
p1
Group number
p2
Trip line number (1 to 4)
p3
Enable or disable (Off, On)
P4
Display position [%] (1 to 100)
p5
R value of RGB display colors (0 to 255)
p6
G value of RGB display colors (0 to 255)
p7
B value of RGB display colors (0 to 255)
p8
Line width
(GX/GP: Thin, Normal, Thick)
(GM: Normal)
Thin
Thin
Normal
Normal
Thick
Thick
Query
STripLine[,p1[,p2]]?
Example Display trip line 2 using a thick line in red at the
80% position of group 2.
STripLine,2,2,On,80,255,0,0,Thick
Description
• For details on RGB values, see “Description” of the
SColorIO command.
• This command is valid only when the multi batch
function (/BT) is disabled.
SSclBmp
Scale Bitmap Image Usage [GX/GP]
Sets whether to display a bitmap scale image in the trend
display of a display group.
Syntax
SSclBmp,p1,p2
p1
Group number
p2
Enable or disable (Off, On)
Query
SSclBmp[,p1]?
Example Use a bitmap scale image on display group 3.
SSclBmp,3,On
Description
• Specify the bitmap file to use from the front panel of
the GX/GP.
• This command is valid only when the multi batch
function (/BT) is disabled.
SMessage
Message
Sets messages.
Syntax
SMessage,p1,p2
p1
Message number (1 to 100)
p2
Message string (up to 32 characters,
UTF-8)
Query
SMessage[,p1]?
Example Assign character string “MESSAGE77” to
message number 77.
SMessage,77,’MESSAGE77’
2.4 Setting Commands