AXL SE AI 4-20 I trouble getting a reading

I am getting no reading from my AI 4-20 module. :frowning: All errors are gone, but my four D LED’s from my BPSE4 are blinking green which from what I gather is invalid data but I can see my DI’s change and I can output to my DO’s but when I connect a sensor or simulate a 4-20ma signal with my meter I am getting no reading in the debug under the value. I have assigned a real type of value to the input. ANY input would be valuable. Thanks in advance!

Please check that the I/O modules are inserted into to the base module in the correct order - it sounds like the DI and DO are OK, but perhaps the order of the AI and AO are swapped, compared to the order they’re listed in PLCnext Engineer? Secondly, putting the 16-bit value from the analog input channel into a 32-bit REAL variable will probably not be the most convenient way to handle this data, and might be causing this problem. You should probably put the value into a WORD first, and then - if necessary - scale this WORD value into a REAL value based on the upper and lower Engineering Units values. Finally - the screen shot you attached does not show the live analog input value, so I assume you are seeing the zero value for this variable in some other window.

Also - on the off chance that the analog input channel you are trying has been damaged somehow, please also try another channel.

Okay so I tried the Word, and to no avail. I also swapped the entire SE Card with another one, I am having the same issue with different controllers / bases and cards. I know I have to be doing something wrong, but if the card is in the wrong slot, the LED’s turn red… if I disconnect my signal, the card LED’s show error. I have resolved the following: • The card is in the correct position • There is a current flow of 4ma and 6ma on a separate channel • The inputs are good • I have tried both Real and Word Types to place to • Im losing my mind. lol

Can you please try wiring one or more channels from the AO card, to channel(s) on the AI card, and then try setting the AO value(s) in PLCnext Engineer? The 4-20mA signal should definitely be transferred from the AO channel to the AI channel. Can you also please try disconnecting the “NewVariable” variable from the ~AI64 input in the Data List? (just to avoid any possible complications). If that doesn’t work, can you please post a sketch or photo of the analog channel wiring?

Thank you for your time Martin. The problem that I accidentally found was that I didnt have a variable assigned to the DO card and it was for some reason, negating all analog signals. I could see the DI pick up but it wasnt until I assigned a variable to the DO card that the LED’s stopped flashing and the cards began to read. I was able to recreate the scenario by deleting the variables assigned to any card and as long as at least one card did not have a variable, the analog cards would not work. Kinda quirky but I wasted a whole day and a half because of it. :frowning:

Glad you finally got it working, but that is unusual behaviour that I wouldn’t expect to see. I will get this investigated, to see if there is a problem in the firmware that needs to be fixed.