TT_ZX Posted July 27, 2011 Report Share Posted July 27, 2011 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 More sharing options...
MVP 2023 Joe Tauser Posted July 28, 2011 MVP 2023 Report Share Posted July 28, 2011 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 More sharing options...
TT_ZX Posted July 28, 2011 Author Report Share Posted July 28, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now