Omron trajexia CJ1W-MCH72 Operation Manual page 190

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

Advertisement

All BASIC commands
4-2-143 INVERTER_READ
/i
Type
System command
Syntax
INVERTER_READ(0, station, 0, param_number, param_size, VR)
INVERTER_READ(0, station, 1, alarm_number, VR)
INVERTER_READ(0, station, 2, VR)
INVERTER_READ(0, station, 3, VR)
INVERTER_READ(0, station, 4, from, length, VR)
Description
INVERTER_READ reads the parameter, speed reference, torque refer-
ence or alarm from the Inverter connected to the system via the
MECHATROLINK-II bus.
There are five INVERTER_READ functions:
0: Reads an Inverter parameter.
1: Reads the Inverter alarm.
2: Reads the speed reference.
3: Reads the torque reference.
4: Reads the Inverter inputs.
To use an Inverter via MECHATROLINK-II you must 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 read. See the Inverter manual.
param_size
The size of the parameter to read, 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 read
information is put. When the function is 4, the result is returned as a
bitwise value. See the table below.
/i
Bit
Value
Command
0
Hex
1
1
Hex
2
2
Hex
4
3
Hex
8
4
Hex
10
5
Hex
20
6
Hex
40
8
Hex
100
9
Hex
200
14
Hex
4000
Description
Run forward
Run reverse
Inverter multifunction Input 3
Inverter multifunction Input 4
Inverter multifunction Input 5
Inverter multifunction Input 6
Inverter multifunction Input 7
External fault
Fault reset
Fault history data clear
Section 4-2
179

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents