EasyManua.ls Logo

Mitsubishi Electric QJ71C24N-R4 - Appendix 9.8 When Performing Initial Setting

Mitsubishi Electric QJ71C24N-R4
442 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 (96H) Word/byte units designation Byte units
160 (A0H)
Buffer memory head address designation for on-demand function
designation
0400H
161 (A1H) Data length designation for on-demand function designation 0000H
162 (B2H) Transmission buffer memory head address designation 0C00H
163 (A3H) Transmission buffer memory length designation 0400H
166 (A6H) Receive buffer memory head address designation 0600H
167 (A7H) Receive buffer memory length designation 0200H

Table of Contents

Related product manuals