Drivers, Parameters, Diagnostics Messages And Address Space; Parameter Assignment - Siemens SIMATIC ET 200SP HA Equipment Manual

Hide thumbs Also See for SIMATIC ET 200SP HA:
Table of Contents

Advertisement

Drivers, parameters, diagnostics messages and
address space
A.1

Parameter assignment

Parameter assignment in the user program
You can reconfigure individual channels of the module in RUN without this having an effect on
the other channels.
Changing parameters in RUN
The parameters are transferred to the module with the "WRREC" instruction via data record 128.
Output parameter STATUS of the WRREC
If errors occur when transferring parameters with the "WRREC" instruction, the module
continues operation with the previous parameter assignment. The STATUS output parameter
contains the 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
0x00 to
Module cannot be reached
0xFF
0xE0
0x01
Wrong version in the header
0xE0
0x02
Header error (number or length of parameter
block)
0xE1
0x01
Reserved bit set
0xE1
0x02
Invalid diagnostics enable bit set for operating
mode
0xE1
0x0E
Invalid redundancy parameter assignment
DI 32x24VDC HA
Equipment Manual, 10/2021, A5E48262828-AB
Remedy
Enter valid number for data record.
Enter valid value for data record length.
Check station - is the module plugged in cor‐
rectly?
Check the parameters of the WRREC instruction.
Correct the version number of the parameter block.
Correct the length and number of the parameter
blocks.
Check and correct the parameters
A
29

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic di 32x24vdc ha

Table of Contents