![Mastervolt 77032600 Скачать руководство пользователя страница 7](http://html1.mh-extra.com/html/mastervolt/77032600/77032600_user-manual_1739128007.webp)
EN / MasterBus – CANopen Interface
7
4.7
EXAMPLE CANOPEN TO MASTERBUS
What we want to achieve
Image we want to control the ‘Mains fuse’ setting of
the Mass Combi Ultra via the CANopen interface via
CANopen.
How we configure it
Connect the CANopen interface following the same
procedure as in the previous example.
Again configure just 1 data field for this example.
Now select the Mass Combi Ultra in the ‘Device
indices’ group as device 1.
In the ‘Field config’ group select data field 1. We
leave most settings as default. COB-ID(hex) = 285;
Byte: 0; Device: 1; Page: Monitoring; Data type:Int
16bit signed.
For ‘Direction’ we select ‘CANopen>MB’. This is
because we want to control the Mass Combi Ultra on
the MasterBus from the CANopen.
Change the Index value to be 19 because the ‘Mains
fuse ’ has this index on the monitoring page of the
Mass Combi Ultra.
Press the ‘Save data field’ button to save the
configuration of data field 1.’
Make sure the option ‘Auto start’ is still turned on.
The result
The CANopen interface transmits out the heartbeat
message every second. No other messages are
transmitted by the CANopen interface on the
CANopen network.
To set the ‘Mains fuse’ from the CANopen network,
make sure a PDO is received by the CANopen
interface with a COB-ID of 0x285 with a data length
of 8 data bytes. Make sure the new Mains fuse
setting is present in the first two data bytes as 16 bit
signed Integer.
The monitoring page of the CANopen interface
shows the last value which is received for each data
field. This value is already divided by the scaling
factor.
To easiliy understand the required format
of the control message, set the direction to
‘CANopen<MB’. The CANopen interface
will now transmit the correct message.
NOTE: You can set two or more data fields to have
the same COB-ID and Byte if they are
CANopen>MB. This way you can control for
example the state of three Mass Combi Ultras by
just one CANopen PDO.