Program Example When 1 Station Is Occupied - Mitsubishi Electric MELSERVO-J2-Super Series Instruction Manual

Servo amplifier
Hide thumbs Also See for MELSERVO-J2-Super Series:
Table of Contents

Advertisement

3. CC-Link COMMUNICATION FUNCTIONS

3.8.2 Program example when 1 station is occupied

Operate the servo amplifier of station 1 in the positioning mode and read the "current position" data.
Operation: Alarm reset, dog type zeroing, JOG operation, automatic operation under point table
command
Code No.
H0001
Lower 16-bit data of current position (hexadecimal)
H0002
Upper 16-bit data of current position (hexadecimal)
Servo-on command
Automatic/manual operation selection command
Automatic/manual operation selection command
Home position return
command
Proximity dog command
Home position return completion
Forward rotation JOG command
Reverse rotation JOG command
Positioning
In position Rough
start
match
command
POINT
To execute a dog type home position return with the CC-Link
communication functions, set "
Proximity dog (DOG) with the remote input (RY03) in this example.
Description
Reset
command
Home position return
completion
3 " in parameter No. 116 and use
3 - 53
Reads remote input (RX00 to RX1F) of buffer
memory to M200 to M231.
Writes current alarm read (H0010) to RW
at trouble (RY1A) occurrence.
Turns on instruction code execution demand
(RY09).
Reads RW
of buffer memory to D11 when
R3
answer code becomes normal reply.
Turns off instruction code execution demand
(RY09).
Alarm reset command (RY1A)
Alarm reset command (RY1A) reset
Servo-on command (RY00)
Automatic operation selection (RY06)
Manual operation selection (RY06)
Home position return request
Forward rotation start request
Command request time 10ms
Forward rotation start request reset
Proximity dog command (RY03)
Home position return request reset
Forward rotation start request
Reverse rotation start request
Positioning start command
W2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents