Example 3-9 Wat Settings In The Plc (Write Remote Command); Example 3-10 Wat Settings In The Plc (Read Remote Command) - Mitsubishi Electric A2S-MODEM User Handbook Manual

Table of Contents

Advertisement

Detail of WAT header address' #2 & 3.
b15
D(y+1)
Bits 7 to 0 – The Device Prefix letter in ASCII Hexadecimal, eg. X,Y,M,B,D,W, etc.
b15
D(y+2)
Bits 15 to 0 – Device address in Decimal, Hexadecimal or Octal, eg. 1000, 3F, etc.

Example 3-9 WAT settings in the PLC (Write Remote command)

WAT Header address = D200, Writing 1 word to outputs Y0 to Y17 on an FX PLC.

Example 3-10 WAT settings in the PLC (Read Remote command)

WAT Header address = D300, Read 16 (10h) words from D500 in an AnS PLC.
MOV H0113 D0200
ASC
Y D0201
MOV K0
MOV H5555 D0203
MOV H1001 D0300
ASC
D D0301
MOV K500 D0302
BMOV K0
D0303 K16
23
b0
b0
Set 1word,Write, FX protocol
Set Device = Y
D0202
Set Device address = 0
Set Data (Y0 and all even numbers to
Y26 will be switched ON, odd
numbers OFF)
Set 10h words, Read, AnS protocol
Set Device = D
Set Device address = 500
Clear 16 registers from D303 (not
obligatory). Data from D500 to 515 in
the remote AnS PLC will be read
directly into registers D303 to 318.
WAT Header Address #2
b0-7 Device prefix letter
WAT Header Address #3
b0-15 Device Address

Advertisement

Table of Contents
loading

This manual is also suitable for:

Desk-modem-2Din-modem-2

Table of Contents