82
Modbus RTU control (RS-485 communication)
11.6 Data setting method
11.6.1 Overview of setting method
There are two methods to set data via Modbus communication.
The communication specications of Modbus allows reading/writing from/to successive addresses when multiple data
pieces are handled.
Input method Description
Direct reference
•
Data is set by specifying the address.
•
If the data consists of successive addresses, multiple data pieces can be handled with one query.
Indirect reference
•
Indirect reference is a method in which data is stored in addresses exclusive for sending (indirect reference
addresses) and set.
•
Even if addresses of the data to be set are not successive, multiple data can be handled with one query because
the indirect reference addresses are successive.
(It is required to set an item to be set in the indirect reference address parameter.)
11.6.2 Direct reference
Direct reference is a method in which data is set by specifying addresses. Multiple successive addresses can be sent with
one query. However, if addresses to be set are not successive, queries as many as the number of addresses should be
sent.
11.6.3 Indirect reference
Indirect reference is a function in which an arbitrary command can be assigned to the indirect reference address.
(The number of commands that can be set is 32 pieces (0 to 31).)
If addresses to be set are not successive, the number of queries to be sent can be decreased by using indirect reference.
Indirect reference address 2
Upper: 4868 (1304h)
Lower: 4869 (1305h)
Indirect reference address 1
Upper: 4866 (1302h)
Lower: 4867 (1303h)
Indirect reference area 2
Upper: 4932 (1344h)
Lower: 4933 (1345h)
Indirect reference area 1
Upper: 4930 (1342h)
Lower: 4931 (1343h)
One query send is enough because
the addresses are successive
Indirect reference address 0
Upper: 4864 (1300h)
Lower: 4865 (1301h)
Address of No.0
rotation speed
Data of No.0
rotation speed
Address of No.1
acceleration time
Data of No.1
acceleration time
Address of No.2
torque limiting value
Data of No.2
torque limiting value
Indirect reference area 0
Upper: 4928 (1340h)
Lower: 4929 (1341h)