9/18/2017 4:27 PM | |
Joined: 7/5/2017 Last visit: 8/22/2025 Posts: 13 Rating:
|
Can you post a screenshot of what it looks like after the migration? What line does not work? |
9/18/2017 8:27 PM | |
Posts: 86 Rating:
|
Please find attached screen shot for how it looks in TIA portal. |
9/18/2017 8:28 PM | |
Posts: 86 Rating:
|
|
9/18/2017 8:29 PM | |
Posts: 86 Rating:
|
|
9/18/2017 8:33 PM | ||
Posts: 86 Rating:
|
I don't have idea explicit input variable, please can you send any example backup or can you briefly explain in details. Do you have manual for indirect addressing for CPU-1500?
|
|
9/19/2017 9:10 AM | |
Joined: 9/23/2005 Last visit: 9/24/2025 Posts: 5121 Rating:
|
Move your rlo var from temp to input area and aassign this input with RLO when calling the function. |
Regards, |
|
9/19/2017 11:30 AM | |
Posts: 86 Rating:
|
Thanks for your support. I have one more problem. In simatic manager 5.5 below logic is working(It is also working for CPU300 in TIA portal). But same instruction is not working for CPU-1500. Below is the logic A #rt_data.EN A #input A( CALL "'D' type timer operation" %FC1 timer_number :=#on_filter_timer_number ) = #rt_data.ONTIMERDONE Here FC1 is called in brackets with AND operation. It is working for CPU-300 but it is not working for CPU-1500. It is giving error that "The RLO is not initiated. Access is invalid." Please let me know any solution for this. And in CPU300 I can switch from one language to other like STL to Ladder or FBD and also from Ladder or FBD to STL. But in CPU-1500 I am not able to switch language from STL to FBD or ladder and also from FBD or ladder to STL. Any other settings are there in CPU-1500 for language switching. |
9/19/2017 12:38 PM | |
Joined: 6/24/2013 Last visit: 9/18/2025 Posts: 1696 Rating:
|
//----FC ITSELF L P#DBX 0.0 L #timer_number SLW 4 OD LAR1 OPN "tmr" A I_Timer_Input = DBX [AR1,P#0.6] A DBX [AR1,P#0.7] SAVE //----FC CALL You need to pass the RLO inside the FC via an input:A #rt_data.EN A #input = BTmp A BTmp A( CALL "'D' type timer operation" %FC1 I_Timer_Input:=Btmp timer_number :=#on_filter_timer_number ) = #rt_data.ONTIMERDONE note: BTmp is a bool Temp Variable. note: add Timer_Input to the INPUTS section of your FC |
Follow us on