hit counter script

Parameter Data Record; Parameter Assignment And Structure Of Parameter Data Record - Siemens SIMATIC S7-1500/ET 200МР Manual

Technology module tm count 2x24v (6es7550-1aa01-0ab0)
Hide thumbs Also See for SIMATIC S7-1500/ET 200МР:
Table of Contents

Advertisement

Parameter data record

B.1

Parameter assignment and structure of parameter data record

You have the option of reassigning module parameters with the user program while the CPU
is in RUN. The parameters are transferred to the module using data record 128, e.g. with the
WRREC instruction.
If an error occurs while transferring or validating parameters with the WRREC instruction, the
module continues operating with the existing 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.
You can find a description of the WRREC instruction and the error codes in section Parameter
validation error (Page 96) or in the online help of STEP 7 (TIA Portal).
Structure of data record 128 for operation with technology object and manual operation
The following table shows you the structure of data record 128 for TM Count 2x24V with 2
channels for operation with technology object and manual operation without technology
object. The values in byte 0 to byte 3 are fixed and must not be changed. The value in byte 4
can only be changed by means of new parameter assignment and not in RUN mode.
Note
After each writing of data record 128, the module is set to its startup state and the counter
value is set to the start value. If "Continue operation" is set for Reaction to CPU STOP, the
module is then only set to its startup state when data record 128 has been changed.
Table B- 1
Data record 128: Operating modes "Operating with "Counting and measurement" technology object", "Manual
operation (without technology object)"
Bit →
Bit 7
Byte
channel
0/1
0...3
0
1
2
3
4...51
52...99
Technology module TM Count 2x24V (6ES7550-1AA01-0AB0)
Equipment Manual, 12/2020, A5E31870371-AC
Bit 6
Bit 5
Major Version = 0
Length of the parameter data per channel = 48
Bit 4
Bit 3
Header
Reserved
2
Reserved
2
Counter channel 0
Counter channel 1
Bit 2
Bit 1
Minor Version = 2
B
Bit 0
87

Advertisement

Table of Contents
loading

Table of Contents