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

Industrial Ethernet Information

(missing or bad snippet)