![Omron CS1W-MCH71 - Скачать руководство пользователя страница 151](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367151.webp)
106
Variables
Section 4-3
Note
(1) For Position Data, see
(2) For System variables, see
(3) For Input variables and Output variables, see
(Page
160).
(4) CAM Data will not be treated as a variable.
Rules for Writing
Variables
Use the following format to write variables.
Put # in front of variables.
V: Variable type
T: Data access type
hhhh: Addresses of Data (in hexadecimal)
b: Bit number for bit-type data access (in hexadecimal)
Example)
#PL0000 = 10000;
MOVE_[J01]#PL0000;
Variable Type and
Address Range
Use 4-digit hexadecimal notation for data addresses.
Data addresses indicate the first address of integer data regardless of the
access type.
Note
Task variables can use 128 words in each task.
Data Access Type
There are four data access types as shown in the following table.
Variables exclusively for tasks
Task variables
Can be used only in each task, and are used
as workspace, etc. during operations.
128 words
×
8
tasks (2048
byte)
NO
R/W
Name
Purpose
Size
Backup to
FLASH ROM
R/W
# V T hhhh
[b]
Type
Notation
Address range
Position Data
PLhhhh
PL0000 - PL27FF
System variables
S*hhhh
SW0000 - SW07FF
Global general variables
M*hhhh
MW0000 - MW1FFF
Input variables
I*hhhh
IW0000 - IW0FFF
Output variables
O*hhhh
OW0000 - OW0FFF
Task variables
D*hhhh
DW0000 - DW007F
Type
Notation
Numerical range
Remark
Bit type
B
1 (ON), 0 (OFF)
Integer type
W
−
32768 to +32767
(8000 Hex to 7FFF Hex)
Signed word data (16-bit)
Double-length integer
type
L
−
2147483648 to +2147483647
(80000000 Hex to 7FFFFFFF Hex)
Signed double-length data (32-bit)
Real number type
F
±
(1.175E-38 to 3.402E+38), 0
Single-precision floating decimal point
(32-bit)
Содержание CS1W-MCH71 -
Страница 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Страница 3: ...iv ...
Страница 29: ...xxx ...
Страница 33: ...xxxiv ...
Страница 35: ...xxxvi ...
Страница 39: ...xl ...
Страница 69: ...24 Performance Section 1 7 ...
Страница 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Страница 283: ...238 Saving Data Section 5 4 ...
Страница 417: ...372 Command Details Section 6 3 ...