![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454191.webp)
All BASIC commands
Section 4-2
180
/i
4-2-144 INVERTER_WRITE
/i
15
Hex 8000
External
BB
command
•
alarm_number
The number of the alarm to read. See the Inverter manual.
•
from
The start address of the input to read.
•
length
The length of the input to read.
Example
No example.
See also
N/A
Bit
Value
Command
Description
Type
System command
Syntax
INVERTER_WRITE(0, station, 0, param_number, param_size, VR,
mode)
INVERTER_WRITE(0, station, 2, value)
INVERTER_WRITE(0, station, 3, value)
Description
INVERTER_WRITE
writes the parameter, speed reference or torque
reference from the Inverter connected to the system via the MECHA-
TROLINK-II bus.
There are three
INVERTER_WRITE
functions:
•
0: Writes an Inverter parameter.
•
2: Writes the speed reference.
•
3: Writes the torque reference.
To use an Inverter via MECHATROLINK-II you should put the command
and the reference via communication option:
•
Inverter MV/V7: N3=3; N4=9
•
Inverter F7/G7/V1000: B1-01=3; B1-02=3.
Make you sure that the Inverter firmware supports the MECHATRO-
LINK-II board.
The command returns -1 if successfully executed and 0 if failed. The
result (if any) is returned in the selected VR.
Arguments
•
station
The MECHATROLINK-II station number of the Inverter
•
param_number
The number of the parameter to write. See the Inverter manual.
•
param_size
The size of the parameter to write, 2 or 4 bytes. Most of the Inverter
parameters are 2 bytes long. See the Inverter manual.
•
VR
The address in the VR memory of the CJ1W-MCH72 where the new
value for the parameter is.
•
mode
0 = just write; 1= write and enter; 2 = write and config.
•
value
The new value that is written.
Содержание 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...