Mailbox Interface 4-3
Set Running/Idle Mode & Data Representation (MB_SET_RUNNING_IDLE)
Description
This function serves two purposes:
• Configure Running / Idle mode
This function is used to enable / disable the ability to exchange data on the bus.
• Set data representation
This parameter affects how I/O data is represented in memory.
Command and response layout:
Parameter
Description
Command initiator
Application
Command Name
MB_SET_RUNNING_IDLE
Message type
02h
Command number
0004h
Fragmented
No
Extended Header data
-
Command data
Running / Idle mode value. (00h = Running, 01h = Idle)
Byte / Nibble mode value. (00h = Byte, 01h = Nibble)
Response data
The response indicates if the command was accepted. The response data is
a copy of the command data.
Command
Expected response
Message ID
(ID)
(ID)
Message information
4002h
0002h
Command
0004h
0004h
MB_SET_RUNNING_IDLE
Data size
0002h
0002h
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
Running / Idle Mode
Running / Idle Mode
00h= Running, 01h = Idle
Message data byte 2
Byte / Nibble mode
Byte / Nibble mode
00h = Byte, 01h = Nibble