Move (output instruction)

BTD instruction

Copies a run of bits from one place in a register to another.

BTD(number, a, sbit, dbit, len)

Arguments

NameWhat it isAcceptsDefault
destinationWhat the instruction acts ona registerrequired
aSourcea number or a tag0
sbitSource bita whole number0
dbitDest bita whole number0
lenLengtha whole number1

Arguments are positional and this table is generated from the simulator's own instruction registry, so it always matches what the engine accepts.

Related instructions

All ladder logic instructions