Omron CX-PROGRAMMER V8.1 Operation Manual page 57

Function blocks/ structured text
Table of Contents

Advertisement

Function Block Specifications
Variable Notation
Variable Type (Usage)
Item
Inputs
Definition
Operands to the
instance
Status of value
The value of the
at next execu-
input parameter
tion
will be given.
Display
Displayed on the
left side of the
instance.
Number allowed 64 max. per func-
tion block (exclud-
ing EN)
AT setting
No
Array setting
No
Retain setting
Supported
(See note 2.)
Variables cre-
EN (Enable):
ated by default
Receives an input
condition.
Note
32
CLOCK PULSE
EN
ENO
(BOOL) (BOOL)
ON_TIME
(INT)
OFF_TIME
(INT)
Input variables
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 func-
tion block (exclud-
ing ENO)
No
No
Supported
ENO (Enable Out-
put):
Outputs the func-
tion block's execu-
tion status.
(1) For details on Externals, refer to Appendix A System-defined external
variables supported in function blocks.
(2) The value of the input parameter will be given.
■ Input Variables
Input variables pass external operands to the instance. The input variables
are displayed on the left side of the instance.
The value of the input source (data contained in the specified parameter just
before the instance was called) will be passed to the input variable.
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
In Out
Variables used to
Variables used
pass data to and
only within
from instances
instance
using addresses
The value of the
The value is
external parameter
passed on to the
next execution.
Displayed on the
Not displayed.
left and right sides
of the instance.
16 max. per func-
Unlimited
tion block
No
Supported
Supported
Supported
No
Supported
None
None
Section 2-1
Type
TIMER
TIMER
INT
INT
Internals
Externals
(See note 1.)
Global symbols
registered as vari-
ables beforehand
with the CX-Pro-
grammer or user-
defined global
symbols.
The value of the
variable registered
externally
Not displayed.
Unlimited
No
No
No
Pre-defined sym-
bols registered in
advance as vari-
ables in the CX-
Programmer, such
as Condition Flags
and some Auxil-
iary Area bits.

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