I am trying to put some delay timers for fault messages in some of our programs but some of the faults are in FB so they are written STL already. here is wat i wrote in ladder converted to STl and want to do the Same in the blocks but do i pick the in/out for my timer and do i select 5S timer or just timer
A bit 0
A bit 1
A T20
= coil1
L S5t#5s
Sd T20
I have tried this but it will not take the contact for the timer.
A #BIT0
A #BIT1
A #TMR1
= #COIL1
L S5T#3S
L #TMR1
If I change the A tmr1 to L tmr1 it will take it but cant afford for it to be wrong when i download it in so how do i do this?
A bit 0
A bit 1
A T20
= coil1
L S5t#5s
Sd T20
I have tried this but it will not take the contact for the timer.
A #BIT0
A #BIT1
A #TMR1
= #COIL1
L S5T#3S
L #TMR1
If I change the A tmr1 to L tmr1 it will take it but cant afford for it to be wrong when i download it in so how do i do this?