Printmessage; Right; Texttovalue - Omron CX-Supervisor Reference Manual

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Text Commands

6-12-10 PrintMessage

6-12-11 Right

6-12-12 TextToValue

Syntax
PrintMessage ("message")
Remarks
Argument
Type
message
string
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'.
Syntax
righttext = Right(textpoint,noofchars)
Remarks
Argument
Type
textpoint
text
noofchars
integer
righttext
text
Typical Example
textpoint = "abcdefgh"
righttext = Right(textpoint,3)
The text point 'righttext' contains the string 'fgh'.
Syntax
valuepoint = TextToValue(textpoint)
Remarks
Argument
Type
textpoint
text
valuepoint
integer
Typical Examples
textpoint = "10"
valuepoint = TextToValue(textpoint)
The value 10 is assigned to the point 'valuepoint'.
SECTION 6 Functions and Methods
Description
Contains the text string that is sent to the
printer.
Description
The text point containing the string that is to be
manipulated.
The number of characters to extract from the
string.
Text point containing the specified range of
characters.
Description
The text point containing the string that is to be
converted into a number.
A point containing the value returned after
conversion from a string.
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents