Determining the IP address
For all subsequent work with the industrial PC and the system, the IP address of the system is required. Using the IP address, remote access via SSH, the Beckhoff Device Manager (web interface) or working with TwinCAT is possible, for example.
Determine IP address with monitor
There are several ways to determine the IP address to access the device via the network. If you have connected a local monitor, you can log in with the user "Administrator" and the password "1".
Enter the command ifconfig
in the console to output all available Ethernet interfaces in the system:
Administrator@CX-3D6912:~ $ ifconfig
igb0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4a024a9<RXCSUM,VLAN_MTU,JUMBO_MTU,VLAN_HWCSUM,LRO,WOL_MAGIC,RXCSUM_IPV6,NOMAP>
ether 00:01:05:3d:69:12
inet6 fe80::78ff:f9f9:ef31:454d%igb0 prefixlen 64 scopeid 0x1
inet 169.254.228.5 netmask 0xffff0000 broadcast 169.254.255.255
media: Ethernet autoselect
status: no carrier
nd6 options=1<PERFORMNUD>
igb1: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4a024a9<RXCSUM,VLAN_MTU,JUMBO_MTU,VLAN_HWCSUM,LRO,WOL_MAGIC,RXCSUM_IPV6,NOMAP>
ether 00:01:05:3d:69:13
inet6 fe80::d2c1:31fd:a18e:e1c3%igb1 prefixlen 64 scopeid 0x2
inet 172.17.40.26 netmask 0xfffffc00 broadcast 172.17.43.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
nd6 options=1<PERFORMNUD>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Administrator@CX-3D6912:~ $
By default, the Ethernet interfaces are configured to receive an IP address from a local DHCP server. In this sample, this is the IP address: 172.17.40.26
which was assigned for the interface igb1
via which the industrial PC was connected to the network.
Determine IP address without monitor
Use the Broadcast Search function under TwinCAT if no monitor is connected to determine the IP address of a TwinCAT/BSD target system.
If you have multiple controllers, you can identify them by name or operating system. Note that under TwinCAT/BSD only Secure-ADS is enabled by default. A detailed description of how to use the Broadcast Search function and how to search for a TwinCAT/BSD target system can be found at: Searching for target systems.
If you have a direct connection to your laptop without DHCP, the TwinCAT/BSD device assigns itself an auto-IP address from the range 169.254, and the last two bytes are then derived from the last two bytes of the MAC address (169.254.{MAC5}.{MAC6}) printed on the name plate.