- Posts: 1111
- Thank you received: 0
Write %TM50.P preset ... how to
3 years 6 months ago #268018
by bkt
Write %TM50.P preset ... how to was created by bkt
Hi,
I try with no succes to write preset of timer .... ex. %TM50.P using a %IW2 vars .... but seems not possible using assignement and I not see the way in the hal file (simply is not possible to see that var).
THere are some way to write %TM50.P from hal file or not?
Need to use timedelay istead?
regards
bkt
I try with no succes to write preset of timer .... ex. %TM50.P using a %IW2 vars .... but seems not possible using assignement and I not see the way in the hal file (simply is not possible to see that var).
THere are some way to write %TM50.P from hal file or not?
Need to use timedelay istead?
regards
bkt
Please Log in to join the conversation.
3 years 6 months ago #268050
by cmorley
Replied by cmorley on topic Write %TM50.P preset ... how to
You can use a S32 HAL pin to set the timer.
You have to add an assignment object to classicladder:
%TM0.P=%IW0
You have to add an assignment object to classicladder:
%TM0.P=%IW0
Please Log in to join the conversation.
3 years 6 months ago #268051
by cmorley
Replied by cmorley on topic Write %TM50.P preset ... how to
Like so:
Attachment not found
Please Log in to join the conversation.
3 years 6 months ago #268060
by bkt
Replied by bkt on topic Write %TM50.P preset ... how to
I make the same prevously and noe for test ... with no result .... but now I try using "setp float_to_s32.in 20" inside hal file as test .... previously we use a pin with hal var that share value to float_to_s32.in ...... so problem become from my hal var not rom classic ladder ... thanks
regards
regards
Please Log in to join the conversation.
Time to create page: 0.096 seconds
