Back

RMC150 Registers, Files 56-59, 72-75, 88: Variables Registers

All variable registers are Read/Write.

Tip:
For the DF1/CSP addressing format, all 'F' type registers (32-bit floating point) can also be read as 'L' type (32-bit word) registers. This is very useful when reading variables defined as DWORD or DINT data types.

 

AB

DF1,CSP
Address

Modbus
TCP
,RTU
Address

FINS

Address

External

Data Type

Internal

IEC
Address

Internal
Data Type

Register Name

Variables - Current Values

F56:0-255

28673-

29183

D28672-

D29182

*

%MD56.0-255

*

Variables 0-255 - Current Values

F57:0-255

29185-

29695

D29184-

D29694

*

%MD57.0-255

*

Variables 256-511 - Current Values

F58:0-255

29697-

30207

D29696-

D30206

*

%MD58.0-255

*

Variables 512-767 - Current Values

F59:0-255

30209-

30719

D30208-

D30718

*

%MD59.0-255

*

Variables 768-1023 - Current Values

Variables - Initial Values

F72:0-255

36865-

37375

E0_04096-

E0_04606

*

%MD72.0-255

*

Variables 0-255 - Initial Values

F73:0-255

37377-

37887

E0_04608-

E0_05118

*

%MD73.0-255

*

Variables 256-511 - Initial Values

F74:0-255

37889-

38399

E0_05120-

E0_05630

*

%MD74.0-255

*

Variables 512-767 - Initial Values

F75:0-255

38401-

38911

E0_05632-

E0_06142

*

%MD75.0-255

*

Variables 768-1023 - Initial Values

Variables - Attributes

F88:0-255

45057-

45567

E0_12288-

E0_12798

DWORD

%MD88.0-255

DWORD

Variables 0-1023 - Attributes (4 variables per register)

* The data types of the variables are specified by the user when defining a variable in the Variable Table.

Allen-Bradley DF1 and CSP

Where allowed by the host controller's communications, all the current values of the variables can also be addressed as F56:n, up to n = 1023.

Modbus/TCP and /RTU

The address of the current value of variable n is 28673 + 2 x n.

FINS

The address of the current value of variable n is D28672 + 2 x n.

Note:
For the Modbus and FINS protocols, the command registers are duplicated in a lower address area for PLCs that cannot access a wide range of registers. See the Modbus Addressing and FINS Addressing topics for details.

Tag Names

Tag names are given to registers to be used when accessing the registers from within RMCTools. Tag names make the project easy to read.

The variables can given a user-defined tag name in the Variable Table Editor, which is the preferred method of referencing variables from within RMCTools. The user-defined variable name references the variable's Current Value.

Otherwise, each variable has a tag name as follows:

_VarTbl.CurVal[n] - Current Value of variable n.

_VarTbl.Initial[n] - Initial value of variable n.

 

See Also

RMC150 Register Map | Variable Attributes


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion