Configuration of connections
CP143
H1 / TCP/IP manual
5-28
Rev. 00/07
Indicator word
Specifies a data word on the PLC that contains the specifications for FETCH and WRITE
Operand
DB-No.
Address
Type
DB
1..255
0..2040
Data module
DX
1..255
0..2040
extended data module
MW
0..252
Flag word
Tab. 5-2: Data word for the indicator word for indirect addressing
Notes on the structure of the data modules for indirect addressing are contained in the description of
the standard handler modules provided by the Siemens manuals.
Example
Indirect addressing using the SEND module
Call to the SEND-FBs
A
DB X
; Open the data module x
SPA
FB244
; Call the SEND module
NAME :
SEND
SSNR :
KY 255,1
; 255 is the key for indirect addressing
; 1 is interpreted as a pointer to DW 1
A-NR :
KY 0,0
; irrelevant
ANZW :
MW 0
; irrelevant
:
:
Data module
DB X
DW 1
KY 0,1
DW 2
KY 0,31
DW 3
KC MW
DW 4
KY 0,200
The left byte of parameter SSNR is used as to decide between direct and indirect addressing. If the
left byte > 0 the addressing is of the indirect type.
In this case the right byte represents the pointer to the parameter field.
Содержание CP143 TCP/IP
Страница 2: ...Lerrzeichen ...
Страница 10: ...Lerrzeichen ...
Страница 16: ...Lerrzeichen ...
Страница 24: ...TCP IP protocol CP143 H1 TCP IP manual 2 8 Rev 00 07 ...
Страница 26: ...LerrzeicLerrzeichenhen ...
Страница 35: ...CP143 H1 TCP IP manual Network planning Rev 00 07 3 9 Fig 3 4 thick ethernet network hardware CP 143 H1 TCP IP ...
Страница 46: ...Standards and specifications CP143 H1 TCP IP manual 3 20 Rev 00 07 ...
Страница 48: ...Lerrzeichen ...
Страница 80: ...Lerrzeichen ...
Страница 158: ...Application in combination with TCP IP CP143 H1 TCP IP manual 5 78 Rev 00 07 ...
Страница 160: ...LerrzLerrzeicheneichen ...
Страница 194: ...Lerrzeichen ...
Страница 196: ...Technical data CP143 H1 TCP IP manual A 2 Rev 00 07 ...
Страница 202: ...List of abbreviations CP143 H1 TCP IP manual C 2 Rev 00 07 ...
Страница 206: ...List of tables CP143 H1 TCP IP manual E 2 Rev 00 07 ...
Страница 210: ...Index CP143 H1 TCP IP manual F 4 Rev 00 07 ...