Parameter Data Records - Siemens SIMATIC ET 200SP Manual

Technology module tm count 1x24v
Hide thumbs Also See for SIMATIC ET 200SP:
Table of Contents

Advertisement

Parameter data records

You may edit the module parameters in RUN. The WRREC instruction is used to transfer the
parameters to the module using data record 128.
If errors occur during the transfer of parameters with the WRREC instruction, the module
continues operation with the previous parameter assignment. A corresponding error code is
then written to the STATUS output parameter. If no errors occur, the STATUS output
parameter contains the length of the actually transferred data.
The description of the WRREC instruction and the error codes is available in the STEP 7
(TIA Portal) Online Help.
Structure of the data record for a distributed configuration with PROFINET
The table below shows you the structure of data record 128 for TM Count 1x24V with 1
channel. The values in byte 0 to byte 3 are fixed and may not be changed. The value in byte
4 can only be changed by means of new parameter assignment and not in RUN mode.
Table A- 1
Parameter data record 128 for central and distributed configuration with PROFINET
Bit →
Bit 7
Byte ↓
0...3
0
1
2
3
4...51
4
4
Reserved
2)
5
5
Reserved
2)
Technology Module TM Count 1x24V (6ES7138‑6AA00‑0BA0)
Manual, 10/2013, A5E33002339-AA
Bit 6
Bit 5
Major Version = 0
Length of the parameter data = 48
Bit 4
Bit 3
Header
Reserved
2)
Reserved
2)
Counting channel
Operating mode
Operating mode:
0000
: Reserved
B
0001
: Counting
B
0010
: Measuring
B
0011 to 1111
B
Basic parameters
Bit 2
Bit 1
Minor Version = 1
: Reserved
Enable
Reaction to CPU STOP:
additional
00
: Output substitute
B
diagnostic
value
interrupts
1)
01
: Keep last value
B
10
: Continue operation
B
11
: Reserved
B
A
Bit 0
49

Advertisement

Table of Contents
loading

Table of Contents