HESG447440R0001系统模块卡件
本地PLC中基于地址(最低有效字)1的偏移。字11本地写入缓冲区参考表起始地址(最高有效字)(续…)存储器位置1-11的进一步考虑(字7)EGD命令编号:字7写入PLC存储器操作。如果命令处理成功,将导致PLC参考内存数据从服务器发送到客户端。(Word 8)命令重试时间:Word 8指定传输命令时以太网接口在重试之间等待的时间(以毫秒为单位)。总共将尝试四次发送命令。如果在四次尝试之后(即四次重试时间值之后)没有收到响应,则COMMREQ状态字中将返回错误状态。如果命令重试指定为零,则使用默认值1秒。(字9)本地PLC-存储器类型:字9-11指定本地PLC中以太网接口将获取要写入远程PLC的数据的位置。Word 9的有效值列在“读取PLC内存命令”的说明中。要传输的数据量由写入远程PLC(字15)的数据的存储单元数指定。有关详细信息,请参阅本节中提供的Word 9内存类型。(字10-11)本地PLC-存储器起始地址:字10和11确定本地PLC中的起始地址,数据将从该起始地址写入远程PLC。输入的值是从Word 9中指定的存储器类型和模式的PLC存储器开始的32位偏移量(从1开始)。字10包含偏移量的最低有效16位;字11包含偏移量的最高有效16位。根据指定的模式,此偏移量将以位、字节或字为单位。(例如,如果字9=16,字10,11=2,0,则起始地址将为%I9。)值的有效范围取决于PLC的内存范围。PAC系统™ RX3i和RSTi EP TCP/IP以太网通信用户手册第6节GFK-2224Y 2019年8月编程EGD命令118字12远程写入位置存储器类型数据将写入远程PLC的存储器类型字13远程参考表写入位置起始地址(最低有效字)远程PLC字14远程参考表写位置中基于1的偏移量起始地址(最低有效字)字15写入长度0至1400字节,0至700字。Word 16网络地址类型必须为1。表示将使用IP地址。字17 IP地址的网络地址长度必须为4。不允许使用组ID(多播)。字18–字21远程PLC的IP地址四个整数,指定为远程PLC的虚线十进制IP地址的每个字一个整数。不能是组IP地址。字22始终保留0存储器位置的进一步考虑12-22(字12)远程PLC-存储器类型:字12–14指定要写入数据的远程PLC中的存储器类型和起始地址。上面列出了Word 12的有效值。(字13-14)远程PLC-存储器起始地址:字13、14确定远程PLC中要写入数据的起始地址。输入的值是从Word 12中指定的存储器类型和模式的PLC存储器开始的32位偏移量(从1开始)。字13包含偏移量的最低有效16位;字14包含偏移的最高有效16位。
address (least significant word) 1-based offset in the local PLC. Word 11 Local write buffer reference table starting address (most significant word) (Continued …) Further Consideration of Memory Locations 1-11 (Word 7) EGD Command Number: Word 7 a write PLC memory operation. If the command is processed successfully, it will result in PLC reference memory data being sent from the server to the client. (Word 8) Command Retry Time: Word 8 specifies the time (in milliseconds) the Ethernet interface will wait between retries when transferring the command. A total of four tries will be made to send the command. If no response is received after the four tries (i.e. after four times the retry time value), an error status will be returned in the COMMREQ status word. If the command retry is specified as zero, the default value of one second is used. (Word 9) Local PLC - Memory Type: Words 9-11 specify the location in the local PLC where the Ethernet interface will get the data to be written to the remote PLC. Valid values for Word 9 are listed in the description of Read PLC Memory Command. The amount of data to be transferred is specified by the number of memory units of the data written to the remote PLC (Word 15). For more information, refer to Word 9 Memory Types Available in this section. (Words 10 - 11) Local PLC - Memory Starting Address: Words 10 and 11 determine the starting address in the local PLC from which the data is to be written to the remote PLC. The value entered is the 32-bit offset (1-based) from the beginning of PLC memory for the memory type and mode specified in Word 9. Word 10 contains the least significant 16 bits of the offset; Word 11 contains the most significant 16 bits of the offset. This offset will be either in bits, bytes, or words depending on the mode specified. (For example, if Word 9=16 and Words 10,11 = 2, 0 then the starting address will be %I9.) Valid ranges of values depend on the PLC’s memory ranges. PACSystems™ RX3i and RSTi-EP TCP/IP Ethernet Communications User Manual Section 6 GFK-2224Y August 2019 Programming EGD Commands 118 Word 12 Remote write location memory type Memory type into which data will be written in the remote PLC(s) Word 13 Remote reference table write location starting address (least significant word) 1-based offset in the remote PLC Word 14 Remote reference table write location starting address (least significant word) Word 15 Write Length 0 to 1400 bytes, 0 to 700 words. Word 16 Network address type Must be 1. Indicates an IP address will be used. Word 17 Network address length Must be 4 for IP address. Group ID (multicast) is not permitted. Word 18 – Word 21 IP Address of the remote PLC Four integers, specified as one integer per word of the dotted-decimal IP address of the remote PLC. May not be a group IP address. Word 22 Reserved Always 0 Further Consideration of Memory Locations 12-22 (Word 12) Remote PLC - Memory Type: Words 12–14 specify the memory type and starting address in the remote PLC where data is to be written. Valid values for Word 12 are listed above. (Words 13 - 14) Remote PLC - Memory Starting Address: Words 13, 14 determine the starting address in the remote PLC where data is to be written. The value entered is the 32-bit offset (1-based) from the beginning of PLC memory for the memory type and mode specified in Word 12. Word 13 contains the least significant 16 bits of the offset; word 14 contains the most significant 16 bits of the offset.