
EDAM-4200 Series User’s manual Version 1.03
Chapter 8
ASCII Commands for EDAM-4200 Modules
8.1
About ASCII Commands
For users do not familiar to Modbus protocol, Inlog offers a function library as a protocol translator, integrating
ASCII command into Modbus/TCP structure. Therefore, users familiar to ASCII command can access EDAM-4200
easily. Before explaining the structure of ASCII command packed with Modbus/TCP format. Let’s see how to use an
ASCII command and how many are available for your program.
EDAM-4200 series also integrate ASCII command into
UDP protocol with port 1025
. User can simply send the
Command of ASCII format through UDP protocol (such as UPD_send (Dest_IP, “$01M”) ).
8.2
Syntax of ASCII
Command Syntax: [delimiter character][address][channel][command][ data][checksum][carriage return] Every
command begins with a delimiter character.
There are two valid characters: $ and # .The delimiter character is followed by a two-character address (hex-decimal)
that specifies the target system. The two characters following the address specific the module and channel.
Depending on the command, an optional data segment may follow the command string. An optional two-character
checksum may also be appended to the command string. Every command is terminated with a carriage return(cr).
The command set is divided into the following five categories:
♦
System Command Set
♦
Analog Input Command Set
♦
Analog Input Alarm Command Set
♦
Universal I/O Command Set
♦
Digital I/O Command Set
Every command set category starts with a command summary of the particular type of module, followed by
datasheets that give detailed information about individual commands. Although commands in different subsections
sometime share the same format, the effect they have on a certain module can be completely different than that of
another. Therefore, the full command sets for each type of modules are listed along with a description of the effect
the command has on the given module.
Note: All commands should be issued in
UPPERCASE characters
only!
Printed Date: 27 February 2018
82