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
Fieldbus | Parameter | Index | Sub-Index | Data Type | Float Scale | Units | Access | PDO![]() |
---|---|---|---|---|---|---|---|---|
EtherCAT![]() |
DOUT1.SOURCE | 0x360A | 0x1 | USINT | - | - | RW | False |
DOUT2.SOURCE | 0x360B | 0x1 | USINT | - | - | RW | False | |
DOUT3.SOURCE | 0x360C | 0x1 | USINT | - | - | RW | False | |
DOUT4.SOURCE | 0x360D | 0x1 | USINT | - | - | RW | False | |
DOUT5.SOURCE | 0x360E | 0x1 | USINT | - | - | RW | False | |
DOUT6.SOURCE | 0x360F | 0x1 | USINT | - | - | RW | False | |
DOUT7.SOURCE | 0x3610 | 0x1 | USINT | - | - | RW | False | |
DOUT8.SOURCE | 0x3611 | 0x1 | USINT | - | - | RW | False | |
DOUT9.SOURCE | 0x3612 | 0x1 | USINT | - | - | RW | False |