Skip to main content

Set VICe

Sets or destroys a VICe connector. See MBx24 Features in Start here chapter or in Terminology & Definitions for more detail.

Request

012345678910111213141516171819202122232425262728293031
ID75CJ

Request Structure

ByteValueSizeTypeDescription
0ID1BINMBx24 address (ID)
1751BINSet VICe instruction code
2C1BINConnector (1–32) - (see remarks)
3J1BINJoystick button number (1–200 or 0) - (see remarks)

Response

012345678910111213141516171819202122232425262728293031
ID75V

Response Structure

ByteValueSizeTypeDescription
0ID1BINMBx24 address (ID)
1751BINSet VICe instruction code
2V1BIN1 for successful, 0 otherwise

Remarks

Parameter ‘C’ ( Received packet, byte[2] ) : The selected connector must have the same number of the connector to associate to. For example, if a VICe connection is to be used in conjunction with the switch connected to connector 5, the VICe connector must also be 5. As so, when the switch in the connector 5 is turned OFF, the VICe connector 5 turns ON and vice-versa.

Parameter ‘J’ ( Received packet, byte[3] ) : The VICe connector is created since the moment one joystick button number is assigned to it. Also, the same VICe connector is destroyed if the joystick button number is set to 0. This joystick button number assigned should be exclusive, i.e., cannot be the same of the associated connector and should not be in use by another feature.