EasyManuals Logo

GE PACSystems RX7i User Manual

GE PACSystems RX7i
469 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 #385 background imageLoading...
Page #385 background image
Chapter 8. Structured Text (ST) Programming
370 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
8.2.2 Function Call
The structured text function call executes a predefined algorithm that performs a mathematical, bit
string or other operation. The function call consists of the name of the function or block followed by
required input or output parameters.
The structured text logic can call blocks or the PACSystems built-in functions listed in the table
below. The call must be made in a single statement and cannot be part of a nested expression.
Calls to some functions, such as communications request (COMMREQ), require a command block or
parameter block. For these functions, an array is declared, initialized in logic, and then passed as a
parameter to the function.
Built-in Functions Supported for ST Calls
Note: Only the functions listed in the following table are supported in the current PACSystems
version. Other built-in functions are not supported.
Example: cos(IN := inReal, Q => outReal, ENO => outBool);
Category
Functions
More information
Advanced Math
ASIN, ATAN, ACOS, COS, SIN, TAN
LOG, LN, EXP, EXPT,
SQRT_INT, SQRT_DINT, SQRT_REAL
Chapter 4
Math
ABS_INT, ABS_DINT, ABS_REAL
SCALE_DINT, SCALE_INT, SCALE_UINT
Chapter 4
Communication
PNIO_DEV_COMM
PACSystems RX3i & RSTi-EP
PROFINET I/O Controller
Manual, GFK-2571
Control
DO_IO, MASK_IO_INTR, SCAN_SET_IO, SUS_IO,
SUS_IO_INTR, SVC_REQ, SWITCH_POS, F_TRIG, R_TRIG
Chapter 4
Data
Conversion
BCD4_TO_INT, BCD4_TO_UINT, BCD4_TO_REAL
BCD8_TO_DINT, BCD8_TO_REAL
DINT_TO_BCD8, DINT_TO_DWORD, DINT_TO_INT,
DINT_TO_UINT, DINT_TO_REAL, DINT_TO_LREAL
DWORD_TO_DINT
INT_TO_BCD4, INT_TO_DINT, INT_TO_UINT,
INT_TO_REAL, INT_TO_WORD
UINT_TO_BCD4, UINT_TO_BCD8, UINT_TO_INT,
UINT_TO_DINT, UINT_TO_REAL, UINT_TO_WORD
REAL_TO_INT, REAL_TO_UINT, REAL_TO_DINT,
REAL_TO_LREAL
LREAL_TO_DINT, LREAL_TO_REAL
TRUNC_INT, TRUNC_DINT
DEG_TO_RAD, RAD_TO_DEG
WORD_TO_INT, WORD_TO_UINT
Chapter 4
Data Move
ARRAY_SIZE, ARRAY_SIZE_DIM1, ARRAY_SIZE_DIM2,
COMMREQ, MOVE_DATA_EX, SIZE_OF
Chapter 4
PACMotion
The RX3i CPUs support 56 PLCopen compliant motion
functions and function blocks.
PACMotion Multi-Axis Motion
Controller User’s Manual,
GFK-2448

Table of Contents

Other manuals for GE PACSystems RX7i

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the GE PACSystems RX7i and is the answer not in the manual?

GE PACSystems RX7i Specifications

General IconGeneral
BrandGE
ModelPACSystems RX7i
CategoryController
LanguageEnglish

Related product manuals