Cruise13
Member
Hi, I am using an Omron CQM1H PLC. I was just wondering about the syntax for the Macro (function 99) command. For example, I have a program structure that checks for the input, the output and uses a 25502 (pulse contact) to drive another output.
Question 1: Can I use the 25502 using the macro command?
Question 2: My inputs and outputs are arranged accordingly. However, the macro command checks for words, and all inputs belong to word 000 and all outputs belong to word 100. Can I use the macro command given that my inputs are 00004-00009 and the even #'s within 00004 and 00014, and the outputs are the odd #'s within 00005 and 00015? Or do I have to do this the hard and long way?
I'm just asking 'coz if I can use the macro, then that saves me around 50 lines of repetitive programming.
Question 1: Can I use the 25502 using the macro command?
Question 2: My inputs and outputs are arranged accordingly. However, the macro command checks for words, and all inputs belong to word 000 and all outputs belong to word 100. Can I use the macro command given that my inputs are 00004-00009 and the even #'s within 00004 and 00014, and the outputs are the odd #'s within 00005 and 00015? Or do I have to do this the hard and long way?
I'm just asking 'coz if I can use the macro, then that saves me around 50 lines of repetitive programming.