Example - Ladder Diagram
FINS
The FINS instruction inserts the WORD value, DEV, at the index, n, in the table, TBL.
Ladder Diagram Example
Currently, the value of the data register, D10, is 8.
The value of the data register, D20, is -3,214.
![]()
When the contact, M2.5, is powered ON (1), the FINS instruction inserts the value of the data register, D20, into the data register, D13.
The value of the data register, D10, increases by one to 9.
![]()
The value of each data register, starting at D13, is shifted one data register to the right.
FINSP
The FINSP one-shot instruction inserts the WORD value, DEV, at the index, n, in the table, TBL.
Every time this instruction executes, it energizes the output only once.
Ladder Diagram Example
Currently, the value of the data register, D30, is 9.
The value of the data register, D40, is 32,323.
![]()
When the contact, M2.6, is powered ON (1), the FINSP instruction inserts the value of the data register, D40, into the data register, D35.
The value of the data register, D30, increases by one to 10.
![]()
The value of each data register, starting at D35, is shifted one data register to the right.
Since the TBL value, data register D30, is now 10, the value of the data register, D39, shifts into the data register, D40.