16502 PIREG-C2 Gerätebeschreibung mit EtherNet_IP Bussystem191017 - EN.docx/ Page 28 of 66
Example Read: 68 04 04 68 21 89 13 01 BE 16 (GA=21h)
RS485: Response: 68 13 13 68 21 00 13 01 02 14 2C 2C 01 38 38 00 00 00 00 28 78 03 5F
16 16
Reference: GWPA, KAPA, EINS, STKA
4.7.18. KASR command
Syntax Read: LKASR
RS232/USB: Response: AKASR rrr kkk
Write: SKASR rrr
Response: OK or error acknowledgement; response time max. 6 ms
Release: not in the On or calibration state
Syntax: Read: Control set, BI = 10h
RS485: Response:
Write:
Response: short set, OK or error acknowledgement; response time max. 6 ms
Release: not in the On or calibration state
Description: Setting and querying the calibration parameter modulation reserve "rrr" in % (000= auto-
matic modulation reserve, 20...100%) of the input amplifier for Ur and Ir for the current ac-
tive calibration (1...8). A change in the manually set modulation reserve "rrr" leads to error
9 and a new calibration must be carried out. When reading, the calibrated modulation re-
serve "kkk" in % (20...100%) of the current active calibration is also output.
When determining the automatic modulation reserve (rrr=000), the controller inde-
pendently determines the necessary modulation reserve during calibration.
Example Read: LKASR
RS232/USB: Response: AKASR 030 020
Write: SKASR 030
Response: QOK00
Example Read: 68 03 03 68 21 89 10 BA 16 (GA=21h)
RS485: Response: 68 05 05 68 21 00 10 1E 14 63 16
Write: 68 04 04 68 21 69 10 1E 4F 16 (GA=21h)
Response: 10 21 00 21 16
Reference: FEZU, factory settings
4.7.19. KOKO command
Syntax Read: LKOKO
RS232/USB: Response: AKOKO abcd efgh
Write: SKOKO abcd efgh
Response: OK or error acknowledgement; response time max. 6 ms
Release: not in the On or calibration state
Syntax: Read: Control set, BI = 11h
RS485:
Write:
Response: short set, OK or error acknowledgement; response time max. 6 ms
Release: not in the On or calibration state
Description: Setting and querying the communication configuration of the PIREG-C2 controller. The
communication configuration is used to make the following additional settings for the
RS232, RS485 and USB interfaces and the respective communication:
Assignment
a Addressed RS232 communication: 0= Off 1= On
b not assigned
c not assigned
d not assigned
Long set with DB0 and DB1
Long set with DB0, BI = 10h
Long set with DB0, BI = 11h