RBeta Member R Join Date May 2009 Location Montreal Posts 1 May 1, 2009 #1 How can we perform a modulus instruction in PLC 5/40?
OZEE Member O Join Date Mar 2006 Location Kansas Posts 1,695 May 1, 2009 #2 The MOD instruction is available in Enhanced PLC-5 Series C Revision C and later processors.
daba Lifetime Supporting Member D Join Date Jul 2004 Location uk Posts 5,401 May 1, 2009 #3 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
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
Pudden Member P Join Date Feb 2009 Location Halmstad Posts 179 May 4, 2009 #4 Hi there, One alternative might be to use a gateway. There are several out there. http://www.anybus.com/support/support.asp?PID=105&ProductType=Anybus Communicator //Pat
Hi there, One alternative might be to use a gateway. There are several out there. http://www.anybus.com/support/support.asp?PID=105&ProductType=Anybus Communicator //Pat