Cdios Controller Commands | 6156 Cdios Module V1.1 Commands
Modification of / addition to V1.1:
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 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 a SYNC command. |
|
| 2 | Set outputs direct, one shot counters enabled Any bit set to 1 will set corresponding output, no action when bit is 0 |
|
| 3 | Set outputs latched, one shot counters enabled, outputs will be updated after a SYNC command. Data will be logically ORred with data already present in the set latch. The latch will be cleared after the SYNC or a write outputs direct command. | |
| 4 | Clear outputs direct. Any bit set to 1 will clear corresponding output, no action when bit is 0 |
|
| 5 | Clear outputs latched, outputs will be updated after a SYNC command. Data will be logically ORred with data already present in the clear latch. The latch will be cleared after the SYNC or a write outputs direct command. |
|
|
|
Description |
|
|
|
contains the state for output 1, 0 is off/no action, 1 is on/action. |
|
|
contains ... |
|
|
|
contains the state for output 8, 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 a part of the internal output module status
|
|
|
|
|
|
|
|
|
|
|
|
Selector |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Selector |
|
|
|
|
|
|
|
|
Description |
|
Selector |
|
read actual output status byte, bit = 1: active |
|
|
read output short circuit status byte, bit = 1: output is short circuited (note 1) |
|
|
|
read output noload status byte, bit = 1: output has no load (note 2) |
|
|
|
read output transistor over temperature status byte, |
|
|
|
read output transistor over voltage status byte, |
|
|
|
Description |
|
|
|
contains the status for output 1 |
|
|
contains ... |
|
|
|
contains the status for output 8 |
Possible error message:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description |
|
|
|
1 = Selector parameter out of range |
This commands defines the outputs to scan for status change.
|
|
|
|
|
|
|
|
|
|
|
|
Selector |
|
|
|
|
|
|
|
|
Description |
|
Selector |
|
enable change of state event of actual output state |
|
|
enable change of state event of short circuit status |
|
|
|
enable change of state event of noload status |
|
|
|
enable change of state event of over temperature status |
|
|
|
enable change of state event of over voltage status |
|
|
|
Default |
Description |
|
|
|
0 |
enables change of state event for output 1, 0 is off, 1 is on. |
|
|
|
|
|
|
|
0 |
enables change of state event for output 8, 0 is off, 1 is on. |
Confirmation reply message (suppressed when 'Confirm' is 0):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Possible error message:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description |
|
|
|
1 = Selector parameter out of range |
This commands defines the output one-shot times per output.
|
|
|
Selector |
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
||||
|
|
|
|
|
||||
|
|
|
|
|
||||
|
|
|
Default |
Description |
|
Selector |
|
Select two one-shots |
|
|
- One-shot8 |
|
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 |
|
|
|
|
|
|
|
|
Selector |
|
|
|
|
|
|
|
|
Description |
|
Selector |
|
actual output status byte, bit = 1: active |
|
|
output short circuit status byte, bit = 1: output is short circuited (note 1) |
|
|
|
output noload status byte, bit = 1: output has no load (note 2) |
|
|
|
output transistor over temperature status byte, |
|
|
|
output transistor over voltage status byte, |
|
|
|
Description |
|
|
|
contains the status for output 1 |
|
|
contains ... |
|
|
|
contains the status for output 8 |
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 occurrs
when the user has read the status after the state change and before the event
should be sent.
|
Last Modified: 26 November 2002 |