![background image](http://html1.mh-extra.com/html/pixsys/td240-series/td240-series_operation-manual_1560862076.webp)
76
10.9 MOVIND indexed assignments
MOVIND (move with index offset) assigns a numerical value
(constant) or the value from another location of memory (variable
source) to the specified location of memory (destination) as offset
by an index for the source and/or destination.
This type of assignment permits various memory areas to be used
as vectors of N locations each, where the value taken from
another location is used as an “index”. It is possible to access the
values n=0, n=1, …, n=N-1 of the area.
An instruction such as MOVIND(A[B]=C[D]) copies the contents of
the memory location C[D] into the location A[B]. The index of area
C is specified by D, which can be another memory location, and
similarly B is the index of area A.
10.10 MOVTXT assignments
MOVTXT saves string characters passed as a function parameter
to a specified location in memory. This function permits the
following types of characters of the string in the memory area:
•
ONE_CHARACTER_PER_WORD: in this format, each word of
the destination area will contain a single character of the
source string.
•
TWO_CHARACTERS_PER_WORD in this format, each word
in the destination area will contain two characters of the
source string, starting with the high part. If string = “Example”
then V[0] = Ex, V[1] = am, V[2] = pl. V[3] = e.
10.11 Digital input immediate contacts II
The digital input contacts II allow the immediate reading of the
digital input state. The contact normally open is closed (ON) when
the bit value is “1” (input active). The contact normally closed is
open (ON) when the bit value is “0” (input non-active).
Summary of Contents for TD240 series
Page 1: ...Manuale operatore...
Page 2: ...2...
Page 6: ...6 3 Mechanical dimensions and installation...
Page 24: ...24 7 1 Starter Kit Connection of the terminal to the PC...
Page 27: ...27 7 2 1 Creation of a new project...
Page 89: ...89 11 Notes Updates...
Page 90: ...90...
Page 91: ...91...