AC400 PCPGM Cycle Time Edit
Hello all.
I need to change the cycle time of a PCPGM program header in an AC400 application. Is it possible to change it using On-Line builder ?
Best Regards
I need to change the cycle time of a PCPGM program header in an AC400 application. Is it possible to change it using On-Line builder ?
Best Regards
Voted best answer
Yes, you can change the Program Cycle Time to any other cycle time already defined in the controller using the "MV" command eg ... "MV PC1:C1" modifies the cycle time of the PC1 PCPGM block parameter C1.
Note: You cannot change the available cycle times of the interpreters unless you re-dimension the controller and change the program cycle times with the "APP" command.
Note: You cannot change the available cycle times of the interpreters unless you re-dimension the controller and change the program cycle times with the "APP" command.
Answers
There are four groups of cycletimes in the system. PCPGM can use only cycletimes in group A. typically 10,20,40 ms.
You can see the defined cycletimes with the command APP.
If you want to change the cycletime of the code, you need to chage the cycletime of the corresponding CONTRM.
You can change online the cycletime of the CONTRM in the same way but only to another cycletime in the same group.
Regards,
You can see the defined cycletimes with the command APP.
If you want to change the cycletime of the code, you need to chage the cycletime of the corresponding CONTRM.
You can change online the cycletime of the CONTRM in the same way but only to another cycletime in the same group.
Regards,
Hello.
It's not recommended to use APP to change default cycle times, It requires good understanding of the operating system and what effects it will have,
and it must be made after a cold start of the controller, the first thing you do.
But as already stated you may use MV PCx:C1 (where x is the PC program number) to change the cycle time within the same PC Interpreter. i.e. 10, 20 or 40 for PC Interpreter A.
BR
Jan-Erik
It's not recommended to use APP to change default cycle times, It requires good understanding of the operating system and what effects it will have,
and it must be made after a cold start of the controller, the first thing you do.
But as already stated you may use MV PCx:C1 (where x is the PC program number) to change the cycle time within the same PC Interpreter. i.e. 10, 20 or 40 for PC Interpreter A.
BR
Jan-Erik
Add new comment