Jump to content

Samba / visilogic communication no longer works


Recommended Posts

Hello,

Since yesterday, communication between the PLC Samba and visilogic no longer works.
I tried another communication port, another PC, a USB / RS232 emulator and still no possibility to connect.
This happened when I was working on a MODBUS example.

it is always the same message (see attached files)

I do not know what to do. Could a reset of samba plc solve the problem?

Michaël

Erreur 206.jpg

Event descriotion.jpg

Link to comment
Share on other sites

Hello Mick

When working on your modbus example did you use a comport init and instead of using the powerup bit using another condition that forces the comport to a certain workmode?

Try to go to info mode by keeping your finger on th screen until the info mode screen apears. Password to aces the items in infomode is 1111.

When in infomode bring the plc in stop mode and then test if communication between visilogic and the samba is working again. In the visilogic communication menu you Will find an option to check the os from the samba. If the samba returns that info to visilogic the your communication is working again. Or you can try to watch the status of your logic online. 

 

In the helpfile from Visilogic you Will find more detailed information about info mode.

Kind regards

Henny

  • Like 1
Link to comment
Share on other sites

Hello Henny,

Thank you for the answer.

I was in the infomode, and there is no communication even in stop mode.
I also tried with a new empty program, the connection is not possible. There are always the same messages in the EVENT LOG:
- "SEND BREAK SIGNAL"
- "UNABLE TO SYNCHRONIZE - PLC COMMUNICATION PARAMETERS CAN NOT BE SET

I had never had the message before. It appeared after the use of Realterm to try the communication in Modbus.


Is there a possibility of knowing where the problem comes from? It's a problem coming from the PLC or the PC?

 

Michaël

Link to comment
Share on other sites

 

It works now!


For information, that's what I did:
- enter Info mod
- Push on  "Working mode"
- Push on "Exit to factory boot"
- the screen turn red, and at this step i send a new program from visilogic to the PLC
- Communication was done correctly

 

Thank you for your help.

 

Michaël

Link to comment
Share on other sites

Hello Mick

Good to hear that your communication problem is solved.

Strange that with only the use of realterm the communication port locks, do you remember if you made samewhere a misstake in your laddercode that would explain this lock up behaviore?

Did you also try to repower te samba to get the communication running again , mean before you entered the info mode and did the exit to factory boot?

Kind regards

Henny

Link to comment
Share on other sites

Hello Henny,

I do not remember having made a mistake in the Ladder. I just used the FB modbus as in the example.
Yes, I tried several times to repower the plc, but still the same message in the event log: "Send break signal" ect...

I'm not really sure, but I think rather a bad manipulation of Realterm (this is the first time I use it) in Modbus. 

 

Michaël

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...