RMC Register Map (Siemens S7)

Tip: RMCWin's Address Tool provides an easy way to identify addresses in the RMC. Simply open the Address Tool and then move the cursor to any field in RMCWin that represents an RMC Register, and the Address Tool will display the address in the address format of your choice. See Address Tool for details.

The RMC module has 64K (65536) 16-bit registers that can be read from or written to over Ethernet, Modbus Plus, and PROFIBUS-DP. Each register is assigned an address. However, under the different communication methods, different addressing schemes are used. This topic describes the addressing from a Siemens S7. For details on addressing from other modules refer to the following topics:

The Siemens S7-300 and S7-400 families of PLCs, when equipped with the CP 343-1 TCP or CP 443-1 TCP modules, can communicate with the RMC Ethernet module. From the S7, the RMC registers are viewed as data block (DB) registers.

 

Status Registers:

These registers can only be read; writes are ignored.

S7 Address

Register Description

DB1.DBW0

Axis 0 Command Position

DB1.DBW2

Axis 0 Target Position

DB1.DBW4

Axis 0 Actual Position

DB1.DBW6

Axis 0 Transducer Counts

DB1.DBW8

Axis 0 Status Word

DB1.DBW10

Axis 0 Drive

DB1.DBW12

Axis 0 Actual Speed

DB1.DBW14

Axis 0 Null Drive

DB1.DBW16

Axis 0 Event Step

DB1.DBW18

Axis 0 Link Value

DB1.DBW20-38

Same as above but for axis 1

DB1.DBW40-58

Same as above but for axis 2

DB1.DBW60-78

Same as above but for axis 3

DB1.DBW80-98

Same as above but for axis 4

DB1.DBW100-118

Same as above but for axis 5

DB1.DBW120-138

Same as above but for axis 6

DB1.DBW140-158

Same as above but for axis 7

 

Command Registers:

These registers can be read or written.

S7 Address

Register Description

DB1.DBW160

Axis 0 Mode Word

DB1.DBW162

Axis 0 Acceleration

DB1.DBW164

Axis 0 Deceleration

DB1.DBW166

Axis 0 Speed

DB1.DBW168

Axis 0 Command Value

DB1.DBW170

Axis 0 Command

DB1.DBW172-182

Same as above but for axis 1

DB1.DBW184-194

Same as above but for axis 2

DB1.DBW196-206

Same as above but for axis 3

DB1.DBW208-218

Same as above but for axis 4

DB1.DBW220-230

Same as above but for axis 5

DB1.DBW232-242

Same as above but for axis 6

DB1.DBW244-254

Same as above but for axis 7

 

Parameter Registers:

These registers can be read or written. Changes to these registers do not take effect until a Set Parameters (P) command is executed.

S7 Address

Register Description

DB2.DBW0

Axis 0 Configuration Word

DB2.DBW2

Axis 0 Scale

DB2.DBW4

Axis 0 Offset

DB2.DBW6

Axis 0 Extend Limit

DB2.DBW8

Axis 0 Retract Limit

DB2.DBW10

Axis 0 Proportional Gain

DB2.DBW12

Axis 0 Integral Gain

DB2.DBW14

Axis 0 Differential Gain

DB2.DBW16

Axis 0 Extend Feed Forward

DB2.DBW18

Axis 0 Retract Feed Forward

DB2.DBW20

Axis 0 Extend Acceleration Feed Forward

DB2.DBW22

Axis 0 Retract Acceleration Feed Forward

DB2.DBW24

Axis 0 Dead Band Eliminator

DB2.DBW26

Axis 0 In Position Window

DB2.DBW28

Axis 0 Following Error

DB2.DBW30

Axis 0 Auto Stop

DB2.DBW32-62

Same as above but for axis 1

DB2.DBW64-94

Same as above but for axis 2

DB2.DBW96-126

Same as above but for axis 3

DB2.DBW128-158

Same as above but for axis 4

DB2.DBW160-190

Same as above but for axis 5

DB2.DBW192-222

