(cardTaskState [card_id])
(cardTaskState card_id global_bits master_state
(error_addr error_event bus_error_count bus_timeout_count)
(SlaveCfg slave0_cfg...slave15_cfg)
(SlaveState slave0_state...slave15_state)
(SlaveDiag slave0_diag...slave15_diag) )defined as follows:
A collective display of global event indications. Errors can occur either at the card itself or on a fieldbus device.
| D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
| 0 | 0 | NRDY | EVE | FAT | NEXC | ACLR | CTRL |
NRDY (Host-Not-Ready-Notification): Indicates whether or not the HOST program has set its state to operational. If this bit is not set, the HOST is not ready to communicate.
EVE (Event-Error): The card has detected fieldbus short circuits. The number of detected events is reported in bus_error_count. This bit is set when the event was detected and is never cleared (until the card is reset).
FAT (Fatal-Error): Major bus error detected; no further bus communication is possible.
NEXC (Non-Exchange-Error): At least one fieldbus device has not reached the data exchange state and no process data exchange can take place.
ACLR (Auto-Clear-Error): The card has stopped communication with all fieldbus evices and reached the auto-clear end state.
CTRL (Control-Error): Parameterization error.
The overall card firmware state, one of the following:
| 0x00 | OFFLINE |
| 0x40 | STOP |
| 0x80 | CLEAR |
| 0xC0 | OPERATE |
Reports the parameterization state of each field device, one bit per device, as 16 bytes (16 x 8 = 128 devices), starting with device 0 as bit 0 of the first byte. The status bit is interpreted as follows:
Reports the state of each field device, one bit per device, as 16 bytes (16 x 8 = 128 devices), starting with device 0 as bit 0 of the first byte. The status bit is interpreted as follows:
Reports the diagnostic bit for each field device, one bit per device, as 16 bytes (16 x 8 = 128 devices), starting with device 0 as bit 0 of the first byte. These values are only valid if the master state of the card is OPERATE. The status bit is interpreted as follows:
Otherwise, one of the following error messages:
(error "cardReset DR_ERR_CARD_INVALID (time) invalid card: card_id")
Copyright © 1995-2012 by Cogent Real-Time Systems, Inc. All rights reserved.