Sign in to follow this  
Followers 0
Bobodopalus

inv002_refresh scanlist

5 posts in this topic

Hi all

Can someone please clear the scanlist value up for me which is part of the INV002 function block

the documentation says that whatever nodes you have assigned are what bits you need enabled in the scan list

they give the example of node 1 and node 14 being used from this they get a scan list of #4002, where does this number come from?

https://docplayer.net/59460263-_inv002_refresh_v31-bool-dword.html

for my next job i will be using 3 inverters and am not sure what my scanlist should be

Edited by Bobodopalus

Share this post


Link to post
Share on other sites

Hex #4002 - each digit is 4 bits.  So, Hex 4002 means 0100 0000 0000 0010 (which would be bit 2 and 14 on).

Share this post


Link to post
Share on other sites

i think i get it now that is actually bit 2 and 15 right? so do they ignore the first bit for the node value?

so if i want node 1,2 and 3 active i would need 1110 which would be #E right?

Share this post


Link to post
Share on other sites

The bit numbers start with 0 (bit 0 is far right, least significant).  It is bit 1 and 14 that are on. 

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0