beautypg.com

Appendix 9.8 when performing initial setting, Melsec-q, 1) program conditions – MITSUBISHI ELECTRIC QJ71C24N User Manual

Page 340

background image

App. - 46 App. - 46

MELSEC-Q

APPENDIX

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 to105

• Normal/abnormal completion flag for REMTO instruction..... M200 to 203

• Word/byte units designation ................................................... D0

• Buffer memory head address designation for on-demand

transmission............................................................................ D1

• Buffer memory length designation for on-demand

transmission............................................................................ 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)

CH1

Name

Setting

value

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

This manual is related to the following products: