General Category > Tips & Tricks

Changing Com Component

(1/2) > >>

PiasaFarmer:
I upgraded from a SLC 5/03 to SLC 5/05 witch has ethernet  ;D. I am looking for an easier way to move all communication to the new ethernet com component that doesn't involve doing every single basic label, etc., manually. Any help would be appreciated. Even if not possible.
Thanks,
Kevin

Noe:
Your 5/03 was using the serial port to communicate with AHMI? Because as far as I know there is no component to communicate through DH+.

If so, and if you were using AHMI and the SerialDF1forSLCMicroCom, then it should be just matter of change each control's com selection after setting up your Ethernet com control. If you have too many visual controls that require this change, try by selecting all those who are the same type (like all the basiclabels) and see in the propierties page if the common controls can be changed.

PiasaFarmer:
Yes, that is correct. Df1 was used before. I figured that was the easiest way. I tried to rename the Ethernet as the original com component. All controls and labels followed the name of original com component.  ::)
     Unfortunately I have picture boxes, etc I will have to un select. Otherwise com component will not show up on properties. Have some busy screens. Thanks for the reply!

Noe:
Another option is to use the find and replace on the project, to change the com component name in all controls.

dmroeder:

--- Quote from: Noe on August 18, 2021, 02:37:34 PM ---Your 5/03 was using the serial port to communicate with AHMI? Because as far as I know there is no component to communicate through DH+.

--- End quote ---

The SLC 5/03 does not have a DH+ port, only the 5/04 does.  The 5/03 has a DH485 port.

Navigation

[0] Message Index

[#] Next page

Go to full version