EasyManuals Logo

Omron CX-PROGRAMMER V8.1 User Manual

Omron CX-PROGRAMMER V8.1
231 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #171 background imageLoading...
Page #171 background image
146
ST Language Configuration Section 5-4
In this example, the STRING variable C will be changed to an integer.
Data Type Combinations The combinations of data types that can be converted are given in the follow-
ing table.
(YES = Conversion possible, No = Conversion not possible)
5-4-6 OMRON Expansion Functions
Memory Card
Functions
The following functions can be used with CS/CJ-series CPU Units with unit
version 4.0 or later, or CJ2-series CPU Units.
Communications
Functions
The following functions can be used with CS/CJ-series CPU Units with unit
version 4.0 or later, or CJ2-series CPU Units.
FROM TO
BOOL INT DINT LINT UINT UDINT ULINT WORD DWORD LWORD REAL LREAL STRING
BOOL No No No No No No No No No No No No No
INT No No YES YES YES YES YES YES YES YES YES YES YES
DINT No YES No YES YES YES YES YES YES YES YES YES YES
LINT No YES YES No YES YES YES YES YES YES YES YES No
UINT No YES YES YES No YES YES YES YES YES YES YES YES
UDINT No YES YES YES YES No YES YES YES YES YES YES YES
ULINT No YES YES YES YES YES No YES YES YES YES YES No
WORD No YES YES YES YES YES YES No YES YES No No YES
DWORD No YES YES YES YES YES YES YES No YES No No YES
LWORD No YES YES YES YES YES YES YES YES No No No No
REAL No YES YES YES YES YES YES YES YES YES No No No
LREAL No YES YES YES YES YES YES YES YES YES No No No
STRING No YES YES No YES YES No YES YES No No No No
Function type Description
Memory Card Functions Functions that write data to Memory Cards
Communications Functions Functions that send and received text strings
Angle Conversion Functions Functions that convert between degrees and radians.
Function Argument data type Return
value
data type
Description Example
WRITE_TEXT(<Write_string>,
<Directory_name_and_file_
name>,<Delimiter>,<Parame-
ter>)
Write_string STRING --- Writes a text
string to a
Memory
Card.
WRITE_TEXT(a,b,c,d)
(*text string a is written to a file
with the file name and directory
specified by variable b; if variable
d is 0, the text string is added to
the file along with delimiter speci-
fied by variable c; if variable d is 1,
a new file is created*)
Directory_
name_and_
file_name
STRING
Delimiter STRING
Parameter INT,
UINT,
WORD
Function Argument data type Return
value
data type
Description Example
TXD_CPU(<Send_string>) Send_string STRING --- Sends a text string to
the RS-232C port on
the CPU Unit.
TXD_CPU(a)
(*text string a is sent from
the RS-232C port on the
CPU Unit*)
TXD_SCB(<Send_string>,
<Serial_port>)
Send_string STRING --- Sends a text string to
the serial port on a
Serial Communica-
tions Board.
TXD_SCB(a,b)
(*text string a is sent from
the serial port specified by
variable b on the Serial
Communications Board*)
Serial_port INT,
UINT,
WORD

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-PROGRAMMER V8.1 and is the answer not in the manual?

Omron CX-PROGRAMMER V8.1 Specifications

General IconGeneral
BrandOmron
ModelCX-PROGRAMMER V8.1
CategorySoftware
LanguageEnglish

Related product manuals