Logo  
企业邮局QQ快速登录
浏览文档 当前位置:广州若恒 >> 支持中心 >> 网上课堂 >> 可编程控制器 >> S7-1200 >> 浏览文档
Which organization blocks can you use in STEP 7 Basic V10.5?
Which organization blocks can you use in STEP 7 Basic V10.5?
核心提示:The following table gives an overview of the organization blocks available in STEP 7 Basic V10.5 with specification of the priority groups and classes. Unlike STEP 7 V5.x, in STEP 7 Basic the organization blocks are not selected by OB number, but by event class.

Description
The following table gives an overview of the organization blocks available in STEP 7 Basic V10.5 with specification of the priority groups and classes. Unlike STEP 7 V5.x, in STEP 7 Basic the organization blocks are not selected by OB number, but by event class.

To incorporate an organization block in your program, you open the "Add new block" dialog and click on the "Organization block (OB)" button. Here you can select OBs for startup, time error, cyclic or time delay interrupt program processing via the event class. The OB numbers are assigned automatically by default, but you can also assign them manually.
 

Overview of the organization blocks
Organization blocks cyclic program processing
Higher-level code blocks that are processed cyclically in the program and in which you can program instructions or call other blocks. OB1 is the default block for cyclic execution of the user program.
  • Event class: Program cycle
  • Possible number in program: Multiple OBs permissible
  • OB no.: OB1 (default), OB200 or greater
  • Priority group: 1
  • Priority class: 1
Organization blocks for startup
Startup OBs are processed once when the operating mode of the CPU changes from STOP to RUN.
  • Event class: Startup
  • Possible number in program: Multiple OBs permissible
  • OB no.: OB100 (default), OB200 or greater
  • Priority group: 1
  • Priority class: 1
Organization blocks for time delay interrupt
After expiry of a defined time, the time delay interrupt OBs interrupt the cyclic program processing.
  • Event class: Time delay interrupt
  • Maximum number in program: 4* (one OB for each event)
  • OB no.: OB200 or greater
  • Priority group: 2
  • Priority class: 3

*A maximum of four time delay interrupt OBs or four cyclic interrupt OBs can be used. If you are already using two cyclic interrupt OBs, then you can only add two time delay interrupt OBs.

Organization blocks for cyclic interrupts
The cyclic interrupt OBs interrupt the cyclic program processing at defined intervals.
  • Event class: Cyclic interrupt
  • Maximum number in program: 4* (one OB for each event)
  • OB no.: OB200 or greater
  • Priority group: 2
  • Priority class: 4

*A maximum of four time delay interrupt OBs or four cyclic interrupt OBs can be used. If you are already using two time delay interrupt OBs, then you can only add two cyclic interrupt OBs.

Organization blocks for HSC hardware interrupts
The hardware interrupt OBs interrupt the cyclic program processing at the occurrence of a hardware event.
  • Event class: Hardware interrupt
  • Maximum number in program: 50 (one OB for each event)
  • OB no.: OB200 or greater
  • Priority group: 2
  • Priority class: 6

The hardware interrupts are not only for "Hardware interrupt HSCs", but also for hardware interrupts of digital channels.

Organization block for diagnostic error interrupt
If the diagnostics-compatible module, for which you have enabled the diagnostic error interrupt, detects an error, the diagnostic error interrupt OB interrupts the cyclic program processing.
  • Event class: Diagnostic error interrupt
  • Number in program: Only OB82
  • Priority group: 2
  • Priority class: 9
Organization block for the time error interrupt
If the maximum cycle time is exceeded, the time error interrupt OB interrupts the cyclic program processing.
  • Event class: Time error interrupt
  • Number in program: Only OB80
  • Priority group: 3
  • Priority class: 26/27

To obtain more detailed information, mark the OB (event class) concerned in the "Add new block" dialog and click on the "more..." link. This opens the Online Help for the organization block marked.


Fig. 01

More information on organization blocks is available in the Online Help under:

  • Create Organization Blocks
  • Organization Blocks

Tags:STEP 7 Basic V10.5 organization blocks

0% (0)
0% (10)
相关文档
发表评论
用户评论
 以下是对 [Which organization blocks can you use in STEP 7 Basic V10.5?] 的评论,总共:0条评论
最新文档
·What alternatives are there to 
·Which data type do you need in 
·How can you reset the IP addre 
·How can you download to a netw 
·Which organization blocks can  
推荐文档
视觉焦点
What alternatives are there to BLKMOV (Block move with STEP 7 V5.x) and the ANY pointer for copying memory areas in STEP 7 Basic V10.5?
Which data type do you need in STEP 7 V10.5 for parameterizing an ANY pointer for a block parameter?
  2880306702
  sales@gzrh.com   在线发送
微信扫一扫
  技术支持
  技术论坛
  Support@gzrh.com   在线发送
  项目洽谈
  Support@gzrh.com   在线发送
  投诉与建议
  gzrh@gzrh.com   在线发送
  订阅精彩内容
  填写您的邮件地址,订阅我们的精彩内容:
  联系我们
销售热线:020-85520027/85520287
项目洽谈:020-85533142/85533145
联系传真:020-85520030/85536394
技术热线:020-61087040
咨询邮箱:gzrh@gzrh.com
公司地址:广州市天河区黄埔大道中662号金融城绿地中心509室