DIO#.STATEU
Description
Gets or sets the user command state of the specified bi-directional IO 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
FieldbusA Fieldbus is an industrial network system for real-time distributed control (e.g. CAN or Profibus). It is a way of connecting instruments in a plant design | Parameter | Index | Sub-Index | Data Type | Float Scale | Units | Access | PDOPDO is a type of protocol frame used in some fieldbuses. A PDO contains one or more object dictionary entries, which define the application data transferred between devices. Mappable |
---|---|---|---|---|---|---|---|---|
EtherCAT***EtherCAT is an open, high-performance Ethernet-based fieldbus system. The development goal of EtherCAT was to apply Ethernet to automation applications which require short data update times (also called cycle times) with low communication jitter (for synchronization purposes) and low hardware costs COE and CANopen | DIO1.STATEU | 0x368A | 0x4 | USINT | - | - | RW | True |
DIO2.STATEU | 0x368B | 0x4 | USINT | - | - | RW | True | |
DIO3.STATEU | 0x368C | 0x4 | USINT | - | - | RW | True | |
DIO4.STATEU | 0x368D | 0x4 | USINT | - | - | RW | True | |
DIO5.STATEU | 0x368E | 0x4 | USINT | - | - | RW | True | |
DIO6.STATEU | 0x368F | 0x4 | USINT | - | - | RW | True |