|
Supported Axes: |
All |
|
Supported Controllers: |
RMC75/150 |
See the Commands Overview topic for basic command information and how to issue commands from PLCs, HMIs, etc.
Command Parameters
|
# |
Parameter Description |
Range |
|---|---|---|
|
1 |
Address Note: See Specifying a Register Address below. |
unsigned integer |
|
2 |
Value |
|
Description
Note: Delta does not recommend using this command. From a PLC, you can write to any register directly without needing to send this command. In a user program, use the Expression (113) command to write directly to registers.
This command writes the value specified by the Value parameter into the address specified by the Address parameter.
This command is not intended to be used in user programs. Use the Expression (113) command instead. For example, the following expression will write a value of 12 to the variable MyVariable:
Notice that this command is not necessary for indirect addressing in expressions, as the REG_REAL(file, elem) and related functions are the preferred method of indirect addressing.
Specifying a Register Address
When issuing this command from anywhere other than RMCTools, the addresses in the Address command parameter must be entered as an integer value.
RMC addresses are represented in IEC format as:
%MDfile.element, where file = file number, and element = element number.
Use the following equation to convert a register address to integer format, N:
N = file * 4096 + element
Example:
Register address %MD8.33 is 8*4096 + 33 = 32801.
See Also
Read Register (111) | List of Commands | Commands Overview
Copyright © 2026 Delta Computer Systems, Inc. dba Delta Motion