CCO Directory
Beim Lesen des CCO-Directories werden die folgenden Daten in der ADS-Read-Response zurückgegeben:
Eigener Scanner
Offset | Attribute |
---|---|
0x00 | Revision |
0x02 | Status (Bit 0: all I/O and scheduled receive connections are ok, Bit 8: all scheduled send messgaes are ok) |
0x04 | Maximum number of instances (127) |
0x08 | Number of instances currently configured |
0x0C | Implementation defined revision |
0x0E | Number of Scanner Instances (O-T) |
0x10 | Edit Signature for current CCO configuration |
0x14 | Current Scanner State (0: no connections are active,1: the scanner is in Prog-Mode, 2: the scanner is in Run-Mode) |
0x16 | Current Adapter State (0: all scheduled send messages are disabled, 1: scheduled sends are enabled) |
0x18 | Total size in bytes of all Tx Data |
0x1A | Total size in bytes of all Rx Data |
0x1C | Next available offset for variable length parameters |
0x1E | CCO/Scheduling Object Options (Bit 0: ALLOW_CCO_BREAK_IN_RUN, Bit 1: DISALLOW_CCO_OPEN, Bit 8: ALLOW_SCHED_BREAK_IN_RUN, Bit 9: DISALLOW_SCHED_OPEN, Bit 10: ALLOW_SCHED_REMOTE_SET_PROG) |
0x20 | Schedule Object Connection Originator Password |
0x24 | Flags Indicating various CCO conditions (Bit 0: CCO_FLAG_RES_HELD) |
0x26 | Size of Implementation Defined Attribute (in bytes) |
0x28 | Scanner Global User Handle |
0x2C | Adapter Global User Handle |
Fremder Scanner
Offset | Attribute |
---|---|
0x00 | Revision |
0x02 | Maximum number of instances (127) |
0x06 | Number of instances currently configured |
0x0A | Format number |
0x0C | Edit Signature for current CCO configuration |