Siemens SIMATIC ET 200SP HA Handbuch Ausrüstung - Seite 33

Blättern Sie online oder laden Sie pdf Handbuch Ausrüstung für Industrielle Ausrüstung Siemens SIMATIC ET 200SP HA herunter. Siemens SIMATIC ET 200SP HA 38 Seiten. Distributed i/o devices busadapter for distributed i/o
Auch für Siemens SIMATIC ET 200SP HA: Handbuch (32 seiten), Handbuch (50 seiten), Handbuch (34 seiten), Handbuch (38 seiten), Handbuch Ausrüstung (44 seiten), Handbuch Ausrüstung (50 seiten), Handbuch Ausrüstung (38 seiten), Handbuch Ausrüstung (46 seiten), Handbuch Ausrüstung (42 seiten), Handbuch Ausrüstung (44 seiten), Handbuch Ausrüstung (36 seiten)

Siemens SIMATIC ET 200SP HA Handbuch Ausrüstung
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 "WRREC" instruction is used to transfer the parameters to the module using data record 128.
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 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.
Er‐
Er‐
Cause
ror_Co
ror_Co
de_1
de_2
0xB0
0x00
Number of the data record unknown
0xB1
0x01
Length of the data record is incorrect
0xB2
Varia‐
Module cannot be reached
ble
0xE0
0x01
incorrect version in the header
0xE0
0x02
Header error (number or length of parameter block)
0xE1
0x01
Reserved bit set
0xE1
0x06
Invalid encoding for substitute value reaction
RQ 4x120VDC-230VAC/5A CO HA
Equipment Manual, 07/2022, A5E39389042-AF
Solution
Enter valid number for data record.
Enter permissible 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
33