28 training simulation time interrupt organization block

28 training simulation time interrupt organization block

 

Question 1: "D_TOD_TD" What is this? See 107 books

A: D_TOD_TD IEC function FC IN1 is beginning to define the date and time of interruption,

TOD # 8: 0: 0.000 milliseconds seconds respectively minutes

 

 

Issue 2 "QRY_TINT" inside the state is how to define the word?

Because behind me I use MB9 bit 4 and 2 to monitor the inside PLCSIM

View help in

 

 

Question 3 has generated local variable 20 bytes organization block OB1 of how to view?

 

In the video CD in the name of the time interrupt organization block applications.

The video function is completed

By function "QRY_TINT" and "D_TOD_DT" set interrupt time. For example, the time now is

2020/2/8 1:06 I can set 2020/2/8 1:00

Then the time has generated the interrupt.

At the same time generates an interrupt function "SET_TINT" which set 1min, the interrupt time is 1 minute

An interrupt is generated in block OB10 1min tissue to which increments by one MW2

 

 

Guess you like

Origin www.cnblogs.com/bailongwei654321/p/12275336.html