Position Data - Omron CS1W-MCH71 Operation Manual

Sysmac cs/cj-series
Hide thumbs Also See for CS1W-MCH71:
Table of Contents

Advertisement

Position Data

Precautions When
Accessing the Same
Address with Different
Access Type
Note
Bit Specification
4-4
Position Data
The variables at the same address share the same physical space.
Bit type
The beginning of the
MB0000b
global general vari-
MB0001b
able
MB0002b
MB0003b
Odd-number addresses cannot be specified with Double-length integer type
or Real number type. Make sure to specify even-number addresses. The posi-
tion data can be specified with odd-numbers.
Double-
integer type
Leading address of
PL0000
position data
PL0001
PL0002
PL0003
Followings are the examples:
• (1) ML0000 = 1234 --- Write 1234 in the Double-length integer type.
• (2) MF0000 = 1234 --- Write 1234 in the real number type.
The variables of the same address share the same physical space even
though the types are different. Therefore, the memory image after execution
of (1) and (2) will be as described in the table below. If the same address is
accessed using a different access type, a different value will be read. So it
needs special attention.
Case
Original value
(1)
1234
(2)
1.234000E+003 449A4000hex
If the bit type is selected for data access, the bit position in 16-bit word data
needs to be specified with Bit No.
Example) "MB10002" indicates the second bit of MW1000.
MW0000
:
MW1000
F
E
D
C
:
There are 10240 of position data that can be used. In a motion program, posi-
tioning is executed by specifying a position directly or by specifying a position
in the position data (indirect specification). Position data is transferred
between an MC Unit and the Support Tool by using the Support Tool (MC-
Miel) or IOWR/IORD instructions.
Integer type
MW0000
MW0001
MW0002
MW0003
length
In hexadecimal
Display in different type
000004D2hex
1.729202E-042 (Real number type)
1150959616 (Integer type)
:
B
A
9
8
7
6
5
:
Section 4-4
Double-
Real number
length
type
integer type
ML0000
MF0000
ML0002
MF0002
4
3
2
1
0
107

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Cj1w-mch71

Table of Contents