slasher

QD70d8 error code 820

16 posts in this topic

how can i fixed this error when i execte the home function

movp k9001 d102

zp.pztrt1 "u1" d100 m162

Share this post


Link to post
Share on other sites

820 is an error that the PLC is in error.

What is the error code of the PLC CPU?

 

Share this post


Link to post
Share on other sites

CPU Error - 2112 SP.Unit Error or the QD70D8

QD70D8 Error Code - 820

Share this post


Link to post
Share on other sites

When i create a JOG Program (Forward/Reverse JOG)

QD70D8 - No Error

PLC CPU - No Error

 

When Homing  Executed

this Command:

movp k9001 d102

zp.pztrt1 "u1" d100 m162

 

this error appear:

CPU Error - 2112 SP.Unit Error or the QD70D8

QD70D8 Error Code - 820

 

Share this post


Link to post
Share on other sites

The PLC Cannot find any special module at adress U1. 
What is the IO adress of the QD70 module. You can check via the system monitor

 

Share this post


Link to post
Share on other sites

MOUNTED SLOT No. = "0"

2 Slot Occupy [(Empty) 16Point + 32Points]

--------------------------------------------------

in the system monitor

CPU                                I/O Address

0-0 EMPTY 16 point          0000

0-1 QD70D8 32 Point        0010

 

 

Share this post


Link to post
Share on other sites

Does the Error jump to this instruction  zp.pztrt1 "u1" d100 m162 ???

Share this post


Link to post
Share on other sites

yes when i trigger this instruction the error appear

.... is there a problem in OPR Method?

 

 - I B60 I - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ PLS M160 ] -

- [ M160 I - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - [ SET M161]-

- I M161I - - - - - - - - - - - - - - - - - - - - - - - [ MOVP K9001 D202]-

                  I - -  - - - - - - - - - - - -[ZP.PSTRT1 "U1" D200 M162]-

                  I - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  [RST M161]-

 

 

 

 

Share this post


Link to post
Share on other sites

It looks like the positioning operation fails to start and you are getting error 820 to warn you about that.

Under what conditions is M161 reset?

From the code you posted above it looks like the RST comes immediately after the positioning start command. In that case it's likely the drive does not have time to respond within one scan of the PLC. The [ZP.PSTRT1 command is turned off before it can complete properly.

Try this:

*SET M161

*when M161=ON, execute OPR as you are but don't RST M161 yet

*RST M161 when M161=ON AND positioningStartOK signal OR positioningStartError signal

Also make sure no other commands can be issued to the axis at the same time as M161 is ON.

In the programming example, I think X20 is the startOK signal and X18 is the startError signal.

image.thumb.png.9c733e87e448603c7d463e2b

 

EDIT:

Just got a chance to have a proper look at that zp_pstrt instruction and I think the problem is that you MOVP the position no. at the wrong time. Do the MOVP 9001and SET M161 when M160 is pulsed. Then when M161 is ON, execute zp.pstrt and RST   M161.

Hope that is more helpful sorry.

image.thumb.png.4af7c65e0c15df6aa3bc5f00

Edited by Luke.S
Bad answer

Share this post


Link to post
Share on other sites

The problem seems te be that the CPU can't access the QD70. Can you make an empty program and try and write something to a BFM od the QD70.

Like TO K1 K1 D0 K1.

If the Error is still there put the module in slot 0 and try again with T0 K0 K1 D0 K1

 

 

 

Share this post


Link to post
Share on other sites

.... i clear all the parameter cpu and the qd70d8

.... reconfigure step by step

.... setting parameter

....create new program

.....Homing

.... [MOVP K9000 U1\G52]

....TIMER (T120 K10)

....T120 ON - > Y18 Start

.... Homing successful

Share this post


Link to post
Share on other sites

Great that it works.

I recommend using SET/RST instead of a timer if you can. When the program gets more complicated and lots of events are going on, it makes it easier to keep track of things and make sure they don't interrupt each other.

As you can see in Mitsubishi's example above, M7 gets latched on when it's interlock conditions are met. It stays on until Y18 turns on. That makes sure that another routine couldn't overwrite U1/G52 and maybe cause an accident if some other positioning started when you were expecting a HPR.

Share this post


Link to post
Share on other sites

.... how about.... how can i change the Target position.... in Positioning Axis#1 Data

1. Positioning Address

...... U3\G61 ... Reuqest to Change

......U3\G62 ... Set Target Position

..

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now