ifm
Supplementary device manual DeviceNet interface in the AS-i ControllerE (AC1318, AC1324), Target from 15
2012-02-29
The host command channel
Syntax of the host command channel
126
7
The host command channel
10765
The module 19 (
chapter
Module 19 – host command channel
(
→
page
)) contains an extended
command channel which can have a length of 5 or 18 words. A PLC with DeviceNet interface can be
used as host system. The commands are always triggered by the host by a corresponding entry in its
output data range. The AS-i master responds then in the input data area of the host system.
7.1
Syntax of the host command channel
4507
7.1.1
Request from host to device
10767
DW
Data content
Bit
DW
3
1
3
0
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1
9
1
8
1
7
1
6
1
5
1
4
1
3
1
2
1
1
1
0
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
Word n+1
Word n
Bit
word
1
5
1
4
1
3
1
2
1
1
1
0
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
1
5
1
4
1
3
1
2
1
1
1
0
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
DW 1
res. S
T
SLA 0
0
number of data bytes to
be transmitted
r. S M
UID
command
number
2...9
parameter data of the command to be executed
Legend:
M
master no.
1 bit
0 = master 1
1 = master 2
UID
user ID
5 bits
00…1F
hex
= 0…31
dec
(a change to the user ID starts the command call)
S
sequence bit
1 bit
a large data packet is transmitted in several partial sequences:
0 = data transmission completed
1 = data transmission not yet completed, at least one more packet follows
SLA
slave address
5 bits
00…1F
hex
= 0…31
dec
ST
slave type
1 bit
0 = single slave or A slave
1 = B slave (= addition of 20
hex
or 32
dec
to the slave address)
2nd word: reserved for 7.4 commands
3...18th word: command data
NOTE
►
If a command is to be executed, the user ID must be changed!
Changing the command number alone does not start the execution.
►
If a command is to be executed several times, the user ID must be changed accordingly, e.g. by
counting up.
►
Do not count up the user ID until the preceding command has been completed
(to do so, check the bits E + B in the 1st word of the response).