Same as above but for axis 6

DB2.DBW224-254

Same as above but for axis 7

 

Event Step Table Registers:

These registers can be read or written.

S7 Address

Register Description

DB3.DBW0

Step 0 Mode Word

DB3.DBW2

Step 0 Acceleration

DB3.DBW4

Step 0 Deceleration

DB3.DBW6

Step 0 Speed

DB3.DBW8

Step 0 Command Value

DB3.DBW10

Step 0 Command/Commanded Axes

DB3.DBW12

Step 0 Link Type/Link Next

DB3.DBW14

Step 0 Link Value

DB3.DBW0+n*16

Step n (0-255) Mode Word

DB3.DBW2+n*16

Step n (0-255) Acceleration

DB3.DBW4+n*16

Step n (0-255) Deceleration

DB3.DBW6+n*16

Step n (0-255) Speed

DB3.DBW8+n*16

Step n (0-255) Command Value

DB3.DBW10+n*16

Step n (0-255) Command/Commanded Axes

DB3.DBW12+n*16

Step n (0-255) Link Type/Link Next

DB3.DBW14+n*16

Step n (0-255) Link Value

 

Input to Event Table Registers:

These registers can be read or written.

S7 Address

Register Description

DB4.DBW0

Event Step for Axis 0 on Input 0 Rising Edge

DB4.DBW2

Event Step for Axis 1 on Input 0 Rising Edge

DB4.DBW4

Event Step for Axis 2 on Input 0 Rising Edge

DB4.DBW6

Event Step for Axis 3 on Input 0 Rising Edge

DB4.DBW8

Event Step for Axis 4 on Input 0 Rising Edge

DB4.DBW10

Event Step for Axis 5 on Input 0 Rising Edge

DB4.DBW12

Event Step for Axis 6 on Input 0 Rising Edge

DB4.DBW14

Event Step for Axis 7 on Input 0 Rising Edge

DB4.DBW16 + n*2

Event Step for Axes n (0-7) on Input 1 Rising Edge

:

DB4.DBW240 + n*2

Event Step for Axes n (0-7) on Input 15 Rising Edge

DB4.DBW256 + n*2

Event Step for Axes n (0-7) on Input 0 Falling Edge

:

DB4.DBW496 + n*2

Event Step for Axes n (0-7) on Input 15 Falling Edge

 

Status Map Registers:

This block of registers is only used by the Modbus Plus and PROFIBUS interfaces. Therefore, these registers are unused by this Ethernet protocol.

S7 Address

Register Description

DB5.DBW0-62

Status Map Entries

 

Plot Type Registers:

The plot type registers can be read or written. The values that are read indicate the extra plot information in the current graph. The values written to these registers tell the controller which extra plot information to obtain on the next plot. For these registers, the following values are used:

For more information on these four types of plot information, see Selecting the Data to Plot and Reading Plots from the Communication Module.

S7 Address

Register Description

DB6.DBW0

Axis 0 plot type

DB6.DBW2

Axis 1 plot type

DB6.DBW4

Axis 2 plot type

DB6.DBW6

Axis 3 plot type

DB6.DBW8

Axis 4 plot type

DB6.DBW10

Axis 5 plot type

DB6.DBW12

Axis 6 plot type

DB6.DBW14

Axis 7 plot type

 

Digital (Discrete) I/O Registers:

These registers indicate the current state of the digital inputs and outputs. These registers may only be read; writes will be ignored, as this product does not support forcing inputs or outputs.

S7 Address

Register Description

DB6.DBW16

CPU Digital Inputs 0 and 1 in LSBs of low byte, Outputs 0 and 1 in LSBs of high byte

DB6.DBW18

Unused

DB6.DBW20

Unused

DB6.DBW22

Sensor Digital I/O Inputs 0-15

DB6.DBW24

Sensor Digital I/O Inputs 16-17 (stored to two LSBs)

DB6.DBW26

Sensor Digital I/O Outputs 0-7 in high byte (low byte unused)

DB6.DBW28

Unused

