B8961 and B8962 User Manual
72
D. Another issue is programming conditional GI moves within IF blocks, for exam-
ple:
LP IF1,1 VE5 DI20 GI OTXX100 EB IF2,1 MC,+ VE,10 GO EB IF3,1 VE,0
GO EB EB
In this program,when input #1 is asserted,the GI move will be commanded,how-
ever, since the program will continue executing,input #1 may still be asserted on
the next loop iteration.This will cause a second GI move to be commanded which
may be undesirable.To avoid this situation,the addition of a WT1,0 after the IF1,1
will ensure that input #1 is only seen once since it has to be deactivated to allow
the program to continue.
E.
DI1 GI DI,5 GO DI1 GI
F.
DI10 GI DI,2 GO DI,2 GO DI10 GI
Summary of Contents for B8961
Page 111: ...109 Chapter 7 Programming with Serial Communication...
Page 132: ...B8961 and B8962 User Manual 130...
Page 136: ...B8961 and B8962 User Manual 134 B8961 and B8962 Hardware Connections...
Page 137: ...135 Chapter 8 Hardware Reference B8961 and B8962 Input and Output Schematics...
Page 138: ...B8961 and B8962 User Manual 136 Connecting IDC Limit Switches to the B8961 2...
Page 156: ...B8961 and B8962 User Manual 154...