FINS commands Section 3-4
67
3-4-2 Write (0102)
The FINS Write command has these formats:
• If var_type is 82 or B0:
/i
• If var_type is C2 or F0:
/i
• If var_type is 30:
/i
The parameters can have the following values:
/i
The CJ1W-MCH72 responds with these codes:
/i
01 02 .. .. .. 00 .. .. .. .. .. ..
command_code var_
type
start_
address
fixed total_words word 1 ..
01 02 .. .. .. 00 .. .. .. .. .. .. ..
command_code var_type start_
address
fixed total_ dwords 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)
• F0 (VR memory in 32-bit IEEE floating-point format)
• 30 (VR memory in bit format)
start_address 0 ≤ start_address ≤ memory size − 1 ≤ FFFF
total_words 1 ≤ total_words ≤ memory size - start_address + 1
total_dwords 1 ≤ total_dwords ≤ memory size - start_address + 1
total_bits 1
bit 00 or 01
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
bit_number invalid 1103 Address range designation error
Number of elements invalid
(totals)
1104 Address out of range