7
COMMUNICATION EXAMPLE
This chapter describes programming and start-up examples of the RJ51AW12AL.
7.1
Communication of RJ51AW12AL with Slave
Module
The input signals of the input ASLINKER, stored in 'Bit input information area' (Un\G0 to Un\G15) of the RJ51AW12AL, are
batch-transferred to the device data of the CPU module.
Moreover, the device data of the CPU module is batch-transferred to 'Bit output information area' (Un\G4096 to Un\G4111) of
the RJ51AW12AL, and the output signals are transmitted to the output ASLINKER.
System configuration example
System configuration
The following system configuration is used to describe communication between the RJ51AW12AL and bit slave modules.
• Power supply module: R61P
• CPU module: R04CPU
• AnyWireASLINK master module: RJ51AW12AL (start I/O number: 0000H to 001FH)
Correlations between devices
The following shows the correlations between devices.
(1)
X100
X101
X102
X1FF
Y100
Y101
Y102
Y1FF
7 COMMUNICATION EXAMPLE
34
7.1 Communication of RJ51AW12AL with Slave Module
(1)
(1)
(2)
(3)
(4)
(2)
(3)
(5)
ID: 200H
U0\G0.0
IN 0
U0\G0.1
IN 1
U0\G0.2
U0\G15.F
(4)
ID: 0H
OUT 0
U0\G4096.0
OUT 1
U0\G4096.1
U0\G4096.2
U0\G4111.F
(5)
(6)
(6)
(7)
(1) Link connector
(2) Terminating unit
(3) 2-point output ASLINKER
(4) 2-point input ASLINKER
(5) LED
(6) Sensor switch
(1) CPU module
(2) RJ51AW12AL
(3) Input ASLINKER: Address 0
(4) Output ASLINKER: Address 0
(5) Buffer memory
(6) Sensor switch
(7) LED