USER.INT#

Description

Set of scratchpad variables to use for read and write. There are 10 independent variables (USER.INT1, …, USER.INT10),

USER.INT# is non-volatile. It is saved to and restored from the drive’s parameter configuration using DRV.NVSAVE and DRV.NVLOAD. This property allows USER.INT# to store application state in the drive across a power cycle or reset.

USER.INT# can be selected as an Action Table source by setting Action Source 23 (User Variable) with Source Parameter set to the variable ID. Because USER.INT# is non-volatile, edge-triggered tasks cannot rely on the User Variable source having a value of 0 at power-up. The corresponding USER.INT# value needs to be reset before setting it to the Condition Value that triggers the action. A best practice for edge-triggered actions is to first set USER.INT# to the Condition Value, then to 0, so that subsequent NV save operations leave the drive in a deterministic state.

Examples

Usage

Trigger Action over Modbus.

Code

Map to Modbus
-->MODBUS.MAP 40001 USER.INT2		

 

Setup Action
-->ACTION5.TASK 12
-->ACTION5.TASKID 1
-->ACTION5.SOURCE 23
-->ACTION5.SOURCEID 2
-->ACTION5.CONDITION 12
-->ACTION5.CONDITIONVALUE 20
-->ACTION5.ACTION 1																				

Versions

Action Version Notes
Implemented 02-04-00-000

 

General Information

Type

Read/Write

Units N/A

Range

-32768 to 32767

Default Value 0

Data Type

Integer

See Also ACTION#.SOURCE 23
Stored in Non-Volatile Memory No

Fieldbus Information

EtherCAT CoE and CANopen

Command

Index

SubIndex

Data Type

Units

Float Scale

Access

PDO Mappable

USER.INT1

4100h

01h

Signed16

-

-

Read/Write

No

USER.INT2

4100h

02h

Signed16

-

-

Read/Write

No

USER.INT3

4100h

03h

Signed16

-

-

Read/Write

No

USER.INT4

4100h

04h

Signed16

-

-

Read/Write

No

USER.INT5

4100h

05h

Signed16

-

-

Read/Write

No

USER.INT6

4100h

06h

Signed16

-

-

Read/Write

No

USER.INT7

4100h

07h

Signed16

-

-

Read/Write

No

USER.INT8

4100h

08h

Signed16

-

-

Read/Write

No

USER.INT9

4100h

09h

Signed16

-

-

Read/Write

No

USER.INT10

4100h

0ah

Signed16

-

-

Read/Write

No

EtherNet/IP

ID

Instance

Attribute

Name

Data Type

Access

User Mappable

3200

1

3200 (0xc80)

USER.INT1

Signed16

Read/Write

Yes

3201

1

3201 (0xc81)

USER.INT2

Signed16

Read/Write

Yes

3202

1

3202 (0xc82)

USER.INT3

Signed16

Read/Write

Yes

3203

1

3203 (0xc83)

USER.INT4

Signed16

Read/Write

Yes

3204

1

3204 (0xc84)

USER.INT5

Signed16

Read/Write

Yes

3205

1

3205 (0xc85)

USER.INT6

Signed16

Read/Write

Yes

3206

1

3206 (0xc86)

USER.INT7

Signed16

Read/Write

Yes

3207

1

3207 (0xc87)

USER.INT8

Signed16

Read/Write

Yes

3208

1

3208 (0xc88)

USER.INT9

Signed16

Read/Write

Yes

3209

1

3209 (0xc89)

USER.INT10

Signed16

Read/Write

Yes

PROFINET

Parameter

PNU

Data Type

Access

Units

USER.INT1

3200

Signed16

Read/Write

-

USER.INT2

3201

Signed16

Read/Write

-

USER.INT3

3202

Signed16

Read/Write

-

USER.INT4

3203

Signed16

Read/Write

-

USER.INT5

3204

Signed16

Read/Write

-

USER.INT6

3205

Signed16

Read/Write

-

USER.INT7

3206

Signed16

Read/Write

-

USER.INT8

3207

Signed16

Read/Write

-

USER.INT9

3208

Signed16

Read/Write

-

USER.INT10

3209

Signed16

Read/Write

-