English
Language : 

CJ1W-MCH72 Datasheet, PDF (191/374 Pages) Omron Electronics LLC – Programmable Controller SYSMAC CJ-series CJ1W-MCH72
All BASIC commands
Section 4-2
Bit Value Command
Description
15 Hex
8000
External BB command
/i
Example
See also
• 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.
No example.
N/A
4-2-144 INVERTER_WRITE
/i
Type
Syntax
Description
System command
INVERTER_WRITE(0, station, 0, param_number, param_size, VR,
mode)
INVERTER_WRITE(0, station, 2, value)
INVERTER_WRITE(0, station, 3, value)
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.
Arguments
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.
• 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.
180