Modbus Communication
12-3
AC10 Inverter
12.5.3 Protocol Converter
It is easy to turn a RTU command into an ASCII command followed by the lists:
1. Use the LRC replacing the CRC.
2. Transform each byte in RTU command into a corresponding two byte ASCII. For
example: transform 0x03 into 0x30, 0x33 (ASCII code for 0 and ASCII code for 3).
3. Add a ‘colon’ ( : ) character (ASCII 3A hex) at the beginning of the message.
4. End with a ‘carriage return – line feed’ (CRLF) pair (ASCII 0D and 0A hex).
So we will introduce RTU Mode in followed part. If you use ASCII mode, you can use the up lists
to convert.
12.6 Command Type & Format
The listing below shows the function codes.
Code
Name
Description
03
Read Holding Registers
Read the binary contents of holding registers in the
slave.
(Less than 10 registers once time )
06
Preset Single Register
Preset a value into holding register
12.6.1 Address and meaning
The part introduces inverter running, inverter status and related parameters setting.
Description of rules of function codes parameters address:
i) Use the function code as parameter address
General Series:
High-order byte: 01~0A (hexadecimal)
Low-order byte: 00~50 (max range) (hexadecimal) Function code range of each partition
is not the same. For the specific range refer to manual.
For example: parameter address of F114 is 010E (hexadecimal).
parameter address of F201 is 0201 (hexadecimal).
Note: in this situation, it allows to read six function codes and write only one function
code.
Some function codes can only be checked but cannot be modified; some function codes
can neither be checked nor be modified; some function codes cannot be modified in run
state; some function codes cannot be modified both in stop and run state.
In case parameters of all function codes are changed, the effective range, unit and
related instructions refer to user manual for related series of inverters. Otherwise,
unexpected results may occur.
ii)
Use different parameters as parameter address
(The above address and parameters descriptions are in hexadecimal format, for example,
the decimal digit 4096 is represented by hexadecimal 1000).
TC-Hydraulik - R
ü
sdorfer Str. 8 - 25746 Heide - Lars Lornsen - T: +49 481 909 - 34 - [email protected] - www.tc-hydraulik.de