EasyManuals Logo

Omron C200H-MC221 User Manual

Omron C200H-MC221
305 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 #117 background imageLoading...
Page #117 background image
97
Description This function performs arithmetic operations on numerical values, position data,
or the contents of registers. When the first term is a register, the second and third
terms will be integers. (Non-integer values are rounded to the nearest integer.)
When the first term is a position data address, the second and third terms will be
real numbers and values below the fourth decimal place will be rounded off.
The possible values for the result are as follows:
–39,999,999 to –0.0001
0
0.0001 to 39,999,999
An error will occur if the first term’s data isn’t within the acceptable range. The
possible values for the first term are as follows:
When the first term is position data: –39,999,999 to +39,999,999
When the first term is a register: 0000 to 1999
Registers are cleared to zero when the power is turned on, so be sure to initialize
the register contents when the program is started.
Example Program ::
N010 G60 A0000=A1000–500
::
5-5-19 G63: SUBSTITUTION
Substitutes position data and registers.
Format G63_<first term = second term >
Parameters The following table shows the possible settings for the parameters.
Parameter Possible settings
First term A0000 to A1999
E00 to E31
Second term A0000 to A1999
E00 to E31
–39,999,999 to +39,999,999
X or Y
Description This function copies position data, register contents, present values, or numeri-
cal values into position data addresses or registers.
When the second term is an axis name, the present position of that axis in the
reference coordinate system is copied to the first term. That present position is
copied according to the pulse rate and minimum unit setting for that axis speci-
fied in the system parameters.
When the first term is a register, the value in the second term will be treated as an
integer. Non-integer values are rounded to the nearest integer.
An error will occur if the first term’s data isn’t within the acceptable range. The
possible values for the first term are as follows:
When the first term is position data: –39,999,999 to +39,999,999
When the first term is a register: 0000 to 1999
Registers are cleared to zero when the power is turned on, so be sure to initialize
the register contents when the program is started.
Example Program ::
N010 G63 A1000=123.45
::
G Functions
Section 5-5

Table of Contents

Other manuals for Omron C200H-MC221

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron C200H-MC221 and is the answer not in the manual?

Omron C200H-MC221 Specifications

General IconGeneral
BrandOmron
ModelC200H-MC221
CategoryControl Unit
LanguageEnglish

Related product manuals