ADLINK ND-6054 User Manual

Page 69

Advertising
background image

Command Set

61

Command Set of Digital I/O Modules

Command Syntax

Module

General Commands

Set Configuration

%(OldAddr)(NewAddr)
(TypeCode)(BaudRate)
(CheckSumFlag)

ALL

Read Configuration

$(Addr)2

ALL

Read Module Name

$(Addr)M

ALL

Read Firmware Version

$(Addr)F

ALL

Reset Status

$(Addr)5

ALL

Functional Commands

Synchronized Sampling

#**

6050, 6052,
6053, 6054,
6058, 6060

Read Synchronized Data

$(Addr)4

6050, 6052,
6053, 6054,
6058, 6060

Digital Output

#(Addr)(ChannelNo)
(OutData)

6050, 6060,
6063

#(Addr)(Port)(Odata)

6056, 6058

#(Addr)(Port)(ChannelNo)
(BitData)

6056,6058

#(Addr)T(OdataA)(OdataB
)(OdataC)

6058

Digital Input

$(Addr)6

ALL

Set Programmable I/O Mode

$(Addr)S(IOSts)

6058

Special Commands

Read Command Leading Code
Setting

~(Addr)0

ALL

Change Command Leading Code
Setting

~(Addr)10(C1)(C2)(C3)
(C4)(C5)(C6)

ALL

Set Host Watchdog / Safety Value

~(Addr)2(Flag)(TimeOut)
(SafeValue)

ALL

Read Host WatchDog / Safe
Value

~(Addr)3

ALL

Change Polarity

~(Addr)CP(Status)

ALL

Read Polarity

~(Addr)CR

ALL

Host is OK

~**

ALL

Advertising