Download Print this page

Omron NS Reference Manual page 41

Hide thumbs Also See for NS:

Advertisement

Section2 Functions
NS series Macro Reference
MSGBOX
Applicable versions
Format
Function
Return Value
Displays message dialog box
System version 2 or higher
MSGBOX (S1, S2, S3)
Display message dialog which is specified.
S1: message string
Perform the following procedure to insert a line feed in the message.
Select PT – Project Properties in the CX-Designer to display the Project
Property Dialog box. Checking "Recognize "\n" in the message as a line feed
code" of the MSGBOX option in the Macro option tab enables to insert a line
feed by typing "\n" in the message string.
S2: title bar string
S3: reply with icon type that is displayed in message dialog
Specify type of the button.
4 bits (B0-B3)
0:
STOP Mark
2:
EXCLAMATION Mark
4 bits (B4-B7)
0:[OK] button
only
2:[Retry]/[Cancel]button
3:[Yes]/[No]button
4:[Yes]/[No]/[Cancel]button
5:[Stop]/[Retry]/[Ignore]button
0:Select [OK] button
2:Select [Yes]button
4:Select [Ignore]button
6:Select [Stop]button
1:
QUESTION Mark
3:
INFORMATION Mark
1:[OK]/[Cancel]button
1:Select [Cancel]button
3:Select [No]button
5:Select [Retry]button
21

Advertisement

loading

This manual is also suitable for:

Ns-series