找答案的高端用户(找答案钻石及双钻级别的用户)将尽可能从此问题下的所有回
答中,为您推荐最佳答案。届时您可以根据推荐数采纳答案。
如果自提问时间起7天内您仍无法选出最佳答案,您可以选择“无满意答案”关闭此问题。
如果你的STEP7是中文版的,可以看帮助里面的说明:
Status Field Display
In this tab you specify which data are to be displayed when you activate program status display for an STL block in the CPU.
Status bit
· Check this box if you want to display the status bit.
RLO
· Check this box if you want to display the result of logic operation (RLO).
Standard status
· Check this box if you want to display the standard status. The standard status shows the contents of accumulator (ACCU) 1.
Address register 1 and 2
· Check these boxes if you want to display the corresponding address register. The address registers are used for indirect addressing.
Accumulator 2
· Check this box if you want to display the contents of accumulator 2.
DB register 1 and 2
· Check this box if you want to display the corresponding data block register. The DB1 register contains the address of the first open data block; the DB2 register contains the address of the second.
Indirect
· When this box is selected, depending on the operation used in an instruction, the contents of a timer word, counter word or an indirect memory reference is displayed in the status field.
With an indirect memory reference, the pointer is displayed and not the contents of the address it is pointing to. You can then check whether the reference is really pointing to the correct data. This display is only possible for memory-indirect addressing.
Status word
· Check this box if you want to display the status word.
Activate new breakpoints immediately
· Check this box if you want to activate new breakpoints immediately after they are set.
L P#M 100.0
LAR1 即把M地址区100.0加载到AR1,AR1里显示为M100.0
OPN DB100 以DB方式打开DB100,这样DB1显示为当前打开块DB100
L P#DBX 1.0
LAR2 即把DB100地址区1.0加载到AR2,AR2里显示为DB1.0=DB100.DBX1.0
OPN DI 101
L P#DIX 1.0 以DI方式打开DB101,这样DB2显示为当前打开块DB101
LAR1 即把DI 101地址区1.0加载到AR1,AR1里显示为DB1.0=DI101.DBX1.0
首次回答问题,获得
双倍西币积分!
立即成为技术知识分享的一员!
找答案微信小程序
提问
搜索
欢迎您访问支持中心!
丰富的视频,全方位的文档,大量的网友交流精华……
为了更好的完善这些内容,我们诚邀您在浏览结束后,花20秒左右的时间,完成一个用户在线调查!
感谢您的支持!