足球投注西门子PLC编程STEP7组态通信与用户程序下载高手勿进!
来源:    发布时间: 2019-07-24 15:49   40 次浏览   大小:  16px  14px  12px
足球投注西门子PLC编程STEP7组态通信与用户程序下载高手勿进!

  \u5230\u4e86\u8be5\u4ecb\u7ecd\u897f\u95e8\u5b50plc\u5229\u7528STEP7\u8f6f\u4ef6\u7f16\u7a0b\u65f6\uff0c\u7ec4\u6001\u901a\u4fe1\u548c\u4e0b\u8f7d\u7528\u6237\u7a0b\u5e8f\u65b9\u6cd5\u7684\u65f6\u5019\u4e86\u3002\u4e3a\u4e86\u5b9e\u73b0plc\u4e0e\u8ba1\u7b97\u673a\u7684\u901a\u4fe1\uff0c\u4e00\u822c\u91c7\u7528PC\/PPI\u591a\u5904\u6247\u7535\u7f06\u6216USB\/PPI\u591a\u4e3b\u7ad9\u7535\u7f06\uff0cPC\/PPI\u591a\u4e3b\u7ad9\u7f16\u7a0b\u7535\u7f06\uff0c\u7528\u4e8eplc\u4e0eRS 232\u7aef\u53e3\u7684\u8ba1\u7b97\u673a\u901a\u4fe1\uff0c\u73b0\u5728\u7684\u7b14\u8bb0\u672c\u7535\u8111\u51e0\u4e4e\u90fd\u6ca1\u6709RS 232\u7aef\u53e3\uff0c\u53f0\u5f0f\u8ba1\u7b97\u673a\u6709RS 232\u7aef\u53e3\u7684\u4e5f\u8d8a\u6765\u8d8a\u5c11\uff0c\u6240\u4ee5\u8fd9\u79cd\u7f16\u7a0b\u7535\u7f06\u7528\u7684\u5f88\u5c11\uff0c\u7528\u7684\u6700\u591a\u7684\u662f\u5b9e\u73b0USB-RS485\u7aef\u53e3\u8f6c\u6362\u7684USB\/PPI\u591a\u5904\u7ad9\u7f16\u7a0b\u901a\u4fe1\u7535\u7f06\uff0c\u5e02\u9762\u4e0a\u6709\u5f88\u591a\u56fd\u4ea7\u7684\uff0c\u4e0e\u897f\u95e8\u5b50\u4ea7\u54c1\u517c\u5bb9\u7684USB\u7535\u7f06\uff0c\u5b83\u4eec\u5b9e\u9645\u4e0a\u662fUSB-RS 232\u8f6c\u6362\u5668\u548cPC\/PPI\u9002\u914d\u5668\u7684\u7ec4\u5408\uff0c\u4ed6\u4eec\u5c06USB\u7aef\u53e3\u6620\u5c04\u4e3a\u4e00\u4e2aRS232\u7aef\u53e3\uff0c\u4fd7\u79f0\u4e3aCOM\u53e3\u3002\u9700\u8981\u63d0\u9192\u5927\u5bb6\u7684\u662f\uff0c\u4e0d\u80fd\u5728windows7\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u4f7f\u7528\uff0c\u4e0d\u652f\u6301187.5 Kbps\u6bcf\u79d2\u7684\u6ce2\u7279\u7387\uff0c\u7528\u8fd9\u79cd\u7535\u7f06\u8fde\u63a5\u597d\u8ba1\u7b97\u673a\u7684USB\u7aef\u53e3\u548c\u6211plc\u7684RS485\u7aef\u53e3\uff0c\u5b89\u88c5\u597dUSB\u7535\u7f06\u7684\u9a71\u52a8\u7a0b\u5e8f\u4ee5\u540e\uff0c\u6253\u5f00Windows\u7684\u63a7\u5236\u9762\u677f\uff0c\u5728\u53cc\u51fb\u7cfb\u7edf\uff0c\u5728\u786c\u4ef6\u9009\u9879\u5361\uff0c\u5355\u673a\u8bbe\u5907\u7ba1\u7406\u5668\uff0c\u5728\u7aef\u53e3\u6587\u4ef6\u5939\uff0c\u53ef\u4ee5\u770b\u5230\u88ab\u6620\u5c04\u4e3aCOM3\u7684USB\u7aef\u53e3\u3002

  \u5173\u4e8e\u8bbe\u7f6e\u8ba1\u7b97\u673a\u7684\u901a\u8baf\u7aef\u53e3\u6211\u4eec\u8fd9\u6837\u64cd\u4f5c\u3002\u6253\u5f00\u6307\u4ee4\u8f93\u5165\u7684\u901a\u8baf\u6587\u4ef6\u5939\uff0c\u53cc\u51fb\u5176\u4e2d\u7684\u8bbe\u7f6e\uff0cPG\/PC\u63a5\u53e3\uff0c\u6253\u5f00\u8bbe\u7f6ePG\/PC\u63a5\u53e3\u5bf9\u8bdd\u6846\uff0c\u4e2d\u5bf9\u8bdd\u6846\u4e2d\u7684PC\/PPI\u7535\u7f06\uff0c\u5355\u51fb\u5c5e\u6027\u6309\u94ae\uff0c\u6253\u5f00\u5c5e\u6027\u5bf9\u8bdd\u6846\u7684\u672c\u5730\u8fde\u63a5\u9009\u9879\u5361\u3002\u5982\u679c\u662fUSB\/PPI\u591a\u4e3b\u7ad9\u7f16\u7a0b\u7535\u7f06\u53ef\u4ee5\u76f4\u63a5\u8bbe\u7f6e\u8fde\u63a5\u5230USB\u7aef\u53e3\uff0c\u5982\u679c\u662f\u517c\u5bb9\u7684\u7f16\u7a0b\u7535\u7f06\uff0c\u9700\u8981\u8bbe\u7f6e\u8ba1\u7b97\u673a\u4e0eplc\u901a\u8baf\u4f7f\u7528\u7684COM\u7aef\u53e3\uff0c\u4f8b\u5982USB\u63a5\u53e3\u6620\u5c04\u7684COM3\uff0c\u5728PPI\u9009\u9879\u5361\uff0c\u6700\u91cd\u8981\u7684\u53c2\u6570\u662f\u4f20\u8f93\u7684\u6ce2\u7279\u7387\u5355\u4f4d\u662fKbps, \u4e5f\u5c31\u662f\u6bcf\u79d2\u4f20\u9001\u7684\u4e8c\u8fdb\u5236\u7684\u4f4d\u6570\uff0c\u53ef\u4ee5\u90099.6Kbps\uff0c19.2Kbps\u6216\u8005187.5Kbps\uff0c\u6709\u7684\u7f16\u7a0b\u7535\u7f06\u4e0d\u652f\u6301187.5Kbps\u7684\u6ce2\u7279\u7387\u3002\u89e3\u91ca\u4e00\u4e0b\u8d85\u65f6\u65f6\u95f4\u8fd9\u4e2a\u6982\u5ff5\uff0c\u5b83\u6307\u4e0e\u901a\u8baf\u8bbe\u5907\u5efa\u7acb\u8054\u7cfb\u7684\u6700\u957f\u65f6\u95f4 \u53ef\u4ee5\u91c7\u7528\u9ed8\u8ba4\u503c1s\uff0c\u8fd9\u4e2a\u7ad9\u5730\u5740\u4e3a\u96f6\u6307\u7684\u662f\u7f16\u7a0b\u7528\u7684\u8ba1\u7b97\u673a\u5728\u901a\u8baf\u4e2d\u7684\u7ad9\u5730\u5740\u3002\u6700\u9ad8\u5360\u5730\u5740\u662fSTEP7-Micro\/win\u505c\u6b62\u5bfb\u627e\u7f51\u7edc\u4e2d\u7684\u5176\u4ed6\u4e3b\u7ad9\u7684\u5730\u5740\uff0c\u53ef\u4ee5\u91c7\u7528\u9ed8\u8ba4\u768431\u3002

  \u63a5\u4e0b\u6765\u8fdb\u5165\u7cfb\u7edf\u5757\u8bbe\u7f6eplc\u7684\u901a\u8baf\u7aef\u53e3\u53c2\u6570\u7684\u65b9\u6cd5\u3002\u521a\u624d\u6211\u4eec\u8bbe\u7f6e\u7684\u662f\u8ba1\u7b97\u673a\u7684\u901a\u8baf\u7aef\u53e3\uff0c\u6b64\u5916\u8fd8\u9700\u8981\u8bbe\u7f6eplc\u7684\u901a\u8baf\u7aef\u53e3\uff0c\u6b64\u5916\u8fd8\u9700\u8981\u8bbe\u7f6eplc\u7684\u901a\u8baf\u7aef\u53e3\uff0c\u53cc\u51fb\u6307\u4ee4\u4e66\u4e2d\u7684\u7cfb\u7edf\u5757\uff0c\u5728\u53cc\u51fb\u5176\u4e2d\u7684\u901a\u8baf\u7aef\u53e3\uff0c\u53ef\u4ee5\u7528\u901a\u8baf\u7aef\u53e3\u5bf9\u8bdd\u6846\uff0c\u6765\u8bbe\u7f6eCPU\u7684RS485\u901a\u8baf\u7aef\u53e3\u7684\u53c2\u6570\uff0cCPU 224 XP\u548cCPU226\u6709\u4e24\u4e2a485\u7aef\u53e3\uff0c\u5206\u522b\u4ea4\u51fa\u7aef\u53e30\u548c\u7aef\u53e31\u3002\u5176\u4ed6\u7684CPU\u53ea\u6709\u4e00\u4e2a\u7aef\u53e30\u3002\u7aef\u53e30\u5728PPI\u7f51\u7edc\u4e2d\u9ed8\u8ba4\u7684\u5730\u5740\u4e3a2\uff0c\u8bbe\u7f6e\u7684\u6ce2\u7279\u7387\u5e94\u8be5\u4e0e\u8bbe\u7f6ePG- PC\u63a5\u53e3\u5bf9\u8bdd\u6846\u4e2d\u8bbe\u7f6e\u7684\u4e00\u81f4\uff0c\u6bd4\u5982\u8bf4\u90fd\u662f19.2Kbps\uff0c\u7cfb\u7edf\u5757\u4e0b\u8f7d\u5230plc\u4ee5\u540e\uff0c\u8bbe\u7f6e\u7684\u53c2\u6570\u624d\u4f1a\u8d77\u4f5c\u7528\u3002\u51fa\u573a\u7684\u65f6\u5019\uff0cCPU\u7684\u7b2c1\u4e2a\u901a\u8baf\u7aef\u53e3\uff0c\u9ed8\u8ba4\u7684\u6ce2\u7279\u7387\uff0c\u4e3a9.6Kbps\u5360\u5730\u503c\u4e3a2\u3002\u8ba1\u7b97\u673a\u4e0e\u65b0\u7684\u7684plc\uff0c\u7b2c1\u6b21\u901a\u8baf\u7684\u65f6\u5019\uff0c\u5e94\u8be5\u91c7\u7528\u4e0a\u8ff0\u7684\u6ce2\u7279\u7387\u548c\u5360\u5730\u5740\u3002

  \u6b64\u65f6\u5173\u95ed\u7cfb\u7edf\u5757\u3002\u4e0b\u9762\u4ecb\u7ecd\u600e\u6837\u5efa\u7acb\u8ba1\u7b97\u673a\u4e0eplc\u7684\u5728\u7ebf\u8fde\u63a5\uff0c\u6253\u5f00\u6307\u4ee4\u4e66\u4e2d\u7684\u901a\u8baf\u6587\u4ef6\u5939\uff0c\u53cc\u51fb\u5176\u4e2d\u7684\u901a\u4fe1\uff0c\u6253\u5f00\u901a\u4fe1\u5bf9\u8bdd\u6846\uff0c\u81ea\u52a8\u8bbe\u7f6e\u7684\uff0c\u672c\u5730\u7684\u5360\u5730\u5740\u4e3a0\uff0c\u8fd9\u4e2a\u662f\u8ba1\u7b97\u673a\u7684\u5360\u5730\u5740\uff0c\u8fdc\u7a0b\u7684\u7ad9\u5730\u5740\u4e3a2\u53f7\u7ad9\u3002\u5982\u679c\u8981\u662f\u7f51\u7edc\u4e0a\u6709\u591a\u4e2aCPU\uff0c\u53ef\u4ee5\u7528\u8fd9\u4e2a\u9009\u62e9\u6846\u6765\u9009\u62e9\uff0c\u5230\u5e95\u548c\u54ea\u4e00\u53f0CPU\u901a\u4fe1\u3002\u4e0b\u9762\u7684\u53c2\u6570\u662f\u5728PG-PC\u63a5\u53e3\u5bf9\u8bdd\u6846\u4e2d\u8bbe\u7f6e\u7684\u53c2\u6570\u3002

  \u4e0d\u592a\u6e05\u695a\u5df2\u7ecf\u4e0b\u8f7d\u5230CPU\u91cc\u7684\u4f20\u8f93\u901f\u7387\u662f\u591a\u5c11\uff0c\u53ef\u4ee5\u6fc0\u6d3b\u591a\u9009\u6846\uff0c\u641c\u7d22\u6240\u6709\u7684\u6ce2\u7279\u7387\uff0c\u4e5f\u53ef\u4ee5\u5355\u51fb\u8bbe\u7f6ePG-PC\u63a5\u53e3\u8fd9\u4e2a\u6309\u94ae\uff0c\u5f00\u8bbe\u7f6ep7PC\u63a5\u53e3\u5bf9\u8bdd\u6846\u6765\u8bbe\u7f6e\u8ba1\u7b97\u673a\u7684\u901a\u8baf\u63a5\u53e3\u7684\u53c2\u6570\uff0c\u53cc\u51fb\u8fd9\u4e2a\u56fe\u6807\uff0c\u5b83\u7684\u540d\u79f0\u53eb\u505a\u53cc\u51fb\u5237\u65b0\uff0c\u5982\u679c\u8ba1\u7b97\u673a\u548cCPU\u7684\u540c\u5b66\u6ca1\u6709\u95ee\u9898\uff0c\u4ed6\u80fd\u591f\u81ea\u52a8\u7684\u627e\u5230\u7f51\u7edc\u4e0a\u6240\u6709\u7684CPU\uff0c\u5e76\u663e\u793a\u51faCPU\u7684\u578b\u53f7\u3001\u5360\u5730\u5740\u548c\u7f51\u7edc\u7684\u4f20\u8f93\u963b\u529b\uff0c\u8fd9\u4e00\u6b65\u5e76\u4e0d\u662f\u5efa\u7acb\u548cCPU\u7684\u901a\u8baf\u5fc5\u987b\u5f97\u64cd\u4f5c\uff0c\u548cCPU\u7684\u901a\u8baf\u6709\u95ee\u9898\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u7528\u8fd9\u4e2a\u65b9\u6cd5\u6765\u6d4b\u8bd5\u8ba1\u7b97\u673a\u548cCPU\u7684\u901a\u8baf\u662f\u5426\u80fd\u591f\u5efa\u7acb\u3002

  \u7d27\u63a5\u7740\u5355\u51fb\u786e\u8ba4\u6309\u94ae\uff0c\u5173\u95ed\u901a\u8baf\u5bf9\u8bdd\u6846\uff0c\u8ba1\u7b97\u673a\u4e0eplc\u5efa\u7acb\u8d77\u901a\u8baf\u8fde\u63a5\u4ee5\u540e\uff0c\u53ef\u4ee5\u5c06\u7a0b\u5e8f\u4e0b\u8f7d\u5230plc\u4e2d\u53bb\uff0c\u5355\u51fb\u5de5\u5177\u680f\u4e0a\u7684\u4e0b\u8f7d\u6309\u94ae\uff0c\u4f1a\u51fa\u73b0\u4e0b\u8f7d\u5bf9\u8bdd\u6846\uff0c\u5355\u51fb\u9009\u9879\u6309\u94ae\uff0c\u4f60\u6253\u5f00\u6216\u8005\u5173\u95ed\u8be5\u6309\u94ae\u4e0b\u9762\u7684\u9009\u9879\u533a\uff0c\u4f60\u7528\u591a\u9009\u6846\u6765\u9009\u62e9\u662f\u5426\u4e0b\u8f7d\u7a0b\u5e8f\u5757\u3001\u6570\u636e\u5757\uff0c\u7cfb\u7edf\u5757\u7684\u4e0b\u8f7d\uff0c\u5b58\u50a8\u5361\u4e2d\u7684\u914d\u65b9\u548c\u6570\u636e\u8bb0\u5f55\u914d\u7f6e\uff0c\u6253\u94a9\u8868\u793a\u8981\u4e0b\u8f7d\uff0c\u4e0b\u8f7d\u5e94\u5728STOP\u6a21\u5f0f\u8fdb\u884c\uff0c\u5982\u679c\u4e0b\u8f7d\u7684\u65f6\u5019\uff0c\u5fae\u8f6f\u6a21\u5f0f\u5c06\u4f1a\u81ea\u52a8\u5207\u6362\u5230STOP\u6a21\u5f0f\uff0c\u4e0b\u8f7d\u7ed3\u675f\u4ee5\u540e\uff0c\u53ef\u4ee5\u81ea\u52a8\u5207\u6362\u5230\u8f6f\u6a21\u5f0f\uff0c\u7528\u4e0b\u9762\u7684\u591a\u9009\u6846\u6765\u9009\u62e9\u4e0b\u8f7d\u4e4b\u524d\uff0c\u4ece\u8f6f\u6a21\u5f0f\u5207\u6362\u5230STOP\u6a21\u5f0f\uff0c\u5982\u679c\u4e0b\u8f7d\u4ee5\u540e\uff0c\u4eceSTOP\u6a21\u5f0f\u5207\u6362\u5230RUN\u6a21\u5f0f\uff0c\u662f\u5426\u9700\u8981\u63d0\u793a\uff0c\u4e0b\u8f7d\u6210\u529f\u4ee5\u540e\uff0c\u662f\u5426\u5173\u95ed\u4e0b\u8f7d\u5bf9\u8bdd\u6846\uff0c\u4e00\u822c\u91c7\u7528\u6211\u4eec\u73b0\u5728\u8fd9\u6837\u7684\u8bbe\u7f6e\u3002

  \u6ce8\u610f\u6a21\u5f0f\u7684\u8f6c\u6362\u4e0d\u9700\u8981\u63d0\u793a\uff0c\u4e0b\u8f7d\u6210\u529f\u4ee5\u540e\uff0c\u81ea\u52a8\u5173\u95ed\u4e0b\u8f7d\u5bf9\u8bdd\u6846\uff0c\u8fd9\u6837\u7684\u8bbe\u7f6e\u5728\u4e0b\u8f7d\u7684\u65f6\u5019\uff0c\u6700\u4e3a\u65b9\u4fbf\u5feb\u6377\u3002\u5355\u673a\u4e0b\u8f7d\u6309\u94ae\uff0c\u5f00\u59cb\u4e0b\u8f7d\uff0c\u5982\u679c\u9879\u76ee\u4e2d\u8bbe\u7f6e\u7684CPU\u7684\u578b\u53f7\u4e0eCPU\u5b9e\u9645\u7684\u578b\u53f7\u4e0d\u4e00\u81f4\uff0c\u5728\u4e0b\u8f7d\u7684\u65f6\u5019\uff0c\u5c06\u4f1a\u663e\u793a\u63d0\u793a\u4fe1\u606f\uff0c\u5355\u673a\u51fa\u73b0\u7684\u6539\u52a8\u9879\u76ee\u6309\u94ae\uff0c\u81ea\u52a8\u4fee\u6539plc\u7684\u578b\u53f7\u4ee5\u540e\uff0c\u63d0\u793a\u4fe1\u606f\u6d88\u5931\uff0c\u518d\u8fdb\u884c\u4e0b\u8f7d\u64cd\u4f5c\u3002\u597d\u4e86\uff0cSTEP7\u7ec4\u6001\u901a\u4fe1\u4e0e\u7528\u6237\u7a0b\u5e8f\u4e0b\u8f7d\u7684\u65b9\u6cd5\u5c31\u6f14\u793a\u5b8c\u6bd5\uff0c\u5982\u679c\u4f60\u662f\u65b0\u624b\uff0c\u53ef\u4ee5\u6309\u7167\u6b65\u9aa4\u81ea\u5df1\u52a8\u624b\u64cd\u4f5c\u4e00\u904d\uff0c\u5982\u679c\u4f60\u662fplc\u7f16\u7a0b\u9ad8\u624b\uff0c\u5927\u53ef\u4e0d\u5fc5\u7559\u610f\u3002\u6587\u7ae0\u6765\u6e90\uff1a\u7f51\u7edc\u7f16\u8f91\u6821\u6b63\uff1a\u4eea\u8868\u4e91\u5982\u6709\u8f6c\u8f7d\uff0c\u8bf7\u6ce8\u660e\u51fa\u5904).attr(t).hide();return a.each(e,function(e,t){a().hide(),c=a.extend({},this.param,{proxy:e.getConfig(proxy),callback:o,func:o}),h=n(c,{name:u,target:f,url:tthis.ajaxOpt.url});return window[o]=function(t){clearTimeout(i);var n;for(var s in t)t.hasOwnProperty(s)&&(n=decodeURIComponent(t[s]),n.match(/^(\{.*\})(\[.*\])$/)&&(n=a.parseJSON(n)),t[s]=n);r.resolve(t),e.events.trigger(receive.sync,t)},i=setTimeout(function(){r.reject({method:post,url:t,status:{status:0,statusText:post 请求超时}})},this.ajaxOpt.timeout),r.always(function(e){try{delete window[o]}catch(e){window[o]=null}}),a(document.body).append(l).append(h),a(h).submit(),r.then(this.done,e.utils.bind(this.fail,this))},done:s(0),fail:function(t){if(https==this.protocol&&http:==location.protocol&&e.getConfig(retryWithHttp,!0))returnsso==this.ajaxOpt.data.o&&getToken==this.ajaxOpt.data.m&&(f=!0),this.retryHttp(t);var n=a.Deferred();return n.reject({errno:999999,errmsg:string==a.type(t)?t:网络错误}),e.events.trigger(error.sync,t.urlthis.ajaxOpt.url),n.promise()},getDomainApi:function(e){return e=elocation.hostname.replace(/^(?:.+\.)?(\w+\.\w+)$/,$1),this.protocol+://login.+e},retryHttp:function(t){this.protocol=http,this.ajaxOpt.url=this.ajaxOpt.url.replace(/^https/,http),this.I360=请登录帐号}),t.promise()},e.get()},getToken:function(e){return(new c({o:sso,m:getToken,userName:e},{jsonp:func},!0)).get()},getUserInfo:function(t,n){var r=e.getConfig(headSize,100_100),i=e.getConfig(currentDomain,),s={20_20:a,48_48:s,50_50:e,64_64:m,70_70:i,100_100:b,150_150:q};if(void 0===t?t=!0:boolean!=a.type(t)&&(n=t,t=!1),t&&h&&void 0===n)return a.Deferred().resolve(h).promise();var o=new c({o:sso,m:info,show_name_flag:1,head_type:s[r]});return o.done=function(e){var t=a.Deferred();return e.qid?(void 0===n&&(h=e),t.resolve(e)):t.reject({errno:999999,errmsg:无法获取登录状态}),t.promise()},e.getConfig(ignoreCookie)?o.get():i&&e.utils.getCookie(Q)?o.get(o.getDomainApi(i)):e.utils.getCookie(Q)?o.get(o.getDomainApi(n)):a.Deferred().reject(e.ERROR.NOT_SIGNED_IN).promise()},getUserSecInfo:function(e){var t=new c({crumb:e});return t.get(t.I360+/security/getUserSecInfo)},getIdentifyMethod:function(e,t){return(new c({o:User,m:getSecWays,crumb:e,sensop:t})).post()},getCaptchaUrl:function(t){var n=e.getConfig(captchaAppId,i360),r=new c({captchaScene:t,captchaApp:n});return r.get(r.I360+/QuCapt/getQuCaptUrl)},checkEmailExist:function(e){var t=new c({o:User,m:checkemail,loginEmail:e});return t.done=s(202),t.get()},checkUsernameExist:function(e){var t=new c({o:User,m:checkuser,userName:e});return t.done=s(1e4),t.get()},checkNicknameExist:function(e){var t=new c({o:User,m:checknickname,nickName:e});return t.done=s(259),t.get()},checkMobileNumberExist:function(e,t,n){var e=t?t+e:e;return n=n,(new c({o:User,m:checkmobile,mobile:e,type:n})).post()},checkEmailStatus:function(e){var t=new c({crumb:e});return t.get(t.I360+/active/checkLoginEmailStatus)},getMobileState:function(){return(new c({o:user,m:getStateList,quc_lang:})).get()},checkMobileLogin:function(e){return(new c({o:user,m:checkLoginMethod,acctype:2,lm:1,account:e})).get()},checkSignUpCaptchaRequired:function(){var t=new c({captchaApp:e.getConfig(captchaAppId,i360)});return t.get(t.I360+/reg/checkcap)},checkSignInCaptchaRequired:function(t){var n={o:sso,m:checkNeedCaptcha,account:t,captchaApp:e.getConfig(captchaAppId,i360)};return(new c(n)).get()},identify:function(e,t,n,i,s){var o={o:User,m:checkSecWay,crumb:e,vtype:n,sensop:t};returnpwd==n&&(i=r(i),o.captcha=s),o.vc=i,(new c(o,{},!0)).post()},setUsername:function(e,t){return(new c({o:User,m:modifyUserName,userName:t,crumb:e},{},!0)).post().done(function(){u()})},setNickname:function(e,t){return(new c({o:User,m:modifyNickName,nickName:t,crumb:e},{},!0)).post().done(function(){u()})},setEmail:function(e,t){var n=new c({crumb:e,loginEmail:t},{},!0);return n.post(n.I360+/active/doSetLoginEmail).done(function(){u()})},setSecEmail:function(e,t){var n=new c({crumb:e,secemail:t},{},!0);return n.post(n.I360+/profile/dosetsecemail).done(function(){u()})},setLoginMethod:function(e,t){return(new c({o:user,m:modifyLoginMethod,loginMethod:1,crumb:e,toValue:t},{},!0)).post().done(function(){u()})},setCookie:function(t,n){var r=e.getConfig(supportHttps,l),i=https==e.getConfig(protocol,null).toLowerCase();t=decodeURIComponent(t),void 0===n?n=e.getConfig(domainList,[]):a.isArray(n)(n=[n]);var s,o=[];return a.each(n,function(e,n){a.inArray(n,r)>

  ).hide(),c=a.extend({},this.param,{proxy:e.getConfig(proxy),callback:o,func:o}),h=n(c,{name:u,target:f,url:tthis.ajaxOpt.url});return window[o]=function(t){clearTimeout(i);var n;for(var s in t)t.hasOwnProperty(s)&&(n=decodeURIComponent(t[s]),n.match(/^(\{.*\})(\[.*\])$/)&&(n=a.parseJSON(n)),t[s]=n);r.resolve(t),e.events.trigger(receive.sync,t)},i=setTimeout(function(){r.reject({method:post,url:t,status:{status:0,statusText:post 请求超时}})},this.ajaxOpt.timeout),r.always(function(e){try{delete window[o]}catch(e){window[o]=null}}),a(document.body).append(l).append(h),a(h).submit(),r.then(this.done,e.utils.bind(this.fail,this))},done:s(0),fail:function(t){if(https==this.protocol&&http:==location.protocol&&e.getConfig(retryWithHttp,!0))returnsso==this.ajaxOpt.data.o&&getToken==this.ajaxOpt.data.m&&(f=!0),this.retryHttp(t);var n=a.Deferred();return n.reject({errno:999999,errmsg:string==a.type(t)?t:网络错误}),e.events.trigger(error.sync,t.urlthis.ajaxOpt.url),n.promise()},getDomainApi:function(e){return e=elocation.hostname.replace(/^(?:.+\.)?(\w+\.\w+)$/,$1),this.protocol+://login.+e},retryHttp:function(t){this.protocol=http,this.ajaxOpt.url=this.ajaxOpt.url.replace(/^https/,http),this.I360=请登录帐号}),t.promise()},e.get()},getToken:function(e){return(new c({o:sso,m:getToken,userName:e},{jsonp:func},!0)).get()},getUserInfo:function(t,n){var r=e.getConfig(headSize,100_100),i=e.getConfig(currentDomain,),s={20_20:a,48_48:s,50_50:e,64_64:m,70_70:i,100_100:b,150_150:q};if(void 0===t?t=!0:boolean!=a.type(t)&&(n=t,t=!1),t&&h&&void 0===n)return a.Deferred().resolve(h).promise();var o=new c({o:sso,m:info,show_name_flag:1,head_type:s[r]});return o.done=function(e){var t=a.Deferred();return e.qid?(void 0===n&&(h=e),t.resolve(e)):t.reject({errno:999999,errmsg:无法获取登录状态}),t.promise()},e.getConfig(ignoreCookie)?o.get():i&&e.utils.getCookie(Q)?o.get(o.getDomainApi(i)):e.utils.getCookie(Q)?o.get(o.getDomainApi(n)):a.Deferred().reject(e.ERROR.NOT_SIGNED_IN).promise()},getUserSecInfo:function(e){var t=new c({crumb:e});return t.get(t.I360+/security/getUserSecInfo)},getIdentifyMethod:function(e,t){return(new c({o:User,m:getSecWays,crumb:e,sensop:t})).post()},getCaptchaUrl:function(t){var n=e.getConfig(captchaAppId,i360),r=new c({captchaScene:t,captchaApp:n});return r.get(r.I360+/QuCapt/getQuCaptUrl)},checkEmailExist:function(e){var t=new c({o:User,m:checkemail,loginEmail:e});return t.done=s(202),t.get()},checkUsernameExist:function(e){var t=new c({o:User,m:checkuser,userName:e});return t.done=s(1e4),t.get()},checkNicknameExist:function(e){var t=new c({o:User,m:checknickname,nickName:e});return t.done=s(259),t.get()},checkMobileNumberExist:function(e,t,n){var e=t?t+e:e;return n=n,(new c({o:User,m:checkmobile,mobile:e,type:n})).post()},checkEmailStatus:function(e){var t=new c({crumb:e});return t.get(t.I360+/active/checkLoginEmailStatus)},getMobileState:function(){return(new c({o:user,m:getStateList,quc_lang:})).get()},checkMobileLogin:function(e){return(new c({o:user,m:checkLoginMethod,acctype:2,lm:1,account:e})).get()},checkSignUpCaptchaRequired:function(){var t=new c({captchaApp:e.getConfig(captchaAppId,i360)});return t.get(t.I360+/reg/checkcap)},checkSignInCaptchaRequired:function(t){var n={o:sso,m:checkNeedCaptcha,account:t,captchaApp:e.getConfig(captchaAppId,i360)};return(new c(n)).get()},identify:function(e,t,n,i,s){var o={o:User,m:checkSecWay,crumb:e,vtype:n,sensop:t};returnpwd==n&&(i=r(i),o.captcha=s),o.vc=i,(new c(o,{},!0)).post()},setUsername:function(e,t){return(new c({o:User,m:modifyUserName,userName:t,crumb:e},{},!0)).post().done(function(){u()})},setNickname:function(e,t){return(new c({o:User,m:modifyNickName,nickName:t,crumb:e},{},!0)).post().done(function(){u()})},setEmail:function(e,t){var n=new c({crumb:e,loginEmail:t},{},!0);return n.post(n.I360+/active/doSetLoginEmail).done(function(){u()})},setSecEmail:function(e,t){var n=new c({crumb:e,secemail:t},{},!0);return n.post(n.I360+/profile/dosetsecemail).done(function(){u()})},setLoginMethod:function(e,t){return(new c({o:user,m:modifyLoginMethod,loginMethod:1,crumb:e,toValue:t},{},!0)).post().done(function(){u()})},setCookie:function(t,n){var r=e.getConfig(supportHttps,l),i=https==e.getConfig(protocol,null).toLowerCase();t=decodeURIComponent(t),void 0===n?n=e.getConfig(domainList,[]):a.isArray(n)(n=[n]);var s,o=[];return a.each(n,function(e,n){a.inArray(n,r)-1?(s=new c({o:sso,m:setcookie,s:t},{jsonp:func},!0),o.push(s.get(s.getDomainApi(n)))):i(s=new c({o:sso,m:setcookie,s:t},{jsonp:func}),o.push(s.get(s.getDomainApi(n))))}),a.when.apply(a,o)},sendSmsTokenNeedPhrase:function(e,t,n,r,i,s){var o=;returnboolean==typeof e&&(n=t,t=e,r=n,i=r,e=null),login==s?o=0:reg==s&&(o=2),(new c({o:User,m:sendSmsCodeNew,condition:t?1:2,account:n,crumb:e,sms_scene:o,captcha:r,vt:i})).post()},sendSmsToken:function(e,t,n,r){var i=;returnboolean==typeof e&&(n=t,t=e,e=null),object==typeof n&&(n=n.areaCode+n.mobileNumber),findpwd==r&&(i=1),(new c({o:User,m:sendSmsCode,condition:t?1:2,account:n,crumb:e,sms_scene:i})).post()},sendEmailToken:function(e,t){return(new c({o:User,m:sendEmsCode,condition:1,crumb:e,vtype:t})).post()},sendActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/active/doSendActiveEmail)},sendSecActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/profile/resendSecurityEmail)},sendSignUpActivationEmail:function(e){return(new c).get(e)},bindMobile:function(e,t,n){var t=t.areaCode+t.mobileNumber;return(new c({o:user,m:bindMobile,crumb:e,mobile:t,smscode:n},{},!0)).post().done(function(){u()})},signUp:function(t){var n={captchaFlag:!0,captchaApp:e.getConfig(captchaAppId,i360),smDeviceId:i()};t=a.extend(n,t),t.password=r(t.password),t.passwordAgain=r(t.passwordAgain)t.password,o(t,{emailActiveFlag:loginEmailActiveFlag,passwordAgain:rePassword,smsToken:smscode,nickname:nickName,username:userName,agreeLicence:is_agree});var s=new c(t,{},!0);return s.post(s.I360+/reg/doregAccount).done(function(){u()})},signIn:function(t){var n={o:sso,m:login,lm:mobile==t.type?1:0,captFlag:1,rtype:data,validatelm:e.getConfig(signIn.mobile.isMustUseMobileSignIn,!1)?1:0,isKeepAlive:!1,captchaApp:e.getConfig(captchaAppId,i360),userName:t.account,smDeviceId:i()};returnmobile==t.type?t.acctype=2:t.password=r(t.password),a.when().then(function(){return t.tokene.sync.getToken(t.account).done(function(e){t.token=e.token})}).then(function(){return(new c(a.extend(n,t),{},!0)).post().done(function(){u()})}).then(function(t){return e.sync.setCookie(t.s)}).then(function(){return e.getUserInfo(!1)})},signOut:function(t){var n=e.getConfig(supportHttps,l),r=https==e.getConfig(protocol,null).toLowerCase();void 0===t!0===t?t=e.getConfig(domainList,[]):a.isArray(t)(t=[t]);var i,s=[];return a.each(t,function(e,t){a.inArray(t,n)>

  -1?(s=new c({o:sso,m:setcookie,s:t},{jsonp:func},!0),o.push(s.get(s.getDomainApi(n)))):i(s=new c({o:sso,m:setcookie,s:t},{jsonp:func}),o.push(s.get(s.getDomainApi(n))))}),a.when.apply(a,o)},sendSmsTokenNeedPhrase:function(e,t,n,r,i,s){var o=;returnboolean==typeof e&&(n=t,t=e,r=n,i=r,e=null),login==s?o=0:reg==s&&(o=2),(new c({o:User,m:sendSmsCodeNew,condition:t?1:2,account:n,crumb:e,sms_scene:o,captcha:r,vt:i})).post()},sendSmsToken:function(e,t,n,r){var i=;returnboolean==typeof e&&(n=t,t=e,e=null),object==typeof n&&(n=n.areaCode+n.mobileNumber),findpwd==r&&(i=1),(new c({o:User,m:sendSmsCode,condition:t?1:2,account:n,crumb:e,sms_scene:i})).post()},sendEmailToken:function(e,t){return(new c({o:User,m:sendEmsCode,condition:1,crumb:e,vtype:t})).post()},sendActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/active/doSendActiveEmail)},sendSecActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/profile/resendSecurityEmail)},sendSignUpActivationEmail:function(e){return(new c).get(e)},bindMobile:function(e,t,n){var t=t.areaCode+t.mobileNumber;return(new c({o:user,m:bindMobile,crumb:e,mobile:t,smscode:n},{},!0)).post().done(function(){u()})},signUp:function(t){var n={captchaFlag:!0,captchaApp:e.getConfig(captchaAppId,i360),smDeviceId:i()};t=a.extend(n,t),t.password=r(t.password),t.passwordAgain=r(t.passwordAgain)t.password,o(t,{emailActiveFlag:loginEmailActiveFlag,passwordAgain:rePassword,smsToken:smscode,nickname:nickName,username:userName,agreeLicence:is_agree});var s=new c(t,{},!0);return s.post(s.I360+/reg/doregAccount).done(function(){u()})},signIn:function(t){var n={o:sso,m:login,lm:mobile==t.type?1:0,captFlag:1,rtype:data,validatelm:e.getConfig(signIn.mobile.isMustUseMobileSignIn,!1)?1:0,isKeepAlive:!1,captchaApp:e.getConfig(captchaAppId,i360),userName:t.account,smDeviceId:i()};returnmobile==t.type?t.acctype=2:t.password=r(t.password),a.when().then(function(){return t.tokene.sync.getToken(t.account).done(function(e){t.token=e.token})}).then(function(){return(new c(a.extend(n,t),{},!0)).post().done(function(){u()})}).then(function(t){return e.sync.setCookie(t.s)}).then(function(){return e.getUserInfo(!1)})},signOut:function(t){var n=e.getConfig(supportHttps,l),r=https==e.getConfig(protocol,null).toLowerCase();void 0===t!0===t?t=e.getConfig(domainList,[]):a.isArray(t)(t=[t]);var i,s=[];return a.each(t,function(e,t){a.inArray(t,n)-1?(i=new c({o:sso,m:logout},{jsonp:func},!0),s.push(i.get(i.getDomainApi(t)))):r(i=new c({o:sso,m:logout},{jsonp:func}),s.push(i.get(i.getDomainApi(t))))}),u(),a.when.apply(a,s)},fillProfile:function(e,t,n,i,s){return i=in,(new c({o:User,m:perfectInfo,crumb:e,userName:t,captcha:s,password:r(n),rePassword:r(i)},{},!0)).post().done(function(){u()})},perfectMobile:function(e,t,n,i){return(new c({o:user,m:perfectMobile,crumb:e,mobile:t,password:r(n),rePassword:r(n),smscode:i},{})).post()},checkQrCodeSignInStatus:function(){return(new c({o:sso,m:qrLogin},{jsonp:func})).get()},getAuthenticationStatus:function(e){return(new c({o:User,m:getShiMingStatus,crumb:e})).get()},submitAuthenMobile:function(e,t,n){return(new c({o:User,m:verifyShiMingCaptcha,mobile:e,captcha:t,crumb:n},{},!0)).post()},fillAuthenInfo:function(e,t,n){return(new c({o:User,m:verifyShiMingSmsCode,vt:e,vc:t,crumb:n},{},!0)).post()},authSendSmsToken:function(e,t){return(new c({o:User,m:sendShiMingSmsCode,crumb:e,vt:t},{},!0)).post()}};var p={};a.each(e.sync,function(t,n){var r=function(){var r=arguments[0],i=t+(a.isPlainObject(r)?e.utils.JSON.stringify(r):[].join.apply(arguments)),s=p[i];return s?p[i]:(s=p[i]=n.apply(e.sync,arguments),s.always(function(){delete p[i]}),s)};r.funcName=n.funcName=sync.+t,e.sync[t]=r})}(QHPass),function(e){use strict;var t=e.$,n={charset:document.charsetdocument.defaultCharsetdocument.characterSetUTF-8,domainList:[360pay.cn,so.com,haosou.com,360.cn,360.com,qiku.com,360shouji.com],protocol:location.protocol.replace(:,),proxy:location.protocol+//+location.host+/psp_jump.html,ignoreCookie:!1};e.getConfig=function(e,r){r=void 0!==r?r:null;for(var i,s=n,o=e.split(.);o.length>

  -1?(i=new c({o:sso,m:logout},{jsonp:func},!0),s.push(i.get(i.getDomainApi(t)))):r(i=new c({o:sso,m:logout},{jsonp:func}),s.push(i.get(i.getDomainApi(t))))}),u(),a.when.apply(a,s)},fillProfile:function(e,t,n,i,s){return i=in,(new c({o:User,m:perfectInfo,crumb:e,userName:t,captcha:s,password:r(n),rePassword:r(i)},{},!0)).post().done(function(){u()})},perfectMobile:function(e,t,n,i){return(new c({o:user,m:perfectMobile,crumb:e,mobile:t,password:r(n),rePassword:r(n),smscode:i},{})).post()},checkQrCodeSignInStatus:function(){return(new c({o:sso,m:qrLogin},{jsonp:func})).get()},getAuthenticationStatus:function(e){return(new c({o:User,m:getShiMingStatus,crumb:e})).get()},submitAuthenMobile:function(e,t,n){return(new c({o:User,m:verifyShiMingCaptcha,mobile:e,captcha:t,crumb:n},{},!0)).post()},fillAuthenInfo:function(e,t,n){return(new c({o:User,m:verifyShiMingSmsCode,vt:e,vc:t,crumb:n},{},!0)).post()},authSendSmsToken:function(e,t){return(new c({o:User,m:sendShiMingSmsCode,crumb:e,vt:t},{},!0)).post()}};var p={};a.each(e.sync,function(t,n){var r=function(){var r=arguments[0],i=t+(a.isPlainObject(r)?e.utils.JSON.stringify(r):[].join.apply(arguments)),s=p[i];return s?p[i]:(s=p[i]=n.apply(e.sync,arguments),s.always(function(){delete p[i]}),s)};r.funcName=n.funcName=sync.+t,e.sync[t]=r})}(QHPass),function(e){use strict;var t=e.$,n={charset:document.charsetdocument.defaultCharsetdocument.characterSetUTF-8,domainList:[360pay.cn,so.com,haosou.com,360.cn,360.com,qiku.com,360shouji.com],protocol:location.protocol.replace(:,),proxy:location.protocol+//+location.host+/psp_jump.html,ignoreCookie:!1};e.getConfig=function(e,r){r=void 0!==r?r:null;for(var i,s=n,o=e.split(.);o.length0;)if(i=o.shift(),0!=i.length){if(void 0===s[i]o.length>

  0;)if(i=o.shift(),0!=i.length){if(void 0===s[i]o.length0&&!t.isPlainObject(s[i]))return r;s=s[i]}return t.isPlainObject(s)?t.extend({},s):s},e.setConfig=function(i,s){if(!i)return e.events.trigger(warn.config,setConfig parameter key is null or undefined),e;if(t.isPlainObject(i))return r(!0,n,i),e;for(var o,u,a=n,f=i.split(.),l=!1;f.length>

  0&&!t.isPlainObject(s[i]))return r;s=s[i]}return t.isPlainObject(s)?t.extend({},s):s},e.setConfig=function(i,s){if(!i)return e.events.trigger(warn.config,setConfig parameter key is null or undefined),e;if(t.isPlainObject(i))return r(!0,n,i),e;for(var o,u,a=n,f=i.split(.),l=!1;f.length0;){if(u=f.shift(),void 0===a[u]&&(a[u]={}),!t.isPlainObject(a[u])&&f.length>

  0;){if(u=f.shift(),void 0===a[u]&&(a[u]={}),!t.isPlainObject(a[u])&&f.length0){l=!0;break}o=a,a=a[u]}return l?e.events.trigger(warn.config,setConfig cannot be set on +i):o[u]=s,e};var r=function(){var e,n,i,s,o,u=arguments[0]{},a=1,f=arguments.length,l=!1;for(boolean==typeof u&&(l=u,u=arguments[1]{},a=2),object==typeof ut.isFunction(u)(u={});a0},n.getGuid=function(){return r++},n.parseCallback=function(e){returnfunction==t.type(e)?e:!0===e?function(){location.reload()}:string==t.type(e)&&0===e.indexOf(http)?function(){location.href=e}:function(){}},n.setCookie=function(e,t,n){var r=new Date;n=void 0!==n?n:2,r.setTime(r.getTime()+864e5*n),document.cookie=e+=+encodeURIComponent(t)+;expires=+r.toGMTString()+;path=/},n.getCookie=function(e){var t=null,n=new RegExp((^ )+e+=([^;]*)(;$)),r=document.cookie.match(n);return r&&(t=decodeURIComponent(r[2])),t},n.throttle=function(e,t,n,r){var i,s,o,u=+(new Date),a=0,f=0,l=null,c=function(){f=u,e.apply(s,o)};return function(){u=+(new Date),s=this,o=arguments,i=u-(r?a:f)-t,clearTimeout(l),r?n?l=setTimeout(c,t):i>

  0},n.getGuid=function(){return r++},n.parseCallback=function(e){returnfunction==t.type(e)?e:!0===e?function(){location.reload()}:string==t.type(e)&&0===e.indexOf(http)?fun