Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

AD CLICK BITWISE OPERATIONS

Status
Not open for further replies.

John2025

Industrial
Joined
Sep 12, 2007
Messages
321
Location
PR
Hi All,
I'm new to the AD Click PLC. I'm using their software to program in ladder logic. I want to have a byte that I modify in code (using their math functions) and then output the bits as individual coils, but I can't find a way to access individual bits in a byte. Does anyone know if there's an easy way to do this or do I have to write my own subroutines using the bit datatype? I suspect this is going to be one those "DOH!!" moments.
TIA,
John
 
Automation Direct responded impressively quickly with the answer: Copy Pack and Copy Unpack do the trick.
I've heard good things about AD's tech support, and now I can attest to it.
John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top