Omron TJ2-MC64 - PROGRAMMING Programming Manual page 213

Hide thumbs Also See for TJ2-MC64 - PROGRAMMING:
Table of Contents

Advertisement

Communication protocols
Parameter
Values
var_type
82 (TABLE memory in 16-bit integer format)
C2 (TABLE memory in 32-bit IEEE floating-point format)
B0 (VR memory in 16-bit integer format)
F0 (VR memory in 32-bit IEEE floating-point format)
30 (VR memory in bit format)
start_address
0 <= start_address <= number of variables - 1 <= FFFF
total_words
1 <= total_words <= memory size - start_address + 1
total_bits
1
bit
00 or 01
The TJ2-MC64 responds with these codes:
/i
Condition
Response code
(hex)
All elements valid
0000
Var_type invalid
1101
Start_address invalid
1103
Bit_number invalid
1103
Number of elements invalid
1104
(totals)
General Purpose Read command (2001)
The FINS General Purpose read command has this format:
/i
20
01
00
00
command_code
parameter
The parameters can have the following values:
PROGRAMMING MANUAL
Description
OK
No area type
Address range designation error
Address range designation error
Address out of range
..
xx
yy
zz
var_
start_address
element_count
type
/i
Parameter
command_code
parameter
var_type
start_address
element_count
/i
var_type (upper 4 bits)
Unsigned Integer 16 bits
Unsigned Integer 32 bits
Integer 16 bits
Integer 32 bits
Floating point 32 bits
Floating point 64 bits
/i
var_type (lower 4 bits)
Axis parameters
VR memory
TABLE memory
Example:
Read VR in 64 bit IEEE Floating point format: var_type = 0xE2
..
..
When reading axis parameters (for the offsets see the table below):
xx = axis number
yy = axis parameter offset (Most significant byte)
zz = axis parameter offset (Least significant byte)
When reading VR or TABLE:
Values (hex)
20 01
00 00
See table below
See definition below
1 <= element_count <= number of variables - start_address
Values (hex)
0
1
8
9
D
E
Values (hex)
1
2
3
207

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-prtTj1-drtTj1-cortTj1-mlGrt1-ml2Tj1-fl02

Table of Contents