beautypg.com

B&B Electronics ADAM-5000_TCP - Manual User Manual

Page 202

background image

Planning Your Application Program

Chapter 6

$aaSiCj4

Name

Start-Up Output Current/Voltage Configuration

Description

Stores a default output value in a specified channel.

The output value will take effect upon startup or re-
set.

Syntax $aaSiCj4(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 (i : 0 to 7) and the channel j (j: 0
to 3) of the module you want to set.

4 is the Start-Up Output Current/Voltage Configura-
tion command.

(cr) is the terminating character, carriage return (0Dh)

Response !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)

Example

command: $01S1C14(cr)

response: !01(cr)

Presume the present output value of channel 1 of slot
1 in the ADAM-5000/TCP system at address 01h is
9.4 mA. The command asks the analog output mod-
ule to store the present output value in its non-vola-
tile memory. When the system is powered up or reset,
its default output value will be 9.4 mA.



ADAM-5000/TCP User’s Manual



6-133