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 I/O pin
1 – Active Low The digital input state is 1 when voltage is removed from the I/O 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

EtherCAT CoE and CANopen

Command

Index

SubIndex

Data Type

Units

Float Scale

Access

PDO Mappable

DIN1.INV

3590h

01h

Unsigned8

-

-

Read/Write

No

DIN2.INV

3591h

01h

Unsigned8

-

-

Read/Write

No

DIN3.INV

3592h

01h

Unsigned8

-

-

Read/Write

No

DIN4.INV

3593h

01h

Unsigned8

-

-

Read/Write

No

DIN5.INV

3594h

01h

Unsigned8

-

-

Read/Write

No

DIN6.INV

3595h

01h

Unsigned8

-

-

Read/Write

No

DIN7.INV

3596h

01h

Unsigned8

-

-

Read/Write

No

DIN8.INV

3597h

01h

Unsigned8

-

-

Read/Write

No

DIN9.INV

3598h

01h

Unsigned8

-

-

Read/Write

No

DIN10.INV

3599h

01h

Unsigned8

-

-

Read/Write

No

DIN11.INV

359ah

01h

Unsigned8

-

-

Read/Write

No

DIN12.INV

359bh

01h

Unsigned8

-

-

Read/Write

No

EtherNet/IP

ID

Instance

Attribute

Name

Data Type

Access

User Mappable

20050

1

20050 (0x4e52)

DIN1.INV

Unsigned8

Read/Write

Yes

20051

1

20051 (0x4e53)

DIN2.INV

Unsigned8

Read/Write

Yes

20052

1

20052 (0x4e54)

DIN3.INV

Unsigned8

Read/Write

Yes

20053

1

20053 (0x4e55)

DIN4.INV

Unsigned8

Read/Write

Yes

20054

1

20054 (0x4e56)

DIN5.INV

Unsigned8

Read/Write

Yes

20055

1

20055 (0x4e57)

DIN6.INV

Unsigned8

Read/Write

Yes

20056

1

20056 (0x4e58)

DIN7.INV

Unsigned8

Read/Write

Yes

20057

1

20057 (0x4e59)

DIN8.INV

Unsigned8

Read/Write

Yes

20058

1

20058 (0x4e5a)

DIN9.INV

Unsigned8

Read/Write

Yes

20059

1

20059 (0x4e5b)

DIN10.INV

Unsigned8

Read/Write

Yes

20060

1

20060 (0x4e5c)

DIN11.INV

Unsigned8

Read/Write

Yes

20061

1

20061 (0x4e5d)

DIN12.INV

Unsigned8

Read/Write

Yes

PROFINET

Parameter

PNU

Data Type

Access

Units

DIN1.INV

20050

Unsigned8

Read/Write

-

DIN2.INV

20051

Unsigned8

Read/Write

-

DIN3.INV

20052

Unsigned8

Read/Write

-

DIN4.INV

20053

Unsigned8

Read/Write

-

DIN5.INV

20054

Unsigned8

Read/Write

-

DIN6.INV

20055

Unsigned8

Read/Write

-

DIN7.INV

20056

Unsigned8

Read/Write

-

DIN8.INV

20057

Unsigned8

Read/Write

-

DIN9.INV

20058

Unsigned8

Read/Write

-

DIN10.INV

20059

Unsigned8

Read/Write

-

DIN11.INV

20060

Unsigned8

Read/Write

-

DIN12.INV

20061

Unsigned8

Read/Write

-