Write Plc Memory (4001); Write Plc Memory Command Block - GE RX3i User Manual

Pacsystems
Hide thumbs Also See for RX3i:
Table of Contents

Advertisement

Write PLC Memory (4001)

6.6
The Write PLC Memory command can be used to write memory locations to one remote PACSystems PLC. Use
of this command does not require a configured produced / consumed exchange in the PLCs.

Write PLC Memory Command Block

Word Offset
Value
Word 1
Length of command data block
Word 2
0
Word 3
(See table on page 95)
Word 4
0-based
Word 5
0
Word 6
0
Word 7
4001 (fa1H)
Word 8
Retry time, in milliseconds
Word 9
Local write buffer memory type
Word 10
Local write buffer reference table
starting address (least significant word)
Word 11
Local write buffer reference table
starting address (most significant word)
Word 12
Remote write location memory type
Word 13
Remote reference table write location
starting address (least significant word)
Word 14
Remote reference table write location
starting address (least significant word)
Word 15
Write Length
Word 16
Network address type
Word 17
Network address length
Word 18 –
IP Address of the remote PLC
Word 21
Word 22
Reserved
(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).
(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)
GFK-2224Q
13
Chapter 6. Programming EGD Commands
Description
Always 16
Always 0 (no-wait mode request)
Memory type of COMMREQ Status Word
Offset of COMMREQ Status Word
Reserved
Reserved
Write PLC Memory command number.
The time between retries of command transfers.
Default is 1000ms.
Memory type for the data that will be written, in the
local PLC.
1-based offset in the local PLC.
Memory type into which data will be written in the
remote PLC(s)
1-based offset in the remote PLC
0 to 1400 bytes, 0 to 700 words.
Must be 1. Indicates an IP address will be used.
Must be 4 for IP address.
Group ID (multicast) is not permitted.
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.
Always 0
January 2017
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx7i

Table of Contents