Write Parameter Area - Omron KM50 Communications Manual

Smart power monitor
Table of Contents

Advertisement

Section 2 CompoWay/F Communications Protocol

■ Write Parameter Area

This service writes to the parameter area.
Execute this service after changing to a Setting Mode.
• Service Request PDU
MRC
SRC
Parameter type
0
2
0
2
2
2
(Numbers below the frame are the number of bytes.)
• Service Response PDU
MRC
SRC
0
2
0
2
2
2
(1) Parameter Type and Write Start Address
For details on parameter types and write start addresses, refer to SECTION 3 CompoWay/F
Communications Data.
(2) Number of Elements
Specify the number of parameters to write.
No. of elements
8000
8001 to 800A
* Setting range for the number of elements (8001 to 800A): Always set the MSB of the
number of elements to 1.
(3) Response Code
• Normal Completion
Response code
0000
• Error Completion
Response code
1002
1101
1103
1100
2203
2-12
Write start
address
4
4
Response
code
4
The write operation is not performed (i.e., write data is not appended to the
service request PDU), and processing ends in a normal completion.
Up to 10 elements (0A hex) is written, and processing ends in a normal
completion.
Name
Normal completion
Error name
Command too short
Area type error
Start address out-of-range
error
Parameter error
Operation error
No. of
Write data (for the number of
elements
elements)
4
8 × n ( n: 0 to 10)
Processing
Description
No errors were detected.
Cause
The command is too short.
The area type (variable or parameter) is
wrong.
The write start address is out of range.
The write data is out of range.
The service cannot be executed
because the Power Monitor is not in a
Setting Mode.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents