4 AUXILIARY AND APPLIED FUNCTIONS

<Program example>

(1)Self CPU program which connects/disconnects servo amplifiers from Axis 5 on Disconnect procedure: Turn OFF the power supply of servo amplifier after

checking its LED display for "AA".

Connect procedure: Resume operation of servo amplifier after verifying that the servo ready (M2415+20n) is ON.

System configuration

 

 

 

 

 

 

 

 

 

Q61P

QnUD(H)

Q172D

QY40

QY40

Q172D

QY40

 

CPU

CPU

 

 

LX

 

 

 

 

 

 

 

 

Disconnection (From Axis 5 on)

AMP

AMP

Axis 1

Axis 2

M

M

(a)Motion SFC program Disconnect operation

AMP

AMP

AMP

Axis 3

Axis 4

Axis 5

M

M

M

AMP

Axis 8

M

Connect operation

[G10]

Disconnect processing

SD508==0

Check the disconnect

[G10]

command accept status.

 

Set "5" (Disconnect from

 

Connect processing

SD508==0

Check the connect command accept status.

[F10] SD803=5

[G20] SD508==-1

[F20]

SD803=-2

[G30] SD508==0

Axis 5 on) as disconnect

[F10]

 

command in SD803.

 

Disconnect execute waiting

[G20]

 

Set "-2" as disconnect

[F20]

execute command in

 

SD803.

 

Check the completion of

[G30]

disconnect processing.

 

SD803=-10

SD508==-1

SD803=-2

SD508==0

Set "-10" as connect command in SD803.

Connect execute waiting

Set "-2" as connect execute command in SD803.

Check the completion of connect processing.

END

END

4 - 39