IBAFOB-4I-S 德国IBA数据采集卡
2022年9月26日D20 EME GE处理器模块 输入卡件
2022年9月26日LDGRB-01 3BSE013177R1 I/O模块 ABB控制器模块询价联系17350880093
通信过程 采用Bland C编写主机与PLC的通信程序。首先必须对COM1口进行初始化,波特率为9600bps,奇偶校验位采用偶校验,七位有效数据。通信的初始化检测过程如图4所示。当计算机接收到来自PLC的应答字符ACK后,就可以进入数据通信了。通信的时序图如图5所示。 计算机可对PLC内各软设备进行读、写和强制ON/OFF操作。除开PLC的计时器和计数器的设定值采用常数时,以及文件寄存器内的数据,FX2系列PLC的所有开关量输入、输出以及各软件设备对计算机都是透明的。其操作时的多字符帧的格式如图3所示。但不同的操作在“多个字符”项内有所不同。例如,计算机对PLC的软设备Y20~Y37进行读操作,查装置地址表为00A2,读取2字节数据。其状态如图6(a)所示,主机发出的命令格式如图6(b)所示,PLC返回的信息如图6(c)所示。 如传送的命令有错误,PLC返回NAK信号,本次操作失败,重新进行。 为了保证主机与PLC的通信准确无误,上位机也必须按通信协议进行和校。如接收的信息有误,则重新读取。如重复3次仍不行,则显示错误信息。 使用C语言很容易实现以上编程。
The customer hopes to help improve the production capacity of the controlled process through PLC in soft technology; Need PLC can and PC better fusion, in order to facilitate in PLC this level can strengthen the information processing ability. In order to meet these requirements, CONTEC cooperated with Mitsubishi Electric to introduce a PC module specially installed on the rack of Small Q series PLCS. The module occupies 2 slots, which is actually a PC that can run normally in the factory site environment and exchange data with the PLC module through the internal bus of PLC. Its processor chip uses Intel Celeron 400MHz main frequency, system memory 128MB, Cache 128K. Support for external display (large resolution 1024×768, 65,536 colors, 2MB video memory). Ports: 1 USB, which can be expanded to 2; Ethernet port RJ45 (10BASE-T/100BASE-TX0; RS 232C serial port 1, can be expanded to 2; Parallel port can be expanded 1; Mouse, keyboard port PS/2; External floppy disk drive port; External hard disk drive port; And 2 PC cards (PCMCIA bus). The hard disk module or solid state disk can be installed on the PLC rack. The module can be pre-installed with Windows NT 4.0 or Windows 2000. Supported software: Mitsubishi integrated FA software MELSOFT (including PLC programming software: GX; FA data processing and daily business processing acceleration middleware: MX; Human-machine interface screen design programming software: GT; Motion control design, programming and maintenance software: MT; And process control design programming and maintenance software: PX). In addition, it also supports EZSocket, the communication middleware used by Mitsubishi FA.