Omron TJ2-MC64 - PROGRAMMING Programming Manual page 212

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

Advertisement

Communication protocols
/i
01
01
..
command_code
var_type
The parameters can have the following values:
/i
Parameter
Values (hex)
command_code
01 01
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)
start_address
0 <= start_address <= number of variables - 1 <= FFFF
element_count
1 <= element_count <= number of variables - start_address
The TJ2-MC64 responds with these codes:
/i
Condition
Response code
(hex)
All elements valid
0000
Var_type invalid
1101
Start_address invalid
1103
Number of elements invalid
1104
If var_type is 82 or B0, and the response code is 0000, the TJ2-MC64
responds with:
/i
01
01
00
command_code
response_code
If var_type is C2, and the response code is 0000, the TJ2-MC64 responds
with:
PROGRAMMING MANUAL
..
..
00
..
start_address
fixed
element_count
Description
OK
No area type
Address range designation error
Address out of range
00
word_1
word_2
/i
..
01
01
command_code
Note
The returned words and dwords are in big-endian format.
Write command (0102)
The FINS write command has these formats:
If var_type is 82 or B0:
/i
01
02
..
command_
var_
code
type
If var_type is C2:
/i
01
02
C2
command_
var_
code
type
If var_type is 30:
/i
01
02
command_
var_
code
type
The parameters can have the following values:
...
/i
Parameter
command_code
00
00
response_code
dword_1
..
..
00
..
start_
fixed
total_words
address
..
..
00
..
..
start_
fixed total_ words
address
30
..
..
00
..
start_ address
bit_
total_bits
num
Values
01 02
...
..
..
..
..
..
word 1
..
..
..
..
..
..
dword 1
..
..
..
..
bit
206

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents