EasyManua.ls Logo

Mitsubishi Electric QJ71C24N-R4 - Appendix 9.7 When Sending Data Using User Frames

Mitsubishi Electric QJ71C24N-R4
442 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...
App. - 48 App. - 48
MELSEC-Q
APPENDICES
Appendix 9.7 When sending data using user frames
The following program example sends data by the user frames using the
REMFR/REMTO instruction and I/O signals.
Refer to the User's Manual (Application) for the transmission using the user frames.
(1) Program conditions
The following program sends data using the user frames from the CH1 side when
the transmission signal (X1026) turns ON.
(a) Devices used
:
• Transmission command ........................................................ X1026
• Transmission command pulse signal ................................... M10
Transmission user frame designation command ................. M11
Transmission result acquisition command ........................... M12
Completion device for REMFR/REMTO instruction ............. M100 to 105
Normal/abnormal completion flag for REMFR/REMTO
instruction .............................................................................. M200 to 203
• Normal/abnormal completion of transmission ...................... M300, M301
• Transmission data count ....................................................... D0
• Transmission data ................................................................. D1, D2
• CR/LF output designation ..................................................... D5
Output head pointer designation........................................... D6
• Output count designation ...................................................... D7
Output frame No. designation ............................................... D8 to D12
Data transmission result ........................................................ D20
(b) Intelligent function module switch settings (Refer to Section 4.5.2.)
Switch No.
Bit
Description
Setting
value
Position Designated value
Switch 1
b0 OFF
Transmission
setting
Operation setting Independent
07C2H
b1 ON Data bit 8 bits
b2 OFF Parity bit No
b3 OFF Even/odd parity Odd
b4 OFF Stop bit 1 bit
b5 OFF Sum check code No
b6 ON Write during RUN Enabled
b7 ON Setting modifications Enabled
b8 to b15 Communication rate setting 19200bps
Switch 2 Communication protocol setting Non-procedure protocol 0006H
Switch 5 Station number setting Station 0 0000H

Table of Contents

Related product manuals