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 am a plc engineer and I have a job to do in the NIGERIA 25000 TON GRAIN SILOS STORAGE CONTROL PANEL. A problem where the panel is not...
Replies
1
Views
149
The project on the operator workstation keeps disconnecting, even though I have an installation server and operating station set up through...
Replies
0
Views
64
I have a problem, I'm running an AE Licence Manager on a Windows 2016 Server, and my Window Maker is on another separate Windows 2016 Server. My...
Replies
0
Views
94
I have one old Ansaldo VFD from 37kW and it have only sign OFF on the display after put it on the 3x400VAC. Is there any idea, how to solve this...
Replies
1
Views
88
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
23
Views
654
Back
Top Bottom