ifm
Supplementary device manual Interface CANopen in the AS-i controllerE
Function
The fieldbus modules
49
5.3.16
Module 15
– analogue output master 1
Data content
Analogue output data of the analogue slaves to AS-i master 1
Note
With module 15 the data of the analogue input slaves on AS-i master 1 with the following AS-i
slave addresses can be directly written:
1...31 (setting 4 channels per slave),
1...31 (setting 1 channel per slave).
Change of the setting "Channels per slave" (
→ page
If an analogue output channel outside the ranges indicated above is to be written, module 10
(analogue multiplexed output) is to be used for writing these data.
Direction of data
Data from the fieldbus interface to the controllerE
Module settings
Value range
0…17
4 words of data for 4 channels per slave
2 words of data for 1 channel per slave
0
module is deactivated
1…16
module is activated for analogue output slaves 16...31
17
module is activated for analogue output slaves 1…31
(details see data interpretation)
Data interpretation
Table for output data for 4 channels per slave
Table for output data for 1 channel per slave → page
The following table shows an assignment example of analogue data within the PDOs under the
following conditions:
setting 4 channels / slave,
s
tart address of the module is on the first byte of a PDO (bytes 0, 8, 16, 24, … within the
DP RAM).
PDO
Byte
0
1
2
3
4
5
6
7
x
low-byte
slave 1
channel 1
high-byte
slave 1
channel 1
low-byte
slave 1
channel 2
high-byte
slave 1
channel 2
low-byte
slave 1
channel 3
high-byte
slave 1
channel 3
low-byte
slave 1
channel 4
high-byte
slave 1
channel 4
x+1
low-byte
slave 2
channel 1
high-byte
slave 2
channel 1
low-byte
slave 2
channel 2
high-byte
slave 2
channel 2
low-byte
slave 2
channel 3
high-byte
slave 2
channel 3
low-byte
slave 2
channel 4
high-byte
slave 2
channel 4
Example for module 15
Task 1:
The value 7 is specified for module 15. The setting for channels per slave in the CoDeSys
configuration window is equal to 1. The data of which AS-i slave addresses is transmitted and
in how many words?
Solution:
The highest AS-i slave address is 22. 14 words are transmitted.
in the table "Table for output data for 1 channel per slave"
Task 2:
To which minimum value must module 15 be set so that data can be written to the analogue
output slave with the AS-i address 19 (setting 4 channels per slave)? In which word in the
range can the data of channel 2 of the said slave be found?
Solution:
The value to be set for module 15 is 4. The data of slave 19, channel 2 can be found in word 13
of the range.
in the table "Table for output data for 4 channels per slave"