PLC Siemens S7 series loading and transfer instructions

Mount (l) and transmission (t) command will store or store and Exchange data between process input and output. L directives in the source operand load accumulator , existing data into the accumulator and accumulator 2, accumulator 2 existing content is overwritten. T command writes the contents of the accumulator 1 purpose store, contents of the accumulator unchanged. L and t instruction to byte (8 bits), Word (16-bit), double word (32 bits) for manipulating data, when the data length is less than 32 bits, rightalign data in the accumulator (low), you fill the remaining 0. Basic loading and shipping instructions are as follows:


L l General mounting instructions


L l STW status word register content loaded into the accumulator 1


L LAR1 AR2 to assemble the contents of address register 2 into address register 1


LLAR1 32-bit long integer into the address register 1


L LAR1 accumulator 1 mounted to address the contents of register 1


LLAR2 32-bit long integer into the address register 2


L LAR2 the contents of the accumulator 1 loaded into address register 2


L t common transport directive


L t STW accumulator 1 content transfer to the status word register


TAR1 AR2 to transfer the contents of address register 1 to the address register 2


TAR1 aim to transfer the contents of address register 1 to unit (32-bit)


TAR2 aim to transfer the contents of address register 1 to unit (32-bit)


TAR1 will add the contents of register 1 to the accumulator 1


TAR2 will add the contents of register 1 to the accumulator 2


CAR swaps the contents of address register 1 l and add contents of register 2 Exchange

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.