5/30/2012 12:27 PM | |
Posts: 18 Rating:
|
thanks for the reply. I hv created a timer in(refer FC-45 from the zip file),which ll serve my purpose. But i m facing a issue here. this FC(FC-45) do not works,if it is used muliple rungs. PLz chk the attachment and guide. Adios AttachmentUser_def_tmr.zip (242 Downloads) |
5/30/2012 2:31 PM | |
Joined: 1/28/2009 Last visit: 9/15/2025 Posts: 6875 Rating:
|
Dear chin_ceptual, I have chenged the following items in your codes. 1-Wrong addressing,you used edge memories again as output of function. 2-I have defined an input parameter "takt" and put the pulses (M9.0) as the input of function. 3-I enabled ENO for your function. Check the result and update here. Best regards, Hamid Hosseini AttachmentUser_def.zip (213 Downloads) |
This contribution was helpful to
1 thankful Users |
5/30/2012 3:30 PM | |
Posts: 18 Rating:
|
hi! Thanks a lot!!! issue resolved.when this Timer (FC) is used seldomly Now i am using this timer (FC) in a Function Block-21. When i am calling this FB in OB1.This Timer (FC) logic do not works. Attached please find the program. Please help i m stucked very badly
AttachmentDigital_ALARM2.zip (209 Downloads) |
5/31/2012 6:30 AM | |
Posts: 18 Rating:
|
hello, Here ALARM,ALARM_ACK,ENABLE OUT are bool out.Hence you can assign any other variable FB 21 works in following way When ALARM_ENABLE_IN & IN (Bool) both are High. Timer start with a preset value as set from MIN_DELAY_PRE(DINT) After timer is done & both ALARM_ENABLE_IN & IN are on ALARM(Bool) will be high. When OPER_ACK_ALL is high,then timer is resetted & ALARM(Bool) is OFF We are suppose to use this FB at multple locations. This FB do not works if used more than once. PLs help
AttachmentDigital_ALARM2.zip (199 Downloads) |
5/31/2012 11:48 AM | |
Joined: 1/28/2009 Last visit: 9/15/2025 Posts: 6875 Rating:
|
Hello chin_ceptual, Check this solution,your logic changed a bit. It is working in parallel as many times as you like independently. Best regards, Hamid Hosseini AttachmentDigita_1.zip (203 Downloads) |
Follow us on