S7-300软冗余问题!!!

已锁定

习惯性,简单

  • 帖子

    59
  • 精华

    0
  • 被关注

    3

论坛等级:游士

注册时间:2011-02-15

普通 普通 如何晋级?

S7-300软冗余问题!!!

1036

0

2011-09-13 10:30:19

前段时间我做了一个300软冗余程序!但在实际运用的时候,我发现IEC时间的DB块数量只能一个,超过一个时!冗余状态就不正常,打了西门子热线也没解决的了
下面是OB100的参数设置
CALL "SWR_START"
AG_KENNUNG :='A' // 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 :=3 // 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 :=5 // Address of last redundant outputbyte
MB_NO :=20 // First flagbyte used within redundant user program
MB_LEN :=10 // Amount of flagbytes used within redundant user program
IEC_NO :=20 // First instance DB used for redundant iec counters or timers
IEC_LEN :=1 // Amount of instance DBs used within redundant user program
DB_NO :=0 // First DB used within redundant user program
DB_NO_LEN :=0 // Amount of DBs used within redundant user program
SLAVE_NO :=3 // Profibus address of first used DP-slave (IM 153-3)
SLAVE_LEN :=1 // Amount of used DP-slaves
SLAVE_DISTANCE :=1 // Configuration of IM 153-3 interface
DB_A_B_NO :=DB255 // 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 :=DB255 // 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
我用的是MPI进行数据交换的。位内存的数据都是能交换的。
S7-300软冗余问题!!! 已锁定
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54622条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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