EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R16MTCPU - Page 188

Mitsubishi Electric MELSEC iQ-R16MTCPU
460 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
186
5 FUNCTIONS USED WITH SSCNET COMMUNICATION
5.3 SSCNET Control Function
Program to connect/disconnect the servo amplifiers after Axis 5 connected to the Motion CPU
(CPU No.2) by the PLC CPU (CPU No.1).
Procedure Operation
Disconnect procedure Turn OFF the servo amplifier's control circuit power supply after checking the LED display "AA" of servo amplifier by turning X0
from OFF to ON.
Connect procedure Resume operation of servo amplifier after checking the "[St.1075] Servo ready (R: M32415+32n/Q: M2415+20n)" of servo
amplifier by turning X1 from OFF to ON.
System configuration
M
AMP
Axis 1
R61P
RnCPU
R32MT
CPU
RY40
NT5P
RY40
NT5P
M
AMP
Axis 2
M
AMP
Axis 3
M
AMP
Axis 4
M
AMP
M
AMP
Axis 6
M
AMP
Axis 7
M
AMP
Axis 8
Disconnection (After Axis 5)
SM400
MOV K1 D51
MOV K-2 D104
M100
MOV K5 D102
SET M100
Set "-2: Execute command" in D104.
0
5 Set "5: Disconnect command of SSCNET
communication" (Disconnect after Axis 5)
in D102.
M101 M102 X0
M100
DP.DDRD H3E1 D50 "SD508" D100 M10
RST M100
SET M101
18
M10
M10 M11
MOV K-10 D102
= D100 K0
SET M100
X1
Set "-10: Connect command of SSCNET
communication" in D102.
Read the data of SD508 for Multiple CPU
system (CPU No.2) by turning M100 ON, and
store them to data area (D100) of self CPU.
M101
DP.DDWR H3E1 D50 D102 "SD803" M12
RST M101
SET M102
39
M12
M12 M13
Write D102 to the data of SD803 for Multiple
CPU system (CPU No.2) by turning M101 ON.
(Disconnect/Connect command)
M102
DP.DDRD H3E1 D50 "SD508" D100 M10
RST M102
SET M103
57
M10
M10 M11
= D100 K-1
M103
DP.DDWR H3E1 D50 D104 "SD803" M12
RST M103
SET M104
78
M12
M12 M13
Read the data of SD508 for Multiple CPU
system (CPU No.2) by turning M102 ON, and
store them to data area (D100) of self CPU.
M104
DP.DDRD H3E1 D50 "SD508" D100 M10
RST M104
96
M10
M10 M11
= D100 K0
Write D104 to the data of SD803 for Multiple
CPU system (CPU No.2) by turning M103 ON.
(Disconnect/connect execute command)
Read the data of SD508 for Multiple CPU
system (CPU No.2) by turning M104 ON, and
store them to data area (D100) of self CPU.
Axis 5
Sequence program

Table of Contents

Related product manuals