AD PLC Math Question

jimtech67

Member
Join Date
Jun 2002
Location
New Jersey
Posts
505
How do I read the value in the first stack location of a Automation Direct PLC (DL 260)? I am doing a divide DIV and I want the value of the remainder.



[font=&quot]GO JETS[/font]
 
Use the POP instruction to bring all levels of the stack up one level. Then just OUT the value to a Vmemory location.

Andy
 

Similar Topics

Hi everybody i am currently working with a project at my company and i have spent mostly of the evening yesterday and the morning today trying to...
Replies
8
Views
4,010
i have to wright a program that follows the opening of a bin and that karakteristik has to be equal to a karakteristic that we manually "teach" to...
Replies
6
Views
4,257
Please be patient I just started learning this. In a compare, I have data A: as DF2. data B: I want (DF10 /6.25)+6...
Replies
6
Views
2,310
All, Have not programed a PLC in a couple years and my new job asked me to do a simple project and I thought it would be easy, but I have ran...
Replies
8
Views
2,424
Has anyone done matrix math with a A-B PLC? Not sure if I should be using loops and indirect addresses or go with hard coded program with every...
Replies
4
Views
2,284
Back
Top Bottom