Communication protocols
PROGRAMMING MANUAL 157
Revision 3.0
The TJ1-MC__ responds with these codes:
/i
If var_type is 82 or B0, and the response code is 0000, the TJ1-MC__
responds with:
/i
If var_type is C2, and the response code is 0000, the TJ1-MC__ responds
with:
/i
Write command
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
The TJ1-MC__ responds with these codes:
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.
Parameter Values (hex)
01 02 .. .. .. 00 .. .. .. .. .. ..
command_c
ode
var_
type
start_
address
fixed total_words word 1 ..
01 02 C2 .. .. 00 .. .. .. .. .. .. ..
command_c
ode
var_t
ype
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
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)
• 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
I52E-EN-03.book Seite 157 Freitag, 29. Juni 2007 11:55 11