7 Data Exchange between PROFINET IO Controller and AS-i Slave
117
IE/AS
−
INTERFACE LINK PN IO
as of hardware version 1, as of firmware version V2.0
Release 08/2018
C79000
−
G8976
−
C216
−
03
7.3
Transferring AS-i Analog Values
You can only access analog data of an AS-i slave using cyclic services if you have
configured an analog module for this slave in HW Config (see Chapter 6).
Notice
The following listings apply only to AS-i slaves that handle analog value transfer
according to the AS-i slave profile 7.3, 7.4, 7.5.5, 7.A.5, B.A.5, 7.A.A, 7.A.8, 7.A.9
or 6.0 (Combined Transaction Types CTT 1
−
5 according to AS-i Specification
V3.0).
Analog value transfer according to the obsolete AS-i slave profile 7.1 and /7.2 is
not supported by the IE/AS-i LINK. In this case, the analog value transfer must be
implemented by the user program.
Analog data is accessed in SIMATIC S7 using word commands.
Example:
If you have configured a module “Ana.Slave 2 words AI” with I/O address 256 for a
slave, you can access the second analog channel of the slave with the STEP 7
command “L PIW 258”.
If you have configured a module “Ana.Slave 1 word Q” with I/O address 260 for an
A or B slave, you can access the first analog channel of the slave with the STEP 7
command “T PQW 260”.
Table 7-1
Address Area for the Analog Values of an AS-i Slave
Byte no. (start a offset)
Analog value channel
Start a 0
Channel 1 / high byte
Start a 1
Channel 1 / low byte
Start a 2
Channel 2 / high byte
Start a 3
Channel 2 / low byte
Start a 4
Channel 3 / high byte
Start a 5
Channel 3 / low byte
Start a 6
Channel 4 / high byte
Start a 7
Channel 4 / low byte