Sign In
Upload
Manuals
Brands
OMRON Manuals
Software
CX-PROGRAMMER V8.1
OMRON CX-PROGRAMMER V8.1 Manuals
Manuals and User Guides for OMRON CX-PROGRAMMER V8.1. We have
1
OMRON CX-PROGRAMMER V8.1 manual available for free PDF download: Operation Manual
OMRON CX-PROGRAMMER V8.1 Operation Manual (231 pages)
Function Blocks/ Structured Text
Brand:
OMRON
| Category:
Software
| Size: 3.02 MB
Table of Contents
Table of Contents
8
Precautions
20
Intended Audience
21
General Precautions
21
Safety Precautions
21
Application Precautions
22
Function Blocks
26
Part
26
Section 1 Introduction to Function Blocks
28
Introduction to Function Blocks
28
Introducing the Function Blocks
29
Overview and Features
29
Function Block Specifications
30
Files Created with CX-Programmer Ver. 6.0 or Later
33
Function Block Menus in CX-Programmer Ver
33
(And Later Versions)
33
Function Blocks
36
Outline
36
Advantages of Function Blocks
37
Function Block Structure
38
Variables
43
Introduction
43
Variable Usage and Properties
44
Variable Properties
44
Variable Properties and Variable Usage
45
Internal Allocation of Variable Addresses
46
Converting Function Block Definitions to Library Files
48
Usage Procedures
48
Creating Function Blocks and Executing Instances
48
Reusing Function Blocks
49
Version Upgrade Information
50
Section 2 Function Block Specifications
54
Function Block Specifications
54
Function Block Specifications
55
Function Block Specifications
56
Function Block Elements
56
Data Types Supported in Function Blocks
66
Basic Data Types
66
Derivative Data Types
66
Instance Specifications
67
Composition of an Instance
67
Parameter Specifications
72
Operating Specifications
74
Programming Restrictions
76
Ladder Programming Restrictions
76
ST Programming Restrictions
78
Programming Restrictions
79
Function Block Applications Guidelines
81
Deciding on Variable Data Types
81
Determining Variable Types (Inputs, Outputs, in Out, Externals, and Internals)
82
AT Settings for Internal Variables
84
Array Settings for Input-Output Variables and Internal Variables
84
Specifying Addresses Allocated to Special I/O Units
86
Using Index Registers
87
Precautions for Instructions with Operands Specifying the First or Last of Multiple Words
90
Precautions for Instructions with Operands Specifying the First
90
Or Last of Multiple Words
90
Instruction Support and Operand Restrictions
93
CPU Unit Function Block Specifications
95
Specifications
95
Operation of Timer Instructions
100
Maximum Num
100
Number of Function Block Program Steps and Instance Execution Time
101
Number of Function Block Program Steps
101
Function Block Instance Execution Time
102
Section 3 Creating Function Blocks
104
Creating Function Blocks
104
Procedural Flow
105
Procedures
107
Creating a Project
107
Creating a New Function Block Definition
107
Defining Function Blocks Created by User
110
Part
112
Creating Instances from Function Block Definitions
122
Setting Function Block Parameters Using the Enter Key
124
Setting the FB Instance Areas
127
Checking Internal Address Allocations for Variables
129
Copying and Editing Function Block Definitions
131
Checking the Source Function Block Definition from an Instance
131
3-2-10 Checking Instance Information such as Nesting Levels
131
3-2-11 Checking the Size of the Function Block Definition
132
Compiling Function Block Definitions (Checking Program)
132
3-2-13 Printing Function Block Definition
133
3-2-14 Password Protection of Function Block Definitions
134
3-2-15 Comparing Function Blocks
137
3-2-16 Saving and Reusing Function Block Definition Files
137
3-2-17 Downloading/Uploading Programs to the Actual CPU Unit
138
3-2-18 Monitoring and Debugging Function Blocks
138
3-2-19 Online Editing Function Block Definitions
146
Structured Text (ST)
154
Introduction to Structured Text
156
ST Language
157
CX-Programmer Specifications
158
Section 5 Structured Text (St) Language Specifications
160
Structured Text (ST) Language Specifications
160
Structured Text Language Specifications
161
Overview of the Structured Text Language
161
Data Types Used in ST Programs
162
Basic Data Types
162
Derivative Data Types
162
Inputting ST Programs
163
Syntax Rules
163
CX-Programmer's ST Input Screen Display
165
ST Language Configuration
166
Statements
166
Variables
167
Inputting Constants
167
Operators
167
Standard Functions
168
OMRON Expansion Functions
171
Statement Descriptions
173
Assignment
173
Control Statements
173
Variable
180
Program
190
ST-Language Program Example
191
Using an ST Program in a Function Block
191
Restrictions
192
Commonly Asked Questions
192
Section 6 Creating St Programs
194
Creating ST Programs
194
Procedures
195
This Section Explains How to Create ST Programs
195
Creating a Project
195
Creating a New ST Program
195
Allocating the ST Program to a Task
196
Creating the ST Program
197
Compiling the ST Program (Checking Program)
199
Downloading/Uploading Programs to the Actual CPU Unit
199
Comparing ST Programs
200
Monitoring and Debugging the ST Program
200
Online Editing of ST Programs
201
System-Defined External Variables Supported in Function Blocks
206
A System-Defined External Variables Supported in Function Blocks
207
Structured Text Errors
208
Function Descriptions
212
Index
226
Revision History
228
Advertisement
Advertisement
Related Products
OMRON CX-DESIGNER V2.1 - 07-2007
OMRON CX-INTEGRATOR - V1.1
OMRON CX-INTEGRATOR V2 - 12-2009
OMRON CX-MOTION-NCF - V1.8
OMRON CX-MOTION-NCF - V1.9
OMRON CX-PROCESS TOOL V5.2 - 12-2009
OMRON CX-SUPERVISIOR - GETTING STARTED V2.0
OMRON CX-PROGRAMMER V9
OMRON CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION
OMRON CX-PROGRAMMER V9 - REV 12-2009
OMRON Categories
Blood Pressure Monitor
Controller
Accessories
Switch
Inverter
More OMRON Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL