Anshuman Patra
Member
I am using a Mitsubishi A1s –s1 CPU and a mdeoc v2.3 dos based s/w. In short, the application deals with 20 proximity outputs to the PLC in a sequencing operation. The sequence which decides which proximity outputs are On and which are off is selected by a mechanical arrangement. All these proximities are mounted on a rotary device .In one revolution a particular set of Ops are On and rest are OFF , in the next cycle some other Ops are On and rest all others are OFF. Total there are 5 different combination of Ops being On or Off and at the end of the 5th sequence the machine again goes back to the first sequence. There is a CAM arrangement which tells the PLC the time when it should check for the proximity ( 20 in number )sets to be ON or Off.
I have written a code to check the sequence, basically a series of NO and NC’s , Now if any Ops is missing or an extra which is not included in the sequence comes Up the m/c stops. Fine till now , next I need to display which proximity has caused the stoppage. Since I have used a series connection in the code how do I pick out the faulty one and generate an op from the PLC indicating the faulty proximity ???
Any help would be highly appreciated ….thanking you all in advance.
I have written a code to check the sequence, basically a series of NO and NC’s , Now if any Ops is missing or an extra which is not included in the sequence comes Up the m/c stops. Fine till now , next I need to display which proximity has caused the stoppage. Since I have used a series connection in the code how do I pick out the faulty one and generate an op from the PLC indicating the faulty proximity ???
Any help would be highly appreciated ….thanking you all in advance.