Buttons not working in Factory IO but can be accessed in PLCSIM

Hello everyone, im using Factory IO 2.5.8 Ultimate edition and Tia Portal v16 to try and simulate a simple convoyer system, my issue is that when i launch the simulation following all the online guides, the buttons in the simulation do not respond, even though i can access their addresses in PLCSIM, here is my following setup please let me know if i should provide any more screenshots since i can only send one.

Hello @yacine.selmoune

Welcome to the forum!
Could you share more details? You mention that you followed online guides, did you follow our tutorials?
When you say that the buttons on the simulation don’t respond, you mean when, on the scene, you try to push the button? Have you tried forcing the values on TIAPortal to check if the signal reaches Factory I/O?
If you could share a screenshot of TIAPortal it might help finding the cause.

hello, sorry for the late reply but yes i have indeed followed your tutorials aswell as anything remotly close to my issue in the forum, and forcing values in tia portal wont work when the scene is running i could only force the values from PLCSIM, can you please tell me which panel of tia portal should i screenshot ?

Hi!
Thank you for the details. From what you described, everything seems well-configured, and it should work.
Could you share your project, please? I want to try opening it on my side to see if I can replicate the issue. If you don’t want to share it here in the public forum, you can send it by email to: support [at] realgames.pt

Hello, thanks for the reply
This is the project I’m running, a very simple one, i have no experience sharing projects so I’m not sure if it will work. I look forward to your feedback on this issue.

(Attachment FirstSys.ap16 is missing)

Hello, thanks for the reply
This is the project I’m running, a very simple one, i have no experience sharing projects so I’m not sure if it will work. I look forward to your feedback on this issue.

(attachments)

FirstSys.zip (773 KB)

Thank you for sharing the project. I’ll take a look at it and get back to you as soon as I can!

I took a look at your project, and the buttons’ addresses in TIAPortal were offset by 1. The addresses in the first images you shared were correct; they must be the same in both TIAPortal and Factory I/O.

Once I changed the addresses, I tested it again, and I noticed that the signals from Factory I/O were reaching TIAPortal.

Based on what you shared previously, I used a Stop Button, which is normally closed, for the BtnA tag. The issue seems to be the normally closed contact that you assigned to the tag BtnA in TIAPortal. For the program to work you’d need to actuate the two buttons at once. The problem is that in Factory I/O, you can’t do that unless you force the tags.

I changed the normally closed contact to a normally open one, and it worked all right.

This was the only issue I found with your project; everything else looks ok to me.

I hope this helps!

The offset was the result of my last minute tinkering but the solution was really with the state of the buttons in Factory IO thank you so much !

Yes, I assumed it had been something like that, but I wanted to be as clear as possible. :slightly_smiling_face: