Timx Tim_A Off_Time; Timx Tim_B On_Time; Eno; Variable Definitions - Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION Operation Manual

Function blocks
Table of Contents

Advertisement

Function Block Specifications
Language

Variable Definitions

Variable Names
Variable Notation
Variable Type (Usage)
Item
Definition
Operands to the
instance
Status of value at next
The value is not
execution
passed on to the next
execution.
Display
Displayed on the left
side of the instance.
Number allowed
64 max. per function
block (excluding EN)
AT setting
No
Array setting
No
22
Select either ladder programming language or structured text (ST language).
For details refer to Appendix B Structured Text (ST Language) Specifications.
Define the operands and variables used in the function block definition.
• Variable names can be up to 30,000 characters long.
• Variables name cannot contain spaces or any of the following characters:
! " # $ % & ' ( ) = - ~ ^ \ | ' @ { [ + ; * : } ] < , > . ? /
• Variable names cannot start with a number (0 to 9).
• Variable names cannot contain two underscore characters in a row.
• The following characters cannot be used to indicate addresses in I/O
memory.
A, W, H (or HR), D (or DM), E (or EM), T (or TIM), C (or CNT) followed
by the numeric value (word address)
CLOCK PULSE
EN

ENO

(BOOL) (BOOL)
ON_TIME

(INT)

OFF_TIME
(INT)
Input variables
Inputs
Outputs
Return values from the
instance
The value is passed on
to the next execution.
Displayed on the right
side of the instance.
64 max. per function
block (excluding ENO)
No
No
Variable table
Usage
Name
Internal
tim_a
Internal
tim_b
Input
ON_TIME
Input
OFF_TIME
Output variables
tim_b

TIMX tim_a OFF_TIME

tim_a
TIMX tim_b OFF_TIME
ENO
Internal
variables
Variable type
Internals
Variables used only
within instance
The value is passed on
to the next execution.
Not displayed.
Unlimited
Supported
Supported
Section 2-1
Type
TIMER
TIMER
INT
INT
Externals
Global symbols regis-
tered as variables
beforehand with the
CX-Programmer or
user-defined global
symbols.
The value is not
passed on to the next
execution.
Not displayed.
Unlimited
No
No

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION and is the answer not in the manual?

This manual is also suitable for:

Cx-programmer 5.0Sysmac ws02-cxpc1-e-v50Cs1-hCj1-hCj1m

Table of Contents

Save PDF