EasyManuals Logo
Home>Siemens>Controller>CPU 1518-4 PN/DP ODK

Siemens CPU 1518-4 PN/DP ODK User Manual

Siemens CPU 1518-4 PN/DP ODK
188 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
Page #162 background imageLoading...
Page #162 background image
Parameter data records
B.7 Parameter data records of the high-speed counters
CPU 1512C-1 PN (6ES7512-1CK00-0AB0)
162 Manual, 09/2016, A5E35306440-AB
B.7
Parameter data records of the high-speed counters
You can change the parameters of the High Speed Counter in RUN mode. The WRREC
instruction is used to transfer the parameters to the High Speed Counter using data
record 128.
If errors occur when transferring or validating parameters with the WRREC instruction, the
High Speed Counter continues operation with the previous parameter assignment. The
STATUS output parameter then contains a corresponding error code. If no error has
occurred, the length of the data actually transferred is entered in the STATUS output
parameter.
You will find a description of the "WRREC" instruction and the error codes in the STEP 7
(TIA Portal) online help.
Data record structure
The following table shows you the structure of data record 128 with the counter channel. The
values in byte 0 to byte 3 are fixed and must not be changed. The value in byte 4 may only
be changed by parameter reassignment and not in RUN mode.
Table B- 11 Parameter data record 128 - HSC parameter header
Bit
7
6
5
4
3
2
1
0
Byte
0
Major Version = 1
Minor Version = 0
1
Length of parameter data of the channel = 48
2
Reserved = 0
1)
3
1)
Reserved bits must be set to 0
Table B- 12 Parameter data record 128 - operating mode
Bit →
7
6
5
4
3
2
1
0
Byte
Operating mode
4
Reserved = 0
1)
Operating mode:
0000
B
: Deactivated
0001
B
: Counting
0010
B
: Measuring
0011 to 1111
B
: Reserved
1)
Reserved bits must be set to 0

Table of Contents

Other manuals for Siemens CPU 1518-4 PN/DP ODK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CPU 1518-4 PN/DP ODK and is the answer not in the manual?

Siemens CPU 1518-4 PN/DP ODK Specifications

General IconGeneral
BrandSiemens
ModelCPU 1518-4 PN/DP ODK
CategoryController
LanguageEnglish

Related product manuals