Jump to content

Recommended Posts

Posted

Hi!

I need to do a logical "AND" to two output types of "MI" type. 

(the outputs are of the Set/Reset type)

Apparently, this is an invalid type for use with logical functions'.

Is there a way to compare these two outputs in an "AND" function?

Thanks!   

Posted

What exactly would you like to do with Inputs/Outputs? Mask/Unmask?

There are operations Test bit/Set bit/Reset bit.

If this is not fit your needs - you can write simple subroutine for this.

 

Posted

My error!   I have type MB ( a "set" coil  = 1 or 0)

I need to convert to MI type so I can use this value  with the logic function blocks type "AND"

I don't see how I make these assignments to the function block.

Thanks!

 

Posted
On 2/26/2023 at 5:15 AM, AlexUT said:

What exactly would you like to do with Inputs/Outputs? Mask/Unmask?

There are operations Test bit/Set bit/Reset bit.

If this is not fit your needs - you can write simple subroutine for this.

 

It would be easy to better explain with my code clip and a pic of my HMI, but im out of my file allotment currently.

when does this file upload allotment  reset anyway?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.