
33
ENGLISH
7.6.2 Writing to inverter's function codes
Use nv11 nviWriteParamCode, nv12 nviWriteParamVal, and nv34 nvoAccessErrCode. This section summarizes
the writing procedure.
(1) Enter the inverter's target function code into nv11 nviWriteParamCode. The data entry format is the same
as that of the readout on the previous page.
(2) Enter data to be written into the target function code, into nv12 nviWriteParamVal. This starts the writing
process of the function code data to the inverter. The data entry format is the same as that of the readout
on the previous page.
For details about the data format of individual function codes, refer to the RS-485 Communication
User's Manual (MEH448), Chapter 5, Section 5.2 "Data Formats."
(3) nv34 nvoAccessErrCode outputs the result of the writing process, then the writing process terminates. The
format of nv34 nvoAccessErrCode is shown below.
1 byte
1 byte
1 byte
Error code
Function code
group of error
detection target
Function code
number of the error
detection target
LonMaker represents this NV data in the format: "Error code (decimal), Function code group
(decimal), Function code number (decimal)."
Function code groups are the same as those in the readout process. See Table 7-9.
Table 7-10 Error Codes
Error code
Description
00h (0)
Normal
01h (1)
Link priority error
02h (2)
Attempted to write data to a non-existing function code
03h (3)
Attempted to write data to a write-protected function code
06h (6)
Attempted to write data to a function code not allowed to change during running
07h (7)
Attempted to write data to a function code not allowed to change when the terminal input is alive.
08h (8)
Out of data entry range
09h (9)
Attempted to write data to a password-protected function code
0Fh (15)
Function code write error
If a writing process for a function code is interrupted by another writing request, error code 0Fh
(Function code write error) is immediately issued to nv34 nvoAccessErrCode as a response to the
interrupting request, then the response to the interrupted process will be issued.
Example: Writing 9.5 s to the inverter's function code H13 (Restart Mode after Momentary Power Failure, Restart time)
1)nv11 nviWriteParaCode: Enter 80Dh to this NV.
Function code group = H (08h), Function code number = 13 (0Dh)
2)nv12 nviWriteParamVal: Enter 95 to this NV.
(95 means 9.5 seconds because of the format with 0.1 s resolution)
3) nv34 nvoAccessErrCode: The written result is returned to this NV as the following strings.
- For normal writing:
0, 8, 13 (0: Error code, H: Function code group, 13: Function code number)
- For out of range writing: 8, 8, 13(8: Error code, H: Function code group, 13: Function code number)
Содержание LONWORKS OPC-LNW
Страница 3: ......
Страница 4: ......
Страница 9: ...5 4 10 LED P N DC 25V 4 1 1 2 2 2 CN1 4 2 4 1 4 1 CN1 4 1 4 2 3 5 4...
Страница 10: ...6 CN1 4 1 FRENIC HVAC A port 4 2 FRENIC HVAC A port 4 2 2 4 2...
Страница 13: ...9 5 3 LONWORKS LONWORKS FRENIC HVAC 7 5kW FRENIC HVAC 22kW 5 4...
Страница 41: ...ENGLISH English Version...
Страница 42: ......
Страница 81: ...MEMO...
Страница 82: ...MEMO...