Hello everyone,
I am a student majoring in Electrical Engineering, and I am currently trying to use PLECS together with an RT-BOX 1 for a hardware-in-the-loop simulation. However, I have encountered a connection problem between PLECS and the RT-BOX, and I would really appreciate any help or suggestions.
The problem is as follows:
I am trying to connect my PLECS simulation to the RT-BOX in preparation for a hardware-in-the-loop experiment. However, PLECS cannot successfully connect to the RT-BOX. I have already checked the hardware connection cables, and they appear to be working properly. The “Ready” indicator light on the RT-BOX is on, and the PLECS model has been configured and built.
However, during the build/upload process, the “Build” page often remains at “Upload to target” for a long time, and then finally shows a connection timeout message.
The software and hardware versions I am using are:
PLECS version: PLECS 5.0.3.0
RT-BOX version: RT-BOX 1
I have attached screenshots of the error message and the build/upload page for reference.
Could anyone please advise me on what might cause this issue? For example, could it be related to the RT-BOX firmware version, network settings, target configuration, license restrictions, or compatibility between PLECS 5.0.3.0 and RT-BOX 1?
This is probably a network configuration problem.
Can you ping the RT Box from your PC?
If not: Are you using static IP configuration or DHCP for the RT Box? Are you using static IP configuration or DHCP for your PC? What are the network settings for your RT Box (IP address, net mask)? What are the network settings for your PC (IP address, net mask)?
Thank you very much for your reply.I am using the Zero Configuration network setting for the RT Box.
Zeroconf without any additional network configuration may work if you connect the RT Box directly to a dedicated network interface on your PC. It is, however, not a network configuration that we support. Please make sure you either use static IP addresses or assign addresses using a DHCP server.
If you recently installed a major Windows update, make sure to re-install the mDNSInstaller.
Thank you very much for your suggestion.I configured a static IP address for my PC according to your advice. The current settings are shown in the attached screenshot,IP address: 192.168.1.221
Net mask: 255.255.255.0,Default gateway: 192.168.1.However, after applying these settings, the Ethernet connection is shown as an “Unidentified network” in Windows, and I still cannot upload the model to the RT Box from PLECS.The RT Box had been working normally for a period of time before, so I am not sure why this connection problem suddenly occurred.The specific details are shown in the screenshot.Could you please advise what I should check next?Thank you very much for your help.
You have to specify a static IP address for both your PC and the RT Box. Also, you didn’t answer my first question:
Can you ping the RT Box from your PC?
Thank you very much for your patient and helpful guidance. My problem has now been resolved.