DIO#.STATEU
Description
Gets or sets the user command state of the specified bi-directional I/O when configured as a digital output (see DIO#.DIR).
Value | Description |
---|---|
0 - Deactivated | DIO#.STATE = 0, voltage removed on IO pin |
1 - Activated | DIO#.STATE = 1, voltage applied on IO pin |
Examples
Usage
When DIO#.DIR = 1 (output) and DIO#.SOURCE = 0 (user) then the corresponding DIO#.STATEU can be set to drive the output at the IO pin.
Code
--> DIO1.DIR 1 //output --> DIO1.SOURCE 0 //user --> DIO1.STATEU 0 --> DIO1.STATE 0 --> DIO1.STATEU 1 --> DIO1.STATE 1
Context
For more information see Digital Inputs and Outputs.
Versions
Action | Version | Notes |
---|---|---|
Implemented | 02-00-00-000 |
General Information
Type | Read/Write |
Units | N/A |
Range | 0 to 1 |
Default Value | 0 |
Data Type | Integer |
See Also | |
Stored in Non-Volatile Memory |
No |
Variants Supported
All variants are supported
Fieldbus Information
Command |
Index |
SubIndex |
Data Type |
Units |
Float Scale |
Access |
PDO Mappable |
---|---|---|---|---|---|---|---|
DIO1.STATEU |
368ah |
04h |
Unsigned8 |
- |
- |
Read/Write |
Yes |
DIO2.STATEU |
368bh |
04h |
Unsigned8 |
- |
- |
Read/Write |
Yes |
DIO3.STATEU |
368ch |
04h |
Unsigned8 |
- |
- |
Read/Write |
Yes |
DIO4.STATEU |
368dh |
04h |
Unsigned8 |
- |
- |
Read/Write |
Yes |
DIO5.STATEU |
368eh |
04h |
Unsigned8 |
- |
- |
Read/Write |
Yes |
DIO6.STATEU |
368fh |
04h |
Unsigned8 |
- |
- |
Read/Write |
Yes |
ID |
Instance |
Attribute |
Name |
Data Type |
Access |
User Mappable |
---|---|---|---|---|---|---|
22150 |
1 |
22150 (0x5686) |
DIO1.STATEU |
Unsigned8 |
Read/Write |
Yes |
22151 |
1 |
22151 (0x5687) |
DIO2.STATEU |
Unsigned8 |
Read/Write |
Yes |
22152 |
1 |
22152 (0x5688) |
DIO3.STATEU |
Unsigned8 |
Read/Write |
Yes |
22153 |
1 |
22153 (0x5689) |
DIO4.STATEU |
Unsigned8 |
Read/Write |
Yes |
22154 |
1 |
22154 (0x568a) |
DIO5.STATEU |
Unsigned8 |
Read/Write |
Yes |
22155 |
1 |
22155 (0x568b) |
DIO6.STATEU |
Unsigned8 |
Read/Write |
Yes |
Parameter |
PNU |
Data Type |
Access |
Units |
---|---|---|---|---|
DIO1.STATEU |
22150 |
Unsigned8 |
Read/Write |
- |
DIO2.STATEU |
22151 |
Unsigned8 |
Read/Write |
- |
DIO3.STATEU |
22152 |
Unsigned8 |
Read/Write |
- |
DIO4.STATEU |
22153 |
Unsigned8 |
Read/Write |
- |
DIO5.STATEU |
22154 |
Unsigned8 |
Read/Write |
- |
DIO6.STATEU |
22155 |
Unsigned8 |
Read/Write |
- |