All CDIOS messages are presented as 8 bytes long. When variable length messages are selected, the part of the message that is not send over the CAN bus is represented in italic/light gray text.
This command modifies the relay outputs direct or after a central synchronization pulse (by bus or Cdios controller).
|
|
|
|
|
|
|
|
|
|
|
|
Selector |
|
|
|
|
|
|
|
Value |
Description |
|
Selector |
|
Write outputs direct, one-shot counters disabled.... |
|
|
Write outputs latched, outputs will be updated after SYNC command. |
|
| 2 | Set outputs direct, one shot counters enabled Any bit set to 1 will energize corresponding relay, no action if bit is 0 |
|
| 3 | Set outputs latched, one shot counters enabled, outputs will be updated after SYNC command. | |
| 4 | Clear outputs direct. Any bit set to 1 will de-energize corresponding relay, no action if bit is 0 |
|
| 5 | Clear outputs latched, outputs will be updated after SYNC command. |
|
|
|
Description |
|
|
|
contains the state for output 1, 0 is off/no action, 1 is on/action. |
|
|
contains ... |
|
|
3 |
contains the state for output 4, 0 is off/no action, 1 is on/action |
Confirmation reply message (suppressed when 'Confirm' is 0):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Possible error message:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description |
|
|
|
1 = Selector parameter out of range |
This commands reads the current relay energized status
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
Description |
|
|
|
contains the status for output 1 |
|
|
contains ... |
|
|
3 |
contains the status for output 4 |
This commands defines the outputs to scan for status change.
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
Default |
Description |
|
|
|
0 |
enables change of state event for output 1, 0 is off, 1 is on. |
|
|
|
|
|
|
3 |
0 |
enables change of state event for output 4, 0 is off, 1 is on. |
Confirmation reply message (suppressed when 'Confirm' is 0):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This commands defines the output one-shot times per output.
|
|
|
Selector |
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
||||
|
|
|
Default |
Description |
|
Selector |
|
Select two one-shots |
|
|
- One-shot4 |
|
0 |
range is 0 - 65535 milliseconds, lsb first (0 is no one-shot time), power-on default is zero for all outputs. |
Confirmation reply message (suppressed when 'Confirm' is 0):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Possible error message:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description |
|
|
|
1 = Selector parameter out of range |
If an enabled output status changes state, a read output status event message is sent:
|
|
|
3 |
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
Description |
|
|
|
contains the status for output 1 |
|
|
contains ... |
|
|
3 |
contains the status for output 4 |
All status data is given, so the application has to find out itself which
status actually changed.
When the user polls the status with the 'read output status' command and
events are enabled, it is possible that an event is not send.
This occurs when the user has read the status after the state change and before the event
should be sent.
| Home |
Last Modified:26 November 2002 |