page 133
Function
TDM_WRITE_INTERN
Library
TDM.LIB
Function symbol
Purpose
The function writes an internal variable to the tdm R 360.
Parameter
Function inputs
Function
outputs
Description
As opposed to the variables which are processed and
generated in the controller as target and preset values and are
automatically updated by the operating system of the units, the
internal tdm variables (e.g. clock or values saved in the tdm R
360) cannot be 'automatically' read and written.
Just like any other variable an internal variable has to be
identified to TDM_CONFIG of the application software. The
following read process is executed once by calling the function
TDM_WRITE_INTERN. The function input ENABLE can block
the execution.
HANDLE is allocated the defined number of the internal variable
from the tdm R 360. A handle number must only be allocated
once in the tdm R 360 as well as in the application software.
RESULT = TRUE shows if the handle stated when calling the
function has been found.
The programmer himself has to ensure the administration of
internal data in the controller by means of suitable software
routines. A changed internal variable is not automatically
transferred to the DISPLAY, but only when called for via
TDM_WRITE_INTERN.
Name
Data type
Description
ENABLE
BOOL
TRUE:
function is executed
FALSE: function is not executed
HANDLE
WORD
designation (number) of the internal variable
in the tdm
Name
Data type
Description
RESULT
BOOL
TRUE:
HANDLE was found (was defined)
Summary of Contents for ecomat 100 R 360 Series
Page 1: ...System manual ecomat 100 type R 360 ...
Page 14: ...page 14 ...
Page 26: ...page 26 ...
Page 86: ...page 86 ...
Page 100: ...page 100 ...
Page 126: ...page 126 ...
Page 146: ...page 146 ...
Page 162: ...page 162 ...
Page 163: ...page 163 Annex 2 Wiring Annex 2 1 Type CR0015 ...
Page 164: ...page 164 Annex 2 2 Type CR0016 ...
Page 165: ...page 165 Annex 2 3 Type CR0017 ...
Page 166: ...page 166 Annex 2 4 Type CR0501 ...