7. COMMUNICATION THAT DO NOT REQUIRE
THE SEQUENCE PROGRAM
MELSEC-A
7-15
7.1.11 Writing device memory and buffer memory (Write: Server)
A "Write" services is issued from the client to write the data in the PC CPU device memory and special
functions module buffer memories.
The device memories to be written must be registered in the OD in advance as an Array, Simple
Variable, or Record using the software package. In addition, the buffer memory must be registered in
the OD as an Array or Simple Variable.
[Parameters required by the client]
•
Access Specification
The device to be written is specified using the index or name.
Access Specification
Setting value
Index
Index of the variable to be read
Variable Name
Name of the variable to be read
•
Subindex
This specifies which element will be written when an Array or Record write is conducted.
If a Subindex is not specified then all the elements will be written.
The Array or Record header element Subindex is 1.
•
Data
This sets the data that will actually be written.
The data arrangement for a bit-String is conducted using the following specifications, so be
careful.
When accessing from the M100 using a 16 unit bit-string
M115
M114
M113
M112
M111
M110
M109
M108
1
0
LSB
MSB
M107
M106
M105
M104
M103
M102
M101
M100
In addition, in PROFIBUS-FMS the unit used to write Bit-String data is 8 bits. In other words,
bit lengths that do not equal multiples of 8, such as 3 bits or 4 bits, are not read.
[Server (AJ71PB96F/A1SJ71PB96F) answer parameters]
None