Siemens SIMATIC CP 340 User Manual page 154

Ptp coupling and configuration
Hide thumbs Also See for SIMATIC CP 340:
Table of Contents

Advertisement

Programming Example for Standard Function Blocks
9.5 Example "Printing" and "Reading and Controlling the CP 340 Inputs/Outputs"
Symbol
A_V24_STAT_RI_IN
Input/Output parameters for FC 5 and FC 6
The table below shows how the input/output parameters of FC 5 and FC 6 are mapped to bit
memories.
Symbol
BGADR
V24_STAT_DTR_OUT
V24_STAT_DSR_IN
V24_STAT_RTS_OUT
V24_STAT_CTS_IN
V24_STAT_DCD_IN
V24_STAT_RI_IN
PRINT_DBNO
PRINT_DWNO
PRINT_STATUS
PRINT_DONE
PRINT_ERROR
PRINT_BIE
154
Input/output
Flag
Q 5.5
M 9.5
Q 5.6
M 9.6
Q 5.7
M 9.7
Address
Data format
MW 21
INT
M 13.0
BOOL
M 13.1
BOOL
M 13.2
BOOL
M 13.3
BOOL
M 13.4
BOOL
M 13.5
BOOL
MW 56
INT
MW 58
INT
MW 61
WORD
M 60.0
BOOL
M 60.1
BOOL
M 60.2
BOOL
Comment
STAT_RI_IN
"0"
"0"
Comment
Logical base address
STAT: DTR_OUT parameter
STAT: DSR_IN parameter
STAT: RTS_OUT parameter
STAT: CTS_IN parameter
STAT: DCD_IN parameter
STAT: RI_IN parameter
PRINT: DB_NO parameter
PRINT: DBB_NO parameter
PRINT: STATUS parameter
PRINT: DONE parameter
PRINT: ERROR parameter
PRINT: Binary result
PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents