Data address – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 201

Advertising
background image

2 Standard System Function

2.1.1 Send Message Function (MSG-SND)

2-8

Data Address

The set contents will differ according to the function code as Table 2.5.

* 1. Request for readout from/write-in to coil or relay: Set the head bit

address of the data.

* 2. Request for continuous readout from/write-in to a register: Set head

word address of the data.

* 3. Request for discontinuous readout from/write-in to a register: Set head

word address of the data.

Table 2.5 Address Setting Range

Function Code

Data Address Setting Range

00H

Unused

Ineffective

01H

Read coil status

0 to 65535 (0 to FFFFH)

∗1

02H

Read input relay status

0 to 65535 (0 to FFFFH)

∗1

03H

Read contents of holding register

0 to 32767 (0 to 7FFFH)

∗2

04H

Read contents of input register

0 to 32767 (0 to 7FFFH)

∗2

05H

Change status of single coil

0 to 65535 (0 to FFFFH)

∗1

06H

Write into a single holding register

0 to 32767 (0 to 7FFFH)

∗2

07H

Unused

Ineffective

08H

Loop-back test

Ineffective

09H

Read contents of holding register (expanded) 0 to 32767 (0 to 7FFFH)

∗2

0AH

Read contents of input register (expanded)

0 to 32767 (0 to 7FFFH)

∗2

0BH

Write into holding register (expanded)

0 to 32767 (0 to 7FFFH)

∗2

0CH

Unused

Ineffective

0DH

Discontinuous readout of holding register
(expanded)

0 to 32767 (0 to 7FFFH)

∗3

0EH

Discontinuous write into holding register
(expanded)

0 to 32767 (0 to 7FFFH)

∗3

0FH

Change status of a multiple coil

0 to 65535 (0 to FFFFH)

∗1

10H

Write into a plurality of holding register

0 to 32767 (0 to 7FFFH)

∗2

Advertising
This manual is related to the following products: