Modulus instruction for PLC-5/40

If you haven't got the mentioned processor, and hence not got MOD, then:-

Put a LBL on the rung, then a SUB, subtract your MOD divider once.

On the next rung, test to see if the result is greater than the divider, if it is, JMP back to the LBL
 

Similar Topics

I have to commision a servosystem with S120 Epos function. It concerns a continuous rotating chain that has pusher connected to it. The position...
Replies
0
Views
4,008
Hi there, I'm struggling with a project right now that involves collecting data from power meters in load centers. The data format is Modulus 10...
Replies
4
Views
4,739
Note to all I found a major problem with the RSLogix modulus operator. If you take the modulus of a negative number in RSLogix the result gives...
Replies
3
Views
3,146
Does this instruction calculate values during a single scan, or does it require number of scans based on element count in the array? For Example...
Replies
3
Views
100
Hello All, Was hoping I could get a little help with Modicon ladder logic. This is the first time I have seen Modicon logic and currently trying...
Replies
6
Views
239
Back
Top Bottom