You're reading the documentation for an older, but still supported version (GL013300).
For information on the latest version, please have a look at GL013301.

WRITE_SERIAL_BURST

This structure defines a burst output configuration for writing multiple GPIO ports simultaneously. It is mainly used when sending bulk digital output commands to the robot’s control box or arm modules. Each burst operation specifies a location, port count, and port data array.

BYTE#

Field Name

Data Type

Value

Remarks

0

_iLocation

unsigned char

0 or 1

Target hardware location
0: Control Box
1: Arm-mounted I/O

2

_iCount

unsigned short

0~16

Number of GPIO ports included in this burst operation

4

_tPort[MAX_DIGITAL_BURST_SIZE]

GPIO_PORT

Array containing the configuration of each output port

Total size: 132 bytes

Defined in: DRFS.h

typedef struct _WRITE_SERIAL_BURST
{
    /* Target device location (0: control box, 1: arm I/O) */
    unsigned char _iLocation;

    /* Number of GPIO ports included in the burst */
    unsigned short _iCount;

    /* I/O port data array */
    GPIO_PORT _tPort[MAX_DIGITAL_BURST_SIZE];

} WRITE_SERIAL_BURST, *LPWRITE_SERIAL_BURST;

/* Alias for setting multiple GPIO outputs simultaneously */
typedef WRITE_SERIAL_BURST
    GPIO_SETOUTPUT_BURST, *LPGPIO_SETOUTPUT_BURST;