Position Data Addresses; Position Data Configuration - Omron CS1W-MC221 - 02-2008 Operation Manual

Motion control units
Table of Contents

Advertisement

Position Data
3-4-1

Position Data Addresses

3-4-2

Position Data Configuration

188
Specify position data at the following addresses in MC Unit memory. Specify
the addresses in hexadecimal when using IOWR/IORD commands.
Data
Position data
The preceding addresses 0000 to 1999 are specified using A0000 to A1999 in
G language.
Each position is comprised of three words. Refer to SECTION 4 Data Transfer
and Storage for more details about transferring data. Data can be transferred
at any time.
15
0
j+0
Position data (32-bit signed: Rightmost 16 bits)
j+1
j+2
Position data (32-bit signed: Leftmost 16 bits)
A: Decimal point position 0: x 1
Example 1
The following is the configuration of a position data value of 123.45.
15
0
j+0
3
j+1
j+2
0
00003039 (Hex) = 12345 (decimal)
The decimal point position is 2, so it yields 123.45.
Example 2
The following is the configuration of a position data value of 12345.
15
0
j+0
C
j+1
j+2
F
Address range
0000 to 07CF (decimal:
0000 to 1999)
12 11
08 07
04 03
0
0
1: x 0.1
2: x 0.01
3: x 0.001
4: x 0.0001
12 11
08 07
04 03
0
0
0
3
0
0
12 11
08 07
04 03
0
0
F
C
F
F
Section 3-4
Number of words to
transfer
1 position: 0003 hex
2 positions: 0006 hex
3 positions: 0009 hex
4 positions: 000C hex
00
A (Decimal
point position)
00
2
9
0
00
0
7
F

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-mc221Cs1w-mc221-v1Cs1w-mc421Cs1w-mc421-v1

Table of Contents