Assign Byte; Assign Word; Assign Doubleword - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

3.1.8 ASSIGN BYTE (B=)
Abbreviation for the PLC-Editor:
Execution time [µs]
Number of bytes
Operands: M, I, O, T, C
Operation:
With the command B=, 8 bits are copied from the Word Accumulator to Markers, Inputs, Outputs,
Timers or Counters with ascending numbering. Each bit corresponds to 1 operand. The LSB in the
Accumulator is copied to the designated operand address, the LSB + 1 to the designated address +
1 and so on. The last affected operand is occupied by the MSB.
3.1.9 ASSIGN WORD (W=)
Abbreviation for the PLC-Editor:
Execution time [µs]
Number of bytes
Operands: M, I, O, T, C
Operation:
With the command W=, 16 bits are copied from the Word Accumulator to Markers, Inputs,
Outputs, Timers or Counters with ascending numbering. Each bit corresponds to 1 operand. The
LSB in the Accumulator is copied to the designated operand address, the LSB + 1 to the designated
address + 1 and so on. The last affected operand is occupied by the MSB.
3.1.10 ASSIGN DOUBLEWORD (D=)
Abbreviation for the PLC-Editor:
Execution time [µs]
Number of bytes
Operands: M, I, O, T, C
Operation:
With the command D=, 32 bits are copied from the Word Accumulator to Markers, Inputs, Outputs,
Timers or Counters with ascending numbering. Each bit corresponds to 1 operand. The LSB in the
Accumulator is copied to the designated operand address, the LSB + 1 to the designated address +
1 and so on. The last affected operand is occupied by the MSB.
Example:
A bit pattern, as defined in Word W8 , is to be assigned to Outputs O5 to O20.
Initial state:
01.98
TNC 407/TNC 415/TNC 425
B= (ASSIGN BYTE)
8.7 to 11.7
14
W= (ASSIGN WORD)
16.7 to 22.7
14
D= (ASSIGN DOUBLE)
32.7 to 44.7
14
Word W8: 36 FF
(hex)
3 Commands
7-45

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents