Jump to content

Can't connect via USB after setting up modem on Com1


Recommended Posts

I have set up a Enfora modem on Com port 1 on the PLC and now I cant connect via the USB port. I get the following message:

***http://imageshack.us/photo/my-images/220/comerror.png***

I am using Com 2 for Modbus so can't use this for the modem. I thought that connecting to the USB port would disable Com 1 and this would be OK.

Can some please offer advice on how I can use Com 1 and USB but not at the same time. It would be OK if I could enable or disable the modem via an operand.

Link to comment
Share on other sites

  • MVP 2023

You'll have to put some code in to not init the COM port and disable other logic that references it and then cycle power if you want to use USB. The USB port is a built-in USB->serial converter using COM1. The easiest thing to do is pony up for an Ethernet port and do your programming through that.

Joe T.

Link to comment
Share on other sites

Thanks Joe, that all makes sense. I think I'll go with both options. I'll buy the Ethernet module for development purposes and have a disable button somewhere and reboot the PLC if I need local access when the project is complete.

Cheers,

Justin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.