flatline01
2020-04-29T21:24:00Z
I am having a problem fully understanding the MOV instruction..I wrote a program once with a start and stop(the stop being the DN bit of the timer) circuit on a 15 min timer turning on one output....I did it on one rung..Another guy did it similar but used a MOV instruction....I was wanting to know how did he do it...That will help me understand the MOV instruction better.....(RSLogix500).....Thanks
Guest
2020-04-29T21:31:04Z
Without having more information on what was trying to be acomplished, it will be hard to answer this question. Generally I would not think of a mov instruction as something that would be used for turning outputs on and off. I guess it could be used that way... but why? Maybe it will help to talk about the MOV instruction. Probably the best way to get info about it is to add one into your program, put your cursor on it and press F1 for help. That will bring up the instruction help for the MOV instruction. It is a pretty simple instruction. It moves a register value from one location to another. So you could move the value in N7:0 to N7:1. If you put some logic in front of it, you can control when it moves that information. If you mov N7:0 to O:1 then you would be moving the value from the N7:0 register into an output word and could control outputs that way. Depending on which bits were set in the 16 bit N7 word, the corresponding outputs would come on. This is not an acceptable way to control your outputs in most cases.
flatline01
2020-04-29T21:37:03Z
Thanks for the reply.................... The program is for a water timer that shuts water on and off...You push input button i:0/1and it starts the 15 minute timer that is hard latched to output O:0/1..When the DN bit sets from the timer it drops out the latch to the input....Now can someone explain to me how would you use a MOV instruction in this very simple program and it still work....I have seen it done before...I just want to understand how it was done...Thanks
Similar Topics
Users browsing this topic
    RSLogix500 Introduction
    RSLogix500 Inserting Instructions
    RSLogix500 Opening a File
    RSLogix500 Creating a Project
    RSLogix500 Instruction Comments
    RSLogix500 Rung Comments Page Titles
    RSLogix500 Inserting Branches
    RSLogix500 Program Organization, Part 1 - Overview
    RSLogix500 Program Organization, Part 2 - Examples
    RSLogix500 Using Symbols
    RSLogix500 View Properties
    RSLinx
    RSLogix500 Online Offline
    RSLogix500 Dowloading and Uploading
    RSLogix500 Processor Modes
    RSLogix500 Processor and Cards
    RSLogix500 Introduction to Faults
    RSLogix500 Indirect Addressing
    RSLogix500 Indirect Addressing Faults
    RSLogix500 Handling Faults
    RSLogix500 Forcing I/O
    RSLogix500  Custom Data Monitor
    RSLogix500 I/O Configuration
    RSLogix500 Advanced Diagnostics
    RSLogix500 Instructions OTL OTU, Part 1
    RSLogix500 Instructions OTL OTU, Part 2
    RSLogix500 Instructions OTL OTU, Part 3
    RSLogix500 Instructions, OTE
    RSLogix500 Instructions, XIC XIO
    RSLogix500 Instructions, ADD
    RSLogix500 Instructions, COP
    RSLogix500 Instructions, CPT - Part 2
    RSLogix500 Instructions, CTU CTD - Part 1
    RSLogix500 Instructions, CTU CTD - Part 2
    RSLogix500 Instructions, CTU CTD - Part 3
    RSLogix500 Instructions, CPT - Part 1
    RSLogix500 - Comparison - Part1
    RSLogix500 - Comparison - Part 2
    RSLogix500 Instructions, DIV
    RSLogix500 - FIFO - FFL and FFU - Part 1
    RSLogix500 - FIFO - FFL and FFU - Part 2
    RSLogix500 Instructions, FLL
    RSLogix500 Instructions, JMP and LBL
    RSLogix500 Instructions, Masking and MEQ
    RSLogix500 Instructions, MUL
    RSLogix500 Instructions, MOV
    RSLogix500 Instructions, LIM
    RSLogix500 Instructions, NEG
    RSLogix500 Instructions, OSR
    RSLogix500 Instructions, RTO
    RSLogix500 Instructions, SQO sequencer - Part 1 of 3
    RSLogix500 Instructions, SQO sequencer - Part 2 of 3
    RSLogix500 Instructions, SQO sequencer - Part 3 of 3
    RSLogix500 Instructions, SUB
    RSLogix500 Instructions, TOF
    RSLogix500 Instructions, JSR and RET
    RSLogix500 Shift registers
    RSLogix500 Instructions, SQR
    RSLogix500 Instructions, TON - Part 1
    RSLogix500 Instructions, TON - Part 2
    RSLogix500 Instructions, TON - Part 3
    Introduction to Ladder Logic