23
Detail of WAT header address’ #2 & 3.
Bits 7 to 0 – The Device Prefix letter in ASCII Hexadecimal, eg. X,Y,M,B,D,W, etc.
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.
b15
b0
b0-7 Device prefix letter
WAT Header Address #2
D(y+1)
MOV H0113 D0200
ASC Y D0201
MOV K0 D0202
MOV H5555 D0203
Set 1word,Write, FX protocol
Set Device = Y
Set Device address = 0
Set Data (Y0 and all even numbers to
Y26 will be switched ON, odd
numbers OFF)
b15
b0
WAT Header Address #3
D(y+2)
b0-15 Device Address
MOV H1001 D0300
ASC D D0301
MOV K500 D0302
BMOV K0 D0303 K16
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.