回复:怎么知道自己的程序在执行完一次后用了多长时间?

小苏州

  • 帖子

    397
  • 精华

    0
  • 被关注

    19

论坛等级:侠圣

注册时间:2006-10-25

普通 普通 如何晋级?

发布于 2010-02-20 18:25:11

2楼

Local Data for OB1

The following table describes the temporary (TEMP) variables for OB1. The variable names are the default names of OB1.


Variable Type Des cription
OB1_EV_CLASS BYTE Event class and identifiers: B#16#11: OB1 active
OB1_SCAN_1 BYTE ?B#16#01: completion of a warm restart?B#16#02: completion of a hot restart?B#16#03: completion of the main cycle?B#16#04: completion of a cold restart?B#16#05: first OB1 cycle of the new master CPU after master-reserve switchover and STOP of the previous master
OB1_PRIORITY BYTE Priority class 1
OB1_OB_NUMBR BYTE OB number (01)
OB1_RESERVED_1 BYTE Reserved
OB1_RESERVED_2 BYTE Reserved
OB1_PREV_CYCLE INT Run time of previous scan (ms)
OB1_MIN_CYCLE INT Minimum cycle time (ms) since the last startup
OB1_MAX_CYCLE INT Maximum cycle time (ms) since the last startup
OB1_DATE_TIME DATE_AND_TIME DATE_AND_TIME of day when the OB was called
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54616条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。