![background image](http://html1.mh-extra.com/html/eaton/xc-cpu101-series/xc-cpu101-series_instruction-leaflet_4156730073.webp)
12/14 MN05003004Z-EN
55
7 Programming via CANopen network (Routing)
“Routing” is the capability to establish an Online connection from
a programming device (PC) to any desired (routing capable)
control in a CAN network, without having to directly connect the
programming device directly with the target PLC. It can instead be
connected to any other PLC in the network. All actions that are
available through a direct PC–PLC connection can also be
implemented through the routing connection:
• Program download
• Online modifications
• Program test (Debugging)
• Generation of boot projects
• Writing files in the PLC
• Reading files from the PLC
Routing has the advantage that a PLC connected to the
programming PC can access all routing capable PLCs on the CAN
bus. You can determine in the project selection which controller
you wish to communicate with. This provides an easy way of
controlling remote PLCs.
However, the data transfer rate with routing connections is
considerably slower than with direct connections (serial or TCP/IP).
This results, for example, in slower display refresh rates of
variables and longer download times.
Prerequisites
The following prerequisites must be fulfilled to use routing:
• The routing PLC and the target PLC must both support routing.
• Both PLCs must be connected via the CAN bus.
• The PLCs must both have the same active CAN baud rate.
• The valid routing node ID must be set on both PLCs.
Routing through XC200
To perform a program transfer or routing using TCP/IP through a
connection between XC200 and PC, you must first set the block
size for the transferred data. The packet size (4 KByte or
128 KByte) depends on the transfer type (program transfer or
routing) and the operating system,
Table 11: Block size for data transfer
Routing with the XC200 is possible from BTS version 1.03.02.
The setting of the block size (change of the value in the registry) is
explained as follows.
Changing the block size
X
Close all easySoft-CoDeSys applications.
X
Close the CoDeSys gateway server.
X
Change the block size to the required value.
The following *.reg files are available in the easySoft CoDeSys
installation directory to enter the block size in the registry:
Program/file transfer
Routing
OS
< V1.03.02
OS
f
V1.03.02
OS
< V1.03.02
OS
f
V1.03.02
Block size
Default:
128 kByte
128 kByte
128/4 kByte
Routing
not possible
4 kByte
h
Attention!
The program download with a block size of 4 KByte to a
PLC with an operating system version earlier than
V1.03.02 will cause faulty behaviour!
If a program download is performed, the progress bar on
the programming device monitor will only change
erratically (about every 10 seconds).
h
You can change this setting only if you have administrator
rights on your PC.
Figure 76: Closing the CoDeSys gateway server
BlockSizeDefault.reg
Enters a block size of 20000
hex
=128 Kbyte (default value) in the
Registry.
BlockSizeRout.reg
Enters a block size of 1000
hex
= 4 KByte
in the Registry.
Содержание XC-CPU101 Series
Страница 18: ...II...
Страница 22: ...12 14 MN05003004Z EN 4...
Страница 42: ...12 14 MN05003004Z EN 24...
Страница 64: ...12 14 MN05003004Z EN 46...
Страница 88: ...12 14 MN05003004Z EN 70...