产品详细资料
命令3005,示例-读取/写入多个寄存器从本地PLC的%R100开始写入10个值,以在远程Modbus/TCP服务器中注册地址200,从远程Modbus-TCP服务器的寄存器300开始读取20个值,并将此值写入本地PLC的%R300。将COMMREQ状态字返回%R10。使用通道6,一个先前使用Open Modbus/TCP Client Connection COMMREQ打开的通道。(字7)通道命令号:字7将COMMREQ标识为远程Modbus/TCP设备上的读/写多寄存器操作。(字8)信道号:字8标识先前分配用于与远程Modbus/TCP服务器通信的信道号。(字9)Modbus功能代码:字9指定功能代码23,读/写多寄存器。(字10)本地PLC内存类型(用从服务器读取的数据写入):字10-12指定本地PLC中以太网接口将写入从远程服务器接收的数据的位置。值8指定寄存器内存%R。(字11)本地PLC起始地址LSW(用从服务器读取的数据写入):字11确定要写入数据的本地PLC中起始地址的低有效字(LSW)。对于Word 10中指定的存储器类型和模式,输入的值是从PLC存储器开始的偏移量(基于1)。此偏移量将以位、字节或字为单位,具体取决于指定的模式。值的有效范围取决于PLC的内存范围。
Command 3005, Example – Read/Write Multiple Register Write 10 values starting at %R100 in the Local PLC to register address 200 in the remote Modbus/TCP server and read 20 values starting from register 300 in the remote Modbus/TCP server and write this value to %R300 in the Local PLC. Return the COMMREQ Status word to %R10. Use channel 6, a channel previously opened with the Open Modbus/TCP Client Connection COMMREQ. (Word 7) Channel Command Number: Word 7 identifies the COMMREQ as a Read/Write Multiple Register operation on remote Modbus/TCP device. (Word 8) Channel Number: Word 8 identifies the channel number previously allocated for communication with the remote Modbus/TCP server. (Word 9) Modbus Function Code: Word 9 specifies Function Code 23, Read/Write Multiple Register. (Word 10) Local PLC Memory Type (Write With Data Read From Server): Words 10–12 specify the location in the local PLC where the Ethernet interface will write data received from the remote server. The value 8 specifies Register Memory %R. (Word 11) Local PLC Starting Address LSW (Write With Data Read From Server): Word 11 determines the least significant word (LSW) of the starting address in the local PLC from which the data is to be written. The value entered is the offset (1- based) from the beginning of PLC memory for the memory type and mode specified in Word 10. This offset will be either in bits, bytes, or words depending on the mode specified. Valid ranges of values depend on the PLC’s memory ranges.
主营产品简介
专注于DCS、PLC、机器人控制系统、大型伺服四大系统领域。
主营产品各种模块/卡件,控制器,触摸屏,伺服驱动器。
优势:供应进口原装正品,专业停产配件,
发货快,货期精准,
主营品牌包括 ABB贝利、GE/FUANC、FOXBORO、英维思TRICONEX 、本特利BENTLY、A-B罗克韦尔、艾默生EMERSON 、OVATION、MOTOROLA、XYVOM、霍尼韦尔HONEYWELL 、力士乐REXROTH、KUKA、NI、DEIF、横河、伍德沃德WOODWARD、瑞恩、施耐德SCHNEIDER 、安川、 穆格MOOG、PROSOFT等品牌。
只卖库存产品;出完需订货!价格以客服说明为准!!订货货期以客服说明为准,有任何疑问请联繁客服! Limited stock, Contact US!
●使用前:
在操作和维护,安装设备之前,请阅读并严格遵守安全相关的信息。
Read and strictly follow safety-related information before operatingmaintainingand installing equipment.
●使用者要求:
必须从事安装,组装或维护设备等相关工控电气机械以及其他相关技术的人员。
Must be engaged in the installation,assembly or maintenance of equipment and other related industriacontroeectrica machinery and other related technica personne.应用范围:
应用于品牌本系列工业以及生产生活自动化设备产品。
Used in the brand of this series of industriaand production automation eauipment products
适用于场景:系统集成,非标定制,产线升级改造,原设备电气替换等等。
Suitable for scenarios:system integration,non-standard customizationproduction line upgrading and transformation,electrical replacement of original equipment,etc.
●操作人员:
应该由本品牌专业培训操作员来安装、操作和维修设备。专业人员具有技术能力强,熟悉安全信息和安全实施:
熟悉设备的安装加工、操作和维护:熟悉处理所有的潜在危险情况。
Equipment should be installed,operated and maintained by trained operators from the brand
●危险情况
警告
.请注意使用人员的人身安全。
●除了产品特性以及功能,还需了解产品的使用寿命环境。
●充分学习产品使用手册,否则非专业人员可能会造成人身危险。
Study the product instruction manual thoroughlyotherwise it may cause personal danger to non-professionals.
●服务行业
适用水泥,木业,石业,橡胶,石油,化工,发电,环保,水处理,制冷,交通,钢铁,食品,饮料,船舶,制冷等行业
Applicable to cementwood,stone,rubber,petroleumchemical, power generation