File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -592,7 +592,7 @@ def prgm_next_step(self):
592
592
program = self .get_prgm_cur (exclusive = False )
593
593
nextstep = self .get_prgm_cstep (exclusive = False ) + 1
594
594
self .const_start (exclusive = False )
595
- time .sleep (1 )
595
+ time .sleep (2 )
596
596
self .prgm_start (program , nextstep , exclusive = False )
597
597
598
598
@exclusive
@@ -618,7 +618,7 @@ def get_prgm_time(self, pgm=None):
618
618
jumps += 1 if step ['type' ] == 'jump' else 0
619
619
if jumps > 1 :
620
620
return 'ERROR:jump qty'
621
- if step ['type' ] == 'jump' and step .get ('jprofile' , rpgmi ) != rpgmi :
621
+ if step ['type' ] == 'jump' and step .get ('jprofile' , rpgmi ) != 0 :
622
622
return 'ERROR:jump prfl'
623
623
rtime = list (self .client .read_holding (4119 , 3 )) #[hours,minutes,seconds]
624
624
jump_cnt = self .client .read_holding (4126 )[0 ]
You can’t perform that action at this time.
0 commit comments