Jump to content

Gediminas

Members
  • Posts

    3
  • Joined

  • Last visited

Gediminas's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Thanks Joe I will check that. It is not actual project, I just copied initialization from main to new project.
  2. Is it OK to switch between Modbus TCP and communication with VisiLogic on the same Socket. Code how I do it in attached project. I tested it and it worked, but then after a day I had a problem that communication with barcode readers was not working. Basically what I do when I change between Modbus TCP/VisiLogisc, I run all communication initialization - TCP/IP CARD INIT, SOCKET INIT, Modbus IP CONFIG. What I have found out that when I change from Modbus to VisiLogic, while Socket reinitializes to another port ( I use 20256 for VisiLogic and 20257 for Modbus), protocol stays Modbus (I can see this in info view). So when changing to VisiLogic i do PLC restart with SB300 and then initilalization. Any comments on that ? Have you done something similar ? 2x_Modbus.vlp
×
×
  • Create New...