EasyManuals Logo
Home>Mitsubishi>Controller>QJ71C24/-R2

Mitsubishi QJ71C24/-R2 User Manual

Mitsubishi QJ71C24/-R2
358 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
Page #329 background imageLoading...
Page #329 background image
App. - 35 App. - 35
MELSEC-Q
APPENDIX
Appendix 9.3 When sending on-demand data
The following program example sends on-demand data using the REMFR/REMTO
instruction and I/O signals.
For the on-demand function, refer to Section 3.11 of the Reference Manual and
Chapter 10 of 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
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 ON Sum check code Yes
b6 ON Write during RUN Enabled
b7 ON
Transmission
setting
Setting modifications Enabled
Switch 1
b8 to b15 โ€” Communication rate setting 19200bps
07E2
H
Switch 2 โ€” Communication protocol setting MC protocol format 1 0001
H
Switch 5 โ€” Station number setting Station 0 0000
H
(c) Buffer memory settings used in this example
Address Decimal (Hexadecimal)
CH1
Name
Setting
value
150 (96
H
) Word/byte units designation Word units
160 (A0
H
) Buffer memory head address designation for on-demand function designation 0C00
H
161 (A1
H
) Data length designation for on-demand function designation 2
513 (201
H
) LED ON status and communication error status on CH1 side โ€”
598 (256
H
) On-demand execution result โ€”

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi QJ71C24/-R2 and is the answer not in the manual?

Mitsubishi QJ71C24/-R2 Specifications

General IconGeneral
BrandMitsubishi
ModelQJ71C24/-R2
CategoryController
LanguageEnglish

Related product manuals