![background image](http://html1.mh-extra.com/html/ifm/ecomat-300-as-i-series/ecomat-300-as-i-series_basic-device-manual_3950763030.webp)
ifm
Basic Device Manual AS-i ControllerE M4 Target V15
2015-10-30
Function
Introduction AS-i data
30
Process for a command call
User program
Operating system
Status input equal to
_PC_CMD_READY
?
––
NO
Wait
––
YES
Enter command data in the field
"CmdOut" and set request output to _
PC_CMD_REQ
Then
→ operating system:
- sets status input to
_PC_CMD_ACKN
,
- starts command
- copies command data to "CmdResp"
- copies command code to "CmdResp"
After finished processing:
- entry of
_PC_CMD_READY
in status input
status input greater
_PC_CMD_ACKN
?
––
NO
Wait
––
YES
Process result
––
Contents of "CmdResp" in case of _PC_CMD_ERROR
Word no.
15
14
13
12
11
10
9
8
Bits 0…7
0
echo byte
_PC_CMD_ERROR
1
command code
2
not defined
command-specific error code
3…18
not defined
Command channel: basic commands
Overview of the commands in the command channel
Command number
Description
→Page
Decimal
Hexadecimal
1
01
h
Write parameters to a connected AS-i slave
4
04
h
Change the list of projected AS-i slaves (LPS)
5
05
h
Set the operating mode of the AS-i master
6
06
h
Readdress connected AS-i slave
9
09
h
Change the extended ID code 1 in the connected AS-i slave
28
1C
h
Deactivation of the slave reset when passing to the
protected mode
Further commands depend on the version of the controllere
→ separate supplementary manual for this device manaul.