Omron trajexia CJ1W-MCH72 Operation Manual page 191

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-144 INVERTER_WRITE
180
Bit
Value
Command
15
Hex
8000
/i
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
/i
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.
Description
External BB command
Section 4-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents