App. - 51 App. - 51
MELSEC-Q
APPENDICES
Appendix 9.8 When performing initial setting
The following program example performs initial setting using the REMTO instruction.
Execute this program when changing the default values of the Q series C24 buffer
memory.
Refer to Chapter 8 when changing the default values of the Q series C24 buffer
memory using GX Configurator-SC.
(1) Program
conditions
The following program performs initial setting on the CH1 side when the initial
setting command (X1027) turns ON.
(a) Devices
used
:
• Initial setting command ......................................................... X1027
• Initial setting command pulse signal ..................................... M10
• Initial setting command 2 ...................................................... M11
• Initial setting command 3 ...................................................... M12
• Completion device for REMTO instruction ........................... M100 to 105
• Normal/abnormal completion flag for REMTO instruction ... M200 to 203
• Word/byte units designation .................................................. D0
• Buffer memory head address designation for on-demand
function .................................................................................. D1
• Buffer memory length designation for on-demand
function .................................................................................. D2
• Transmission buffer memory head address designation ..... D3
• Transmission buffer memory length designation ................. D4
• Receive buffer memory head address designation ............. D5
• Receive buffer memory length designation .......................... D6
(b) Buffer memory settings used in this example
Address Decimal (Hexadecimal)
Name
Setting
value
CH1
150 (96
H
)
Word/byte units designation
Byte units
160 (A0
H
)
Buffer memory head address designation for on-demand function
designation
0400
H
161 (A1
H
)
Data length designation for on-demand function designation
0000
H
162 (B2
H
)
Transmission buffer memory head address designation
0C00
H
163 (A3
H
)
Transmission buffer memory length designation
0400
H
166 (A6
H
)
Receive buffer memory head address designation
0600
H
167 (A7
H
)
Receive buffer memory length designation
0200
H
Summary of Contents for GX Configurator-SC
Page 2: ......
Page 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Page 138: ...4 35 4 35 MELSEC Q 4 SETTINGS AND PROCEDURES PRIOR TO OPERATION MEMO ...
Page 397: ...App 24 App 24 MELSEC Q APPENDICES Connection example 3 Connection example 4 ...
Page 439: ...WARRANTY ...
Page 441: ......