Parameters, diagnostics messages and address
space
A
A.1 Parameter assignment
Parameter assignment in the user program
You can recongure individual channels of the I/O module and HART variable mapping in RUN
without this aecting the other channels.
Changing parameters in RUN
The parameters are transferred to the I/O module with the instruction "WRREC".
• Module/channel parameters using data record 128
• HART mapping using data record 130
The parameters assigned with STEP 7 are not changed permanently in the CPU, which means the
parameters assigned with STEP 7 are valid again after a restart.
Output parameter STATUS
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 congured as followed:
• Byte 1: Function_Num, general error code
• Byte 2: Error_Decode, location of the error code
• Byte 3: Error_Code_1, error code
• Byte 4: Error_Code_2, manufacturer-specic extension of the error code
Module-specic errors are displayed via Error_Decode = 0x80 and Error_Code_1 / Error_Code_2.
Error_
Code_
1
Error_
Code_
2
Cause Remedy
0xB0 0x00 Number of the data record unknown Enter valid number for data record.
0xB1 0x01 Length of the data record is incorrect Enter valid value for data record length.
0xB2 Varia‐
ble
Module cannot be reached
• Check station - is the module plugged in cor‐
rectly?
• Check the parameters of the WRREC instruction.
0xE0 0x01 Incorrect version in the header Correct the version number of the parameter block.
0xE0 0x02 Header error (number or length of parameter block) Correct the length and number of the parameter
blocks.
AI 4xI 2-/4-wire HART ISOL HA
Equipment Manual, 07/2022, A5E50101523-AB 57