S5135 U problem

please forget my post #12, not inherent.

Code:
OB1 / segment 1
0003 DBA1 :  DB 40             // assign 40 to param. DBA1
0006 ADR. :  KF +160           // assign 160 to param. ADR.

FB65
0021      :B   =DBA1      // open DB40 data block
Segment  2
002E      :LW  =ADR.      // Load ADR. parameter, 160
002F      :T   FW 252     // store to FW252
0030      :I        2     // increase + 2, then 162
0031      :T   FW 250     // store to FW250 word: FW250 = 162
........
004C      :DO  FW 250     // indirect addressing: using FW250 data, 162
004D      :L   PW   0     // load peripherie L PW 162
004E      :T   DW 100     // store to DW100 of DB40
what is PW162 input? try to insert an L PW 162 in OB1 as first instruction.
 
Have you performed an overall reset?

Procedure:

1. Hold Down bottom toggle switch
2. Switch from stop to run twice
3. Stop LED flashes regualr frequancy
4. Keep bottom toggle switch held until stop light stops flashing
5. Place in Run

The try re-downloading the program.

M.W www.ac-sys.co.uk
 
Can you please use the compare function in the S5 Software.
Compare the program on the computer with the program in the PLC
Please report any errors.
 
Hi!

As far as I can remember, the I-STACK stepcounter points to the step after the error line. If I remember right, does this mean that it's the load command that makes your plc stop. You have to check your input area more closely.

Regards
Kalle
 
according to I stack what is exact input that have stop CPU?
L PW 162.
The cpu stops in FB65 at relative address 004D. This is the first PW reading in your program. The "L PW 162" is an immediate reading for fast resposnse.
I think your PW inputs are for encoder reading. If you have an encoder reading card as IP240 or similar card, your cpu can't read that card.
 

Similar Topics

Hello, I need to write the following program in Ladder language, but I could not integrate the Fibonacci sequence into the ladder. Can you help...
Replies
22
Views
455
On all pages of my project i have a lot of information, texts and details that should not not be shown. I can remove them for each part apart from...
Replies
0
Views
47
Hi, I have had problem with upgrading some projects from v16 to v18. I tried it on 3 diffrent computers. I want to post this so that anyone that...
Replies
3
Views
200
Hi, I am having a challenge installing a new drive ACS355-03E-44A0-4 as it keeps on displaying Fault code F00018 even when the load is not...
Replies
3
Views
149
I have an issue on my vessel, we have water tight door system created in China, company is no longer operating. We have 7 doors each with their...
Replies
4
Views
161
Back
Top Bottom