Programming Example for Standard Function Blocks
9.4 Example “Point–to–Point Communication”
PtP coupling and configuration of CP 340
152
Manual, 04/2011, A5E00369892-03
Symbol
Input/output Flag
Comment
Q 5.6
M 9.6
"0"
Q 5.7
M 9.7
"0"
Input/Output parameters for FB 2 and FB 3
The table below shows how the input/output parameters of FB 2 and FB 3 are mapped to bit
memories.
Symbol
Address
Data format
Comment
SEND_DONE
M 26.0
BOOL
SEND: DONE parameter
SEND_ERROR
M 26.1
BOOL
SEND: ERROR parameter
SEND_BIE
M 26.2
BOOL
SEND: Binary result
RCV_NDR
M 29.0
BOOL
RCV: NDR parameter
RCV_ERROR
M 29.1
BOOL
RCV: ERROR parameter
RCV_BIE
M 29.2
BOOL
RCV: Binary result
BGADR
MW 21
INT
Logical base address
SEND_STATUS
MW 27
WORD
SEND: STATUS parameter
RCV_STATUS
MW 30
WORD
RCV: STATUS parameter
SEND_DBNO
MW 40
INT
SEND: DB_NO parameter
SEND_DWNO
MW 42
INT
SEND: DBB_NO parameter
SEND_LEN
MW 44
INT
SEND: LEN parameter
RCV_DBNO
MW 50
INT
RCV: DB_NO parameter
RCV_DWNO
MW 52
INT
RCV: DBB_NO parameter
RCV_LEN
MW 54
INT
RCV: LEN parameter
Содержание SIMATIC CP 340
Страница 6: ...Preface PtP coupling and configuration of CP 340 6 Manual 04 2011 A5E00369892 03 ...
Страница 10: ...Table of contents PtP coupling and configuration of CP 340 10 Manual 04 2011 A5E00369892 03 ...
Страница 186: ...Accessories and Order Numbers PtP coupling and configuration of CP 340 186 Manual 04 2011 A5E00369892 03 ...
Страница 190: ...Literature on SIMATIC S7 PtP coupling and configuration of CP 340 190 Manual 04 2011 A5E00369892 03 ...
Страница 200: ...Index PtP coupling and configuration of CP 340 200 Manual 04 2011 A5E00369892 03 ...