Colway Solutions
Modbus Member Logo

MSPL-C Configurator Settings

 

Each control on the configurator window controls the value of a macro. Table below provides the full list of controls and the macros that they affect. Descriptions of the macros themselves are covered in various sub-sections of the section "How to port MSPL-C to your platform".

 

Control Group

Control Name

Macro affected

Value set for macro

CRC Table Location Settings

CRC Tables in ROM

CRC_TABLE_LOCATION

IN_ROM

CRC Tables in RAM

CRC_TABLE_LOCATION

IN_RAM

Dynamic CRC Tables

CRC_TABLE_LOCATION

CREATE_DYNAMIC

Enable Function Groups

Read Coils

INCLUDE_READ_COILS

1 if checked, else 0

Read Discrete Inputs

INCLUDE_READ_DISCRETE_IP

1 if checked, else 0

Read Holding Registers

INCLUDE_READ_HOLDING_REGS

1 if checked, else 0

Read Input Registers

INCLUDE_READ_INPUT_RaEGS

1 if checked, else 0

Write Coils

INCLUDE_WRITE_COILS

1 if checked, else 0

Write Holding Registers

INCLUDE_WRITE_REGISTERS

1 if checked, else 0

Debugger Settings

Enable Debugging

DEBUG_LEVEL

DEBUG_NONE if unchecked else one of the values below

Verbose

DEBUG_LEVEL

DEBUG_VERBOSE

Information

DEBUG_LEVEL

DEBUG_INFORMATION

Warning

DEBUG_LEVEL

DEBUG_WARNING

Error

DEBUG_LEVEL

DEBUG_ERROR

STDIO Supported

STDIO_SUPPORTED

1 if checked, else 0

Modbus Mode

Modbus TCP

MODBUS_MODE

MODBUS_TCP

Modbus RTU

MODBUS_MODE

MODBUS_RTU

Endian Style

Big Endian

ENDIAN_STYLE

BIG_ENDIAN

Little Endian

ENDIAN_STYLE

LITTLE_ENDIAN

Modbus Block Size Limits

Read Bit Status

RD_BLK_SIZE_BITINFO

Value entered in text box. Permitted range: 8-2000.

Read Register Value

RD_BLK_SIZE_REGINFO

Value entered in text box. Permitted range: 1-125.

Write Bit Status

WR_BLK_SIZE_BITINFO

Value entered in text box. Permitted range: 8-1968.

Write Register Value

WR_BLK_SIZE_REGINFO

Value entered in text box. Permitted range: 1-123.

Variable Location Modifiers

Const variables in ROM

CRC_TABLE_LOC_MODIFIER

Text entered in text box

Variables in external RAM

DATA_IN_XRAM

Text entered in text box

Network Settings

No. of Networks

MAX_NETWORKS

Value entered in text box

 

Back to Index

Privacy Policy Site Map FAQ Contact Us