Cx-Programmer's St Input Screen Display - Omron CX-PROGRAMMER V8.1 Operation Manual

Function blocks/ structured text
Table of Contents

Advertisement

Inputting ST Programs
5-3-2

CX-Programmer's ST Input Screen Display

Text Display Color
Changing Fonts
140
• Certain alphabet characters following a dollar sign ($) are interpreted as
listed in the following table.
Notation
$$
The dollar sign (ASCII 24)
$'
A single quotation mark (ASCII 27)
$L or $l
Line feed (ASCII 0A)
$N or $n
Carriage return + line feed (ASCII 0D 0A)
$P or $p
New page (ASCII 0C)
$R or $r
Carriage return (ASCII 0D)
$T or $t
Tab (ASCII 09)
• When a text string is being stored from the ladder program in an ST func-
tion block's STRING variable, append a NULL character (#00) to the end
of the text string.
Example: Passing string data to the function block STRING variable StrX:
Ladder program that stores "123456" in STRING variable StrX:
MOV #3132 D100
MOV #3334 D101
MOV #3536 D102
MOV #0000 D103
STRING data is stored to the function block by the ladder program above.
(STRING)
D100
StrX
The CX-Programmer automatically displays text in the following colors when it
is input or pasted in the ST Input Screen.
• Text keywords (reserved words): Blue
• Comments: Green
• Errors: Red
• Other: Black
To change font sizes or display colors, select Tools - Options, click the
Appearance Tab, and then click the ST Font Button. The font name, font size
(default is 8 point), and color can be changed.
Description
Attach a NULL character (#00) at the end.
(STRING)
D100
StrX
Section 5-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac ws02-cxpc1-v8Sysmac cx-programmer 8.1

Table of Contents