Fieldbus Specific Mailbox Commands
3-8
Set Module Function (SET_MOD_FUNC)
This mailbox is used to set the identity of the Interbus interface. It can only be sent during initialization.
Note:
The mailbox does not check that the Module Function that is set, has any correspondence in re-
ality.
Command and response layout:
• Module Function
Types of module function codes that are recommended.
01h:
Digital output module
02h:
Digital input module
03h:
Digital input and output modules
31h:
Analog output module
32h:
Analog input module
33h:
Analog input and output modules
F0h:
Modules with parameter channel (2 PCP words)
F1h:
Modules with parameter channel (4 PCP words)
F3h:
Modules with parameter channel (1 PCP word)
Any function code, except 0, can be set, but the module codes specified above are recommended.
An incorrect value will be indicated with fault information “Invalid Other” (0001h).
Parameter
Description
Command initiator
Application
Command Name
SET_MOD_FUNC
Message type
02h
Command number
0006h
Fragmented
No
Extended Header data
-
Message data
Contains mirrored data
Response data
The response indicates if the command was accepted
Command
Expected response
Message ID
(ID)
(ID)
Message information
4002h
4002h
Command
0006h
0006h
Data size
0001h
0001h
Frame count
0001h
0001h
Frame number
0001h
0001h
Offset high
0000h
0000h
Offset low
0000h
0000h
Extended word 1
-
-
Extended word 2
-
-
Extended word 3
-
-
Extended word 4
-
-
Extended word 5
-
-
Extended word 6
-
-
Extended word 7
-
-
Extended word 8
-
Fault Information
Message data byte 1
Module Function
Module Function