10/10 MN05003004Z-EN
Communication with the
target PLC
57
Communication with the target PLC
X
Connect the PC to the routing PLC.
X
Select the target PLC with which you want to communicate for
the project.
X
Determine the communication settings for the PC and the PLC
connected to the PC.
X
Enter the target ID (Target ID = Node ID!) of the target PLC, as
in the example, and log on.
You can run the following functions:
• Program download
• ONLINE modification
• Program test (Debugging)
• Create bootable project
• Filing source code.
Note for project creation
Assign two Node-IDs to the target PLC:
X
One ID for basic communication
X
One ID for routing
If you are using an XC100, enter the same number for both IDs.
The routing ID and the baud rate of the target PLC (XC 100) to the
routing function can be defined in the “Additional parameters”
window in the PLC Configuration. Enter the baud rate and the
node ID in the "RS232
l
CAN routing settings" field.
The CAN baud rate depends on the operating system version:
Table 13:
Baud rates for CAN connection
The ID for basis communication is defined in the “CanDevice” in
the “CAN setting” tab
ID and baud rate are transferred with the project download.
Example
In the following example which is based on Figure 81 the
procedure for access to a PLC program is explained.
You have connected the PC to the PLC with node ID “2” and want
to access the target PLC with routing ID “3”.
X
Open the project of the target PLC whose program you wish to
edit or test.
X
First configure the parameters for the hardware connection PC
n
PLC (Node ID 2).
X
From the Online menu select Communication Parameters…
X
Click the New button under “local” channels.
The “New Channel” window appears.
X
Select the channel in the “Device” window:
Serial [RS232] [Level 2 Route] or TCP/IP [Level 2 Route].
X
You can assign a new name in the Name field, e.g.
"Rout_232".
X
Confirm with OK and return to the original window.
Operating System Version
Baud rates
< V. 2.0
f
V 2.0
10000
j
j
20000
j
j
50000
j
j
100000
j
j
125000
j
j
250000
j
j
500000
–
j
800000
–
j
1000000
–
j
h
To guarantee a fast data transfer, the routing should be
performed only with a CAN baud rate of at least
125 KBit/s.
Figure 80: CAN device parameters
Figure 81: Diagnostics possibilities
a
XC100 with Node ID 1
b
XC200 with node ID 2, routing ID 127
c
PLC (e.g . XC100) with node ID 3 and routing ID 3
a
b
c
CAN
Summary of Contents for XC200 Series
Page 4: ...II ...
Page 8: ...10 10 MN05003004Z EN 4 ...
Page 28: ...10 10 MN05003004Z EN 24 ...
Page 50: ...10 10 MN05003004Z EN 46 ...
Page 74: ...10 10 MN05003004Z EN 70 ...