Called station # (param02), Function code (param04) – Yaskawa Ladder Works Programming Manual User Manual

Page 193

Advertising
background image

9.7 Send Message Function (MSG-SND)

9-18

REQUEST

1 = Request
0 = Completion of receipt report

■ Called Station # (PARAM02)

Serial

1~254 : Message is sent to the station of designated device address.

■ Function Code (PARAM04)

The MEMOBUS function code to be sent is set. Refer to Table 9.9.

Table 9.9 Function Codes

Function Code

Setting

00H Unused

×

01H

Read coil status

○

02H

Read input relay status

○

03H

Read contents of holding register

○

04H

Read contents of input register

○

05H

Change status of single coil

○

06H

Write into a single holding register

○

07H Unused

×

08H Loop-back

test

○

09H

Read contents of holding register (expanded)

○

0AH

Read contents of input register (expanded)

○

0BH

Write into holding register (expanded)

○

0CH Unused

×

0DH

Discontinuous readout of holding register (expanded)

○

0EH

Discontinuous write into holding register (expanded)

○

0FH

Change status of a multiple coil

○

10H

Write into a plurality of holding register

○

11H to 20H

Unused

×

21H to 3FH

System reserved

×

40H to 4FH

System reserved

×

50H to

Unused

×

(× : cannot be set, ○ :can be set)

Note : Only MW (MB) can be used as the sending/receiving register during master operation. The

MB, MW, IB, and IW registers can be used respectively as the coil, holding register, input
relay, and input registers during slave operation.


Advertising