Siemens PLC ATT instruction

ATT  instruction: to the table (TBL) to add a word (DATA)

Explanation:

(1) DATA for the data input terminal, whose operands: VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, AC, constants, * VD, * LD, * AC; data type : integer.

(2) TBL is the first address of the table, whose operands: VW, IW, QW, MW, SW, SMW, LW, T, C, * VD,, * LD * AC; data type: word.

(3) instruction is executed, the new data entered on the back of the last data in the table, the value of EC automatically incremented.

(4) Error conditions that set ENO = 0: The 0006 (indirect address), 0091 (operand out of range), SM1.4 (table overflow), SM4.3 (run-time).

(5) the impact of special instruction sheet flag: SM1.4 (fill in the data table exceeds the maximum length of the table, SM1.4 = 1)

Leave a comment

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