Write %TM50.P preset ... how to
01 Apr 2023 13:24 #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 or Create an account to join the conversation.
02 Apr 2023 03:04 #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 or Create an account to join the conversation.
02 Apr 2023 03:05 - 02 Apr 2023 03:08 #268051
by cmorley
Replied by cmorley on topic Write %TM50.P preset ... how to
Attachments:
Last edit: 02 Apr 2023 03:08 by cmorley.
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
02 Apr 2023 10:13 - 02 Apr 2023 10:25 #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
Last edit: 02 Apr 2023 10:25 by bkt.
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds