03/05 AWB2724-1453G
58
Example
In the following example which is based on figure 80, the proce-
dure 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 node ID “3”.
X Open the project of the target PLC (node ID 3) whose program
you wish to edit or test.
X First of configure the parameters for the hardware connection
PC n PLC (Node ID 2).
X From the Online menu select Communication Parame-
ters....
X Click the New button under “local” channels.
The New Channel dialog appears.
X Select the channel in the “Device” window.
XC200: Serial [RS232] [Level 2 Route] Tcp or
Ip [Level 2 Route].
X In the Name field you can assign a new name, e.g.
“Rout_232”.
X Confirm with OK and return to the original window.
You have now determined the parameters for the hardware
connection between the PC and the PLC (node ID 2).
X Call up the communications parameters in the “Online” menu
once again and select the control which you want to program/
test.
X Enter the number 3 as the target ID in the example. The target
ID is identical to the node ID!
Click in the field on the “Value” column on the right beside the
target ID term to enter the target ID. Enter the figure 3 and
confirm with OK.
X Log on and carry out the action.
PLC combinations for routing
The following PLC support routing:
Number of communication channels
Several communication channels can be opened, e.g. PC n PLC
2, PC n PLC 3 in dependence on the PLC (communication
channel) which is connected to the PC. The status display of
control 2 and 3 can be implemented simultaneously.
Table 13: Type and number of communication channels depending on
the PLC
Figure 80: Diagnostics possibilities
a XC200 with Node ID 1
b XC200 with node ID 2
c XC200 with Node ID 3
Figure 81: Channel parameter setting
a bc
CANopen
XI/ON
From P XC100 XC200 HPT100 XN-PLC-CANopen
To O
XC100 x x x x
XC200
x x x x
HPT100 – x x –
XN-PLC-
CANopen
x x x –
Communications
channel
PLC Max. channel
count
TCP/IP Level2Route XC200 5
Serial RS 232 Level2Route
XC100/XC200 1