App
- 39
Appendix 6 Precautions for Using Serial Communication Module
Appendix 6.2 UINI Instruction
APPENDICES
(a) Switching mode No. specification area (Address: 90
H
, 130
H
)
The mode No. after switching (0001
H
to 0007
H
, 00FF
H
) is written to this area.
* 1: When specifying GX Developer connection mode in Switch setting of GX Developer, specify [00
H
]
to the communication protocol.
(b) Transmission specification area after switching (Address: 91
H
, 131
H
)
1) Specify the transmission specification after mode switching.
*2
2) Write [0000
H
] when initializing settings set by GX Developer.
3) When setting the arbitrary transmission specifications (transmission specifications other
than set in GX Developer), write the value corresponding to ON/OFF of the relevant bit
shown below. Specification of 1(ON)/0(OFF) of the relevant bit is the same as that of
transmission setting of GX Developer.
* 2: Specify [8000
H
] when selecting "GX Developer connection" for the switching mode No.
specification.
* 3: The following shows the specified value of the communication speed.
• 230400bps is applicable for the CH1 side of the QJ71C24N(-R2/R4) only.
• When connecting external devices to two interfaces (CH1 and CH2), the total of
communication speed of two interfaces should be within 115200bps (230400bps for
the QJ71C24N(-R2/R4)).
When connecting an external device to either interface (CH1 or CH2), the
communication speed can be set up to 115200bps (230400bps for the CH1 side of the
QJ71C24N(-R2/R4). In this case, the communication speed of the interface where the
external device is not connected should be 300bps.
• Set [00
H
] to the interface side where "GX Developer connection" is set in the
communication protocol setting. The serial communication module can operate at
speed set for GX Developer side.
Communication speed
(Unit: bps)
Bit position
Communication speed
(Unit: bps)
Bit position
b14 to b8
b14 to b8
50
0F
H
14400
06
H
300
00
H
19200
07
H
600
01
H
28800
08
H
1200
02
H
38400
09
H
2400
03
H
57600
0A
H
4800
04
H
115200
0B
H
9600
05
H
230400
0C
H
Buffer memory address 90
H
/130
H
b0
b15
to
(Default 0000
H
)
0001
H
: MC protocol (Format 1)
0002
H
: MC protocol (Format 2)
0003
H
: MC protocol (Format 3)
0004
H
: MC protocol (Format 4)
0005
H
: MC protocol (Format 5)
0006
H
: Nonprocedural protocol
0007
H
: Bidirectional protocol
00FF
H
: GX Developer connection *1
b15
1
1
1/0
1/0
1/0
1/0
1/0
1/0
1/0
1/0
1/0
1/0
1/0
1/0
1/0
1/0
1/0
1/0
CH1 side
CH2 side
b7
b6
b5
b4
b3
b2
b1
b0
b14 to b8
00
H
to 0F
H
00
H
to 0F
H
b 0
Bit position
Description
OFF(0)
ON(1)
Setting
Odd/even parity
Operation setting
Independent Linked
b 1
Data bit
7
8
b 2
Parity bit
Not set
Set
b 3
Odd
Even
b 4
Stop bit
1
2
b 5
Sum check code
Not set
Set
b 6
Write during RUN
Prohibited Allowed
b 7
Setting change
Prohibited Allowed
b 8
to
Communication speed
(*3)
b14
b15
(Fixed to ON (1))