App. - 41 App. - 41
MELSEC-Q
APPENDIXES
(2) Program example
<Transmission command>
<Setting of transmission data>
<Setting of buffer memory head address and data length>
<On-demand transmission>
<Processing for normal completion>
<Processing for abnormal completion>
<Abnormal completion: Read of on-demand execution result>
<Abnormal completion: Read of LED ON status>
Changes the transmission
command into pulses.
Sets the transmission data.
Transfers the transmission data
to the transmission area address
of the buffer memory.
On-demand function designation
command
Abnormal completion of REMTO
instruction
Buffer memory head address for
on-demand function
Data length for on-demand function
Transfers the setting value to the
on-demand function designation
area of the buffer memory.
Sets the on-demand data
transmission flag.
Abnormal completion of REMTO
instruction
Turns ON the transmission
request signal.
Resets the on-demand data
transmission flag.
Normal completion of on-demand
data transmission
Turns OFF the transmission
request signal.
Abnormal completion of on-demand
data transmission
On-demand execution result
acquisition command
Reads the on-demand execution
result of the buffer memory to D8.
LED ON status acquisition
command
Abnormal completion of REMFR
instruction
Reads the LED ON status of the
buffer memory to D9.
Normal completion of REMFR
instruction
Abnormal completion of REMFR
instruction
Turns OFF the transmission
request signal.
Summary of Contents for MELSEC QJ71C24
Page 1: ......
Page 2: ......
Page 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Page 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Page 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Page 441: ......
Page 442: ......