CHAPTER 6 – Functions and Methods
Typical Example
textpoint = "abcdefgh"
midtext = Mid(textpoint,3,2)
The text point 'midtext' contains the string 'de'.
PrintMessage
Syntax
PrintMessage ("message")
Remarks
Argument
message
Typical Example
PrintMessage ("Print this message")
The message 'print this message' is printed to the configured 'Alarm/message printer', queued if
operating in page mode, or printing has been disabled by the EnablePrinting command.
References
Refer to the CX-Supervisor User Manual for further details to configure the 'Alarm/message printer'.
Right
Syntax
righttext = Right(textpoint,noofchars)
Remarks
Argument
textpoint
noofchars
righttext
Typical Example
textpoint = "abcdefgh"
righttext = Right(textpoint,3)
The text point 'righttext' contains the string 'fgh'.
Page 96
Type
string
Contains the text string that is sent to the printer.
Type
text
The text point containing the string that is to be manipulated.
integer
The number of characters to extract from the end of the string.
integer
Text point containing the specified range of characters.
Description
Description
Revision 2.0
OMRON
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?
Questions and answers