各位,小弟新学PLC,这是300的一个在OB100的程序,看不懂,请帮我看下解释下好吗?谢谢!

已锁定

wjy0191

  • 帖子

    2
  • 精华

    0
  • 被关注

    0

论坛等级:新手

注册时间:2008-03-20

普通 普通 如何晋级?

各位,小弟新学PLC,这是300的一个在OB100的程序,看不懂,请帮我看下解释下好吗?谢谢!

580

1

2008-05-24 11:14:35

CALL "SWR_START"
AG_KENNUNG :='B' // PLC-Classification: A for Station A
DB_WORK_NO :=DB1 // Work DB for SWR
DB_SEND_NO :=DB2 // Send DB for SWR
DB_RCV_NO :=DB3 // Receive DB for SWR
MPI_ADR :=2 // MPI-address of other station
LADDR :=256 // Base address of CP
VERB_ID :=1 // Connection no. of redundancy coupling
DP_MASTER_SYS_ID:=1 // Identification of DP-mastersystem (HW-config)
DB_COM_NO :=DB5 // Instance-DB of FB 101
DP_KOMMUN :=1 // Identification of DP-master
ADR_MODUS :=1 // Interval for CPU I/Q addressing
PAA_FIRST :=0 // Address of first redundant outputbyte
PAA_LAST :=7 // Address of last redundant outputbyte
MB_NO :=20 // First flagbyte used within redundant user program
MB_LEN :=100 // Amount of flagbytes used within redundant user program
IEC_NO :=0 // First instance DB used for redundant iec counters or timers
IEC_LEN :=0 // Amount of instance DBs used within redundant user program
DB_NO :=20 // First DB used within redundant user program
DB_NO_LEN :=10 // Amount of DBs used within redundant user program
SLAVE_NO :=5 // Profibus address of first used DP-slave (IM 153-3)
SLAVE_LEN :=3 // Amount of used DP-slaves
SLAVE_DISTANCE :=1 // Configuration of IM 153-3 interface
DB_A_B_NO :=DB13 // Send DB for non redundant data from Station A to B
DB_A_B_NO_LEN :=W#16#0 // Amount of used data bytes within Send DB
DB_B_A_NO :=DB13 // Receive DB for non redundant data from Station B to A
DB_B_A_NO_LEN :=W#16#0 // Amount of used data bytes within Receive DB
RETURN_VAL :=MW2 // Block return value
EXT_INFO :=MW4 // Extended information
各位,小弟新学PLC,这是300的一个在OB100的程序,看不懂,请帮我看下解释下好吗?谢谢! 已锁定
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54622条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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