Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » BOOL to ANY_BIT converstion (IEC61131-3 Bitwise Operators)
BOOL to ANY_BIT converstion (IEC61131-3 Bitwise Operators) [message #1753318] Fri, 03 February 2017 18:36 Go to next message
Felipe Adriano da Silva Gonçalves is currently offline Felipe Adriano da Silva GonçalvesFriend
Messages: 35
Registered: February 2017
Location: Brazil
Member
Someone know how to convert BOOL type to ANY_BIT. This is because I need negate a PIN using a PULL UP configuration in raspberry pi.

Thanks in Advance...

Felipe
Re: BOOL to ANY_BIT converstion (IEC61131-3 Bitwise Operators) [message #1753563 is a reply to message #1753318] Tue, 07 February 2017 17:36 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

May I ask which version of 4diac you are using? Becaus you should be able to directly connect an output of type BOOL to an input of type ANY or ANY_BIT. I just tried it with 4diac 1.8.4 and there it worked.

BR,
Alois
Re: BOOL to ANY_BIT converstion (IEC61131-3 Bitwise Operators) [message #1763624 is a reply to message #1753318] Thu, 18 May 2017 06:57 Go to previous messageGo to next message
Felipe Adriano da Silva Gonçalves is currently offline Felipe Adriano da Silva GonçalvesFriend
Messages: 35
Registered: February 2017
Location: Brazil
Member
Realy! This is not a problem to newer version of 4DIAC.
Now Im using Version: 1.8.4.

Sorry by the delay!

Thanks
Re: BOOL to ANY_BIT converstion (IEC61131-3 Bitwise Operators) [message #1763645 is a reply to message #1763624] Thu, 18 May 2017 10:36 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1585
Registered: January 2014
Senior Member

As long as it works for you we are fine :-)
Previous Topic:declaration of subroutines/functions currently not possible in ST algorithms?
Next Topic:I2C/SPI Support
Goto Forum:
  


Current Time: Wed Apr 24 22:28:31 GMT 2024

Powered by FUDForum. Page generated in 0.03125 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top