S: source data D: destination channel C (BCD): control data
C content meaning
Bit00 ~ bit07 Specifies the bit number in S
Bit08 ~ bit15 specifies the bit number in D

Instruction function
When the execution condition is ON, S is transferred to D according to the contents of C.

Example of using MOVB instruction
Analyze the function of the program, write the statement table

Program function
At the beginning of the PLC power, the contents of the HR0000 will be sent to 20015.
Example: The content of HR00 is 1000 1000 1000 0101
After executing the instruction – 20015 is ON (1)

Leave a Reply