EasyManuals Logo
Home>Omron>Computer Hardware>SYSMAC CP2E-E D Series

Omron SYSMAC CP2E-E D Series User Manual

Omron SYSMAC CP2E-E D Series
578 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 #55 background imageLoading...
Page #55 background image
4-11
4 Understanding Programming
CP2E CPU Unit Software User’s Manual(W614)
4-3 Function Blocks
4
4-3-3 Function Block Specifications
When function blocks are used, memory is required for the following two items:
1. Function block definitions
2. Instance generation processing when function blocks are pasted into the user program as function
block instances
Therefore, the number of steps used in memory will increase with the number of instances of function
blocks created in the program (item 2).
Creating instances of function blocks (i.e., calling function block definitions and transferring parameters)
uses user program memory.
Function block definitions use memory in the FB Program Area, a special area for function blocks. If the
capacity of the FB Program Area is exceeded, the user program area is used.
Select View
−
Memory View from CX-Programmer.
The following Memory View Dialog Box will be displayed.
Data Types that Can be Used in Function Blocks
Data type Content Size
Availability in CP2E
Inputs Outputs In Out Internals Externals
BOOL Bit data 1 Yes Yes No Yes Yes
INT Integer 16 Yes Yes No Yes Yes
DINT Double integer 32 Yes Yes No Yes Yes
LINT Long (4-word) integer 64 Yes Yes No Yes Yes
UINT Unsigned integer 16 Yes Yes No Yes Yes
UDINT
Unsigned double
integer
32 Yes Yes No Yes Yes
ULINT
Unsigned long (4-word)
integer
6 4 Ye s Ye s N o Ye s Ye s
REAL Real number 32 Yes Yes No Yes Yes
LREAL Long real number 64 No No No No No
WORD 16-bit data 16 Yes Yes No Yes Yes
DWORD 32-bit data 32 Yes Yes No Yes Yes
LWORD 64-bit data 64 Yes Yes No Yes Yes
STRING Text string data Variable No No No No No
TIMER Timer
Flag: 1
PV: 16
No No No Yes Yes
COUNTER Counter
Flag: 1
PV: 16
No No No Yes Yes
Array - - NoNoNoNo No
Structure - - NoNoNoNo No
Number of Steps Used by Function Blocks
Checking Function Block Memory Usage

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP2E-E D Series and is the answer not in the manual?

Omron SYSMAC CP2E-E D Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP2E-E D Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals