DOUT#.SOURCE
Description
DOUT#.SOURCE sets the digital output source.
Value | Description |
---|---|
0 - User | User controls the output value using DOUT#.STATEU |
1 - Action Table | Action table controls the output value |
2 - Fieldbus | Fieldbus controls the output value |
4 - Compare | Compare channel controls the output value |
Examples
Usage
0: User controlled. DOUT#.STATE is set by DOUT#.STATEU.
1: Action table controlled. DOUT#.STATE is set by the assigned action, if any.
2: Fieldbus controlled. DOUT#.STATE is set by the fieldbus output control 3601h Digital output control sub 1.
4: Compare channel controlled. DOUT#.STATE is set by the compare channel output. The specific channel is selected by DOUT#.SOURCEID.
Code
The following commands set the source for digital output 1 to user control, and the source for digital output 2 to action table. The user is able to control the state of digital output 1, but not digital output 2.
--> DOUT1.SOURCE 0 --> DOUT1.STATE 0 --> DOUT1.STATEU 1 --> DOUT1.STATE 1 --> DOUT2.SOURCE 1 --> DOUT2.STATE 0
Context
For more information see Digital Inputs and Outputs.
Versions
Action | Version | Notes |
---|---|---|
Implemented | 02-00-00-000 |
|
Added fieldbus source | 02-00-01-000 | |
Add Sequencer source | 02-02-03-000 | |
Added Compare source | 02-06-00-000 |
General Information
Type | Read/Write |
Units | N/A |
Range | 0, 1, 2, 4 |
Default Value | 0 |
Data Type | Integer |
Stored in Non Volatile Memory |
Yes |
Variants Supported
All variants are supported
Fieldbus Information
Command |
Index |
SubIndex |
Data Type |
Units |
Float Scale |
Access |
PDO Mappable |
---|---|---|---|---|---|---|---|
DOUT1.SOURCE |
360ah |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DOUT2.SOURCE |
360bh |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DOUT3.SOURCE |
360ch |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DOUT4.SOURCE |
360dh |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DOUT5.SOURCE |
360eh |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DOUT6.SOURCE |
360fh |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DOUT7.SOURCE |
3610h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DOUT8.SOURCE |
3611h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
DOUT9.SOURCE |
3612h |
01h |
Unsigned8 |
- |
- |
Read/Write |
No |
ID |
Instance |
Attribute |
Name |
Data Type |
Access |
User Mappable |
---|---|---|---|---|---|---|
21150 |
1 |
21150 (0x529e) |
DOUT1.SOURCE |
Unsigned8 |
Read/Write |
Yes |
21151 |
1 |
21151 (0x529f) |
DOUT2.SOURCE |
Unsigned8 |
Read/Write |
Yes |
21152 |
1 |
21152 (0x52a0) |
DOUT3.SOURCE |
Unsigned8 |
Read/Write |
Yes |
21153 |
1 |
21153 (0x52a1) |
DOUT4.SOURCE |
Unsigned8 |
Read/Write |
Yes |
21154 |
1 |
21154 (0x52a2) |
DOUT5.SOURCE |
Unsigned8 |
Read/Write |
Yes |
21155 |
1 |
21155 (0x52a3) |
DOUT6.SOURCE |
Unsigned8 |
Read/Write |
Yes |
21156 |
1 |
21156 (0x52a4) |
DOUT7.SOURCE |
Unsigned8 |
Read/Write |
Yes |
21157 |
1 |
21157 (0x52a5) |
DOUT8.SOURCE |
Unsigned8 |
Read/Write |
Yes |
21158 |
1 |
21158 (0x52a6) |
DOUT9.SOURCE |
Unsigned8 |
Read/Write |
Yes |
Parameter |
PNU |
Data Type |
Access |
Units |
---|---|---|---|---|
DOUT1.SOURCE |
21150 |
Unsigned8 |
Read/Write |
- |
DOUT2.SOURCE |
21151 |
Unsigned8 |
Read/Write |
- |
DOUT3.SOURCE |
21152 |
Unsigned8 |
Read/Write |
- |
DOUT4.SOURCE |
21153 |
Unsigned8 |
Read/Write |
- |
DOUT5.SOURCE |
21154 |
Unsigned8 |
Read/Write |
- |
DOUT6.SOURCE |
21155 |
Unsigned8 |
Read/Write |
- |
DOUT7.SOURCE |
21156 |
Unsigned8 |
Read/Write |
- |
DOUT8.SOURCE |
21157 |
Unsigned8 |
Read/Write |
- |
DOUT9.SOURCE |
21158 |
Unsigned8 |
Read/Write |
- |