7-49
Note TheCRC-16checkcodeis used for communicationswiththe3G3MV. Selectthe
CRC-16 check code and set the initial value to 65535.
Select Reverse for the conversion method. Then select BIN.
Length (l)
Set the length of the data.
Note All communications with the 3G3MV are performed in byte units. Select 1 Byte
and BIN. Select No for reading data because there is no data to be read.
Address (a)
Set the addresses of the Slaves.
Note Inthisexample,theSlaveaddressesaresetin S+2,S+ 5,andS+8.Therefore,
retrieve the data from those locations.
The address is set in the LSB of each word. To read the byte, select Variable
(Reverse), otherwise the data is read from the LSB. Then click on Execute
Address with the left button of the mouse.
SelectReadR()andsetData/Addresstotheoperand(3N+2)usingthenumber
(N) of times to repeat the step.
SetDataSizeto1byteasadefault.Ifthedefaultvaluehasbeenchanged,setitto
0N + 1.
Data
Set the DSR message in details.
·DSRMessage Requesting thatthe RUNCommand andFrequency Referencebe
Written
TheDSRmessagetowritedatatotworegistersfromregister0001Hex(theRUNcom-
mand) consists of the following items.
CRC-16 check (Set with <c>)
Set with variables
Next register data
Start register data
Number of bytes of attached data (set with <l>)
Number of write data registers: 2
Write start register number (RUN command: 0001)
Function code (Write 10)
Slave address (Set with <a>)
Set data: <a> + [10] + [00] + [01] + [00] + [02] + <I> + (R (3N + 3), 4) + <c>
<a>
The Slave address is setintheaddress box. Insert theaddress withthe Insert icon.
Communications Chapter 7