![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454153.webp)
All BASIC commands
Section 4-2
142
4-2-78 DRIVE_MONITOR
/i
4-2-79 DRIVE_READ
/i
Example
No example.
See also
N/A
Type
Axis parameter
Syntax
DRIVE_MONITOR
Description
This parameter contains the monitored data of the Servo Driver
connected to the system via the MECHATROLINK-II bus. The data to
be monitored is selected using
DRIVE_CONTROL
and can be
displayed in the Trajexia Studio scope or used inside a program. The
monitored data is updated each
SERVO_PERIOD
. The command is
executed on the driver for the base axis set by BASE. The base axis
can be changed with the AXIS modifier, as with all the other axis
commands and parameters.
Arguments
N/A
Example
No example.
See also
N/A
Type
Axis command
Syntax
DRIVE_READ(parameter, size, VR)
Description
The
DRIVE_READ
function reads the specified parameter of the Servo
Driver connected to the Trajexia system via the MECHATROLINK-II
bus. Upon successful execution, this command returns -1 and puts the
read value in the VR memory location specified by the VR parameter. If
the command cannot be executed, the value 0 is returned. The com-
mand is executed on the driver for the base axis set with
BASE
. It can
be changed using the
AXIS
modifier, like with all the other axis com-
mands and parameters.
Note: This command waits for the response of the axis, therefore its
execution is slow and the time variable. Do not use this command
together with other commands that require quick execution.
Note: Executing a
DRIVE_READ
will temporarily disable the Servo
Driver Front Panel display.
Note:
DRIVE_READ
returns -1 on success. It also returns -1 with no
parameter read if the parameter number does not exist or has the wrong
size.
Arguments
•
parameter
The number of the parameter to be read. Note that the parameter
numbers are hexadecimal. The format of the data can be found in
the Servo Driver manual.
•
size
SIze of the parameter is specified in bytes. For most parameters the
size is normally 2 bytes. Some special parameters may be 4 bytes
long. Sizes for each parameter can be found in the Servo Driver
manual.
•
VR
The VR address where the read parameter is stored upon success-
ful execution.
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...