![background image](http://html1.mh-extra.com/html/omron/sysmac-cj-series/sysmac-cj-series_operation-manual_743585190.webp)
All BASIC commands
Section 4-2
178
4-2-141 INVERTER_READ
/i
/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.
Bit
Value
Command
Description
0
Hex 1
Run
forward
1
Hex 2
Run
reverse
2
Hex
4
Inverter multifunction Input 3
3
Hex
8
Inverter multifunction Input 4
4
Hex
10
Inverter multifunction Input 5
5
Hex
20
Inverter multifunction Input 6
6
Hex
40
Inverter multifunction Input 7
8
Hex 100
External
fault
9
Hex 200
Fault
reset
14
Hex
4000
Fault history data clear
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...