Example Of Writing And Reading - Salicru CV50-008-4F User Manual

Cv50 series
Table of Contents

Advertisement

Code
Name
error
Written not
07H
allowed.
The parameter
can not be
08H
changed
during running
Password
09H
protection
The slave uses functional code fields and fault addresses to indicate it is a normal response or some error
occurs (named as objection response). For normal responses, the slave shows corresponding function codes,
digital address or sub-function codes as the response. For objection responses, the slave returns a code
which equals the normal code, but the first byte is logic 1.
For example: when the master sends a message to the slave, requiring it to read a group of address data of
the inverter function codes, there will be following function codes:
0 0 0 0 0 0 1 1 (Hex 03H)
For normal responses, the slave responds the same codes, while for objection responses, it will return:
1 0 0 0 0 0 1 1 (Hex 83H)
Besides the function codes modification for the objection fault, the slave will respond a byte of abnormal code
which defines the error reason.
When the master receives the response for the objection, in a typical processing, it will send the message
again or modify the corresponding order.
For example, set the "running command channel" of the inverter (P00.01, parameter address is 0001H) with
the address of 01H to 03, the command is as following:
But the setting range of "running command channel" is 0~2, if it is set to 3, because the number is beyond the
range, the inverter will return fault response message as below:
Abnormal response code 86H means the abnormal response to writing command 06H; the fault code is 04H.
In the table above, its name is operation failed and its meaning is that the parameter setting in parameter
writing is invalid. For example, the function input terminal can not be set repeatedly.

9.6 Example of writing and reading

Refer to 10.4.1 and 10.4.2 for the command format.
9.6.1 Example of reading command 03H
Read the state word 1 of the inverter with the address of 01H (refer to table 1). From the table 1, the parameter
address of the state word 1 of the inverter is 2100H.
Communication Protocol
is incorrect or the counting of CRC check bit in RTU is different from the lower
monitor.
It only happen in write command, the reason maybe:
1. The written data exceeds the parameter range.
2. The parameter should not be modified now.
3. The terminal has already been used.
The modified parameter in the writing of the upper monitor can not be modified
during running.
When the upper monitor is writing or reading and the user password is set
without password unlocking, it will report that the system is locked.
Meaning
121 - 144

Advertisement

Table of Contents
loading

Table of Contents