Program Transfer via Ethernet

TwinCAT offers a facility for transferring the user program to the BC9000 over Ethernet. The BC9000 can be selected as the target system in PLC Control, after saving in the registry and restarting the TwinCAT system. The TwinCAT-level TwinCAT PLC is necessary.

Initializing the BC9000

The coupler must first be made known to the system before it can be selected in PLC Control. There are two ways of doing this. The method you choose to use depends on your needs.

1. You only use TwinCAT PLC for programming.

Click with the left mouse button on the TwinCAT icon in the bottom right corner of the screen.

Program Transfer via Ethernet 1:
The menu behind the TwinCAT icon

Select the properties menu item.

Program Transfer via Ethernet 2:
TwinCAT system properties

Under the AMS Router menu item, enter the BC9000 as a remote computer. Click Add to do this.

Program Transfer via Ethernet 3:
Add remote connection

Enter the name, which you can choose freely. The AMS Net ID is the IP address with an additional ".1.1". This is the IP address set for the Bus Coupler. Confirm with OK. After entering the desired Bus Coupler, you must start the TwinCAT system (the TwinCAT icon is green). The Ethernet coupler is now known to the system, and can be selected in the PLC Control.

2. You use TwinCAT for cyclic data transport

Program Transfer via Ethernet 4:
TwinCAT System Manager

Start the System Manager, and enter your configuration there. In contrast to the first method, this configuration is written to the coupler when TwinCAT is started (e.g. Bus Terminal mapping, PLC cycle time, number of retain data etc.). Other settings made with the KS2000 configuration software are overwritten.

PLC Control

When TwinCAT PLC Control is restarted, TwinCAT asks for the target platform, i.e. the device on which the user program is later to run. TwinCAT offers two target platforms as controller, the PC or the Bus Terminal Controller.

Two options are available to you for transmission to the Bus Terminal Controller:

Program Transfer via Ethernet 5:
Selection of the target platform

After your program has been created, select the target system under the Online toolbar. TwinCAT must be running to do this. In the sample, this is the Ethernet card with Box 1 and the Run-Time 1 of the Bus Terminal Controller.

Program Transfer via Ethernet 6:
Choose Target System