Simple maths not working - why??

PLCben79

Member
Join Date
May 2013
Location
Hemel Hempstead
Posts
7
Hi

I am fairly new to PLC programming and I am self learning. I have written a simple program to detect and store the RPM and ultimately the frequency, of a conveyor in memory for use in the process later on.

but when i simulate the program the maths doesnt seem to work. I know the simulator doesnt simulate the SPD function so I wrote and integer to D0 memory location so the maths could function, but nothing happens I dont see any integers stored in any other memory locations.

I have attached a screen shot of my ladder, i am using a Mitsubishi FX1S and GX Works 2

I guess im missing something quite simple
 

Similar Topics

Hi This is the last one of my long list of questions for now... Yesterday I was doing a quick job on an S5 PLC and entered the following code...
Replies
6
Views
1,993
Hello, I´m having a problem trying to program in Ladder. An output should be trigged by two possible contacts. Take a look on the printscreen...
Replies
3
Views
27
Hello again..trying something on an existing poorly written program and just wanted to double check something system is an A-B MicroLogix 1200 In...
Replies
5
Views
176
Hi all, Writng a FB in ST on Beckhoff TC for a pulser which turns on and off on a cycle, is paused by turning bControlInput to FALSE, but resumes...
Replies
6
Views
268
I'm trying to build my Classic Step 7 programming skills this weekend. I get stuck on little things that are not covered in YouTube tutorials. I'm...
Replies
7
Views
322
Back
Top Bottom