![Omron SYSMAC C200H Скачать руководство пользователя страница 312](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423312.webp)
Programming Instructions
Appendix B
304
IR
SR
HR
TR
AR
LR
TC
DM
#
00000 to 23515
23600 to 25507
HR 0000 to 9915
TR 0 to 7
AR 0000 to 2715
LR 0000 to 6315
TC 000 to 511
Read/Wr: DM 0000 to DM 0999
Rd only: DM 1000 to DM 1999
0000 to 9999
or 0000 to FFFF
These footnote tables show the actual ranges of all data areas. Bit numbers are provided (except for DM and TC areas); remove the rightmost two digits for word numbers.
Data Areas
Name
Mnemonic
Operand Data Areas
Function
Symbol
VALUE CALCULATE
(@)VCAL(69)
(CPU11-E)
VCAL(69)
C
S
D
X
m
(max. x-coordinate for this table)
Y
0
X
1
Y
1
X
2
Y
2
X
m
Y
m
Calculates the cosine, or sine of the given
degree value, or determines the y-coordi-
nate of the given x value in a previously es-
tablished line graph. For the sine and co-
sine conversions, S is entered in BCD as
an angle (in the range 0.0 to 90.0 degrees).
When calculating the y-coordinate in a
graph, S gives the address of the value of
the x-coordinate. The calculated data is
transferred to the destination word (D).
Sine and cosine results are given in BCD.
Line graph coordinate calculations (inter-
polation) can be in BCD or BIN.
The data in the control word (C) deter-
mines which operation is performed. If C is
entered as a constant with a value of 0000
or 0001, the sine or cosine, respectively, of
the source data value is calculated. If C is
entered as a word designation, it gives the
address of the first word of the data table
for the line graph. The value of the first two
digits gives m–1, where m is the number of
data points for which coordinates are given
on the line graph. Bits 14 and 15, respec-
tively, specify the output and input data for-
mats (0 indicates BCD, 1 indicates binary).
Y
X
X
m
X
4
X
3
X
2
X
1
Y
m
Y
4
Y
3
Y
1
Y
2
Y
0
15
14
08 07
00
000000
Input
data
format
Output
data
format
m–1, where m is the
number of data points
whose coordinates are
specified in the table
C
C+1
C+2
C+3
C+4
C+5
C+6
C+(2m+1)
C+(2m+2)
C:
IR
SR
HR
AR
LR
TC
DM
#
S:
IR
SR
HR
AR
LR
TC
DM
D:
IR
SR
HR
AR
LR
TC
DM
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...