DIN#.INV

Description

Sets or gets the polarity of a digital input.

Value

Description

0 – Active high The digital input state is 1 when voltage is applied to the IO pin
1 – Active low The digital input state is 1 when voltage is removed from the IO pin

Examples

Code

With 24V on DIN1:

--> DIN1.INV 0 //Active High
--> DIN1.STATE 1 --> DIN1.INV 1 //Active low --> DIN1.STATE 0

With 0V on DIN1:

--> DIN1.INV 0 //Active High
--> DIN1.STATE 0 --> DIN1.INV 1 //Active low --> DIN1.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 (Active high)
Data Type Integer
See Also  

Stored in Non Volatile Memory

Yes

Variants Supported

All variants are supported.

Fieldbus Information

FieldbusClosedA 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 PDO Mappable
EtherCATClosedEtherCAT 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 DIN1.INV 0x3590 0x1 USINT - - RW False
DIN2.INV 0x3591 0x1 USINT - - RW False
DIN3.INV 0x3592 0x1 USINT - - RW False
DIN4.INV 0x3593 0x1 USINT - - RW False
DIN5.INV 0x3594 0x1 USINT - - RW False
DIN6.INV 0x3595 0x1 USINT - - RW False
DIN7.INV 0x3596 0x1 USINT - - RW False
DIN8.INV 0x3597 0x1 USINT - - RW False
DIN9.INV 0x3598 0x1 USINT - - RW False
DIN10.INV 0x3599 0x1 USINT - - RW False
DIN11.INV 0x359A 0x1 USINT - - RW False
DIN12.INV 0x359B 0x1 USINT - - RW False