Veganic Posted October 27, 2012 Report Posted October 27, 2012 Has anyone else tried to use the "Advanced" program example for the FX3 dedicated inverter library? The function block seems to work ok. The sample program doesn't. It compiles and downloads ok but gives a "Ladder Error" I have screen grabs of the offending code. ------------------------------------------------------------------------------ The general question is how can a program which compiles ok give ladder errors when downloaded? The specific question is what is wrong with this sample program/my use of it? Quote
Veganic Posted October 28, 2012 Author Report Posted October 28, 2012 Do you mean no problem compiling or no problem compiling and downloading to a plc? The problems start when it is downloaded. Thanks. Quote
KAZAH Posted October 28, 2012 Report Posted October 28, 2012 (edited) So.The project in the controller Edited October 28, 2012 by KAZAH Quote
Veganic Posted October 28, 2012 Author Report Posted October 28, 2012 This is what I get.... If I upload load with GX developer I get lots of yellow errors. If I delete two networks from the original program I can get it to "work". Quote
kaare_t Posted October 28, 2012 Report Posted October 28, 2012 1. What prog software type and version 2. What CPU type and version? Quote
Veganic Posted October 28, 2012 Author Report Posted October 28, 2012 1. GX Works 2 1.87R 2. FX3G 1.41 Quote
kaare_t Posted October 28, 2012 Report Posted October 28, 2012 Do you have any other program than just the inverter prog? I've encountered this error in the past and this was caused by too many "AND" instructions (the instructions without _E inputs). In essence the "AND" does not have an LD instruction in front, and too many of these can cause the error in question. If you have any other programs/POUs or similar try removing them and then download just for a test. If not, try browsing to the specified error step and take a screenshot. Quote
Veganic Posted October 28, 2012 Author Report Posted October 28, 2012 I tried just using the sample program alone. I'll have to go back to the start and record all stages. Thanks for you help so far. The general question still remains, why will the software compile and download cdoe that leads straight to a ladder error. Quote
kaare_t Posted October 28, 2012 Report Posted October 28, 2012 No idea..... Sounds like a compiler bug to me since it would be no problem checking the number of instructions vs the number of LDs... Been since like GX IEC... Quote
Veganic Posted October 29, 2012 Author Report Posted October 29, 2012 I'm guessing that I compiled the program for FX3U and downloaded to a FX3G! FX3G cannot index bits (M100Z0), FX3U can. Quote
kaare_t Posted October 29, 2012 Report Posted October 29, 2012 Really, didn't know 3G couldn't index bits!! 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.