Sign in to follow this  
Followers 0
Rob N.

1769-HSC Updated Low and High Limits not changing outputs

3 posts in this topic

I have a project I have put together that has a CompactLogix L30ER Processor and two of its I/O cards are the 1769-HSC modules. I have these working, but I am trying to change the On and Off Values (Low and High Values) of the outputs from PLC Code. I can change these with tags HSC1_CONFIG.Range0To11[0].LowLimit and HSC1_CONFIG.Range0To11[0].HighLimit where (HSC1_CONFIG) is pointed to the CONFIG of Slot 1 in the Rack (Local:1:C). I need to be able to change these value on grade change, but what my code seems to do is change the numbers displayed on the card, but the card is not using the new numbers until I either change something on the card settings and click Apply or re-power up the rack. Is there something else I need to trigger to make these values that are updating actually be used by the HSC Card. I have tried setting the .Ctr0En, Ctr1En bits to 0 when doing this, and also .RangeEN to 0, but that still does not help. Any Ideas???

Share this post


Link to post
Share on other sites

Generally any change to the Configuration at runtime requires:

Write the new value to the Configuration area

Suspend counting (.CTRxEN =0)

Send a 'Module Reconfig' message to the module

Wait for the message to complete

Re-enable counting (.CTRxEN = 1)

(I don't have the code available to me so I can't send it to you)

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