APPENDICES
Appendix 6 Precautions for Using Serial Communication Module
Appendix 6.6 ONDEMAND Instruction
App
- 46
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.6 ONDEMAND Instruction
The following shows the device and buffer memory used in the sample program of sending
data by the on-demand function.
(1) Device of programmable controller CPU
(2) I/O signal
(3) Buffer memory
Table.App 33 Device Used in the Program
Device No.
Application
Remarks
X50
Transmission command
ON: Transmission completion
X60
Error reset command
ON: Error reset
Y20
For checking normal completion
ON: Normal completion
Y21
For checking abnormal completion
ON: Abnormal completion
M0
Transmission data set
ON: Transmission data set
M1
On-demand data set
ON: On-demand data set
Table.App 34 List of I/O Signal
I/O signal
Signal name
Description
CH1 side
CH2 side
Xn0
Xn7
Transmission normal
completion
ON: Normal completion
Xn1
Xn8
Transmission abnormal
completion
ON: Abnormal completion
Xn2
Xn9
Transmission processing
Transmission in progress
XnE
XnF
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
Yn0
Yn7
Transmission request
ON: Requesting transmission
Table.App 35 List of Buffer Memory
Buffer memory address Hexadecimal
(decimal )
Name
Stored value
CH1 side
CH2 side
0
H
(0)
1
H
(1)
Communication error clear
request and to turn LED off
0: OFF, No initialization request
1: OFF, Initialization requested
96
H
(150)
136
H
(310)
Word/byte units designation
0: Word units
1: Byte units
A0
H
(160)
140
H
(320)
Buffer memory head
address for on-demand
400
H
to
1AFF
H
2600
H
to 3FFF
H
A1
H
(161)
141
H
(321)
On-demand data length
0000
H
to
3400
H
201
H
(513)
LED ON status and
communication error status
0: Turned off/OFF, no error
1: Turned on/ON, error
256
H
(598)
266
H
(614)
On-demand execution result
0: Completed normally
1 or later: Error code
C00
H
to
1AFF
H
(3072 to 6911)
User free area
----