1 / 11

MOV

MOV. Copies from source (address) to destination (address) Executes every scan while rung is true Source value remains the same data conversion. Continuous / conversion Example. Cop. Copy source file into destination file File is denoted by “#” symbol

xander-bray
Télécharger la présentation

MOV

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. MOV Copies from source (address) to destination (address) Executes every scan while rung is true Source value remains the same data conversion

  2. Continuous / conversionExample

  3. Cop Copy source file into destination file File is denoted by “#” symbol Length number of the elements to overwrite Executes every scan while rung is true Overflow lost, no data conversion (ex. Floating 32 bit into an integer 16 bit)

  4. Differences between MOV & COP

  5. Example

  6. MVM Copies from the source to the destination, filter by the mask  Executes every scan while rung is true Does no conversion source /destination must be same type Mask hex value (16 bits) 1 move data 0 to leave data unaltered Used to copy I/O binary integer values

  7. EXAMPLE N7:0(Source) N7:1(Mask) N7:2(Destination) 1st scan B3:0/0=0 -1(1111111111111111) -21846(1010101010101010) 0(00000000000000) 2nd scan B3:0/0=1 -1(1111111111111111) -21846(1010101010101010) 21845(10101010101010)

  8. JMP/LBL Jmp force scanner to go to selected area of ladder logic Use an input instruction to control JMP Can have multiple jmp to a single label Do not JMP into MCR Q:nx (Identifier) N= file number X= label number

  9. Example

  10. MCR Sets a zone where non retentive outputs are disabled One MCR to Start zone and one to End the zone When input condition is true all rung scanned under normal conditions When input condition is false non-retentive output are disable Retentive output – timer, counter, output latch Not a substitute for a hardwired master control relay

  11. Examples

More Related