EasyManua.ls Logo

Siemens SIMATIC S7 CP340 - Page 67

Siemens SIMATIC S7 CP340
70 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 MODBUS RTU Protocol communication
CP340/CP341/CP440/CP441 Communication and Programming
Entry-ID: 88867653, V1.0, 02/2014
67
Siemens AG 2014 All rights reserved
2. The FB180 parameter setting is shown in the table below:
Name
Data type
comments
ID
INPUT/INT
Local ID number, which is obtained from the
PtP connection properties and is
hexadecimal.
START_TIMER
INPUT/TIMER
Initialization timeout timer, which is T5 in
this example
START_TIME
INPUT/S5TIME
initialization timeout time value, which is 5s
in this example
STATUS_TIMER
INPUT/TIMER
communication status read timer, which is
T6 in this example
STATUS_TIME
INPUT/S5TIME
communication status read time value,
which is 2S in this example
OB_MASK
INPUT/BOOL
IO access error mask bit, which is M20.0 in
this example
0Non-mask IO access error
1Mask IO access error, and delaying the
alarm
CP_START
INPUT/BOOL
FB initialization enable bit, which is M20.1 in
this example
CP_START_FM
INPUT/BOOL
CP_START initialization rising edge bit,
which is M20.2 in this example
CP_NDR
OUTPUT/BOOL
CP write operation bit, which is M20.3 in this
example
CP_START_OK
OUTPUT/BOOL
initialization succeed complete bit, which is
M20.4 in this example
CP_START_ERR
OR
OUTPUT/BOOL
initialization error flag, which is M20.5 in this
example
ERROR_NR
OUTPUT/WORD
error number, which is MW22 in this
example
ERROR_INFO
OUTPUT/WORD
Error message, which is MW24 in this
example. Refer to the Manual for diagnosis
information
Table 15: Parameter definition of FB180

Table of Contents

Related product manuals