Programming:via a CANopen
network (Routing)
10/10 MN05003003Z-EN
70
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, 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 is independent of the configuration (master/slave):
a target PLC that has not been configured as a master or as a
slave can be accessed. It must only receive the basic parameters
such as Node ID and baud rate, as well as a simple program.
Setting the node ID/routing ID
PLCs on the CAN-Bus can be configured as a master or as a slave.
The PLCs are assigned with a Node ID/node number (address) in
order to uniquely identify them (with the basis communication).
The target controller must also be assigned a (routing) ID if you
wish to access it by means of the routing function. The RS232 or
the Ethernet interface can be used as connection between the PC
and EC4-200.
Table 17: Example for setting the Node ID, routing ID, Baud rate
h
You can change this setting only if you have administrator
rights on your PC.
Figure 83: Closing the 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 84: Routing via ID1
(XC…, EC4-200 or MFD4)
a
Ethernet connection possible with XC200, MFD4 and EC4-222
PLC
Function
Node-ID
Routing-ID
Baud
rate
a
figure
Routing
controller
Master
1 (Basic)
127 (Routing)
125 KB
Target
controller
Device
3 (Basic)
125 KB
54 (Routing)
h
The following applies to device stations: The Routing-ID
must not be equal to the Node-ID (Basic communication)!
The exception is the XC100 with operating system f V2.0:
the Routing-ID must be equal to the Node-ID!
PC
Routing station
(Master)
Target station
(Device)
Node-ID: 1
Routing ID: k
Routing-ID n
Node-ID m
k, n, m = 2…127
RS232
Ethernet
a
CAN/CANopen
Summary of Contents for easyControl EC4-200
Page 4: ...II...
Page 10: ...10 10 MN05003003Z EN 6...
Page 14: ...10 10 MN05003003Z EN 10...
Page 22: ...10 10 MN05003003Z EN 18...
Page 38: ...10 10 MN05003003Z EN 34...
Page 62: ...10 10 MN05003003Z EN 58...
Page 78: ...10 10 MN05003003Z EN 74...
Page 96: ...10 10 MN05003003Z EN 92...