DB6.DBW30

Unused

 

Plot Time Registers:

The Plot Time interval is configurable on the RMC. This interval indicates the number of control loops between each sample in a plot. Therefore, if the control loop is 0.976ms (e.g. RMC100-M1), this indicates roughly the number of milliseconds between samples. If the control loop is 1.953ms (e.g. RMC100-M4), this indicates half of the number of milliseconds between samples.

These registers may be read or written. When read, they indicate the plot interval of the currently gathered plot. When written, they set the plot interval the RMC should use for the next plot it will gather. When the RMC starts the next plot, it copies the requested plot interval into the currently used plot interval.

S7 Address

Register Description

DB6.DBW32

Axis 0 plot time interval

DB6.DBW34

Axis 1 plot time interval

DB6.DBW36

Axis 2 plot time interval

DB6.DBW38

Axis 3 plot time interval

DB6.DBW40

Axis 4 plot time interval

DB6.DBW42

Axis 5 plot time interval

DB6.DBW44

Axis 6 plot time interval

DB6.DBW46

Axis 7 plot time interval

 

Last Parameter Error Registers:

Note: To use these registers through Ethernet, you must have RMC100 CPU control firmware dated 19990715 or later.

Each of these read-only registers holds the number of the last parameter error generated on an axis. This is useful for determining the cause of the Parameter Error bit in the status word. For a description of the values read from these registers, see Parameter Error Values.

S7 Address

Register Description

DB6.DBW48

Last parameter error on axis 0

DB6.DBW50

Last parameter error on axis 1

DB6.DBW52

Last parameter error on axis 2

DB6.DBW54

Last parameter error on axis 3

DB6.DBW56

Last parameter error on axis 4

DB6.DBW58

Last parameter error on axis 5

DB6.DBW60

Last parameter error on axis 6

DB6.DBW62

Last parameter error on axis 7

 

Firmware Date Registers:

Note: To use these registers through Ethernet, you must have RMC100 CPU control firmware dated 19990715 or later.

These read-only registers hold information about the firmware versions in the RMC100 CPU module. The Boot and Loader firmware versions have no effect on the actual performance of the RMC and therefore can usually be ignored.

S7 Address

Register Description

DB6.DBW64

Boot firmware month (MSB) and day (LSB)

DB6.DBW66

Boot firmware year

DB6.DBW68

Loader firmware month (MSB) and day (LSB)

DB6.DBW70

Loader firmware year

DB6.DBW72

Control firmware month (MSB) and day (LSB)

DB6.DBW74

Control firmware year

DB6.DBW76

Control firmware Beta Code. This will be 0 for standard release firmware, 'B' for Beta firmware, or 'SI' for Superimposed firmware.

DB6.DBW78

Feature code. This register is mainly reserved for internal use but does have two bits that may be useful to some users:

  • If bit 1 (value 0x0002) is set, the control loop is 2 ms, otherwise the control loop is 1 ms.

  • If bit 0 (value 0x0001) is set, a sensor DI/O is present, otherwise there is no sensor DI/O.

 

Spline Download Area:

These registers are write only. Reading them will return zero. This area is used to download intervals and points in a spline. This is a much more efficient alternative to using individual New Spline Point and Set Spline Interval/End Segment commands. For details on using this Spline Download Area, see Downloading Splines to the RMC.

S7 Address

Register Description

DB192-207

Spline Download Area

 

Plot Registers:

These registers can only be read; writes are ignored.

Note: Reading plots is not a trivial task; for further details, see Reading Plots from the Communication Module.

Each plot data block has 1024 elements.

S7 Address

Register Description

DB208-213

Plot data for axis 0

DB214-219

Plot data for axis 1

DB220-225

Plot data for axis 2

DB226-231

Plot data for axis 3

DB232-237

Plot data for axis 4

DB238-243

Plot data for axis 5

DB244-249

Plot data for axis 6

DB250-255

Plot data for axis 7

 


Copyright (c) 1997-2015 by Delta Computer Systems, Inc.