manmeetvirdi
Member
Hi there
Well am using HSC 1769 counter and software is RSLogix5000 while PLC is L43.
My issue is that Iam unable to preset it to predefined values.
I have two events, one when limit switch is hit I want to preset it to 1000 counts and another one when PLC is switched ON the counter should be preset to value it had during last power OFF.
So am mainly transferring the values to Local:5:C.Ctr1Preset using MOVE command and then setting the bit Local:5:O.Ctr1SoftPreset for some time. But the counter is not getting preset to the desired value !!
Is this a right method? or there is some other method to do so.
Local:5:C.Ctr1Preset is a DINT and Iam moving DINT variable to this place. Also manual says that you can preset the counter even if counter is enabled.
Do shed some light over here !
Regards
Manmeet
Well am using HSC 1769 counter and software is RSLogix5000 while PLC is L43.
My issue is that Iam unable to preset it to predefined values.
I have two events, one when limit switch is hit I want to preset it to 1000 counts and another one when PLC is switched ON the counter should be preset to value it had during last power OFF.
So am mainly transferring the values to Local:5:C.Ctr1Preset using MOVE command and then setting the bit Local:5:O.Ctr1SoftPreset for some time. But the counter is not getting preset to the desired value !!
Is this a right method? or there is some other method to do so.
Local:5:C.Ctr1Preset is a DINT and Iam moving DINT variable to this place. Also manual says that you can preset the counter even if counter is enabled.
Do shed some light over here !
Regards
Manmeet