Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5.3 Serial Communication
5.3.13 GETE instruction
5-107
G_GETE
5
MODULE DEDICATED
INSTRUCTION
G_GETE
Control Data
Program Example
The following program reads out the registration data of the user frame number 3E8H.
(For the Q series C24 whose I/O signals are X/Y80 to X/Y9F)
[Structured ladder/FBD]
Device Item Setting data Setting range Setting side
[0]
Dummy
0
[1]
Read result
The instruction completion status is stored.
0 : Normal completion
Other than 0 :
Error completion (error code)
System
[2]
Frame No. specification Specify the user frame number.
1000 to 1199 User
[3]
Allowable number of bytes for read data
Specify the maximum number of bytes for storing the
registered data of the read user frame to .
1 to 80 User
Number of registered bytes
The number of bytes of the registered data for the
read user frame is stored.
1 to 80 System
s1
s1
s1
s1
s2
Read request pulse
Sets user frame number
Sets allowable number
of bytes for read data
Clears user frame
to 0
Reads user frame
Turns normal
completion flag ON
Turns error
completion flag ON