12843 Foothill Blvd. Suite C
Sylmar, California 91342
V: 818.898.3380
F: 818.898.3360
sales@dnfcontrols.com
Model No. ST400-CP
Protocol Description
&
USER MANUAL
ST400-CP User Manual Page 1 of 19
Table of Contents
_____________________________________________________________________________________________
1. REVISION HISTORY 3
2. OVERVIEW 4
a. DESCRIPTION 4
b. FUNCTION CHART 5
3. INSTALLATION 5
4. POWER
5. PROTOCOL
UP DEFAULTS 9
DESCRIPTION 9
a. COMMUNICATIONS FORMAT 9
b. COMMANDS 9
c. CONFIGURATION TABLES 14
d. COMMAND EXAMPLES 16
6. SPECIFICATIONS 17
POWER CONNECTOR 17
SP2 Connector, RS232 PINOUT 17
SP2 Connector, RS422 PINOUT 17
7. KEY
8. DNF
LAYOUT 18
CONTROLS LIMITED WARRANTY 19
Manual Version …………..…….……………… 1.4 092004
Document No. …….…….……. ST400-CP User Manual.doc
ST400-CP User Manual Page 2 of 19
1. REVISION HISTORY
122203 Rev. 1.0 Original Document
010804 Rev. 1.1 Added Highlight Byte to the LCD command.
012304 Rev 1.2 Added RS422 Controller jumper configuration
071304 Rev 1.3 Added “I” command to draw tables.
073004 Rev. 1.4 Added “P” command to clear a part of the display.
092004 Rev. 1.5 Changed wheel position command byte to ‘H’. Fixed bugs in the receive
command process and wheel mode command. Added Discon nect ‘U ’ c o m mand
and Reconnect ‘R’ command for switching VTRS, and added status ‘Z’
command.
ST400-CP User Manual Page 3 of 19
2. OVERVIEW
a. DESCRIPTION
The ST400 will operate as an event driven device, transmitting information to the External Control
System (ECS) when a change is detected.
In addition, the ECS may poll the ST400-CP at any time for current status information.
Key Press Decoding
The ST400 will automatically detect and decode changes in the state of its 46 keys. It will return
the state of all keys on the keyboard any time there is a change detected. The state of the keyboard
is returned as 12 bytes, 6 bytes for Key Change bitmap (each key is represented by a bit) and 6
bytes for Key State bitmap of the key (each key is represented by a bit). If a bit is set in the Key
Change Bitmap – the corresponding key’s state was changed. If a bit is cleared in the Key Change
Bitmap, the corresponding key’s state was not changed. If a bit in the Key State bitmap is set – the
corresponding key is pressed. If the bit is cleared, the corresponding key is released.
Key LEDs
The Key LEDs are controlled by the ECS. Using appropriate commands, each led may be
individually controlled, turned ON or OFF. The ECS sends a five (5) byte, bit mapped value to
the ST400 to control the state of each LED. When a bit is set, the LED is turned on. When a bit
is cleared, the LED is turned off.
LCD Display
The LCD Display is controlled by ECS. Using appropriate commands, the ECS can display nullterminated strings at a specified row and column. It can display characters of 4 different sizes –
normal, double-high, double-wide and double-high-double-wide characters. It can also display
highlighted text and draw tables in various parts of the display.
Wheel
The Wheel mode is configured by ECS. Three different wheel modes are supported– Off, Jog, and
Shuttle (with mechanical detents). Wheel Position information will be automatically sent to the
ECS when wheel movement is detected and the current wheel mode is not OFF.
In OFF mode, the wheel will not return position information and the mechanical detents will not
be energized.
In JOG mode, the Wheel Position will be returned as a one byte, signed value that represents the
pulse rate (pulses per time period). A pulse rate of zero means that the wheel has not moved. A
positive position value represents Clockwise movement. A negative position value represents
Counter-Clockwise movement. The mechanical detents will not be energized in JOG mode.
In SHUTTLE mode, Wheel Position will be returned as a one byte, signed value that represents
the position of the wheel. When the SHUTTLE mode command is received, the ST400 sets the
current wheel position as the STILL or zero position of the wheel. The Wheel Position value
indicates movement of the wheel from the STILL position. A positive Wheel Position value
represents Clockwise wheel movement from the STILL position. A negative Wheel Position
value represents Counter-Clockwise wheel movement from STILL position. The mechanical
detents will automatically energize when the maximum clockwise or maximum counter-clockwise
Wheel Position value is reached. The mechanical detents will automatically de-energize when the
Wheel Position value is less than the maximums. Using appropriate commands, the wheel mode,
resolution, maximum clockwise, and maximum counter-clockwise values may be set.
ST400-CP User Manual Page 4 of 19
T-bar
The T-bar is always enabled and will automatically send position information to the ESC when
movement is detected. The lowest point in its travel is the STILL or zero position. The T-bar
Position is a one byte, unsigned value that represents the position of the T-bar relative to the
STILL position. The T-bar cannot be configured by the ECS. It’s resolution, maximum and
minimum position values are set by the factory.
b. FUNCTION CHART
Control Panel
Functional Area
Wheel Movement Detection
T-bar Movement Detection
Key Press Detection and Decoding
Wheel Mode Configuration External Control System (ECS)
Key LEDs On/Off ECS
LCD Display Text ECS
Controlled
By
ST400
ST400
ST400
3. INSTALLATION
a. Connect the supplied power supply, Model AP4108, into the connector labeled POWER on the
rear of the ST400. Plug the Power Supply into a wall outlet, 90 VAC to 240 VAC.
b. Plug one end of a 9-conductor, RS422 serial cable into the 9-pin connector labeled SP2 on the rear
of the ST400. Plug the other end of the cable into the 9-pin connector on the External Control
System (ECS).
c. SP2 is configured for RS232 DTE when shipped from the factory. Refer to the following sections
“RS422 DEVICE Configuration” and “RS232 DTE Configuration”, to change the configuration
of SP2.
Installation is complete.
ST400-CP User Manual Page 5 of 19
RS422- CONTROLLER Configuration
10A – JUMPER 1 TO 2, 3 TO 4, 5 TO 6, AND 7 TO 8
(Located behind the SP2 connector on the main pcb)
10C – JUMPER 2 TO 3
10D – JUMPER 2 TO 3
10E – JUMPER 2 TO 3
10F – JUMPER 2 TO 3 (V4.1 pcb)
10H – JUMPER 1 TO 2 (V4.1 pcb)
(All located directly in front of 10A header)
JUMPER - W1B, W2B. W3B, AND W5B
(Located between the SP1 and SP2 connectors on the main pcb)
W1 W2 W3 W4
4 2 6 8
10A
3 1 5 7
10C 10D, & 10E
3 2 1
2 2 2 2 2
1 1 1 1
1
W5
ST400-CP User Manual Page 6 of 19