4
Data Exchange between User Program and AS−i Slaves
44
CP 343−2 / CP 343−2 P AS−Interface Master
Release 08/2008
C79000−G8976−C149−04
4.2
Exchanging AS-i Binary Values with B Slaves
Interface between PLC CPU and CP 343-2
You access the binary values of B slaves in the user program using the system
function blocks SFC 58 / SFC 59 (”write_data_record” / “read_data_record”). For
this function, you always use data record number 150.
PLC CPU
AS-i
slave 2B
AS-i slave
1B
AS-i slave
31B
ÍÍÍÍ
ÍÍÍÍ
ÍÍÍÍ
ÎÎÎÎ
ÎÎÎÎ
ÎÎÎÎ
Standard / B
slaves
ÍÍÍ
ÍÍÍ
ÎÎÎ
ÎÎÎ
ÍÍÍ
ÍÍÍ
ÎÎÎ
ÍÍÍ
ÎÎÎ
ÎÎÎ
Backplane bus
AS-Interface
CP 343-2
SFC 58 “WR_REC”
DSNR 150
SFC 59 “RD_REC”
DSNR 150
Data areas for
binary outputs
.
.
.
Data areas for
binary inputs
Figure 4-3