Advantech ADAM-5000/TCP Series Manual page 240

Distributed da&c system based on ethernet
Table of Contents

Advertisement

Planning Your Application Program
@aaSiCjP(data)
Name
Description
Syntax
Response
Example
ADAM-5000/TCP User's Manual
Set Initial Counter Value
Set initial counter value for counter of the specified
counter module.
@aaSiCjP(data)(cr)
@ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadeci-
mal address of the ADAM-5000/TCP system.
SiCj identifies the I/O slot i and the channel j for the
module you want to return a prior value. P represents
Set Initial Counter Value command.
(data) is initial value from 0 to 4294967296. Be aware
that (data) has 10 characters.
(cr) is the terminating character, carriage return (0Dh)
!aa(cr) 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
communication error or if the specified ad- dress
does not exist.
! delimiter character indicating a valid command was
received.
? delimiter character indicating the command was in-
valid.
aa (range 00-FF) represents the 2-character hexadeci-
mal address of an ADAM-5000/TCP system.
(cr) is the terminating character, carriage return (0Dh)
command: @01S3C2P0000004369(cr)
response: !01(cr)
The channel 2 of ADAM-5080 in slot 3 in ADAM-
5000/TCP system at address 01h is instructed to set
initial counter value. The initial counter value is 4369.
Chapter 6
6-169

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents