TITAN-SVX Software Manual
page 19
Rev 4.01
Example 2:
Command from Master to TITAN-SVX for Coil Set for Servo On
Address
01
(slave address 1)
Function
05
(function 5 – Coil Force)
Data
00
(High Byte - Coil Address)
68
(Low Bye - Coil Address 104)
FF
(High Byte - Data)
00
(Low Byte - Data)
CRC
0D
(CRC-Low)
E6
(CRC-High)
Reply from TITAN-SVX to Master
Address
01
(slave address 1)
Function
05
(function 5 – Coil Force)
Data
00
(High Byte - Coil Address)
68
(Low Bye - Coil Address 104)
FF
(High Byte - Data)
00
(Low Byte - Data)
CRC
0D
(CRC-Low)
E6
(CRC-Low)
4.3. Using 32-bit TITAN variables with 16-bit MODBUS registers
MODBUS registers are 16-bit registers. TITAN-SVX variables are 32-bit
variables. In order to read and write 32-bit TITAN variables, two 16 bit MODBUS
registers are used. TITAN 32 bit variable is broken down into four 8 bit bytes.
Byte
Bits
Byte4
31-24
Byte3
23-16
Byte2
15-8
Byte1
7-0
Table 4.5
For MODBUS function 3 (read multiple registers) and 16 (write multiple
registers), the order of the Bytes that are appended command will be BYTE4,
BYTE3, BYTE2, BYTE1.