
Configuring converters / Configuration of MasterCAN CAN2RS for data conversion from SPN into Modbus RTU registers
MasterCAN RS2CAN / CAN2RS data converters. Operation manual. Version 1.0
©
Technoton, 2020
39
3.9 Configuration of MasterCAN CAN2RS for data conversion
from SPN into Modbus RTU registers
MODBUS-CAN Gate FM
of Service S6 MasterCAN software serves to configure
the conversion into the content Modbus RTU protocol registers
MasterCAN CAN2RS
converter by means of CAN interface. Using its settings, the user can
generate up to
100
slots for conversion of data from CAN-bus.
Figure 24
—
Slot template for data conversion from SPN into Modbus RTU registers
To add a slot template for data conversion, press
button.
1)
In the left portion of each slot (before
character) there are settings of
received
from the onboard
Units of CAN j1939/S6 Telematics interface
24):
•
By pressing
button, select the required SPN which is to be converted into data
(see figure 24).
For your convenience, search the SPN by the SPN number or name entered into the
search bar of
Select SPN/PGN
will be received and confirm its selection by pressing
button.
After that, both the number, and the name of the selected SPN as well as the PGN
number (
) will be displayed in the slot.
WARNINGS:
1)
In case the data type of the selected SPN does not match the code of “Reading coil
registers (01)” function or “Reading discrete inputs (02)” function, we recommend to
select SPN only with whole numbers values (factor coefficient
—
1).
2)
While changing the selected SPN, you may need to change the initially specified
value in
Register Number
field (
).
3)
For values of SPN that are less than 8 bits long, you need to specify the function
codes
“Reading coil registers (01)” or “Reading discrete inputs (02)”; otherwise the
notification of incompatibility will be displayed.
4)
The value of the
Offset
setting for Modbus RTU registers must be within the
admissible range of SPN change, to avoid the register overfill and incorrect data
saving.
•
The field
S6 Address (SA)
) serves to specify the unique network address
of CAN j1939/S6 Telematics interface Unit or the device on the onboard CAN-bus which
generates the selected
or for which the request for reading the selected SPN is
needed. The network address may be speci
fied from 0…250 or 255 range
(by default
—
135
).
If the address 255 is specified, the data may be received from any device of CAN-bus.
Settings of selected Modbus RTU protocol registers
Settings of SPN received from CAN-bus
Button to delete all slots
Button to delete the slot
Button for
copying the
selected slot
Button to add the slot template
Field to select
the slot for
copying