Appendix 9.12 When Changing The Communication Protocol And Transmission Setting - Mitsubishi QJ71C24N User Manual

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

Advertisement

APPENDIXES

Appendix 9.12 When changing the communication protocol and transmission setting

Address, Decimal
(Hexadecimal)
CH1
CH2
114 (90
)
304 (130
H
145 (91
)
305 (131
H
515 (203
)
H
App. - 59
This section provides a program example that changes the communication protocol
and transmission setting using the REMFR/REMTO instructions and I/O signals.
(When the module is used on a MELSECNET/H remote I/O station, the station No.
cannot be changed because the UINI instruction is unavailable.)
For changing the communication protocol and transmission setting, refer to the User's
Manual (Application).
(1) Program conditions
When the change command (X1031) turns on, the communication protocol and
transmission setting are changed.
(a) Devices used by user
• Change command................................................................... X1031
• Changing flag .......................................................................... M300
• Change completion flag .......................................................... M301
• CH1 change command pulse signal....................................... M10
• CH1 change command ........................................................... M11
• CH1 mode switching completion ............................................ M12
• CH1 receive processing.......................................................... M13
• CH1 send processing.............................................................. M14
• CH2 change command pulse signal....................................... M20
• CH2 change command ........................................................... M21
• CH2 mode switching completion ............................................ M22
• CH2 receive processing.......................................................... M23
• CH2 send processing.............................................................. M24
• REMFR/REMTO instruction completion device ..................... M100 to 107
• REMFR/REMTO instruction abnormal completion flag ......... M200 to 205
• Switching mode No. designation ............................................ D0, D10
• Transmission specifications after switching designation........ D1, D11
• Switch setting error and mode switching error status ............ D2, D12
(b) Buffer memory settings used in this example
Bit
Specified
Position
value
)
H
b0
OFF
b1
OFF
b2
OFF
b3
OFF
b4
ON
b5
ON
b6
OFF
)
H
b7
ON
b8 to b11
B12 to 14
All OFF
B15
ON
Description
Switching mode No. designation
Operation
setting
Data bit
Parity bit
Even/odd parity
Stop bit
Sum check
code
Transmission
Write during
specifications
RUN
after switching
Setting
designation
modifications
Communication
rate setting
For system
Transmission
specifications
after switching
designation
Switch setting error and mode switching error status
MELSEC-Q
Set value
MC protocol
0001
H
(Format 1)
Independent
7 bits
No
Odd
2 bits
Yes
Prohibited
85B0
H
Allowed
9600bps
Make setting
as set in this
area.
App. - 59

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2

Table of Contents