Hi,
I'm fairly new to PLC's, I'm mostly used to regular programming languages, but recently, I've had to delve into PLC stuff at work. And now so happens that I have to convert the program of a old IDEC IZUMI FA-1 (1986) to a nearly as old, Omron CPM1 module. This is a temporary solution to get production up and running while waiting for a newer Omron PLC to arrive. (1 mo lead time).
Now to the issue at hand, the code I'm porting have a bunch of FN200-entries in the Ladder scheme, which apparently checks if the counter is more or equal to the specified value. Now I have not read how the counters in the FA-1 works, but presumably they count up.
The counters in the CPM1 counts down (not a problem) but I wonder:
What Instructions is there that performs similar tasks? That is, checks if a given counter is greater or equal (lesser or equal in this case) than the given value.
Side note, what addresses can I use in the CPM1 for intermediate variables? FA-1 reference (Page 70 for FUN200 references): http://us.idec.com/forum/getattachment.ashx?fileid=92 //Kind regards.
I'm fairly new to PLC's, I'm mostly used to regular programming languages, but recently, I've had to delve into PLC stuff at work. And now so happens that I have to convert the program of a old IDEC IZUMI FA-1 (1986) to a nearly as old, Omron CPM1 module. This is a temporary solution to get production up and running while waiting for a newer Omron PLC to arrive. (1 mo lead time).
Now to the issue at hand, the code I'm porting have a bunch of FN200-entries in the Ladder scheme, which apparently checks if the counter is more or equal to the specified value. Now I have not read how the counters in the FA-1 works, but presumably they count up.
The counters in the CPM1 counts down (not a problem) but I wonder:
What Instructions is there that performs similar tasks? That is, checks if a given counter is greater or equal (lesser or equal in this case) than the given value.
Side note, what addresses can I use in the CPM1 for intermediate variables? FA-1 reference (Page 70 for FUN200 references): http://us.idec.com/forum/getattachment.ashx?fileid=92 //Kind regards.