December 2001 Commands 7 – 95
7.7.10 ASSIGN BYTE (B=)
Syntax: B= (STORE BYTE)
Operands: M, I, O, T, C
Action:
Assign 8 markers from the word accumulator to inputs, outputs, timer or
counters with ascending numbering. Every bit occupies an operand. The TNC
assigns the LSB in the accumulator to the operand address specified in the
command, the specified address +1 as LSB +1 etc. The last (8th) operand is
assigned the MSB.
Example:
See example of command D=. Use command B= in the same way as D=.
However, the TNC processes 8 operands.
7.7.11 ASSIGN WORD (W=)
Syntax: W= (STORE WORD)
Operands: M, I, O, T, C
Action:
Assign 16 markers from the word accumulator to inputs, outputs, timer or
counters with ascending numbering. Every bit occupies an operand. The TNC
assigns the LSB in the accumulator to the operand address specified in the
command, the specified address +1 as LSB +1 etc. The last (16th) operand is
assigned the MSB.
Example:
See example of command D=. Use command B= in the same way as D=.
However, the TNC processes 16 operands.