![]() The Equal instruction goes true if the source A and B values are Equal to each other NEQ. The basic comparison instructions are: EQU. These two values can be the data stored in two different word locations, or one can be the data stored in a word and the other can be a constant value. 2 of 6ģ Finally, indicate the observed state of the lamps, by circling the appropriate numbers below: Lamp 0 is On during counts: Lamp 1 is On during counts: Lamp 2 is On during counts: Lamp 3 is On during counts: Conclusions: The basic Comparison instructions compare the values stored in two memory locations. Keep doing this until you are convinced that the instructions are operating as described in the RSLogix documentation. ![]() Once the count exceeds nine or ten, reset the counter and repeat the above sequence. Toggle the state of switch SW0 (I:1/0) continuously while observing the truth of each of rungs as indicated by the lamps. Ensure that SW0 and SW1 are configured as Normally Open pushbuttons then place the PLC into the Run mode. 1 of 6Ģ Once you have completed entering your program, download your program to the PLC. Now enter the following program being careful to enter the addresses and values exactly as shown. Clear out any existing program by selecting the "New" entry in the File menu, and then select the "Clear Data Table" entry in the Simulations menu. 1 LogixPro Introduction To Word Compare Instructions The RSLogix basic Comparison Instructions From the LogixPro Simulations Menu, select the I/O Simulation.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |