Parameter Assignment; A.2 Parameter Assignment - Siemens SIMATIC ET 200SP HA Manual

Analog input module ai 16xtc/ 8xrtd 2-/3-/4-wire ha
Hide thumbs Also See for SIMATIC ET 200SP HA:
Table of Contents

Advertisement

A.2

Parameter assignment

Parameter assignment in the user program
You can reconfigure individual channels of the I/O module in RUN without affecting the other
channels.
Changing parameters in RUN
The "WRREC" instruction is used to transfer the parameters to the module using data record
128. In the process the parameters set with STEP 7 are not modified in the CPU, meaning
that after a start the parameters set with STEP 7 are valid again.
STATUS output parameter
If errors occur when transferring parameters with the "WRREC" instruction, the module
continues operation with the previous parameter assignment. The STATUS output parameter
contains a corresponding error code.
The STATUS output parameter is 4 bytes long and is configured as followed:
● Byte1: Function_Num, general error code
● Byte2: Error_Decode, location of the error code
● Byte3: Error_Code_1, error code
● Byte4: Error_Code_2, manufacturer-specific extension of the error code
Module-specific errors are displayed via Error_Decode = 0x80 and Error_Code_1 /
Error_Code_2.
Error_
Error_
Cause
Code_1
Code_2
0xB0
0x00
Number of the data record unknown
0xB1
0x01
Length of the data record is incorrect
0xB2
variable
Module cannot be reached
0xE0
0x01
Incorrect version in header
0xE0
0x02
Header error (number or length of parameter block)
Analog input module AI 16xTC/8xRTD 2-/3-/4-wire HA (6DL1134-6JH00-0PH1)
Manual, 05/2017, A5E39408175-AA
Drivers, parameters, diagnostics messages and address space

A.2 Parameter assignment

Solution
Enter valid number for data record.
Enter valid value for data record length.
● Check station - is the module
plugged in correctly?
● Check the parameters of the
WRREC instruction.
Correct the version number of the pa‐
rameter block.
Correct the length and number of the
parameter blocks.
43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents