EasyManua.ls Logo

Advantech ADAM-6000 series - Page 112

Advantech ADAM-6000 series
156 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6-4 Apply with ASCII Command for ADAM-6000 Modules
For users do not familiar to Modbus protocol, Advantech offers a function library as a protocol translator,
integrating ASCII command into Modbus/TCP structure. Therefore, users familiar to ASCII command
can access ADAM-6000 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 commands are available
for your program.
TCP Format Modbus Format ASCII Command
Figure 6-3 ASCII Command Structure in ADAM-6000
6-4-1 Syntax of ASCII
Command Syntax:
[delimiter character][address][slot][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 specified 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).
Note: All commands should be issued in UPPERCASE characters only!
The command set is divided into the following three categories:
System Command Set
· Analog Input Command Set
Analog Input Alarm Command Set
· Digital I/O Modules 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.

Related product manuals