plc

ifix5.8连接s7-300 plc的点-通过s7a power tool

匿名 (未验证) 提交于 2019-12-03 00:37:01
1.首先在s7-300 plc里面已经存在一个db3如下图,现在要读取db3里面的dbd6的一个实型变量 2.在s7a power tool新建读取s7-300的驱动配置 点monitor可以监视一下,绿色已经读到了 3.在ifix pdb里面新建一个变量,地址填写如下 文章来源: ifix5.8连接s7-300 plc的点-通过s7a power tool

工控随笔_C#连接PLC_之_C#入门_01_配置学习环境

匿名 (未验证) 提交于 2019-12-02 23:43:01
    最近在做一个东西,需要用到通用开发语言开发一个软件来读取PLC的内容,这方面的难点在于解析PLC利用 以太网通讯的通讯协议,而一般的PLC厂商对自己的协议是封闭的,对一般的开发者是不开放的,虽然可以通过Wireshark 进行解析,但是工作量很大,且如果对Wireshark不熟悉基本也是无解,很难解析出来。   网上有部分用C#开发的开源库,但是自己对C#语言不懂,所以也就没法学习和应用了。因此我在这里开始了C#的 从零开始学习之旅(我的从零开始是指对C#一无所知,如果你要和我一起开启这趟旅程,应该懂基本的编程通识,这样应该 会更愉快一些)。   废话不多说,这个题头,就当引子吧,下面开始我们的C#之旅。后续文章不再做说上面的废话(简单的引子)了。 ----------------------------------------------------------------我是分割线------------------------------------------------------------------------ 1、学习参考书籍: C#本质论第4版 2、C#版本:V5.0 3、.NET Framwork 版本: v4.0.30319 4、操作系统版本:Windows 7 SP1 X64 CHS 5、编译器: csc.exe 6、代码编辑器: Editplus

Any successful profibus communications from .NET?

前提是你 提交于 2019-12-02 22:59:45
Has anyone successfully talked profibus from a .NET application? If you did, what device/card did you use to accomplish this, what was the application, and did you use any kind of preexisting or available code? We've not used Profibus, but have used DeviceNET (another CAN based protocol), Ethernet/IP and ControlNet which all have similar challenges. We've been doing this since the late 1990's and therefore rely mainly on our own generated code using off-the-shelf hardware. The companies that have shown longevity during that period that I remember are:- AnyBus (HMS, www.anybus.com ) we've

libnodave error while reading from Siemens s7-1200 (0x8104)

£可爱£侵袭症+ 提交于 2019-12-01 22:55:27
问题 While checking s7nodave's EPICS device support for S7-1200 I've encountered a problem that refers to libnodave. When I'm try to read any memory address in PLC, IOC console reports an error: epics> 2014/05/19 14:20:41.964 Siemens-PLC error while reading 1 bytes from PLC address FB35. Status = context not supported. Step7 says:Function not implemented or error in telgram. That is libnodave status code 0x8104. When I've tried to search the web for this error code, all results were referencing to

What does the “@” sign mean (Omron PLC)?

夙愿已清 提交于 2019-12-01 11:47:57
What does the " @ " sign means in ladder programming? Documentation explains the @ specifies an indirect DM address in binary mode ... offset an memory area : what does that mean actually? Consider the following image from the documentation: How can the content of a the address (a 16 bits or decimal 32767) becomes the word address? For example, if adress CIO 0 has content of 000000001000000 : adding the @ sign the CIO 0 changes to 000000001000000 ? What exactly is moving in the above instruction? This works for DM (Data Memory) only. There are many memory areas of an Omron PLC. CIO is usually

C to IEC 61131-3 IL compiler

ぐ巨炮叔叔 提交于 2019-12-01 08:05:20
I have a requirement for porting some existing C code to a IEC 61131-3 compliant PLC. I have some options of splitting the code into discrete function blocks and weaving those blocks into a standard solution (Ladder, FB, Structured Text etc). But this would require carving up the C code in order to build each function block. When looking at the IEC spec I realsied that the IEC Instruction List form could be a target language for a compiler. The wikepedia article lists two development tools: CoDeSys Beremiz But these seem to be targeted compiling IEC languages to C, not C to IEC. Another

What does the “@” sign mean (Omron PLC)?

非 Y 不嫁゛ 提交于 2019-12-01 07:34:17
问题 What does the " @ " sign means in ladder programming? Documentation explains the @ specifies an indirect DM address in binary mode ... offset an memory area : what does that mean actually? Consider the following image from the documentation: How can the content of a the address (a 16 bits or decimal 32767) becomes the word address? For example, if adress CIO 0 has content of 000000001000000 : adding the @ sign the CIO 0 changes to 000000001000000 ? What exactly is moving in the above

C to IEC 61131-3 IL compiler

时间秒杀一切 提交于 2019-12-01 04:29:20
问题 I have a requirement for porting some existing C code to a IEC 61131-3 compliant PLC. I have some options of splitting the code into discrete function blocks and weaving those blocks into a standard solution (Ladder, FB, Structured Text etc). But this would require carving up the C code in order to build each function block. When looking at the IEC spec I realsied that the IEC Instruction List form could be a target language for a compiler. The wikepedia article lists two development tools:

PLC编程的基础知识的总结

随声附和 提交于 2019-11-29 17:57:23
1、Programmable Logic Controller PLC 代替计算机实现复杂的逻辑控制系统 ,可编程控制器是一种数字运算操作电子系统,转门在工业控制系统中使用而设计的,采用一种可以变成的存储器,用于其内部存储程序,执行逻辑运算,顺序控制,定时和计算以及算数操作等面向用户的指令操作,并通过数字或者模拟方式输出输入,控制各种类型的操作设备进行生产。可编程控制器及其外部设备都可以轻易的组装成一个整体,并且易于扩充功能的原则设计。 2、PLC的分类 按照控制的点数和大小功能分类 小型 小于10个 中型 1024之内 大型 1024之上 组合式 , 整体性 等 3、PLC的基本结构 来源: https://www.cnblogs.com/xinxianquan/p/11525280.html