sutton
Guest
S
hi guys,
i'm now into my second PLC project. My first project was fine and thanks for helping me through.
now in my second project i had encounter some problems. it's using a Human Machine Interface, Mitsubishi F940G0T-E to communicate with PLC Mitsubishi FXon. well, by using HMI i will need to use data register which i have yet to use in my first project.
I tried to use Compare and Move function in a state of my program but i got stuck at the moment. Here is the logic process i'm trying to solve:
1. No. of operation cycle determined by counter setting in HMI.
(I managed to solve this one using counter with data register, fine.)
2. Uni-directional and bi-directional sequence is selected by HMI.
3. If bi-directional sequence is selected,
-during odd number of cycle, the motor is 'clockwise state'.
-during even number of cycle, the motor is 'counter clockwise state'.
4. If uni-directional sequence is selected,
-all the cycles are 'clockwise'.
Please tell me if Move and Compare functions are the right way to solve this logic? or is there any other way. Thank you.
sutton
i'm now into my second PLC project. My first project was fine and thanks for helping me through.
now in my second project i had encounter some problems. it's using a Human Machine Interface, Mitsubishi F940G0T-E to communicate with PLC Mitsubishi FXon. well, by using HMI i will need to use data register which i have yet to use in my first project.
I tried to use Compare and Move function in a state of my program but i got stuck at the moment. Here is the logic process i'm trying to solve:
1. No. of operation cycle determined by counter setting in HMI.
(I managed to solve this one using counter with data register, fine.)
2. Uni-directional and bi-directional sequence is selected by HMI.
3. If bi-directional sequence is selected,
-during odd number of cycle, the motor is 'clockwise state'.
-during even number of cycle, the motor is 'counter clockwise state'.
4. If uni-directional sequence is selected,
-all the cycles are 'clockwise'.
Please tell me if Move and Compare functions are the right way to solve this logic? or is there any other way. Thank you.
sutton