# Syntax Coloring Map For Modbus

# Datatypes (KEYWORD1)
Modbus	    KEYWORD1
u_int       KEYWORD1
TRegister   KEYWORD1

# Methods and Functions (KEYWORD2)
readCoils               KEYWORD2
readInputStatus         KEYWORD2
readRegisters           KEYWORD2
readInputRegisters      KEYWORD2
writeSingleCoil         KEYWORD2
writeSingleRegister     KEYWORD2
writeMultipleCoils      KEYWORD2
writeMultipleRegisters  KEYWORD2
searchRegister          KEYWORD2
receivePDU              KEYWORD2
addReg                  KEYWORD2
addCoil                 KEYWORD2
addDimp                 KEYWORD2
addIReg                 KEYWORD2
addHReg                 KEYWORD2
Reg                     KEYWORD2
Coil                    KEYWORD2
Dimp                    KEYWORD2
IReg                    KEYWORD2
HReg                    KEYWORD2

# Constants (LITERAL1)
MB_FC_READ_COILS       	   LITERAL1
MB_FC_READ_INPUTS          LITERAL1
MB_FC_READ_REGS            LITERAL1
MB_FC_READ_INPUTREGS       LITERAL1
MB_FC_WRITE_COIL           LITERAL1
MB_FC_WRITE_REG            LITERAL1
MB_FC_WRITE_COILS          LITERAL1
MB_FC_WRITE_REGS           LITERAL1
MB_REPLY_OFF               LITERAL1
MB_REPLY_ECHO              LITERAL1
MB_REPLY_NORMAL            LITERAL1

# Syntax Coloring Map For Modbus

# Datatypes (KEYWORD1)
Modbus	    KEYWORD1
u_int       KEYWORD1
TRegister   KEYWORD1

# Methods and Functions (KEYWORD2)
readCoils               KEYWORD2
readInputStatus         KEYWORD2
readRegisters           KEYWORD2
readInputRegisters      KEYWORD2
writeSingleCoil         KEYWORD2
writeSingleRegister     KEYWORD2
writeMultipleCoils      KEYWORD2
writeMultipleRegisters  KEYWORD2
searchRegister          KEYWORD2
receivePDU              KEYWORD2
addReg                  KEYWORD2
addCoil                 KEYWORD2
addIsts                 KEYWORD2
addIReg                 KEYWORD2
addHReg                 KEYWORD2
Reg                     KEYWORD2
Coil                    KEYWORD2
Ists                    KEYWORD2
IReg                    KEYWORD2
HReg                    KEYWORD2

# Constants (LITERAL1)
MB_FC_READ_COILS       	   LITERAL1
MB_FC_READ_INPUTS          LITERAL1
MB_FC_READ_REGS            LITERAL1
MB_FC_READ_INPUT_STAT      LITERAL1
MB_FC_WRITE_COIL           LITERAL1
MB_FC_WRITE_REG            LITERAL1
MB_FC_WRITE_COILS          LITERAL1
MB_FC_WRITE_REGS           LITERAL1
MB_REPLY_OFF               LITERAL1
MB_REPLY_ECHO              LITERAL1
MB_REPLY_NORMAL            LITERAL1

Change Dimp (Discrete Input) to Ists (Input Status)
Change Dimp (Discrete Input) to Ists (Input Status)
