Digital output configuration, Digital output configuration -102 – Rockwell Automation 2098-DSD-xxx Ultra3000 Host Commands for Serial Interface User Manual

Page 118

Advertising
background image

Publication 2098-RM003A-EN-P October 2001

2-102

Command Reference

Digital Output Configuration

Format:

:aa0CEfnnddddddddcc<cr>

Parameter Code:

0x0CE

Valid Function Codes:

0x0 = Read Working Value
0x1 = Write Working Value
0x2 = Read Non-Volatile Value
0x3 = Write Non-Volatile and Working Values
0x4 = Copy Non-Volatile Value to Working Value
0x5 = Copy Working Value to Non-Volatile Value
0x6 = Read Default Value
0x7 = Copy Default Value to Non-Volatile and Working Values
0xA = Read Minimum Array Index Value
0xB = Read Maximum Array Index Value

Valid Exception Codes:

0x03 = EEPROM Write Error
0x07 = Invalid Array Index
0x08 = Invalid Function Code

Data Fields:

nn

Specifies the function or functions to be mapped to
a digital output, where:

dddddddd

A set bit indicates the function to be assigned to the
output. Multiple functions can be assigned, with OR
functionality. The bit definitions are:
Bit 0:At home
Bit 1:End of sequence
Bit 2:In motion
Bit 3:In dwell
Bit 4:Registered
Bit 5:Axis homed
Bit 6:Tracking
Bit 7:Startup commutation complete
Bit 8:Positive overtravel input
Bit 9:Negative overtravel input
Bit 10:Positive software overtravel exceeded
Bit 11:Negative software overtravel exceeded
Bit 12:At Index 0 Position
Bit 13:At Index 1 Position
Bit 14:Position Comparator 1
Bit 15:Position Comparator 2
Bit 16:In-position
Bit 17:Within position window
Bit 18:Zero speed
Bit 19:Within speed window
Bit 20:Forward current limit
Bit 21:Reverse current limit
Bit 22:Up to speed
Bit 23:Enabled
Bit 24:Bus charged
Bit 25:Fault disable
Bit 26:Fault decel/disable
Bit 27:Fault ignore
Bit 28:Fault indicate
Bit 29: (Unused)
Bit 30:Brake
Bit 31:Ready

Minimum Array Index:

0x00

Maximum Array Index:

0x04

Default:

0x00000000

Advertising