Intouch驱动DASSIDirect与西门子通讯配置

所需积分/C币:11 2017-06-10 11:24:12 707KB PDF

介绍DASSIDirect与西门子通讯配置,相关驱动参考《intouch学习与资源》专辑(创建中)
3.使用Png命令,测试上位机与TDC的IP连接是否正常。 cN命令提示符 回 Microsoft Windows 2000 [Version 5.00.21951 c)版权所有1985-26 Microsoft Corp C:\Documents and Settings \Administrator>ping 192.168.0.1 Pinging 192-.168.0.1 with 32 bytes of data Reply from 192.168.0.1: bytes=32 time=5ms TTL=30 Reply from 192.168.0.1: bytes=32 time=3ms TTL=30 Reply from 192.168.0.1: bytes=32 time=2ms TTL=30 Reply from 192.168.0.1: bytes=32 time=4ns TTL=30 Ping statistics for 192.168.0.1 Pac kets: Sent = 4. Received Lost =g (0 loss) Approximate round trip times in illi-seconds: Minimun =2ms, Maximum 5ms, Average 3ms C: \Documents and Settings \Administrator) 4.在CPU:D01P01的Chat中插入一个新的CFC,并双击打开。 5sIMATIC Manager-[test_TDC(Component vlew)-[:\Program Files\ Siemens(Stepms7pron\test_TDC] E File Edit Insert PLC Yiew Options Wndow Help 日Pog001P01) Press Fl bo cet He. DUSTI(CEMI) 开始画口”口5m0 OTDC TEST G, SIMATIC Manager.[besl 团k多1849 5.插入回τcPIP功能坎到表中,连接在硬件绢态中的硬件模板地址D1100C.X01。即利用 CP51M1的1作为与 DAServer通讯的 Ethernet接口。并把该功能块组态到T4的采样时 间。插入SER功能块,可以任意组态到任何一个时间周期。 6.在CFC中定义两个功能,第一个功能通过INT命名为 sawtooth功能块进行积分运算当达到 高限300时通过PDE命名为 Switch- on delay功能块延迟5秒钟复位该褀分功能垬,然后 重新积分。插入BF功能块命名为 Flash function实现BF.Q的信号每隔1秒翻转一次 F2CFC-CFC(1)-testTDC(SIMATIC TDC_Station(D01P01-] 回x F Chart Edt Inser: CPU Debug View Options window Help -ax 口回倒易电回曰叫珊y测叫国p回叫 m 命cth 1E101 tao steer ADA/L Press Fl for help A/Sheet xC(1)15 患开划”mM。画飞测这记画艾:k,901。映m-]乐(F团画回%1 7.在CFC的菜单中,选择 Options中的 Customize,选择 Compile/ Download.。选中 8.修改地址本选项 Create address book Options window Help Customize Layout Ctrl+Alt+E Block Sheet Bar Width Make Textual Interconnections Colors Delete Textual Interconnections,,. Compile/Download Logs CoDyTmove Chart Reference Data Ctrl+Alt+R Export Trend Data Save to MC Retrieve from MC Convert Cts connection Optimize Run Sequence Block Types Symbol Table Ctrl+Alt+T 9.选中建立地址本选项 Create address book。 Options for compilation Online insertable blocks from all libraries v Create map listing v Create address book c System data from installation Generate file for: C System data from archive 厂副 厂 string I/0 emporary directory OK Cancel Hel 10.双击INT功能块,打开INT功能块的属性。选择 OCM possible Properties-Block--CFC(1)\3 General I/Os Name Comment Integrator Inputs V OCM possible Operator C and M v Create block icon Family Control 厂MEs- relevant Author To be inserted in Special properties Messages F Read-back enabled 确定 Print 取消 帮助 1.点 ii Operator C and M.,打开 Monitoring and Contr。l属性。注意该功能块的映像区数据 块为1001。选中τ omplete block structure选项,对该功能块的所有输入和输岀进行监控 Monitoring and Control Properties WinCC Attributes I Name Program D01Po1)cF①)3 Comment WincC Paremeters complete block structure Inst ance-I 1001 Description Cancel Help 12.切换到 Wincc attributes页面,察看已选择要监控的变量 Monitoring and Control Properties WinCC Attributes Paramet CaI sD Data T了De OS Data Type ▲daDt Lenet REAL 32-bit floating-point number IEEE 754 FloatToFloa 区 REAL 32-bit floatingpoint number IEEE 754 FloatToFloat REAL 32-bit floating"Doint number IEEE 754 FloatToFloat4 区 REAL 32-bit floating-point number IEEE 754 FloatToFloat TI SDTIME 32-bit floating-point number IEEE 754 BOOL Binary variable REAL 32-bit floating-point number IEEE 754 FloatToFloat 4 Binar了 vaRia1e 区 BOOL Binary variable Expand > K Cancel Help 3.重复步骤10~12,使用同样的方法选中BF功能块的输出Y作为监控变量。 14.设置冗成后,对CFC沚行编译,出现生成的地址本的路径。 Compile 区 No errors in compilation The address book C: \PROGRAM FILES \SIEMENS\STEP7\S7PROJ\TDC_ COM \ES_ LOC\1 \gen\A001_1ac as seen mouret. I must De Importer SFC compilation was completed with 0 error[s] Close Details Help 15.根据该路径,使用 NotePad打开该文件。其中提供了所要监控功能块 sawtooth和fash function的变量和所分别对应的数据功能块的代号1001、1002,以及对应该变量的偏移地 址 A001d-记事本 □ 文件)编辑巨格式(◎查看(帮助(H 2:0 13:0 5 6:0 7 8:0 FP: 1 FP: CFC(1):2 F日:3:T1:9 X:8091.1001,0:NF:1.0::E:∷F LU:8091.1001.4:N:1.0::E F LL:8091,1001,8:NF:1.0::E:::F sv:8091.1001,12:NF:1.0::E T|:8091.1001.16:TF::::E:::::F S:80911001,20:B1:::E∷:N 丫:8091,1001,24576:NF:1.0:A:::F QU:8091.1001.24580:B1 A N QL:8091.1001,24581:B1::A FB:5:T1:3 T:8091.1002.0:TF::::E:::::F EN:8091.1002,4:B1:::E N Q:8091.1002.24576:B1::::A 配置 DASSIDirect 1.点击“开始一〉所有程序—〉 Wonderware) System Management Console”,运行SMC (SystemManagementConsole) 2.依次展开 DAServer Manager-〉 Default Group-〉Loca-〉 ArchestrA, DASSiDirec1 3.右击“ Configuration”,选择“ Add PortCps7 object”。 图 galaxy DataDase ranager Global pal G Default Group 白回Lo D 中品 ArchestrA. FSGatew2y,1 chestrA. DASMTFXSerial 1 #1- ArchestrA. DASMTAQSerial1 中 ArchestrA, DASMBSerial2 ArchestrA. DASSIDirect1 ArchestrA, Df Add Portcps7 object +-t ArchestrA DE Archive Configuration Set +目 Log viewer Clear Confiquration Set 中回 Platform Manager Use Another ConFiguration Set Delete Configuration Set 查看(y 帮助(H D 4.选择并右击“New_ PortCps7_000”,选择“AddS7 Cp object” E]Lh ArchestrA. DASSIDirect1 / Configurate ArchestrA, d E ArchestrA. c Disable New_PortCps7_000 og view Add scP obje 叫 atform Ma 查看 重命名M 帮助 5.在“ Network address”域中输入 TDC CP51M1的IP地址192168.0.1,“ Remote slot no” 及“ Connection resource”填入1,即CPU模块的槽号。 New_$7Cp-_000 Parameters Device GroupsDevice Items Processor Type PLC Network Address. 9216801 Local TSAP Remote TSAP Remote Rack No Remote Slot No Connection Resource Reply Timeout 15000 ConnectionTimeout ms Alarms& Events c Disable all C Enable alarms C Enable events 6.选择“ Device groups”表单, 在空白处右击鼠标并选择“Add”,添加一个 TopIc,命名为“TDC1”。 Name update Interval (ms TDC1 100

...展开详情
img
gavinxm
  • 分享宗师

    成功上传21个资源即可获取

关注 私信 TA的资源

上传资源赚积分,得勋章
最新资源