NW1:Initialisation of variable ONE_DURING_FIRST_CYCLE[After Power Up of CPU,both signals M0.0 and M0.1 are false (HW-config !!),Start Timer for holding INIT-Signal long enough for all cyclic OBs (not only for the first OB1 !!!)]
AN "LOG_1" M0.1 --FLAG LOGICAL 1
AN "LOG_0" M0.0 --FLAG LOGICAL 0
L #TV T4 --PLC start-up timer(one during the first cycles of OB1)
SE "Start_Up_Timer"
NOP 0
NOP 0
NOP 0
A "Start_Up_Timer" T4 --PLC start-up timer(one during the first cycles of OB1)
= "ONE_DURING_FIRST_CYCLE" M0.2 --BIT AT ONE DURING the first cycles of OB1
NW2:PLC initialisation timer[one for 1 sec. after the first cycles of OB1]
AN "Start_Up_Timer" T4 --PLC start-up timer(one during the first cycles of OB1)
L S5T#1S
SE "PLC_INIT_Timer" T5 --PLC initialisation timer(one for one second after the first cycles of OB1)
NOP 0
NOP 0
NOP 0
NOP 0
问题如下:1,NW1中意思是说当PLC商店后,M0.0和M0.1均false的时候,启动T4计时器么进行初始化么,这个初始化初始些什么参数了,这里的M0.2又有何用了,
2,T4完后接着T5又延时一秒,这里的T4是不是就是PLC的OB1的循环实际时间了