Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Constant Name

Value

Usage

_PI_

3.141592…

(Value of π)

_LOCAL_

0

Local Flash Memory

_SDMEM_

1

SD/MMC Memory

_USBMEM_

2

USB Memory

_COM232_

0

Uses COM1 port as RS232C mode.

_COM422_

1

Uses COM1 port as RS422 mode.

_COM485_

2

Uses COM1 port as RS485 mode.

_COMAUX_

3

Uses COM2 port as RS232C mode only.

_BPS300_

 

300 bps

_BPS600_

 

600bps

_BPS1200_

 

1200bps

_BPS2400_

 

2400bps

_BPS4800_

 

4800bps

_BPS9600_

 

9600bps

_BPS19200_

 

19200bps

_BPS38400_

 

38400bps

_BPS56000_

 

56000bps

_BPS57600_

 

57600bps

_BPS115200_

 

115200bps

_BPS128000_

 

128000bps

_BPS256000_

 

256000bps

_PARITY_NONE_

 

No parity

_PARITY_EVEN_

 

Even parity

_PARITY_ODD_

 

Odd parity

_PARITY_MARK_

 

Mark parity

_PARITY_SPACE_

 

Space parity

_STOPBIT_ONE_

 

1 stop bit

_STOPBIT_TWO_

 

2 stop bits

_STOPBIT_ONE5_

 

1.5 stop bit

_ALMPRT_ALL_

 

Prints all items of alarm data.

_ALMPRT_TIME_

 

Prints the time of alarm data.

_ALMPRT_ADDR_

 

Prints the address of the alarm point.

_ALMPRT_VALUE_

 

Prints the value of the alarm.

_ALMPRT_TYPE_

 

Prints the alarm type.

_ALMPRT_DESC_

 

Prints the alarm description.

_UINT_

 

Unsinged integer

_INT_

 

Singed integer

_FLOAT_

 

Floating point value

_HEX_

 

Hexa-decimal number

_EXP_

 

Real number with exponent

...