FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
10-16-2024 03:15 PM
I am working on a function test, which use a X3 through the service channel to change some parameters of Indradrive that the cyclic channel isn’t able to, through the Codesys Profinet for a customer. I used CtrlX work 1.20.11 and Profinet Controller 4.3.1.0 with PLC App 1.20.7. after having the profinet controller added I could scan the bus and found the Indradrive and added into the project. However when login and run an empty project the bus showed red and a message of “Controller’s IP address is already used by another device” showed in the status of the profinet controller. I tried to change the IP address of the drive and it didn’t work. Also changed the version of Codesys Profinet and the version of CtrlX works and apps. I always got the same error message. Cycled the power it still didn’t work. I checked the forum and none had the exact issue. It should be a simple process, but it ended up more complicated. Can someone help me on that?
Thanks,
Solved! Go to Solution.
10-17-2024 08:54 AM
So what are the IP settings of your ctrlX CORE, ctrlX EtherCat master and PROFINET controller?
a month ago
Thank you for the replay. I don't know why I didn't get an update on the topic. I found it out just when i login again to check if there is any feedback. anyway here are the IP addresses.
the profinet IP address in the PLC is 0.0.0.0
the core XF10: 192.168.1.1 and subnet mark is 255.255.255.0
the core XF50 is not connected to any Ethercat devices and show tap0 disabled
when the core XF51 is set: DHCP
after adding a profinet controller in the PLC project it showed an error
when set the IP address of XF51 to 192.168.0.1 and submask to 255.255.255.0
it showed an error
when changed the profitnet IP address of the Indradrive to 192.168.0.2
the drive can be scanned and added to the project, but after downloading an empty project the profinet showed an error
the IP address is used by another device. if changed the IP address of drive to another one it got the same error again.
let me know if you need more information.
4 weeks ago
Are there any other applications running on your ctrlX OS occupying the IP address 192.168.0.1? Like data bases or other apps using TCP based communication.
Is the drive directly connected to the ctrlX CORE or are there switches connecting other devices?
Is the needed license added to use the PROFINET controller?
Did you check the available how tos already?
3 weeks ago
Hi,
maybe the following steps help to solve your problem.
1. Please download the current PROFINET controller package from our collaboration room. Currently version 4.5.2.0 is provided there.
2. Configure the IP address and subnet mask of the network adapter on ctrlX CORE (This is a X7, but that should not be relevant) via the network settings. Please note that the ip ranges must not overlap with other network adapters! Otherwise ip telegrams can be misdirected.
3. Select the configured network adapter on the Ethernet node in the PLC Devices tree via the Browse button
4. Download the configuration and scan the bus to assign ip addresses and names to the connected PROFINET devices.
Now the PROFINET controller should work as expected.
2 weeks ago
THank both of you for the support. after getting a help from a colleage here I found out what I did miss.
here is what need to do:
after having the profinet scanned there still showed an error
what need to do is selecting the scanned devide then click on the function button Auto-IP below. then it works. I did click the Auto-IP button without selecting the scanned device or another way around, and that was why I didn't get it work. now I know what steps I did miss. after getting it worked we have another issue.
what we want to do is changing a parameter with a subindex number in a drive through the service channel, like P-0-2845.0.1, P-0-2845.0.2...
however from a document we got how to setup the service channel of profinet it mentioned that
index structure:
Bits 13-15 Fixed identifier
Bit 12: 0 Standard data (S-x-xxxx)
Bit 12: 1 Product data (P-x-xxxx)
Bits 11–0 Data block number from 0 to 4095
how can we convert 2845.0.1 into a range of 0-4095? or is there another way to change the parameter like P-0-2845.0.1, P-0-2845.0.2 through the service channel on profinet? let me know if you need more information.
Thank you for your support!
Thursday
@Jesse Did you already check the official documentation of CODESYS?
Thursday
Gabiel got it tested out and found out what need to do for this type of applications. thank you for your support.