BASIC commands
PROGRAMMING MANUAL
121
R
e
vi
si
o
n
1
.0
/i
3.2.172 INVERTER_READ
/i
4
Hex
10
Inverter multifunction Input 5
5
Hex
20
Inverter multifunction Input 6
6
Hex
40
Inverter multifunction Input 7
7
Hex
80
Inverter multifunction Input 8 (Only G7)
8
Hex 100
External
fault
9
Hex 200
Fault
reset
10
Hex
400
Inverter multifunction Input 9 (only G7)
11
Hex
800
Inverter multifunction Input 10 (only G7)
12
Hex
1000
Inverter multifunction Input 11 (only G7)
13
Hex
2000
Inverter multifunction Input 12 (only G7)
14
Hex
4000
Fault history data clear
15
Hex 8000
External
BB
command
If with function 8 the mode parameter is set to 1, the Inverter is set into servo
axis mode. The corresponding axis number is assigned by the TJ2-MC64
using the formula:
AxisNo = MECHATROLINK-II Station Number - 0x21 +
AXIS_OFFSET
Therefore the calculated AxisNo must not be occupied by another axis con-
nected.
If with function 8 the mode parameter is set to 0, which is the default value at
power-up, the Inverter is set into normal Inverter mode.
Bit
Value
Command
Description
Arguments
•
module
The number of the TJ1-ML__ that the Inverter is connected to.
•
station
The MECHATROLINK-II station number of the Inverter.
•
alarm_number
The number of the alarm. See the Inverter manual.
•
operation_signals
A bitwise value to control the operation signals. See the table below.
•
mode
The mode to set the Inverter to:
0 = Inverter mode. This is the default value at power-up.
1 = Servo Drive mode.
Example
>>INVERTER_WRITE(1,$23,2,4500)
>>INVERTER_COMMAND(1,$23,7,2)
>>WA(10000)
>>INVERTER_COMMAND(1,$23,7,0)
The sequence above controls an Inverter connected via MECHATROLINK-II
bus to TJ1-ML__ unit at slot 1 and with station number 23 (hex), using follow-
ing steps:
Step 1: Speed reference is set to 45.00 Hz.
Step 2: The Inverter is set to run in reverse direction for 10 seconds with
speed reference defined in previous step.
Step 3: The Inverter is stopped.
See also
N/A
Type
System command
Syntax
INVERTER_READ(module, station, 0, param_number, param_size, VR)
INVERTER_READ(module, station, 1, alarm_number, VR)
INVERTER_READ(module, station, 2, VR)
INVERTER_READ(module, station, 3, VR)
INVERTER_READ(module, station, 4, from, length, VR)