Q.I use Modbus (RTU) RS-485 communication with AZ Series. How can I set a negative value for "Position" in operation data No. 0?
As an example, if you want to set -1,000 for the position, -1,000 is expressed in hexadecimal as FF FF FC 18h.*
The register address for setting "Position" is indicated in the reference address +2 (upper) and reference address +3 (lower).
The reference address for operation data No. 0 is 1800h.
Therefore, the register addresses of "Position" in operation data No. 0 are 1802h (upper) and 1803h (lower).
| Description | Register Address | Value Written | When Displayed in Decimal Numbers |
|---|---|---|---|
| Position of operation data No. 0 (Upper) | 6146 (1802h) | FFFFh | -1,000 |
| Position of operation data No. 0 (Lower) | 6147 (1803h) | FC18h |
The query for setting -1,000 to the position of operation data No. 0 of the AZ Series (Address number 1) is as follows.
| Field Name | Data | Description | |
|---|---|---|---|
| Slave address | 01h | Slave address 1 | |
| Function code | 10h | Writing to multiple holding registers | |
| Data | Register address (Upper) | 18h | Register address as the starting point for writing |
| Register address (Lower) | 02h | ||
| Number of registers (Upper) | 00h | Write from the starting register address Number of registers (2 = 0002h) |
|
| Number of registers (Lower) | 02h | ||
| Number of bytes | 04h | Double the number of registers in the query | |
| Write value of register address (Upper) | FFh | Write value of register address 1802h | |
| Write value of register address (Lower) | FFh | ||
| Write value of register address +1 (Upper) | FCh | Write value of register address 1803h | |
| Write value at register address +1 (Lower) | 18h | ||
| Error check (Lower) | 99h | Calculation result of CRC-16 | |
| Error check (Upper) | 58h | ||
- *The conversion from decimal to hexadecimal should be done securely using a functional calculator.
Product Category: αSTEP, Electric Actuators
Model and Series: AZ Series, Electric Actuators AZ Series Equipped
Description: Usage and Setting Methods , Functions, Characteristics, Specifications, and Dimensions
FAQ No.: 331
Email to Technical Support
After opening the email, we will check the contents and contact you. Please note that depending on the nature of your enquiry, we may contact you by phone.