02-16-2023 07:44 AM
My Test stand running with Lab window with Automation Direct D4-450 DL405 PLC by DirectSoft 5
After i reload same Labwindow CVI same version and start : Initializing Community com port 1 opened at 38.4 K . Next : Communication failed to initilize.
How i can fix it ,maybe lose some file or something?
Thank You
02-16-2023 08:05 AM
@Don183 ha scritto:
After i reload same Labwindow CVI same version and start : Initializing Community com port 1 opened at 38.4 K . Next : Communication failed to initilize.
If by this you mean that you run the program a second time without closing the previous instance then this is the expected behavior, as the COM port cannot be opened by two processes at a time: the second process will receive an error.
Otherwise please try explaining better your problem.
02-16-2023 10:06 AM
No i just used this program after restart computer.
02-16-2023 11:43 AM
I checked : Initializing Communications. Com port 1 opened at 38.4K bps. but It's not Connected to Slave.
How i cam fix with this problem. Any idea
Thanks
02-18-2023 04:27 AM
I'm afraid I cannot give you anything more than general hints on solving serial communications problems.
Given that your program was operating correctly before you restarted your PC, something must have happened in this moment. Check that you actually have a com port in your PC, that it has the correct name and that it is working correctly.
Are you using a physical COM port on your PC or is it a virtual port given by some USB-to-serial or other device?
Do you have more than one port in the system? May them be swapped so that your device results to be connected to a port different from the one your program uses? Is the port configured in the program or does it rely on the configuration stated in the OS? In this case check that port configuration hasn't changed.
Of course, if you have the source code for this application you could go and examine which conditions result in a connection fault in order to fix them.