EasyManua.ls Logo

LSIS XGL-EFMT - Write Separated Direct Variable

LSIS XGL-EFMT
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 8 Dedicated Communication
8-10
8.2.3 Write Separated Direct Variable
(1) Introduction
This function is used to directly specify the PLC device memory to write data on applicably to its
memory data type. The data can be written on up to 16 separate device memories at a time.
(2) Request format (PC -> PLC)
Write Request of Individual Variable (MMI PLC)
Item
Size(byte)
Description
Instruction
2
h0058: Write Request
Data type
2
Refer to Data Type table
Reserved area
2
h0000: Don’t Care.
Number of blocks
2
Number of memory address to write; up to 16.
Variable length
2
The number of characters in the Direct variable; Max. 16
Variable name
Length of
variable name
Direct variable only available
...
...
(Repeatedly as many as the number of blocks /up to 16)
Length of variable name
2
Length of direct variable. Max. 16
Variable name
Length of
variable name
Direct variable only available
Data size
2
Byte size of Data
Data
Data size
Data to write
(Repeatedly as many as the number of blocks /up to 16)
Data size
2
Byte size of Data
Data
Data size
Data to write
Format
name
Head
er
Instruc
tion
Data
type
Reserv
ed
area
Number
of
blocks
Variable
length
Direct
variable
..
Number
of data
data
..
Code
(Ex.)
.. h0058 h0002 h0000 h0001 h0006
%MW1
00
h0002
h123
4
1 block (up to 16 blocks setting available repeatedly)
1) Number of blocks
Used to specify the number of blocks composed of ‘[Variable Length][Variable]’and ‘[Data
Length] [Data]’ in the frame whose Maximum number is 16(h10). Accordingly, the value of
[Number of Blocks] shall be h01~ h10.
2) Variable length
It means the number of characters of the variable name which is available up to 16 characters,
whose range is h01 ~ h10.

Table of Contents

Related product manuals