Posted 27 Aug 2012 Hello all, I'm not really a PLC guy but I am helping to maintain and debug some TSX67's in a production environment. We have a TSX67/20 with an AES811 analog input card hooked-up to some pressure transducers and machine tachs. Looking at the program I'm having trouble understanding a certain line of code. The statement is: IF NOT IW0,2,3 THEN IW0,6->W1043->W15050 ELSE IW0,6->W1080 I'm not getting the IW0,2,3 part. It seems to always be 1 or 0 but is it an AND or an OR ? The second comma is not familar to me. Anyone out there who can explain this notation? TIA, chris Share this post Link to post Share on other sites
Posted 24 Sep 2012 (edited) Hi, It's very basic but rather than a long speech a small image will be better to understand what it does. The IW0,2,3 is a bit from the IW0,2 word. On an AEM 811 card the channels are sampled one after the other using a multiplexing technique based on relays. This bit is probably used to test the active channel and then store the analog value in a word. For more information you shoud get the manual here : http://www.global-download.schneider-electric.com/85257849002EB8CB/all/D26C5C73F03A35A18525787000042567/$File/w913290350303a_k01_000_03.pdf JC Edited 24 Sep 2012 by acpi Share this post Link to post Share on other sites