![Mitsubishi Electric MELSEC System Q Special Instructions Manual Download Page 89](http://html.mh-extra.com/html/mitsubishi-electric/melsec-system-q/melsec-system-q_special-instructions-manual_239154089.webp)
5 MODULE DEDICATED INSTRUCTION
5.3 Serial Communication Instruction
87
5
Setting 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)
Device
Item
Setting data
Setting range
Setting side
(s1)[0]
Dummy
0
(s1)[1]
Read result
The instruction completion status is stored.
0: Normal completion
Other than 0: Error completion (error code)
System
(s1)[2]
Frame No.
specification
Specify the user frame number.
1000 to 1199
User
(s1)[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 (s2).
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
[Structured ladder/FBD]
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
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......