beautypg.com

Data address, Data size (param06) – Yaskawa Ladder Works Programming Manual User Manual

Page 194

background image

9.7 Send Message Function (MSG-SND)

9-19

■ Data Address

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

Table 9.10 Address Setting Range

Function Code

Data Address Setting Range

00H Unused

Invalid

01H Read

coil

status

0 to 65535 (0 to FFFFH) ①

02H

Read input relay status

0 to 65535 (0 to FFFFH) ①

03H

Read contents of holding register

0 to 32767 (0 to 7FFFH) ②

04H

Read contents of input register

0 to 32767 (0 to 7FFFH) ②

05H

Change status of single coil

0 to 65535 (0 to FFFFH) ①

06H

Write into a single holding register

0 to 32767 (0 to 7FFFH) ②

07H Unused

Invalid

08H Loop-back

test

Invalid

09H

Read contents of holding register (expanded)

0 to 32767 (0 to 7FFFH) ②

0AH

Read contents of input register (expanded)

0 to 32767 (0 to 7FFFH) ②

0BH

Write into holding register (expanded)

0 to 32767 (0 to 7FFFH) ②

0CH Unused

Invalid

0DH

Discontinuous readout of holding register (expanded)

0 to 32767 (0 to 7FFFH) ③

0EH

Discontinuous write into holding register (expanded)

0 to 32767 (0 to 7FFFH) ③

0FH

Change status of a multiple coil

0 to 65535 (0 to FFFFH) ①

10H

Write into a plurality of holding register

0 to 32767 (0 to 7FFFH) ②

① Request for readout from/write-in to coil or relay: Set the head bit address of the data.

② Request for continuous readout from/write-in to a register: Set head word address of the data.

③ Request for discontinuous readout from/write-in to a register: Set head word address of the data.

■ Data Size (PARAM06)

Set the size (in number of bits or number of words) of the data that is requested for readout or
write-in. The setting range will differ according to the transmission module and the function
code to be used. Refer to Table 9.11.

Table 9.11 Serial Data Size Setting Range

Data Address Setting Range

Function Code

215IF/218IF

CPU Module/

217IF/SVB-01

00H Unused

Invalid

01H

Read coil status

1 to 2000 (1 to 07D0H) bits

02H

Read input relay status

1 to 2000 (1 to 07D0H) bits

03H

Read contents of holding register

1 to 125 (1 to 007DH) words

04H

Read contents of input register

1 to 125 (1 to 007DH) words

05H

Change status of single coil

Invalid

06H

Write into a single holding register

Invalid

07H1 Unused

Invalid

08H Loop-back

test

Invalid

09H

Read contents of holding register (expanded)

1 to 508
(1 to 01FCH) words

1 to 252
(1 to 00FCH) words

0AH

Read contents of input register (expanded)

1 to 508
(1 to 01FCH) words

1 to 252
(1 to 00FCH) words

0BH

Write into holding register (expanded)

1 to 507
(1 to 01FBH) words

1 to 252
(1 to 00FBH) words

0CH Unused

Invalid