page 129
11.1. Data exchange and variable definition
Function
TDM_CONFIG
Library
TDM.LIB
Function symbol
Purpose
The function serves to define those data objects (variables)
during initialisation which are to be shown in the tdm R 360.
Parameter
Function inputs
Function
outputs
Description
TDM_CONFIG is only called once during the initialisation
routine of the application software. The execution can then be
blocked via the function call ENABLE.
The input ADDRESS must be allocated the physical address of
the variable. Determine the hardware address with the address
operator ADR. The result has to be transferred to ADDRESS.
LEN sets the number of bytes to be transferred from the
address (e.g. 2 = 2 bytes (WORD), 4 = 4 bytes (DWORD).
Depending on the preset value in the library TDM_x.LIB only 50
values can be defined.
HANDLE is allocated the set variable number from the tdm R
360. HANDLE is the tdm address of the variable. A handle
number must only be allocated once in the tdm as well as in the
application software.
Name
Data type
Description
ENABLE
BOOL
TRUE:
function is executed
FALSE: function is not executed
ADDRESS DINT
variable address
LEN
BYTE
number of bytes to be transferred
HANDLE
WORD
designation (number) of the variable in the
tdm
Name
Data type
Description
RESULT
BOOL
TRUE:
function call was successful
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 ...