8 .2 .6 Overview of commands sent via serial interface (responses from power pack with control box)
Command
STAT:XX
DATA:XXXXXXXXYYZZAABBCCDDEE mm:ss:dd:MM:yy
GDSA:XXXXXXXX
GDSF:XXXXXXXXYYZZ mm:ss:dd:MM:yy AA
8 .3
Data logging
Code
Description
0001
Overload
0002
Speed error, tensioning motor
0003
Speed error, cycle motor
0004
Error, head
0005
Error, drum
0006
Error, power supply
0007
Error, zero position
-
Error, gate during binding
0100
Peak time not achieved
0101
Tensioning force not achieved
0102
Delay, head
200
Loading binding parameters
201
Changing binding parameters
202
Confirmation of time loss
* The data in the "Data" field are HEX values
CPK_hybrid_Automation_instructions_106-29009_V01_01.2023
Function
Response to status query X (2-place status):
•
Bit 0: Ready
•
Bit 1: Tool active
•
Bit 2: Tool in menu mode
•
Bit 3: Error at tool
•
Bit 4: Reserved for future use
•
Bit 5: Reserved for future use
•
Bit 6: Reserved for future use
•
Bit 7: Reserved for future use
Is sent following a status query if new binding data is present (a binding has taken
place):
•
X: 8-place counter
•
Y: 2-place temperature
•
Z: 2-place humidity
•
A: 2-place med. cycle current
•
B: 2-place med. tensioning current
•
C: 2-place max. tensioning current
•
D: 2-place peak time
•
E: 2-place cycle time + time of binding
Response to query for binding data record
The data is the same as for DATA:XXXXXXXXYYZZAABBCCDDEE mm:ss:dd:MM:yy.
Response to query for error data record
•
X: 8-place counter
•
Y: 2-place temperature
•
Z: 2-place humidity + time of binding
•
A: Error code
•
B: 20-place error data
Data *
-
-
-
-
EEEE 4-place encoder pulse (when error occurred)
-
-
EEEE 4-place encoder pulse (when error occurred)
-
-
-
CC DD EE FF
•
CC: 2 places for the force level loaded
•
DD: 2 places for the quality level loaded
•
EE: 2 places for the preceding force level
•
FF: 2 places for the preceding quality level
XXXX YYYY ZZZZ AAAA BBBB
•
XXXX: 4 places for cycle motor speed [rpm]
•
YYYY: 4 places for tensioning motor speed [rpm]
•
ZZZZ: 4 place for current limitation [mA]
•
AAAA: 4 places for Peak Detect Level limit value for current [mA] as of which
binding force is considered achieved
•
BBBB: 4 places for the time [ms] for which Peak Detect Level has to be exceed-
ed for an OK binding
-
Program interface
19