Jump to content

Logic operation: OR


Recommended Posts

Hello guys,

I was working with siemens TIA portal. Now I want migrate to unitronics. One thing is for me strange.

If i create OR function in tia portal (you can se on image) its work. M0.0 or M0.1 is set Q0.0, but in unilogic it every time reset output also if M0.0 is set to 1. Is there some trick how I can use it similar like in TIA portal.



Thanks for your answers.


Link to comment
Share on other sites

  • MVP 2023


maybe you do not know - Unitronics do not offer embedded simulator in Visilogic and Unilogic.

If you have Unistream on table - you can go online and test your code. You do not pay for software but must test program downloaded to  PLC.

If this function do not work in program downloaded to Unistream PLC - you have another rung in program with the same coil -(  )- Name or this subrouting is not called from main program.

Only one direct coil must be used in program.


In TIA you can use simulation and  run ladder without PLC. But you must pay for software licence and PLC separately.


Link to comment
Share on other sites

  • MVP 2023
4 hours ago, JozefSVK said:

M0.0 or M0.1 is set Q0.0

Also, in your first screenshot you have Q0.1, not Q0.0 as you describe, so perhaps you have some labelling incorrect in your program, which is leading to what Kratmel is referring to when he says: "you have another rung in program with the same coil -(  )-".

cheers, Aus



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.

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...