EasyManua.ls Logo

Moeller EC4-200 - Notes on Routing; Addressing

Moeller EC4-200
82 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming via a CANopen
network (Routing)
05/06 AWB2724-1584GB
60
Changing the block size:
X Close all applications.
X Close the CoDeSys gateway server.
X Change the block size to the required value.
Call the BlockSizeEditor.exe application in the easy Soft CoDeSys
directory of the programming software and select the block size.
Alternative option:
The following *.reg files are available in the installation directory
to enter the block size in the registry:
The download block size is defined in the following registry key:
The default block size is 20000
hex
(=128 Kbyte), the block size for
the routing is 1000
hex
(= 4 Kbyte).
Notes on routing
If large files are written to the target PLC or read from the PLC,
it is possible that the online connection will be interrupted after
the transfer process has been completed. Renewed connection
is possible.
If a program with a modified routing Node ID is loaded into the
target PLC via a routing PLC, the target PLC accepts the
modified routing Node ID; however, the communication
connection will be interrupted. Reconnection with a corrected
routing Node ID is possible.
A controller cannot be connected via a routing connection if it
contains a program without any valid routing parameters (Baud
rate/Node ID).
The routing does not depend on the configuration (master/
device): a target PLC that has not been configured as a master
or as a device can be accessed. It only has to be assigned the
basic parameters such as Node ID and baud rate, as well as a
simple program.
Addressing
Controllers on the CANopen bus can be configured a master or as
a device. The controllers are assigned a Node ID/node number
(address) so that they can be identified uniquely. The target
controller must also be assigned a (routing) Node ID if you wish to
access it by means of the routing function. The RS232 or Ethernet
interface can be used as a connection between the PC and XC200.
In the following diagram the routing controller is connected to the
PC via the RS232 interface.
Table 11: Example of a Node ID setting, baud rate
h
You can change this setting only if you have administrator
rights on your PC (access to registry)!
Figure 71: Closing CoDeSys Gateway Server
BlockSizeDefault.reg Enters a block size (default value) of
20000
hex
=128 Kbyte in the registry.
BlockSizeRout.reg Enters a block size of 1000
hex
= 4 Kbyte in
the registry.
[HKEY_LOCAL_MACHINE\SOFTWARE\3S-Smart Software Solutions
GmbH\Gateway Server\Drivers\Standard\Settings\Tcp/Ip (Level
2 Route)]
“Blocksize” = dword:00020000
Figure 72: Routing via the XC200
Figure 73: Routing via XC…, EC4-200
1) The following applies to the Node ID of the Device function and the
Node ID of the Routing function: The (Routing) Node ID must not
have the same value as the Node ID (Device)!
PLC Function Node-Id Baud
rate
a
Routing
controller
Master 1 125 KB figure 75
Target
controller
Device 3 125 KB figure 74
PC Routing controller
(Master/Device) XC200
Target controller
(Device)
(Routing Node ID n1
Node ID 1 Node ID n1
RS232 Ethernet CANopen
PC Routing controller
(Master/Device)
Target controller
(Device)
(Routing Node ID n1
Node ID 1 Node ID n1
RS232 CANopen

Table of Contents

Related product manuals