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 is currently offline Felipe AdrianoFriend
Messages: 11
Registered: February 2017
Location: Brazil
Junior 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: 454
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 is currently offline Felipe AdrianoFriend
Messages: 11
Registered: February 2017
Location: Brazil
Junior 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: 454
Registered: January 2014
Senior Member
As long as it works for you we are fine :-)
Previous Topic:Raspberry SPS build
Next Topic:paho mqtt on wago?
Goto Forum:
  


Current Time: Mon Feb 19 20:45:28 GMT 2018

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

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