Posted 19 May 2022 Hi guys. I found error on PLC and from PLC diagnostic I found this Operation Error 4100 as per attach picture. FYI, there is no SD card mount onto this PLC. I wonder what is ATA card. This error wont affect the operation. Any advise on what to check? This ladder is pop up when I clicked, error jump. Thanks. Share this post Link to post Share on other sites
Posted 19 May 2022 An ATA card is a type of CF card which could be used with the first series of Q series CPU's. Now SD cards are used. The error should only occur when File read or File write command is used. Isn't this instruction below the screencapture you send? 1 person likes this Share this post Link to post Share on other sites
Posted 19 May 2022 (edited) 53 minutes ago, Gambit said: An ATA card is a type of CF card which could be used with the first series of Q series CPU's. Now SD cards are used. The error should only occur when File read or File write command is used. Isn't this instruction below the screencapture you send? Hi Gambit, Thanks for you reply. What do you mean by File read/write? Is it the same as normal read/write like "MOV D1 D2" or is it read/write to/from ATA card? Sorry I am not familiar with this instruction. Btw, why there is error when read/write command is used? Thanks. Edited 19 May 2022 by d4rkm4n Share this post Link to post Share on other sites
Posted 19 May 2022 It's a command for reading values from a csv file from a CF flash ATA or SD card. You only get the error if there is no SD card. The instructions are FREAD & FWRITE (sp.fread sp.fwrite). But if these instructions are not used in the program it is strange you are getting this error. Share this post Link to post Share on other sites
Posted 27 May 2022 On 5/19/2022 at 4:24 PM, Gambit said: It's a command for reading values from a csv file from a CF flash ATA or SD card. You only get the error if there is no SD card. The instructions are FREAD & FWRITE (sp.fread sp.fwrite). But if these instructions are not used in the program it is strange you are getting this error. I believe there is no SD card attached. Any advise on what should I check? Some background, 1. There are around 7 PLC connected together through MelsecNET. 2. All PLC indicate this error. ERR LED lit up but not affecting sequence. 3. LED ERR will turn off after reset and come back on later, maybe after the instruction trigger. Share this post Link to post Share on other sites
Posted 12 March Sorry for bumping old thread. I still looking for solution. Share this post Link to post Share on other sites
Posted 13 March 4100 is a generic operation error... in your case it has nothing to do with a memory card or a network... Look at the FIRST line of the error message... THE INSTRUCTION CANNOT PROCESS THE CONTAINED DATA. When it gives you a program name and step number, it's a program error. The instruction it is highlighting is having an error with the input data... so what is put in via K4X460 does not work in the DBIN instruction... check the status of your inputs starting at X460 and see what it is trying to do. And look at the help for DBIN to see what about it can cause the 4100 error. 2 people like this Share this post Link to post Share on other sites
Posted 19 March (edited) On 3/13/2024 at 4:04 AM, Crossbow said: 4100 is a generic operation error... in your case it has nothing to do with a memory card or a network... Look at the FIRST line of the error message... THE INSTRUCTION CANNOT PROCESS THE CONTAINED DATA. When it gives you a program name and step number, it's a program error. The instruction it is highlighting is having an error with the input data... so what is put in via K4X460 does not work in the DBIN instruction... check the status of your inputs starting at X460 and see what it is trying to do. And look at the help for DBIN to see what about it can cause the 4100 error. Thanks for your input. I have checked the program and the input is coming from BCD signal from weigher. I found no abnormality on the weigher side. I also found as attached in the manual: The error will coming "When values other than 0 to 9 are specified to any digits of (S)", what will causing this? The input 10 will always give numeric right? Btw, also mentioned, error can be suppressed by turning ON SM722, if I turn ON the SM722, will the instruction still works? EDIT: Just checked, if abnormal inputs from BCD, the (S) will in minus (-). But as per picture, current (S) value is 0. Edited 19 March by d4rkm4n Share this post Link to post Share on other sites
Posted 19 March It is more than likely that you get noise on those signal lines when they change, which briefly, occasionally, yield an invalid combination. You will need to disable the error and use a timer to debounce the value. 1 person likes this Share this post Link to post Share on other sites
Posted 20 March 12 hours ago, pturmel said: It is more than likely that you get noise on those signal lines when they change, which briefly, occasionally, yield an invalid combination. You will need to disable the error and use a timer to debounce the value. I will try to disable the error once the process is stopp, btw, how do I permanently ON SM722? Is it back to OFF if I power cycle or restart the PLC. What do you think is the best way to debounce BCD value for weigher? I am afraid they are using the value to stop some sequence, I have not fully study the program yet due the writing looks so complex. =\ Share this post Link to post Share on other sites
Posted 20 March 1 hour ago, d4rkm4n said: best way I don't have any specific recommendation for Mitsubishis. In general, I would use a couple extra registers to hold valid conversions and look for repeat valid values before passing to a "final" value register. That might be enough to not need a timer. 1 person likes this Share this post Link to post Share on other sites
Posted 21 March Not sure what you meant by 'the 10 input'. But that's 2 digits. BCD is 0-9 only. So each group of 4 inputs MUST make a valid number 0-9. K5X460 means 5 digits, X460-463, X464-467, X468-X46B, X46C-X46F, and X470-473 0001 through 1001 If for example your inputs are 1010, that's 10, that's not legal for a single digit of BCD. Make sure the data on those 2 inputs makes 5 valid BCD values. 1 person likes this Share this post Link to post Share on other sites