cardComState
cardComState — sets or queries the card bus communication state.
Synopsis
(cardComState)
(cardComState card_id)
(cardComState card_id com_state)
Parameters
- card_id
- The
target card ID (0..3). If no card ID is
specified, the query form of the command is repeated for all
initialized cards.
- com_state
- 0 to stop bus
communication, 1 to (re)start bus
communication
Returns
In response to a query or successful setting of a card:
(cardComState card_id com_state)
Otherwise, the following error message:
(error "cardComState DR_ERR_CARD_INVALID (time) invalid card: card_id")
Description
This command sets or queries the
card bus communication state. It can be used to start and stop
fieldbus communication during runtime.