ducna Posted August 1, 2023 Report Posted August 1, 2023 (edited) Hi everyone, I'm new to PLC mitsu. I'm using the PLC Q03UDVCPU for my project. When I downloaded the program, I realized that the PLC's program memory is 120kb, while my program just started is more than 200kb. I don't know if it is possible to expand the program memory with any kind of memory card? I have a 4MB SRAM but it seems that the program does not work with this type of memory card. Also, I'm looking for a more compact way to write with loops. But it doesn't work with FB function. Do you know how to handle this program segment? FB_ICM_M(ICM_M:= ICM_M_Num[1] ); For a = 1 TO 3 BY 1 DO FB_ICM_M(ICM_M:= ICM_M_Num[2] ); => FB_ICM_M(ICM_M:= ICM_M_Num[a]); FB_ICM_M(ICM_M:= ICM_M_Num[3] ); END_FOR; The program will report that the statement in the function block FB_ICM_M is not valid. Thank you very much! Edited August 1, 2023 by ducna Quote
ducna Posted August 1, 2023 Author Report Posted August 1, 2023 Sorry for there're not picture to describe. My account is not authorized. Quote
Gambit Posted August 1, 2023 Report Posted August 1, 2023 The program size in calculated in steps. you should use the check program size in the options Quote
ducna Posted August 2, 2023 Author Report Posted August 2, 2023 23 hours ago, Gambit said: The program size in calculated in steps. you should use the check program size in the options Hi, I'm using label for my program. When I download, I can see the program size. Quote
Gambit Posted August 2, 2023 Report Posted August 2, 2023 It's probably the symbolic info which is taking up space. You don't need it. and if you want it change the program memory to SD card Quote
ducna Posted August 4, 2023 Author Report Posted August 4, 2023 Hi @Gambit I don't have an SD card at the moment. I read 1 information on the forum that SD memory card does not help increase program memory. https://forums.mrplc.com/index.php?/topic/35635-main-program-of-cpu-q-series-memory/ However, I managed to solve my problem by optimizing the statement in the program. Thanks everyone for your interest in this topic. Have a good day! Quote
Gambit Posted August 4, 2023 Report Posted August 4, 2023 No ot doen't but you can store you're symbolic infomation on it. So that it is not on the program memory Quote
WattUp Posted August 4, 2023 Report Posted August 4, 2023 you can also uncheck the comments from your write dialog. Often times that will save tons of space. Quote
ducna Posted August 5, 2023 Author Report Posted August 5, 2023 Yes. I unchecked the symbolic information and it gave me more space. But you can see in the manual "Inconsistency may be occur between data on the project and the data written to the programable controller CPU". I don't know but I downloaded with uncheck symbolic option and everything is OK. I'm agree with @Gambit. We can select to save the symbolic in another memory (RAM or SD). How about you? Quote
Gambit Posted August 7, 2023 Report Posted August 7, 2023 The inconsistency has nothing to to with the program not being complete. It just means that if you donwload symbolic once and after that you only download the program it's not consistent with the symbolic info. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.