EasyManua.ls Logo

LSIS XGL-EFMTB - Page 146

LSIS XGL-EFMTB
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-6
3) Variable
Input the address of memory device to be read actually. It shall be ASCII value within 16
characters. Others than figure, capital/small letter, ‘%’ and ’.’ are not allowed.
Based on the PLC type, available types of variables are as described below.
Classification
Bit
Byte
Word
Double Word
Long Word
XGT memory %(P,M,L,K,F,T)X -
%(P,M,L,K,F,T
,C,D,S)W
- -
[Table 8.2.1] Types of Variables
Notes
(1) When the frame is composed with hexadecimal word data to be displayed on the frame
above, ‘h in front of figures shall be taken out with the positions of two bytes exchanged as
below. Ex.) h0054 5400
(3) Response format (For PLC’s ACK Response)
Read Response of Individual variable (PLC MMI)
Item
Size(byte)
Description
Instruction
2
h0055 : Read Response
Data type
2
Refer to Data Type table
Reserved area
2
h0000 : Don’t Care
Error status
2
Normal if it is 0, abnormal if not 0.
Error code
2
If Error State is abnormal, the lower Byte is the error code.
Number of blocks
If Error State is normal, it means the number of blocks to be read.
Data size
2
The size of data in byte unit.
Data
Data size
Data read.
...
...
(Repeatedly as many as the number of variables /up to 16)
Data size
2
The size of data in byte unit.
Data
Data size
Data read.
Format
name
Header Instruction
Data
type
Reserved
area
Error
status
Number
of
blocks
Data
Size
Data
......
Code
(Ex.)
... h0055 h0002 h0000 h0000 h0001 h0002 h1234
1 block (up to 16 blocks)

Table of Contents

Related product manuals