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