Read Di Channel Counter Value - Advantech ADAM-6217 User Manual

Adam-6200 series intelligent ethernet i/o module
Table of Contents

Advertisement

$aaJCFFFFssmm
Name
Description
Syntax
Response
Example
ASCII
Example
ASCII
ADAM-6200 User Manual

Read DI Channel Counter Value

Returns the counter value from specified DI channels in a specified
module.
$aaJCFFFFssmm(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal slave
address of the ADAM-6200 module you want to request. (Always 01)
JCFFFF is the Digital Input Channel Counter Value command.
ss (range 00-07) means the specific start channel you want to read the
counter value.
mm (range 00-07) means the total channel numbers you want to read
the counter value.
(cr) is the terminating character, carriage return (0Dh).
>aa(data) if the command is valid.
?aa(cr) if an invalid operation was entered.
There is no response if the module detects a syntax error or communi-
cation error or if the address does not exist.
> delimiter indicating a valid command was received.
? delimiter indicating the command was invalid.
(data) is the counter value read.
(cr) is the terminating character, carriage return (0Dh).
The command requests the module at address 01h to return count
value from channel 0. (the first read channel is 0, represent by "00",
and only one channel is read) That module return the count value
0000000A(h) from channel 0.
Command: $01JCFFFF0001(cr)
Response: >010000000A(cr)
The command requests the module at address 01h to return count
value from channel 12 and 13. (The first read channel is 12, represent
by "0C", and two channels are read) That module return the count
value 0000000A(h) from channel 12 and 00000001(h) from channel
13.
Command: $01JCFFFF0C02(cr)
Response: >010000000A00000001(cr)
178

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-6224Adam-6260Adam-6250Adam-6266Adam-6251Adam-6256

Table of Contents