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 |
Name |
ID |
Hex |
Data Type |
Access |
Units |
---|---|---|---|---|---|
DIO1.STATEU |
22150 |
5686 |
Unsigned8 |
Read/Write |
- |
DIO2.STATEU |
22151 |
5687 |
Unsigned8 |
Read/Write |
- |
DIO3.STATEU |
22152 |
5688 |
Unsigned8 |
Read/Write |
- |
DIO4.STATEU |
22153 |
5689 |
Unsigned8 |
Read/Write |
- |
DIO5.STATEU |
22154 |
568A |
Unsigned8 |
Read/Write |
- |
DIO6.STATEU |
22155 |
568B |
Unsigned8 |
Read/Write |
- |
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 |
- |