Appendix 9.3 When Sending On-Demand Data - Mitsubishi QJ71C24N User Manual

Melsec-q series
Hide thumbs Also See for QJ71C24N:
Table of Contents

Advertisement

APPENDIXES

Appendix 9.3 When sending on-demand data

Switch No.
Switch 1
Switch 2
Switch 5
Address Decimal (Hexadecimal)
150 (96
160 (A0
161 (A1
513 (201
598 (256
App. - 40
The following program example sends on-demand data using the REMFR/REMTO
instruction and I/O signals.
For the on-demand function, refer to the Reference Manual and the User's Manual
(Application).
(1) Program conditions
The following program sends on-demand data from the CH1 side when the
transmission command (X1022) turns ON.
(a) Devices used
• Transmission command ............................................................ X1022
• Transmission command pulse signal ........................................ M10
• On-demand function designation command ............................. M11
• On-demand data transmission flag............................................ M12
• On-demand execution result acquisition command.................. M13
• LED ON status acquisition command........................................ M14
• Completion device for REMFR/REMTO instruction .................. M100 to 107
• Normal/abnormal completion flag for REMFR/REMTO
instruction................................................................................... M200 to 204
• Normal/abnormal completion of on-demand data
transmission............................................................................... M300, M301
• Transmission data...................................................................... D0, D1
• Buffer memory head address designation for on-demand
function....................................................................................... D2
• Data length designation for on-demand function....................... D3
• On-demand execution result...................................................... D8
• LED ON status and communication error status on CH1 side
................................................................................................... D9
(b) Intelligent function module switch settings (Refer to Section 4.5.2)
Bit
Position
Designated value
b0
OFF
b1
ON
b2
OFF
b3
OFF
b4
OFF
b5
ON
b6
ON
b7
ON
b8 to b15
(c) Buffer memory settings used in this example
CH1
)
Word/byte units designation
H
)
Buffer memory head address designation for on-demand function designation
H
)
Data length designation for on-demand function designation
H
)
LED ON status and communication error status on CH1 side
H
)
On-demand execution result
H
:
Operation setting
Data bit
Parity bit
Transmission
Even/odd parity
setting
Stop bit
Sum check code
Write during RUN
Setting modifications
Communication rate setting
Communication protocol setting
Station number setting
Name
Description
Independent
8 bits
No
Odd
1 bit
Yes
Enabled
Enabled
19200bps
MC protocol format 1
Station 0
MELSEC-Q
Setting
value
07E2
H
0001
H
0000
H
Setting
value
Word units
0C00
H
2
App. - 40

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2

Table of Contents