Posted 9 May 2008 Hi! I am converting a simple S5 program to relay logic for a customer but I am not familiar with S5 programming. I'm just not exactly sure what each letter represents. I have the manual but it doesn't specifically say what each one is.... Can anyone help me? I attached a sample of what I've got. Share this post Link to post Share on other sites
Posted 9 May 2008 I = Input Q = Output F = Flage/Marker T = Timer A = AND AN = AND NOT O = OR ON = OR NOT A T1 = AND Timer T1 A I 0.0 = AND INPUT 0.0 etc hope it helps Share this post Link to post Share on other sites
Posted 9 May 2008 it does thank you very much! But what is L, and SF? Share this post Link to post Share on other sites
Posted 9 May 2008 L KT 002.2 SD T 0 Load timer T0 with the time value 2seconds and start the timer as a "delay on timer" Th S5 timers use a time base "system, it has 4 time bases as follows ???.0 = x 0.01 ???.1 = x0.1 ???.2 = x1 ???.3 = x 10 the ??? = time value so 002.2 = 2 x 1 = 2seconds KT = timer format. SD = type of timer There are 5 different timers in S5, they are as follows SP = start timer as Pulse SE = Start timer as extended pulse SD = Start timer as on delay SS = Start timer as Stored on delay SF = Start timer as off delay Share this post Link to post Share on other sites
Posted 10 May 2008 i think this would be equivalent of first one: Share this post Link to post Share on other sites
Posted 15 March hi. kindly need some help to interpret the STL program from S5 CPU 941. im only understand ladder, for stl program is still on learning process. i have attach the pdf file of the stl program. tq S5-115U_FB61 ANALOG READ.pdf Share this post Link to post Share on other sites
Posted 15 March 12 hours ago, madmad said: hi. kindly need some help to interpret the STL program from S5 CPU 941. im only understand ladder, for stl program is still on learning process. i have attach the pdf file of the stl program. tq S5-115U_FB61 ANALOG READ.pdf It would have been better to start a new topic. However here is the description of first part, hope it helps? C DB 61 Open Data Block 61 L PW 160 Load PW 160 L KF +4096 Load 4096 Into Accumulator -F Take away 4096 from PW 160 T DW 1 Transfer result to DW1 L KF +14600 Load 14600 Into accumulator memory >F and compare DW 1 for greater than 14600 = F 115.2 If it is turn on F 115.2 A F 115.2 AND F115.2 L KT 015.2 Load timer value 015.2 into T92 SD T 92 Start T92 A T 92 When timer 92 times out S F 105.3 Set F105.3 A F 105.3 And F105.3 = Q 11.2 Turn on Q11.2 L DW 1 Load DW 1 L KF +10000 Load 10000 <F If DW 1 is less than 10000 R F 105.3 Reset F105.3 So if the analog input is greater than 14600 start timer T92. If timer T92 times out SET F105.2 and turn on output Q11.2 Share this post Link to post Share on other sites