![background image](http://html1.mh-extra.com/html/omron/r88a-mcw151-drt-e/r88a-mcw151-drt-e_operation-manual_742243150.webp)
135
Command, function and parameter description
Section 6-3
6-3-60
DRV_WRITE
Type:
Servo Driver Command
Syntax:
DRV_WRITE(
parameter, value
)
Description:
The DRV_WRITE command writes a specific value to the specified Pn-type
parameter of the Servo Driver. For some parameters the system needs to be
powered OFF, and turned ON again. Also the DRV_RESET command can be
used.
The Servo Driver Pn parameters are divided into two groups:
• Selection parameters, which contain hexadecimal value. One example is
for instance the Pn50A (input signal selection 1)
• Value parameters, which contain integer values. One example is for
instance the Pn205 (absolute encoder multi-turn limit setting)
Please note that executing a DRV_WRITE will temporarily disable the Servo
Driver Front Panel display.
!Caution
Be sure that no Parameter Unit or Personal Computer Software is connected
to the Servo Driver when executing this command. Otherwise the program
task will be paused until the connection of the other device to the Servo Driver
is removed.
Arguments:
parameter
The number of the Pn-parameter to be written. Note that the parameter num-
bers are hexadecimal.
value
The value to write to the parameter.
See also:
DRV_READ, DRV_RESET, hexadecimal input ($)
Examples:
Writing the “Input signal selection 2” parameter, which contains a hexadeci-
mal selection value.
>> DRV_WRITE($50B,$8883)
Reading the “Speed loop integration constant“ parameter, which contains an
integer value.
>> DRV_WRITE($101,4000)
6-3-61
EDIT
Type:
Program Command
Syntax:
EDIT
[
line_number
]
Alternative:
ED
[
line_number
]
Description:
The EDIT command starts the built in screen editor allowing a program in the
MC Unit memory to be modified using a VT100 Terminal. The currently
selected program will be edited.
The editor commands are as follows:
Quit Editor
[CTRL] K and D
Delete Line
[CTRL] Y
Precautions:
This command is implemented for an offline (VT100) terminal. Within Motion
Perfect users can select the command from the Program menu.
Arguments:
line_number
The number of the line at which to start editing.
See also:
SELECT