App. - 48 App. - 48
MELSEC-Q
APPENDIXES
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)
Bit
Switch No.
Position Designated
value
Description
Setting
value
b0 OFF
Operation
setting
Independent
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
Transmission
setting
Setting modifications
Enabled
Switch 1
b8 to b15
—
Communication rate setting
19200bps
07C2
H
Switch 2
—
Communication protocol setting
Non-procedure protocol
0006
H
Switch 5
—
Station number setting
Station 0
0000
H
Содержание MELSEC QJ71C24
Страница 1: ......
Страница 2: ......
Страница 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Страница 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Страница 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Страница 441: ......
Страница 442: ......