110 likes | 280 Views
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
E N D
MOV Copies from source (address) to destination (address) Executes every scan while rung is true Source value remains the same data conversion
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)
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
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)
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
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