A.2
Parameters, diagnostics messages and address space without PCS
7
A.2.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.
The parameters set in STEP 7 are not changed in the CPU, which means that the parameters
set in STEP 7 will be valid again after a restart of the CPU.
If you reconfigure a module and diagnostics are pending prior to the reconfiguration, these
diagnostics are not signaled as "outgoing".
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_
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
0x00 to 0xFF Module cannot be reached
● Check station - is the module plugged in
correctly?
● Check the parameters of the WRREC
instruction.
0xE0
0x01
Wrong version in the header
Correct the version number of the parameter
block.
Drivers, parameters, diagnostics messages and address space
A.2 Parameters, diagnostics messages and address space without PCS 7
Digital output module DQ 32x24VDC/0.5A HA (6DL1132-6BL00-0PH1)
Manual, 09/2018, A5E39265993-AA
31