Omron TJ1-MC04 - PROGRAMMING 1 Programming Manual page 157

Hide thumbs Also See for TJ1-MC04 - PROGRAMMING 1:
Table of Contents

Advertisement

Communication protocols
Parameter
Values (hex)
element_count
1 <= element_count <= number of variables - start_address
The TJ1-MC__ 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 TJ1-MC__
responds with:
/i
01
01
00
command_code
response_code
If var_type is C2, and the response code is 0000, the TJ1-MC__ responds
with:
/i
01
01
00
command_code
response_code
Note
The returned words and dwords are in big-endian format.
Write command
The FINS write command has these formats:
PROGRAMMING MANUAL
Description
OK
No area type
Address range designation error
Address out of range
00
word_1
word_2
00
dword_1
...
If var_type is 82 or B0:
/i
01
02
..
command_c
var_
ode
type
If var_type is C2:
/i
01
02
C2
command_c
var_t
ode
ype
If var_type is 30:
/i
01
02
command_
var_
code
type
...
The parameters can have the following values:
/i
Parameter
command_code
var_type
start_address
total_words
total_bits
bit
The TJ1-MC__ responds with these codes:
..
..
00
..
start_
fixed
total_words
address
..
..
00
..
..
start_
fixed total_ words
address
30
..
..
00
..
start_ address
bit_
total_bits
num
Values
01 02
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)
30 (VR memory in bit format)
0 <= start_address <= number of variables - 1 <= FFFF
1 <= total_words <= memory size - start_address + 1
1
00 or 01
..
..
..
..
..
word 1
..
..
..
..
..
..
dword 1
..
..
..
..
bit
157

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-mc16 - programming 1Tj1-mc04 1

Table of Contents