APPENDICES
Appendix 6 Precautions for Using Serial Communication Module
Appendix 6.2 UINI Instruction
App
- 38
9
PR
OC
ES
S
ING
T
IME
FOR RED
UNDA
NT
S
YSTEM
S
A
P
P
E
NDICE
S
INDE
X
Appendix 6.2 UINI Instruction
The following shows the device and buffer memory used in the sample program for mode
switching.
(1) Device of programmable controller CPU
(2) I/O signal
(3) Buffer memory
When all of the receive processing, send processing, and receive data clear
processing are not executed, write 1 to the following address.
Table.App 21 Device Used in the Program
Device No.
Application
Remarks
X52
Mode switching request clear command
ON: Mode switching request clear
X60
Mode switching command
ON: Mode switching
M11
Receive processing
ON: Executing, OFF: Not executed
M12
Send processing
ON: Executing, OFF: Not executed
M50
Mode switching completion flag
ON: Mode switching completion
Table.App 22 List of I/O Signal
I/O signal
Signal name
Device to be
turned ON/OFF
Timing
CH1 side
CH2 side
CPU
C24
Xn6
XnD
Mode switching
-
Yn2
Yn9
Mode switching
request
-
Table.App 23 List of I/O Signal
I/O signal
Signal name
Description
CH1 side
CH2 side
Xn3
XnA
Reception data read request
ON: Requesting read
Xn4
XnB
Reception abnormal detection
ON: Abnormal detection
XnE
CH1 ERR. occurrence
ON: Error occurring
XnF
CH2 ERR. occurrence
ON: Error occurring
X(n+1)E
Q series C24 ready
ON: Accessible
X(n+1)F
Watchdog timer error
(WDT error)
ON : Module error occurred
OFF: Module being normally operated
Table.App 24 List of Buffer Memory
Buffer memory
address Hexadecimal
(decimal)
Name
Setting value Stored value
CH1 side
CH2 side
90
H
(144)
130
H
(304)
For mode switching
specification
Switching mode
No. specification
(Refer to (a))
• 0001
H
: MC protocol (Format 1)
• 0007
H
: Bidirectional protocol
• 00FF
H
: GX Developer connection
91
H
(145)
131
H
(305)
Transmission
specification after
switching (Refer to
(b))
• 0000
H
: Set the same setting as the
setting of GX Developer
• 8000
H
to 8FFF
H
: Set the setting
the same as this area setting
203
H
(515)
For switching setting
and mode switching
confirmation
Switch setting error,
mode switching
error status
• 0: No error
• Other than 0: Switch setting error,
mode switching error
(Switching in execution)
Completed