Variables In Function Blocks - Omron CJ2 CPU UNIT SOFTWARE User Manual

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

5-5-6

Variables in Function Blocks

Programs in function blocks are all written with variables rather than actual addresses. Variables in
function blocks have different variable types and specifications than symbols outside of function blocks.
For details on variables in function blocks, refer to the CX-Programmer Operation Manual: Function
Blocks and Structured Text (Cat. No. W447).
Function Block Variable Fields
EN
ON_TIME
OFF_TIME
Variables (e.g., input variables, output
variables, and I/O variables) for transferring
data between external programming and
programming in function blocks
CJ2 CPU Unit Software User's Manual
Ladder Diagram
CLOCK PULSE
ENO
(BOOL)
(BOOL)
(INT)
5 Understanding Programming
Inside Function Blocks
Algorithm
tim_b
TIMX
tim_a
OFF_TIME
tim_a
TIMX
tim_b
ON_TIME
ENO
Variables used only in function
blocks (internal variables and
external variables)
5
5-55

Advertisement

Table of Contents
loading

Table of Contents