Communication functions – MITSUBISHI ELECTRIC MR-J2S- A User Manual

Page 316

Advertising
background image

14 - 23

14. COMMUNICATION FUNCTIONS

(2) Jog operation

Transmit the following communication commands.

(a) Setting of jog operation data

Item

Command

Data No.

Data

Speed

[A][0]

[1][0]

Write the speed [r/min] in hexadecimal.

Acceleration/deceleration
time constant

[A][0]

[1][1]

Write the acceleration/deceleration time constant [ms] in
hexadecimal.

(b) Start

Turn on the input devices SON LSP LSN by using command [9][2] data No. [0][0].

Item

Command

Data No.

Data

Forward rotation start

[9][2]

[0][0]

00000807: Turns on SON LSP LSN ST1.

Reverse rotation start

[9][2]

[0][0]

00001007: Turns on SON LSP LSN ST2.

Stop

[9][2]

[0][0]

00000007: Turns on SON LSP and LSN.

(3) Positioning operation

Transmit the following communication commands.

(a) Setting of positioning operation data

Item

Command

Data No.

Data

Speed

[A][0]

[1][0]

Write the speed [r/min] in hexadecimal.

Acceleration/deceleration
time constant

[A][0]

[1][1]

Write the acceleration/deceleration time constant [ms] in
hexadecimal.

Moving distance

[A][0]

[1][3]

Write the moving distance [pulse] in hexadecimal.

(b) Input of servo-on stroke end

Turn on the input devices SON LSP and LSN by using command [9][2] data No. [0][0].

Item

Command

Data No.

Data

Servo-on

[9][2]

[0][0]

00000001: Turns on SON.

Servo OFF
Stroke end ON

[9][2]

[0][0]

00000006: Turns off SON and turns on LSP LSN.

Servo-on
Stroke end ON

[9][2]

[0][0]

00000007: Turns on SON LSP LSN.

(c) Start of positioning operation

Transmit the speed and acceleration/deceleration time constant, turn on the servo-on (SON) and
forward/reverse rotation stroke end (LSP LSN), and then send the moving distance to start
positioning operation. After that, positioning operation will start every time the moving distance is
transmitted. To start opposite rotation, send the moving distance of a negative value.
When the servo-on (SON) and forward/reverse rotation stroke end (LSP LSN) are off, the
transmission of the moving distance is invalid. Therefore, positioning operation will not start if the
servo-on (SON) and forward/reverse rotation stroke end (LSP LSN) are turned on after the setting
of the moving distance.

(d) Temporary stop

A temporary stop can be made during positioning operation.

Command

Data No.

Data

[A][0]

[1][5]

1EA5

Retransmit the same communication commands as at the start time to resume operation.
To stop positioning operation after a temporary stop, retransmit the temporary stop communication
command. The remaining moving distance is then cleared.

Advertising