CHAPTER 3: Using the OIT’s Display .............24
Extended Character Set ........................24
Displaying Text from the OIT’s Keypad...........24
Displaying Text from the Host Controller..........25
Using a Display Variable ...................26
Displaying Text from Predefined Messages ........27
Optional Settings for Predefined Messages .....27
APPENDIX A: Control Commands ................28
Configuration Control Commands ...............29
Set LCD Viewing Angle Command...........29
Save Configuration Parameters Command .....29
Request Configuration Data Command ........29
Display and Cursor Format Control Command . . 30
Display Format Control Command ...........30
Keyboard Control Command ................30
Set Turn-Around Delay Command ...........30
Set Tab Character Width Command ..........30
Set Communications Parameters Command ....31
Enable Handshaking Command ..............31
Set Operating Mode Command ..............31
Set Line Terminator Command ..............31
General Purpose Control Commands .............31
Echo Back Text Command..................31
Sound Bell Command .....................32
Display Message Command.................32
Clear Output Buffer Command ..............32
Poll OIT Buffer Command..................32
Retransmit Last Keyboard Buffer Command....32
Request Keyboard Buffer Status Command ....33
Enable Block Mode Command ..............33
Disable Block Mode Command ..............33
Display Control Commands ....................33
Read Display Variable Command ............33
Write Display Variable Command ............34
Create Display Variable Command ...........34
Set Cursor Position Command ...............34
Read Cursor Position Command .............34
APPENDIX B: Control Codes .....................36
APPENDIX C: Extended Character Set ............38
APPENDIX D: ASCII Table ......................40
APPENDIX E: Troubleshooting ...................42
Information in this document is subject to change without notice. No part of this document may be reproduced or transmitted in any
form or by any means, electronic or mechanical, for any purpose, without the express written permission of Maple Systems, Inc.
Thank you for purchasing a Maple Systems MAP450D. You have selected a rugged,
reliable and powerful operator interface terminal (OIT) for your application. This manual
describes the general operation and features of the MAP450D.
About Your Documentation
The documentation for the MAP450D consists of:
MAP450D Installation Manual (shipped with each OIT) — Covers the installation
•
requirements of the OIT.
MAP450D Operation Manual (shipped with each OIT) — Covers the general operation
•
and features of the OIT.
STEP1 Protocol Operation Manual (shipped with STEPware-100) — Covers the
•
operation of STEPware-100.
Conventions
You will find the following typographic conventions throughout this manual.
This
boldCharacters that you must type exactly as they appear. For example, if
italicPlace holders for information you must provide. For example, if you
ALL CAPITALS Directory names, file names, key names, and acronyms.
SMALL CAPSNon-printable ASCII control characters.
KEY1+KEY2A plus sign (+) between key names means to press and hold down the
KEY1, KEY2A comma (,) between key names means to press and release the keys
Represents
you are directed to type a:setup, you should type all the bold
characters exactly as they are printed.
are directed to type filename, you should type the actual name for a
file instead of the word shown in italic type.
first key while you press the second key.
one after the other.
1010-0101, Rev. 00
3MAP450D Operation Manual
Operational Overview
The MAP450D Operator Interface Terminal (OIT) provides the human-machine interface
between an operator and an ASCII compatible computer or host controller. Any
controller that is capable of sending and receiving ASCII characters through a serial port
can potentially communicate to the MAP450D.
The MAP450D receives and sends simple ASCII character strings. It accepts:
printable ASCII characters — which immediately display on the OIT
•
non-printable ASCII control characters (Control Codes) — which directly affect the
•
OIT’s display
and special ASCII character combinations (Control Commands).
•
Control Commands cause the OIT to:
modify the OIT’s configuration parameters
•
echo back text
•
poll or clear the OIT’s buffers
•
display one of up to 500 predefined messages
•
or sound the OIT’s internal buzzer
•
1010-0101, Rev. 00
Chapter 1: OIT Configuration4
CHAPTER 1
OIT Configuration
The OIT has many operating parameters that control how it communicates to the host
controller. These operating parameters can be changed in three ways: from the OIT’s
keyboard when the OIT is in Configuration mode, when the host controller sends a
Configuration Control Command, or by downloading a STEPware-100 project. This
chapter explains Configuration mode and describes all of the OIT’s operating parameters.
Refer to the STEP1 Protocol Operation Manual - Chapter 1: Getting Started for
instructions on creating and downloading a STEPware-100 project.
Configuration Mode
Configuration mode allows the OIT to communicate with a computer using the
STEPware-100 configuration software. It also provides the ability to make quick changes
to the operation of the OIT without using STEPware-100. Configuration mode can only
be accessed when power is being applied to the OIT.
To place the OIT into Configuration mode:
1. While applying power to the OIT, press and hold the OIT’s CLEAR key while the
following messages appear: Initializing, Configuration mode!, and Parameters?MODIFY.
Notes: 1. To exit configuration mode, press the OIT’s CLEAR key.
2. If the Initializing Configuration mode! message is followed by Terminal NowReady!, the OIT did not enter Configuration mode and you need to repeat step 1.
3. If the Disp View Angle: message displays instead of Parameters?, Local Setup Access
has been disabled. You will need to enable Local Setup Access by connecting the OIT to a
host controller and having the host controller send the Keyboard Control command to the
OIT. Refer to Appendix A: Control Commands for more information. Please refer to
Appendix E: Troubleshooting for more tips on entering configuration mode.
4. If the OIT’s display remains blank and you hear a steady beeping, the OIT does not
contain a complete project and is waiting in download mode for STEPware-100 to
download a project. Refer to the STEP1 Protocol Operation Manual - Chapter 1:
Getting Started for instructions on creating and downloading a STEPware-100 project.
2. At Parameters?, press the OIT’s Period (.) key to alternate between MODIFY and VIEW,
then press the OIT’s ENTER key to accept and continue.
1010-0101, Rev. 00
OptionDescriptionResult
MODIFYAllows you to enter
Download/Upload mode or
modify the OIT’s current
operating parameters.
VIEWDisplays the OIT’s current
operating parameters.
Displays Password? (refer to step 3)
NOTE: You must start entering your password
or press the OIT’s ENTER key within 5
seconds, or the OIT exits Configuration mode.
Displays the first operating parameter (refer to
step 5).
5MAP450D Operation Manual
3. At Password?, type the setup password and then press the OIT’s ENTER key. If there is
no setup password, just press the OIT’s ENTER key. Down/Upload mode? Y displays.
4. At Down/Upload mode?, press the OIT’s Period (.) key to alternate between Y and N,
then press the OIT’s ENTER key to accept and continue.
OptionDescriptionResult
YAllows you to enter
Download/Upload mode
for communication with
STEPware-100.
NDisplays the OIT’s current
operating parameters.
Displays: Ready for Transfer
to/from STEPware!
Refer to the STEP1 Protocol Operation Manual -
Chapter 1: Getting Started for instructions on
creating and downloading a STEPware-100 project.
Displays the first operating parameter (refer to
step 5).
5. The following Level 1 menus appear in order. If you select YES at a Level 1 menu, the
corresponding Level 2 menus appear. If you select NO at a Level 1 menu, the next
Level 1 menu appears. At any menu, press the OIT’s Period (.) key to alternate
between the options.
Level 1 MenusLevel 2 MenusOptions
Disp View Angle:75d, 90d
Modify communication
parameters?
Modify operating
parameters?
Modify display/keybd
parameters?
Setup correct?YES — saves changes and exits
Baud Rate:
Parity:
Data Length:
Stop Bits:
Op Mode:
Handshake:
Line Term:
Append LF:
Local Echo:
Block Echo:
Turn Delay:
Delayed LF:
RS485 3 Wire:
Network Address:
INTERACTIVE, BLOCK, NETWORK
NONE, XON/XOFF, RTS/CTS, BOTH
CR, LF, CR/LF, ETX
ENABLED, DISABLED
ENABLED, DISABLED
ENABLED, DISABLED
NONE, 50 MSEC, 100 MSEC, 250 MSEC
NO, YES
NO, YES
1to255
1 SPACE, 4 SPACES, 8 SPACES
UNDERLINE, NONE
ENABLED, DISABLED
ENABLED, DISABLED
ENABLED, DISABLED
NO, YES
5 numbers in any combination
Configuration mode.
NO — returns to Down/Upload mode?
(refer to step 4).
1010-0101, Rev. 00
Chapter 1: OIT Configuration6
Operating Parameters
The OIT has many operating parameters which determine how it communicates to the
host controller. These operating parameters can be changed in three ways: from the OIT’s
keyboard when the OIT is in Configuration mode, when the host controller sends a
Configuration Control Command, or by downloading a STEPware-100 project. Each
operating parameter is described in detail below.
Display Viewing Angle Setting
The OIT has an adjustable viewing angle of 75° and 90°. A viewing angle of 75º means
that the LCD provides the sharpest contrast when viewed from a point slightly below the
display. An angle of 90º means that the sharpest contrast occurs when the LCD is viewed
from a point perpendicular to the face of the display.
Factory Default: 90°
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Display (LCD) group box, select the desired Viewing Angle from the
option buttons.
To modify this parameter in
1. At Disp View Angle:, select the desired Viewing Angle. Refer to the Configuration
Mode section in this chapter for more information.
To modify this parameter from the
1. Use the Set LCD Viewing Angle control command. Refer to Appendix A: Control
Commands for more information.
Baud Rate Setting
This parameter determines the baud rate that the OIT uses to communicate to the host
controller. Options are 300, 600, 1200, 2400, 4800, 9600, and 19200 baud. When the OIT
is in Configuration mode, 9600 baud is used to communicate to STEPware-100
regardless of how this setting has been configured.
Factory Default: 9600
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT - Host Serial Communications Settings group box, select the desired baud
rate from the Baud Rate option buttons.
STEPware-100:
Configuration mode:
host controller:
STEPware-100:
1010-0101, Rev. 00
To modify this parameter in
1. At Baud Rate:, use the OIT’s Period (.) key to select the desired baud rate. Refer to
the Configuration Mode section in this chapter for more information.
To modify this parameter from the
1. Use the Set Communications Parameters control command. Refer to Appendix A:
Control Commands for more information.
Configuration mode:
host controller:
7MAP450D Operation Manual
Parity Setting
This parameter determines the parity that the OIT uses to communicate to the host
controller. Options are Even, Odd, None, Mark, Space. When the OIT is in Configuration
mode, no parity is used to communicate to STEPware-100 regardless of how this setting
has been configured.
Factory Default: No Parity
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT - Host Serial Communications Settings group box, select the desired parity
from the Parity option buttons.
To modify this parameter in
1. At Parity:, use the OIT’s Period (.) key to select the desired parity. Refer to the
Configuration Mode section in this chapter for more information.
To modify this parameter from the
1. Use the Set Communications Parameters control command. Refer to Appendix A:
Control Commands for more information.
Data Bits Setting
This parameter determines the number of data bits that the OIT uses to communicate to
the host controller. Options are 7 Bits or 8 Bits. When the OIT is in Configuration mode,
8 data bits are used to communicate to STEPware-100 regardless of how this setting has
been configured.
Factory Default: 8 Bits
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT - Host Serial Communications Settings group box, select the desired
number of data bits from the Data Bits option buttons.
STEPware-100:
Configuration mode:
host controller:
STEPware-100:
1010-0101, Rev. 00
To modify this parameter in
Configuration mode:
1. At Data Length:, use the OIT’s Period (.) key to select the desired number of data
bits. Refer to the Configuration Mode section in this chapter for more information.
To modify this parameter from the
host controller:
1. Use the Set Communications Parameters control command. Refer to Appendix A:
Control Commands for more information.
Chapter 1: OIT Configuration8
Stop Bits Setting
This parameter determines the number of stop bits that the OIT uses to communicate to
the host controller. Options are 1 Bit or 2 Bits. When the OIT is in Configuration mode,
one stop bit is used to communicate to STEPware-100 regardless of how this setting has
been configured.
Factory Default: 1 Bit
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT - Host Serial Communications Settings group box, select the desired number
of stop bits from the Stop Bits option buttons.
To modify this parameter in
1. At Stop Bits:, use the OIT’s Period (.) key to select the desired number of stop bits.
Refer to the Configuration Mode section in this chapter for more information.
To modify this parameter from the
1. Use the Set Communications Parameters control command. Refer to Appendix A:
Control Commands for more information.
Handshaking Setting
This parameter determines the type of handshaking that is used between the OIT and the
host controller. Handshaking allows the host controller to regulate when the OIT sends
information; preventing the OIT from overwriting the host controller’s serial buffer or vice
versa. Options are software handshaking (XON/XOff), hardware handshaking (RTS/CTS),
both, or none. When the OIT is in Configuration mode, no handshaking is used to
communicate to STEPware-100 regardless of how this setting has been configured.
Factory Default: No Handshaking
STEPware-100:
Configuration mode:
host controller:
To modify this parameter using
STEPware-100:
1. Open the Configuration Editor.
2. In the OIT - Host Serial Communications Settings group box, select the desired
handshaking in the Handshaking list box.
To modify this parameter in
Configuration mode:
1. At Handshake:, use the OIT’s Period (.) key to select the desired handshaking. Refer
to the Configuration Mode section in this chapter for more information.
To modify this parameter from the
host controller:
1. Use the Enable Handshaking control command. Refer to Appendix A: Control
Commands for more information.
1010-0101, Rev. 00
9MAP450D Operation Manual
Software Handshaking
Software handshaking, which uses the XON/XOff format, is available only in Interactive
mode. The following rules apply:
1. When the host controller sends an XOFF control code (hexadecimal 13), the OIT
halts transmission of any data to the host controller until the host controller sends an
XON control code (hexadecimal 11). While transmission is halted, each OIT keypress
continues to be displayed on the OIT but no data is transmitted to the host controller.
Instead, each character is temporarily stored in an 8 byte ‘Handshake’ buffer. When
the handshake buffer is full, each OIT keypress causes the OIT to sound a warning
beep. The data continues to be displayed on the OIT but is not stored in the
Handshake buffer. Therefore, the host controller does not receive any data that is
entered when the handshake buffer is full.
2. When the host controller sends the XON control code, the OIT sends the contents of
the Handshake buffer to the host controller before proceeding normally.
3. The OIT has the option of sending the XOFF control code to the host controller if the
host controller is sending data to the OIT faster than the OIT can process it. When the
OIT sends the XOFF control code to the host controller, the OIT ignores any further
transmissions from the host controller until the OIT sends the XON control code. The
OIT has an internal buffer size of 200 characters. When the OIT’s buffer contains 170
characters, the OIT sends the XOFF control code. The OIT sends the XON control
code when the buffer is empty (the time required to empty the buffer varies according
to the baud rate but is approximately 150 msec.).
Hardware Handshaking
Hardware handshaking, which uses the CTS/RTS format, is available only in Interactive
and Block modes. The following rules apply:
1. When the host controller deasserts the CTS line, the OIT halts transmission of any
data to the host controller until the CTS line is reasserted. While transmission is
halted, each OIT keypress continues to be displayed on the OIT but no data is
transmitted to the host controller. Instead, each character is temporarily stored in an 8
byte ‘Handshake’ buffer. When the handshake buffer is full, each OIT keypress
causes the OIT to sound a warning beep. The data continues to be displayed on the
OIT but is not stored in the Handshake buffer. Therefore, the host controller does not
receive any data that is entered when the handshake buffer is full.
2. When the host controller reasserts the CTS line, the OIT sends the contents of the
Handshake buffer to the host controller before proceeding normally.
3. The OIT has the option of deasserting the RTS line if the host controller is sending
data to the OIT faster than the OIT can process it. When the OIT deasserts the RTS
line, the OIT ignores any further transmissions from the host controller until the OIT
reasserts the RTS line. The OIT has an internal buffer size of 200 characters. When
the OIT’s buffer contains 170 characters, the OIT deasserts the RTS line. The OIT
reasserts the RTS line when the buffer is empty (the time required to empty the buffer
varies according to the baud rate but is approximately 150 msec.).
No Handshaking
1010-0101, Rev. 00
This setting disables any software or hardware handshaking. Although this is the easiest to
use, it is possible for the OIT to overwrite the host controller’s serial buffer, or vice versa.
Chapter 1: OIT Configuration10
Operating Mode Setting
This parameter determines whether the OIT operates in Interactive, Block, or Network
mode. Refer to Chapter 2: Operating Modes for more information.
Factory Default: Interactive
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the desired operating mode from
the Operating Mode option buttons.
To modify this parameter in
1. At Op Mode:, use the OIT’s Period (.) key to select the desired operating mode. Refer
to the Configuration Mode section in this chapter for more information.
To modify this parameter from the
1. Use the Set Operating Mode control command. Refer to Appendix A: Control
Commands for more information.
Line Terminator Setting
This parameter determines which ASCII control character is used for the line terminator.
Options are CR, LF, CR/LF, or ETX. The line terminator performs different functions in
Interactive, Block, and Network modes. In all three modes, the line terminator is sent to
the host controller when the OIT responds to a control command and when the OIT’s
ENTER key is pressed.
In Interactive mode, if local echo is enabled when the OIT’s ENTER key is pressed, the
line terminator is also sent to the OIT’s display. In Block or Network mode, if block echo
is enabled when the OIT’s ENTER key is pressed, the line terminator is also sent to the
OIT’s display. In Network mode, the line terminator is used to indicate that the host
controller has finished communicating to a particular OIT. The line terminator, therefore,
notifies the other terminals that the next two bytes received from the host controller
indicate which OIT the host controller wants to talk to.
STEPware-100:
Configuration mode:
host controller:
1010-0101, Rev. 00
Refer to Chapter 2: Operating Modes for more information on the use of the line
terminator in Interactive, Block, and Network modes.
Factory Default: CR
To modify this parameter using
STEPware-100:
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the desired line terminator from the
Line Terminator option buttons.
To modify this parameter in
Configuration mode:
1. At Line Term:, use the OIT’s Period (.) key to select the desired line terminator. Refer
to the Configuration Mode section in this chapter for more information.
To modify this parameter from the
host controller:
1. Use the Set Line Terminator control command. Refer to Appendix A: Control
Commands for more information.
11MAP450D Operation Manual
Append Linefeed Setting
This parameter determines whether a linefeed LF control character (0x0A) will be
appended to any carriage return
the host controller. If enabled, this will cause the cursor of the OIT display to move
down to the next line of the display when a
useful when using controllers which can send ASCII strings followed by a
character but are unable to append the
Without sending a
LF control character, the host is forced to display characters on the
OIT screen on one line of the display only. This feature allows any host that is unable to
send the
LF control character to use all of the lines of the OIT display.
Factory Default: Disabled
CR control character (0x0D) that is sent to the OIT from
CR is received from the host. This feature is
CR control
LF control character to any ASCII string sent.
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the Append Line Feed check box.
To modify this parameter in
1. At Append LF:, use the OIT’s Period (.) key to enable or disable the Append Line
Feed feature. Refer to the Configuration Mode section in this chapter for more
information.
To modify this parameter from the
1. This feature cannot be changed from the host controller.
Local Echo Setting
This parameter determines whether local echo is used when the OIT is operating in
Interactive mode. If enabled, each character sent to the host controller from an OIT
keypress is also sent to the OIT’s display.
Factory Default: Enabled
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the Local Echo Enabled check box.
STEPware-100:
Configuration mode:
host controller:
STEPware-100:
1010-0101, Rev. 00
To modify this parameter in
Configuration mode:
1. At Local Echo:, use the OIT’s Period (.) key to enable or disable local echo. Refer to
the Configuration Mode section in this chapter for more information.
To modify this parameter from the
host controller:
1. Use the Display Format control command. Refer to Appendix A: Control Commands
for more information.
Chapter 1: OIT Configuration12
Block Echo Setting
This parameter determines whether block echo is used when the OIT is operating in
Block or Network mode. If enabled, each character sent to the host controller from an
OIT keypress is also sent to the OIT’s display. If disabled, asterisks are sent to the OIT’s
display in place of the characters.
Factory Default: Enabled
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the Block Echo Enabled check box.
To modify this parameter in
Configuration mode:
1. At Block Echo:, use the OIT’s Period (.) key to enable or disable block echo. Refer to
the Configuration Mode section in this chapter for more information.
To modify this parameter from the
1. Use the Display Format control command. Refer to Appendix A: Control Commands
for more information.
Turn-Around Delay Setting
This parameter determines the amount of time the OIT waits to respond after receiving a
command from the host controller. Options are No Delay, 50 msec, 100 msec, or 250
msec. Be sure to pick a turn-around delay that allows the host controller enough time to
prepare for the OIT’s response.
Factory Default: No Turn-Around Delay
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the desired turn-around delay in the
Turn-Around Delay list box.
STEPware-100:
host controller:
STEPware-100:
1010-0101, Rev. 00
To modify this parameter in
Configuration mode:
1. At Turn Delay:, use the OIT’s Period (.) key to select the desired turnaround delay.
Refer to the Configuration Mode section in this chapter for more information.
To modify this parameter from the
host controller:
1. Use the Set Turn-Around Delay control command. Refer to Appendix A: Control
Commands for more information.
13MAP450D Operation Manual
Delayed Linefeed Setting
This parameter determines whether the OIT executes an LF control code (hexadecimal
0A) immediately or when the next character is received. If enabled, the OIT does not
execute an LF control code received from the host controller until the next character is
received. If disabled, the OIT immediately executes the LF control code. This parameter
is used most often with host controllers that automatically append an LF control code to
each data transmission.
Factory Default: Disabled
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the Delayed LineFeed Enabled check
box.
To modify this parameter in
Configuration mode:
1. At Delayed LF:, use the OIT’s Period (.) key to enable or disable delayed linefeed.
Refer to the Configuration Mode section in this chapter for more information.
To modify this parameter from the
1. Use the Display and Cursor Format control command. Refer to Appendix A: Control
Commands for more information.
Use 3-Wire RS-485 Setting
This parameter determines whether the OIT disables the RS-485 receiver when the OIT
transmits data to the host controller. If the OIT is wired to the host controller using 3-wire
RS-485 half duplex communications, then this option must be enabled for the OIT to
operate properly. Conversely, if the OIT is wired to the host controller using 5-wire RS-485
full duplex communications, this setting must be disabled to allow the host controller to
send a command to the OIT while waiting for a response from a prior command.
Factory Default: Disabled
STEPware-100:
host controller:
1010-0101, Rev. 00
To modify this parameter using
STEPware-100:
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the Use 3-Wire RS-485 check box.
To modify this parameter in
Configuration mode:
1. At RS485 3 Wire:, use the OIT’s Period (.) key to enable or disable 3-Wire RS-485.
Refer to the Configuration Mode section in this chapter for more information.
To modify this parameter from the
host controller:
1. This feature cannot be changed from the host controller.
Chapter 1: OIT Configuration14
Network Address Setting
This parameter determines the network address used by the host controller to
communicate with this OIT when in Network mode. Options are 1 to 255.
Factory Default: Not Applicable
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, enter the desired network address in the
Network Addr. text box.
To modify this parameter in
1. At Network Address:, use the OIT’s Period (.) key to select the desired network
address. Refer to the Configuration Mode section in this chapter for more
information.
To modify this parameter from the
1. Use the Set Operating Mode control command. Refer to Appendix A: Control
Commands for more information.
Tab Width Setting
This parameter determines how many spaces the OIT moves the cursor when the HT
control code (hexadecimal 09) is received from the host controller. Options are 1 Space, 4
Spaces, and 8 Spaces.
Factory Default: 1 Space
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the desired tab width in the Tab
Width list box.
STEPware-100:
Configuration mode:
host controller:
STEPware-100:
1010-0101, Rev. 00
To modify this parameter in
Configuration mode:
1. At Tab Width:, use the OIT’s Period (.) key to select the desired tab width. Refer to
the Configuration Mode section in this chapter for more information.
To modify this parameter from the
host controller:
1. Use the Set Tab Character Width control command. Refer to Appendix A: Control
Commands for more information.
15MAP450D Operation Manual
Cursor Type Setting
This parameter determines the type of cursor used in the OIT’s display. Options are No
Cursor and Underline.
Factory Default: Underline
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the desired cursor type in the
Cursor Type list box.
To modify this parameter in
1. At Cursor:, use the OIT’s Period (.) key to select the desired cursor type. Refer to the
Configuration Mode section in this chapter for more information.
To modify this parameter from the
1. Use the Display and Cursor Format control command. Refer to Appendix A: Control
Commands for more information.
Wrap Around Setting
This parameter determines whether the OIT will use ‘word wrapping’ when displaying
characters on the OIT screen. If disabled, any characters received from the host or from
the keyboard of the OIT are displayed on the OIT screen at the location of the cursor. If
the cursor is on the last column of a line, then the incoming character overwrites any
character that is currently displayed on the last column and the cursor does not move.
If the wrap around feature is enabled, then the cursor will drop down to the beginning of
the next line when it reaches the end of the current line.
STEPware-100:
Configuration mode:
host controller:
Note:The OIT does not support the wrap around feature when the operating mode is in Block
or Network mode and the character to be displayed comes from a keypress on the OIT.
Factory Default: Disabled
To modify this parameter using
STEPware-100:
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the Wrap Around check box.
To modify this parameter in
Configuration mode:
1. At WrapAround:, use the OIT’s Period (.) key to enable or disable the Wrap Around
feature. Refer to the Configuration Mode section in this chapter for more
information.
To modify this parameter from the
host controller:
1. This feature cannot be changed from the host controller.
1010-0101, Rev. 00
Chapter 1: OIT Configuration16
Local Keyboard Setting
This parameter determines whether the OIT’s keyboard is enabled.
Factory Default: Enabled
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the Local Keyboard Enabled check box.
To modify this parameter in
1. At Keyboard:, use the OIT’s Period (.) key to enable or disable the local keyboard.
Refer to the Configuration Mode section in this chapter for more information.
To modify this parameter from the
1. Use the Keyboard control command. Refer to Appendix A: Control Commands for
more information.
Key Click Setting
This parameter determines whether an audible key click occurs whenever a key is pressed
on the OIT’s keyboard.
Factory Default: Enabled
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the Key Click Enabled check box.
STEPware-100:
Configuration mode:
host controller:
STEPware-100:
To modify this parameter in
Configuration mode:
1. At KeyClick:, use the OIT’s Period (.) key to enable or disable the local keyboard.
Refer to the Configuration Mode section in this chapter for more information.
To modify this parameter from the
host controller:
1. Use the Keyboard control command. Refer to Appendix A: Control Commands for
more information.
1010-0101, Rev. 00
17MAP450D Operation Manual
Local Setup Setting
This parameter determines whether the OIT allows you to access Configuration mode. If
this parameter is disabled, you will not be able to enter Configuration mode. Since you
must enter Configuration mode to reprogram the OIT, you will not be able to reprogram
the OIT until the host controller sends a Keyboard control command enabling local setup
again.
Factory Default: Enabled
To modify this parameter using
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, select the Local Setup Enabled check box.
To modify this parameter in
1. At Setup Access:, use the OIT’s Period (.) key to enable or disable local setup. Refer
to the Configuration Mode section in this chapter for more information.
To modify this parameter from the
1. Use the Keyboard control command. Refer to Appendix A: Control Commands for
more information.
Passwords Setting
This parameter determines the five-digit numeric password used to restrict entry into
Configuration mode. Configuration mode is used to change the OIT’s operating
parameters or to download/upload a project to/from STEPware-100.
When attempting to enter Configuration mode, the OIT prompts you to enter the Setup
Password. If the default setting of “00000” has not been changed, you simply press the
OIT’s ENTER key to access Configuration mode. If the setup password has been changed,
you must enter the correct five-digit numeric password to access Configuration mode.
NOTE:If you forget your password, call Maple Systems Technical Support department at
425-745-3229 for help accessing Configuration mode.
STEPware-100:
Configuration mode:
host controller:
1010-0101, Rev. 00
Factory Default: 00000
To modify this parameter using
STEPware-100:
1. Open the Configuration Editor.
2. In the OIT Operational Settings group box, choose the Editor button to open the Password
Editor dialog box.
3. In the Setup text box, enter a five-digit numeric password.
4. Choose the Done button.
To modify this parameter in
Configuration mode:
1. At Setup Password, use the OIT’s numeric keys to enter a five-digit numeric
password. Refer to the Configuration Mode section in this chapter for more
information.
To modify this parameter from the
host controller:
1. This feature cannot be changed from the host controller.
Chapter 2: Operating Modes18
CHAPTER 2
Operating Modes
Your OIT can be programmed to operate in one of three operating modes: Interactive,
Block, or Network. These modes affect how the OIT sends data to and receives data from
the host controller. This chapter explains the differences between the three operating
modes. Refer to Chapter 1: OIT Configuration for information on how to change the
operating mode.
Interactive Mode
In Interactive mode, the OIT immediately sends data to the host controller. For example,
pressing the OIT’s 1 key sends the ASCII character 1 to the host controller. Interactive
mode is most often used in applications that require simple one-key responses from the
OIT.
If local echo mode is enabled, any ASCII characters sent to the host controller are also
displayed on the OIT. When the cursor reaches the end of the current display line,
additional characters overwrite the character in the last column.
The following table lists the behavior of each OIT key in Interactive mode.
OIT KeyData Sent to HostLocal Echo Mode Operation
A to ZA to ZDisplays A to Z
Shift + (A to Z) a to zDisplays a to z
0 to 90 to 9Displays 0 to 9
Shift + (0 =)=Displays equal sign (=)
Shift + (1 #)#Displays number sign (#)
Shift + (2 ?)?Displays question mark (?)
Shift + (3 *)*Displays asterisk (*)
Shift + (4 :):Displays colon (:)
Shift + (5 %)%Displays percent sign (%)
Shift + (6 /)/Displays slash (/)
Shift + (7 ,),Displays comma (,)
Shift + (8 $)$Displays dollar sign ($)
Shift + (9 +)+Displays plus sign (+)
SpaceSPDisplays space
. -.Displays period (.)
Shift + (. -)-Displays hyphen or minus sign (-)
ClearFF
Clears the display and moves the cursor to the
first position of the top line.
1010-0101, Rev. 00
19MAP450D Operation Manual
OIT KeyData Sent to HostLocal Echo Mode Operation
Deletes the character to the left of the cursor and
moves the cursor one position left. If the cursor is on
DeleteDEL
Enter
Line Terminator
ETX, CR, LF,orCR/LF)
(
the first position of a line, this key has no affect. If the
cursor is on the last position of a line and a character is
displayed there, the character is deleted and the cursor
remains on the last position of the line.
If the line terminator is
If the line terminator is
the first column of the current line. If the line
terminator is
first column of the next line. If the cursor is on
Line #2 when an
characters on Line #2 move to Line #1.
LF or CR/LF, the cursor moves to the
ETX, this key has no affect.
CR, the cursor moves to
LF or CR/LF is received, any
Block Mode
In Block mode, when the OIT operator presses a key, the OIT sends the data to the OIT’s
display and stores the data in the Keyboard Input Buffer. If the cursor reaches the end of
the display line, the OIT sounds an error beep and stops accepting data. Storing data in
the Keyboard Input Buffer, allows the OIT operator to see the data on the OIT’s display
and make changes before sending the data to the host controller. When the OIT operator
presses the OIT’s ENTER key, the contents of the Keyboard Input Buffer are
immediately sent to the host controller along with the line terminator.
Any attempt by the host controller to write to the OIT’s display, clears the Keyboard
Input Buffer. Therefore, the host controller should determine if the OIT operator is in the
process of entering data before writing to the OIT’s display. The Request Keyboard
Buffer Status control command is available for this purpose. If the host controller does
need to write to the OIT’s display while the OIT operator is inputting data, the host
controller can set up a display variable on the OIT’s display using the Create Display
Variable control command. Writing to a display variable allows the host controller to
display time-critical data while still allowing the OIT operator to enter data. Refer to
Appendix A: Control Commands for more information on the Request Keyboard Buffer
Status and Create Display Variable control commands.
The following table lists the behavior of each OIT key in Block mode.
OIT KeyOperation
A to ZSends A to Z to the Keyboard Input Buffer and the OIT’s display.
Shift + (A to Z) Sends a to z to the Keyboard Input Buffer and the OIT’s display.
0 to 9Sends 0 to 9 to the Keyboard Input Buffer and the OIT’s display.
Shift + (0 =)Sends equal sign (=) to the Keyboard Input Buffer and the OIT’s display.
Shift + (1 #)Sends number sign (#) to the Keyboard Input Buffer and the OIT’s display.
Shift + (2 ?)Sends question mark (?) to the Keyboard Input Buffer and the OIT’s display.
Shift + (3 *)Sends asterisk (*) to the Keyboard Input Buffer and the OIT’s display.
Shift + (4 :)Sends colon (:) to the Keyboard Input Buffer and the OIT’s display.
Shift + (5 %)Sends percent sign (%) to the Keyboard Input Buffer and the OIT’s display.
Shift + (6 /)Sends slash (/) to the Keyboard Input Buffer and the OIT’s display.
Shift + (7 ,)Sends comma (,) to the Keyboard Input Buffer and the OIT’s display.
1010-0101, Rev. 00
Chapter 2: Operating Modes20
OIT KeyOperation
Shift + (8 $)Sends dollar sign ($) to the Keyboard Input Buffer and the OIT’s display.
Shift + (9 +)Sends plus sign (+) to the Keyboard Input Buffer and the OIT’s display.
SpaceSends space to the Keyboard Input Buffer and the OIT’s display.
. -Sends period (.) to the Keyboard Input Buffer and the OIT’s display.
Shift + (. -)
Clear
Delete
Enter
Sends hyphen or minus sign (-) to the Keyboard Input Buffer and the OIT’s
display.
Clears the contents of the Keyboard Input Buffer, moves the cursor to the original
data entry starting position, and clears all characters to the right of the cursor.
Deletes the last character entered into the Keyboard Input Buffer, deletes the
character to the left of the cursor and moves the cursor one position left. If the
cursor is at the original data entry starting position, this key has no affect. If the
cursor is on the last position of a line and a character is displayed there, the
character is deleted and the cursor remains on the last position of the line.
Sends the contents of the Keyboard Input Buffer immediately to the host
controller along with the line terminator. Moves the cursor to the original data
entry starting position.
Network Mode
If multiple OITs are connected to one host controller, then the OITs must be configured
to operate in Network mode. The host controller, which operates as the network master
and polls the OITs for responses, must initiate all communications. To prevent all of the
OITs on the network from responding at the same time, an addressed message scheme is
used for the network protocol.
Sending Data to the OITs
To communicate with a particular OIT, the host controller sends that OIT’s network
address in hexadecimal as two ASCII characters. This is called “logging on” to the OIT.
The host controller can then communicate with that OIT, the same as in Block mode. The
host controller must send a line terminator to “log off” or close communications with that
OIT before addressing another OIT.
The line terminator alerts all OITs on the network that a new communication session is
about to begin, and that the next two characters sent will be an OIT’s network address.
Each OIT on the network compares the network address sent by the host controller with
its own network address. If they match, the OIT responds to any characters sent by the
host controller. If they do not match, the OIT monitors the data stream for the next line
terminator sent.
Since the line terminator is used by the host controller to “log off” or close
communications with one OIT before starting to talk to another, if the host controller
wants to remain logged on to the current OIT, the host controller must send the command
terminator (
controller sends a command that ends with the command terminator, further commands
or data sent to the current OIT do not have to include the OIT’s network address. It is
important to note that the OIT always includes its network address and a line terminator
when responding to the host controller.
STX) with control commands, instead of the line terminator. After the host
1010-0101, Rev. 00
21MAP450D Operation Manual
When using Network mode, always follow these rules:
1. Every OIT on the network must be assigned a unique network address.
2. Every OIT on the network must be programmed to use the same line terminator.
3. Always have the host controller send a line terminator immediately before sending an
OIT network address. There are two reasons for this:
If one of the OITs on the network suddenly losespower and reinitializes, it will not know what
•
“state” the communications session is in. Therefore, it will not respond to the host controller
until the host controller sends a line terminator.
If any other characters are present on the data line between the time that the host controller
•
sends the line terminator and the network address, the OIT that the host controller is attempt
ing to communicate to may not “log on” because the OIT thinks that the host controller is
logged on to another OIT.
Receiving Data from the OITs
When the host controller sends data that requires a response from the OIT, the OIT
immediately responds (unless turnaround delay is used). The OIT responds by sending its
hexadecimal network address as two ASCII characters followed by the requested data and
the line terminator. Each command that requests data is answered separately by the OIT.
As in Block mode, any OIT keypad input is sent to the OIT’s display and the Keyboard Input
Buffer. However, once the OIT’s ENTER key is pressed, the contents of the Keyboard Input
Buffer are transferred to the Keyboard Output Buffer and the OIT no longer accepts keypad
input until the host controller either polls or clears the OIT’s Keyboard Output Buffer. If an
attempt is made to enter additional data, the OIT sounds an error beep. If a function key is
pressed that has the Send Message Immediately setting enabled, then the output is sent
directly to the Keyboard Output Buffer along with any other contents of the Keyboard Input
Buffer, just as though the operator had pressed the ENTER key. The OIT will no longer
accept keypad input until the host controller either polls or clears the OIT’s Keyboard Output
Buffer. If an attempt is made to enter additional data, the OIT sounds an error beep.
-
Refer to Appendix A: Control Commands for information on the Clear Output Buffer and
Poll OIT Buffer control commands.
Sending the Same Data to all OITs
The host controller can send an identical message to all of the OITs on the network by
using the global broadcast address of “00”. The OITs do not transmit any data to the host
controller when the global address is used; this prevents the OITs from corrupting each
other’s messages by trying to talk at the same time. After sending a global broadcast,
before the host controller can begin a session with one particular OIT, the host controller
must send the line terminator to “log off” all of the OITs on the network.
Network Addressing
The addressing range allowed for networked OITs is from 1 to 255. This implies that up to
255 OITs can be connected to one network. However, the actual number will likely be less,
and is due to the loading characteristics of the network connection. Factors such as baud
rate, impedance and capacitive loading of the communications line, line impedance of the
RS-485 drivers, and total number of OITs on the network all affect performance. If network
performance becomes degraded, you may need network boosters or repeaters to increase
the number of OITs on the network. For more information on sources for network boosters
or repeaters, contact Maple Systems Technical Support at 425-745-3229.
1010-0101, Rev. 00
Chapter 2: Operating Modes22
Sample Network Session
Below is a sample session showing a host controller communicating with three OITs on a
multidrop network. The OITs have network addresses of 1, 30, and 100. The line
terminator is set to
NOTE:Spaces are shown for clarity only and should not be used.
SourceMessageDescription
Host00 ESC m25ETX
Host01 ESC e HELLO! STX
OIT #101 HELLO! ETX
HostESC ? STX
OIT #101 0 ETX
HostESC eBYE!ETX
OIT #101 BYE! ETX
Host1E ESC w5ETX
Host64 ESC p STX
OIT #10064 A ETX
HostESC r ETX
OIT #10064 A ETX
ETX.
The host controller sends a global command
telling all terminals to display Message #25.
Notice that the host controller ended with a line
terminator. This “logs off” all of the OITs.
The host controller sends an echo command as a
“log on” to OIT #1. Notice that the host controller
ends with a command terminator instead of a line
terminator. This allows the host controller to
continue communicating with OIT #1 without
having to send another network address.
OIT #1 responds with its network address, the
characters received from the host controller, and
a line terminator.
The host controller requests the keyboard status
of OIT #1. Notice that the host controller does
not specify a network address, since the host
controller has not sent a line terminator yet.
OIT #1 responds that no characters are currently
stored in the Keyboard Input Buffer and ends
with a line terminator.
The host controller sends an echo command as a
“log off” to OIT #1. Notice that the host
controller ended with a line terminator. Now the
other OITs will listen for a new network address.
OIT #1 responds with its network address, the
characters received from the host controller, and
a line terminator.
The host controller “logs on” to OIT #30 and
creates a five character display variable at the
current cursor position. Notice that the host
controller ended with a line terminator to “log
off” OIT #30.
The host controller “logs on” to OIT #100 and
polls the Keyboard Output Buffer contents.
OIT #100 responds with its network address, the
contents of the Keyboard Output Buffer (which
happens to contain the ASCII character sent when
the A key was pressed), and the line terminator.
The host controller asks OIT #100 to resend the
last transmission.
OIT #100 resends the last transmission and ends
with the line terminator.
1010-0101, Rev. 00
23MAP450D Operation Manual
This page intentionally left blank.
1010-0101, Rev. 00
Chapter 3: Using the OIT's Display24
CHAPTER 3
Using the OIT’s Display
The OIT displays data input from the OIT’s keypad, data sent from the host controller,
and data stored in predefined messages. When a printable ASCII character is sent to the
OIT’s display, it is displayed at the OIT cursor’s current location (unless the host
controller is writing to a display variable). The cursor is then advanced one column to the
right on the current display line. If the cursor is on the last column of the line, it does not
move (unless the wrap around feature is enabled).
The host controller can send control commands and control codes which move the cursor
to different locations on the screen, clear the screen, perform a line feed, create a display
variable, scroll the screen, etc.
Extended Character Set
In addition to the standard printable ASCII characters, each OIT model has an extended
character set which can be displayed. Refer to Appendix C: Extended Character Set for a
list of the extended characters available on the MAP450D and the ASCII codes the host
controller should send to display them.
To insert an extended character into a predefined message:
1. Start STEPware-100.
2. Open a project that has been configured for your OIT.
3. Display the message you want to insert the extended character into.
4. Position the cursor in the message where you want to insert the extended character.
5. Press F2 to open the Insert Special Character dialog box.
6. Using the arrow keys, select the special character.
7. Choose the Add To List button. The selected special character displays in the text box
next to the Add To List button.
8. Choose the Done button to return to the STEPware-100 main screen. The special
character displayed in the text box next to the Add To List button displays in the Message
Editor.
Displaying Text from the OIT’s Keypad
1010-0101, Rev. 00
In Interactive mode, to display text from the OIT’s keypad, local echo must be enabled.
Refer to Chapter 1: OIT Configuration for more information on enabling local echo.
In Interactive mode (with local echo enabled), Block mode, or Network mode, any ASCII
characters sent to the host controller or Keyboard Input Buffer by pressing keys on the
OIT’s keypad, are also sent to the OIT cursor’s current location in the OIT’s display.
25MAP450D Operation Manual
When the cursor reaches the end of the current display line:
in Interactive mode, additional characters overwrite the character in the last column,
•
unless the word-wrap feature is enabled. If word-wrap is enabled, the cursor moves to the
next line of the display.
in Block or Network mode,the OITsounds anerror beepand stopsaccepting keypadinput.
•
In Network mode, once the OIT’s ENTER key is pressed, the OIT no longer accepts
keypad input until the host controller either polls or clears the OIT’s Keyboard Input
Buffer. If an attempt is made to enter additional data, the OIT sounds an error beep. Refer
to Appendix A: Control Commands for information on the Clear Output Buffer and Poll
OIT Buffer control commands.
Some of the OIT’s keys behave differently in Interactive mode than they do in Block and
Network modes. The following table lists the behavior of these OIT keys in Interactive,
Block, and Network modes.
OIT KeyInteractive ModeBlock & Network Modes
Clear
Delete
Enter
Clears the display and moves the
cursor to the first position of the top
line.
Deletes the character to the left of the
cursor and moves the cursor one
position left. If the cursor is on the
last position of a line and a character
is displayed there, the character is
deleted and the cursor remains on the
last position of the line. If the cursor
is on the first position of a line, this
key has no affect unless word wrap is
enabled. With word wrap enabled,
the character in the last position of
the line above is deleted and the
cursor moves to that position.
If the line terminator is
has no affect. If the line terminator is
CR, the cursor moves to the first column
of the current line. If the line terminator
LF or CR/LF, the cursor moves to the
is
first column of the next line. If the
cursor is on Line #2 when an
CR/LF is received, any characters on
Line #2 move to Line #1.
ETX, this key
LF or
Moves the cursor to the original data
entry starting position and clears all
characters to the right of the cursor.
Deletes the character to the left of the
cursor and moves the cursor one
position left. If the cursor is at the
original data entry starting position, this
key has no affect. If the cursor is on the
last position of a line and a character is
displayed there, the character is deleted
and the cursor remains on the last
position of the line.
Moves the cursor to the original data
entry starting position.
Displaying Text from the Host Controller
The host controller can send data to the OIT’s display by simply sending printable ASCII
characters or by sending control commands and control codes.
Printable ASCII characters are immediately displayed at the OIT cursor’s current
location. The cursor is then advanced one position to the right on the current display line.
When the cursor reaches the end of the current display line, additional characters
overwrite the character in the last column and the cursor does not move, unless the word
wrap feature is enabled, in which case, the cursor drops to the next line of the display.
1010-0101, Rev. 00
Chapter 3: Using the OIT's Display26
In addition to the standard printable ASCII characters, the host controller can also display
characters from the OIT’s extended character set. Refer to Appendix C: Extended
Character Set for a list of the extended characters available on the MAP450D and the
ASCII codes the host controller should send to display them.
The host controller can control the location of data on the OIT’s display by sending
control commands and control codes. For example, to move the OIT’s cursor down to the
next line, the host controller sends the LF control code (hexadecimal 0A). To move the
OIT’s cursor to Line #2 Column #10, the host controller sends the Set Cursor Position
control command (
ESC x102terminator). Refer to Appendix A: Control Commands and
Appendix B: Control Codes for a complete description of the available control commands
and control codes.
The OIT continuously monitors the host controller for data. Therefore, the host controller
can send data to the OIT at any time. The OIT uses a 200 byte internal storage buffer for
incoming data from the host controller. This buffer can fill up if the host controller sends
data faster that the OIT processes it. If this occurs, use software or hardware handshaking
to control the rate of data transfer. Refer to Chapter 1: OIT Configuration for information
on software and hardware handshaking.
Using a Display Variable
One display variable can be defined at any time on the OIT’s display using the Create
Display Variable control command. A display variable allows the host controller to set
aside a portion of the OIT’s display for specific data. When writing to the display
variable using the Write Display Variable control command, the host controller does not
have to worry about where the OIT’s cursor is positioned or whether the OIT operator is
in the middle of entering data. One typical use for display variables is to set aside a
location for displaying time-critical data such as error messages. Following is information
on creating, writing to, and deleting display variables. Refer to Appendix A: Control
Commands and Appendix B: Control Codes for more information.
To create a display variable:
1. Have the host controller position the OIT’s cursor in the location where you want to
start the display variable.
2. Have the host controller send the Create Display Variable control command (
ESC w
length terminator). The area allocated for the display variable is cleared, starting at
the OIT cursor’s current location, and the OIT’s cursor is placed to the right of the
display variable.
To write to a display variable:
1. Have the host controller send the Write Display Variable control command (
ESC v text
terminator). The new text overwrites the existing contents of the display variable. If
the text sent is longer than the display variable, the excess characters are ignored.
NOTE:If the new text is shorter than the existing text, the part of the existing text that is longer
than the new text will still be visible in the OIT’s display.
1010-0101, Rev. 00
To delete a display variable:
1. Have the host controller send the FF control code.
NOTE:The FF control code clears the entire display not just the display variable.
27MAP450D Operation Manual
Displaying Text from Predefined Messages
In some applications, the OIT may be required to display many messages to the OIT
operator concerning the state of the control system. If these messages are always the
same, they can be stored in the OIT and displayed whenever the host controller requests
them. The OIT has the ability to store up to 500 predefined messages. Each predefined
message can be as long as the number of characters per line on the OIT and can contain
printable ASCII characters and characters from the extended character set.
To display a predefined message, the host controller sends the Display Message control
command (
control command, the requested message displays at the OIT cursor’s current location. If
the message is longer than the number of character spaces remaining on the current
display line, the message is truncated, unless word wrap is enabled. Refer to Appendix A:
Control Commands for more information on the Display Message control command.
Optional Settings for Predefined Messages
Each predefined message can be configured with optional controls which the OIT will
perform either before or after a message is displayed on the OIT screen. These controls
are provided to minimize the amount of commands that must be sent from the host in
order to format the OIT display screen.
ESC m message# terminator). When the OIT receives the Display Message
Controls used before displaying the message: Each predefined message can be tagged
with one of the following controls. These controls are performed on the OIT before the
message is displayed:
No Action - selecting this option means that nothing is done to the OIT display before the pre-
•
defined message is displayed.
•
Clear Screen - the OIT clears the entire screen and homes the cursor.
•
Clear Line - the OIT clears the entire line that the cursor is located on and moves the cursor to
the beginning of the line.
•
Clear to End of Line - the OIT clears theentire line starting at thecurrent position of the cursor.
Controls used after displaying the message: Each predefined message can be tagged
with one of the following controls. These controls are performed on the OIT display after
the message is displayed:
•
No Action - selectingthis option means nothing is done to the OITdisplay after the predefined
message is displayed.
•
CR (Carriage Return) - the OIT moves the cursor to the beginning of the line that the cursor is
on after the message is displayed.
•
LF (Line Feed) - theOIT movesthe cursorto thebeginning ofthe next lineafter themessage is
displayed.
•
VT (Vertical Tab) - the OIT performs a ‘reverse line feed’ by moving the cursor to the begin
ning of the previous line after the message is displayed.
•
Cursor to Startof Msg - the OIT moves the cursor to the first character of the messagethat was
just displayed.
-
1010-0101, Rev. 00
Appendix A: Control Commands28
APPENDIX A
Control Commands
Control commands are multiple ASCII characters, starting with the command initiator (ESC
control character) and ending with the command terminator (STX control character) or line
terminator. These commands allow the host controller to request and send information to the
OIT. Control commands are always sent by the host controller to the OIT.
The first letter after the command initiator is the command letter. The command letter
determines which action the OIT performs. Following is any necessary or optional
command data. The command data is always in ASCII format, meaning that all command
data must be printable ASCII characters.
The following rules must be adhered to when the host controller sends a control command:
Each control command must beginwith the command initiator (ESC controlcharacter).
•
Each control command must end with either the command terminator (STX control
•
character) or line terminator.
Except for the command initiator, the command terminator, and the line terminator, all
•
other characters sent by the host controller must be printable ASCII characters.
If the control command requires a response from the OIT, the OIT immediately responds
with any requested data and the line terminator.
Terminators
There are two types of terminators used in control commands: the command terminator
and the line terminator. The command terminator is the STX control character and is
used to indicate the end of a control command. The line terminator is programmable and
can be CR, LF, CR/LF, or ETX. The line terminator is used by the host controller to
indicate the end of a control command or to “log off” an OIT when operating in Network
mode (refer to Chapter 2: Operating Modes).
Notation Conventions
This section uses the following type styles to define control command syntax:
SMALL CAPSUsed for non-printable ASCII control characters. Control characters
are sent to the OIT using decimal or hexadecimal notation or by
sending a BASIC CHR$ command. The control characters can also be
generated from the keyboard of a computer when using a terminal
emulation program. The table, below, lists the control characters
recognized by the OIT when sent by the host controller.
boldUsed for literal portions of the syntax that must be used exactly as
shown (including upper/lower case).
italicsUsed for variables that specify the type of data to include.
Note:Spaces are shown between the segments of the control command for clarity only.
Spaces should not actually be sent. For example,
ESCAtextterminator.
ESC A text terminator should be sent as
1010-0101, Rev. 00
29MAP450D Operation Manual
Control
Character
ESC271BCHR$(27)CTRL [
STX202CHR$(2)CTRL B
CR130DCHR$(13)CTRL M
LF100ACHR$(10)CTRL J
ETX303CHR$(3)CTRL C
Decimal
Notation
Hexadecimal
Notation
BASIC
Command
Terminal Keyboard
Keypresses
Control Command Format
initiator commandletter commanddata terminator
initiator =
ESC
command letter = printable ASCII character a, b, c, d, e, f, g, k, m, o, p, r, t, u,
v, w, x, y, z, B, H, K, L, M, O, P, T, X, Y, Z, ?, {, }
command data = any data required by the specified command
terminator =command terminator
STX
or line terminator CR, LF, CR/LF,orETX
Command Response Format
commanddata lineterminator
command data = any data required by the specified command
line terminator =
CR, LF, CR/LF,orETX
Configuration Control Commands
Set LCD Viewing Angle Command
ESC a bias terminator
bias:0 = 90º, 1 = 75º
Response: none
Description: Allows the host controller to control the viewing angle of the LCD.
Example: PRINT CHR(27); “a0”; CHR(2)
Save Configuration Parameters Command
ESC b terminator
Response: none
Description: Saves the OIT’s current setup permanently into the Flash PROM.
The saved parameters become the defaults used at power-up.
Example: PRINT CHR(27); “b”; CHR(2)
Request Configuration Data Command
ESC c terminator
Response: class version revision serial terminator
class:C = MAP450D
version:Two digits for the firmware version.
revision:Two digits for the firmware revision level.
serial:0 = RS-232, 1 = RS-422/485, 2 = both active
Description: Returns six ASCII digits representing the OIT’s current product model,
Response: none
Description: Allows the host controller to disable or enable the OIT’s cursor or delayed
line feed. Anytime a LF character is received by the OIT, the delayed line feed feature
causes the cursor to remain in its current position until the next displayable character is
received. The Set Cursor Position control command cancels the delayed line feed feature.
Example: PRINT CHR(27); “d0021”; CHR(2)
Display Format Control Command
ESC f blockecho 0 localecho terminator
block echo:0 = no change
1 = disable block echo (replace characters sent to the display with *s)
2 = enable block echo
local echo:0 = no change, 1 = disable local echo, 2 = enable local echo
Response: none
Description: Allows the host controller to control block echo during Block mode and
local echo during Interactive mode. When block echo is disabled, characters sent to
the display during Block mode are replaced with *s. When local echo is disabled,
characters are not sent to the display during Interactive mode.
Example: PRINT CHR(27); “f201”; CHR(2)
Keyboard Control Command
ESC k enable 00 click setup terminator
enable:0 = no change, 1 = off (disable keyboard entry), 2 = on
click:0 = no change, 1 = off (disable audible click), 2 = on
setup:0 = no change, 1 = off (disable local setup), 2 = on
Response: none
Description: Allows the host controller to control the OIT’s keyboard operation.
Example: PRINT CHR(27); “k20020”; CHR(2)
parity:0 = no change, 1 = space, 2 = mark, 3 = even, 4 = odd, 5 = none
data bits:0 = no change, 1 = 7 data bits (1 stop bit if parity, 2 if no parity),
2 = 8 data bits & 1 stop bit
Response: none
Description: Allows the host controller to change the OIT’s baud rate, parity, and data bits.
Example: PRINT CHR(27); “B652”; CHR(2)
3 = software and hardware handshaking enabled (Interactive mode)
Response: none
Description: Allows the host controller to enable or disable serial handshaking.
Example: PRINT CHR(27); “H0”; CHR(2)
Set Operating Mode Command
ESC M mode address terminator
mode:0 = no change, 1 = interactive, 2 = block, 3 = network
address:01 to FF (ASCII hexadecimal)
Response: none
Description: Allows the host controller to change the OIT’s operating mode and
network address.
Example: PRINT CHR(27); “1”; CHR(2)
Set Line Terminator Command
ESC T lineterminator terminator
line terminator:0=
ETX,1=CR,2=LF,3=CR/LF
Response: none
Description: Allows the host controller to change the line terminator.
Example: PRINT CHR(27); “T1”; CHR(2)
General Purpose Control Commands
Echo Back Text Command
1010-0101, Rev. 00
ESC e text terminator
Response: text terminator
Description: Causes the OIT to echo back the ASCII characters sent (up to 40
characters). Each character is stored by the OIT until the terminator is received,
at which time the entire string is sent back to the host controller.
Example: PRINT CHR(27); “eHello!”; CHR(2)
Appendix A: Control Commands32
Sound Bell Command
ESC g seconds terminator
seconds:0 = turn bell off, 1 to 60 = sound bell for n seconds
Response: none
Description: Allows the host controller to sound the OIT’s transducer.
Example: PRINT CHR(27); “g3”; CHR(2)
Display Message Command
ESC m message# terminator
message#:0 = clear screen and return cursor to first position of first line
1 to 500 = predefined message to display
Response: none
Description: Displays a predefined text string starting at the current cursor position.
If the text string is longer than the remaining line, only the first part of the string is
displayed. The text string is displayed until the OIT operator presses the CLEAR key
or the host controller calls message #0 to clear the screen.
Example: PRINT CHR(27); “m2”; CHR(2)
Clear Output Buffer Command
ESC o terminator
Response: none
Description: Clears the contents of the OIT’s Keyboard Input Buffer and Keyboard
Output Buffer when the OIT is in Block or Network modes.
Example: PRINT CHR(27); “o”; CHR(2)
Poll OIT Buffer Command
ESC p terminator
Response: contents terminator
contents:OIT’s Keyboard Output Buffer contents
Description: Allows the host controller to retrieve the contents of the Keyboard Output
Buffer when in Network mode.
Example: PRINT CHR(27); “p”; CHR(2)
Retransmit Last Keyboard Buffer Command
ESC r terminator
Response: contents terminator
contents:OIT’s Keyboard Output Buffer contents
Description: Allows the host controller to retrieve the previous contents of the
Keyboard Output Buffer when in Block or Network modes. If the buffer is empty,
only a line terminator is returned to the host controller.
Example: PRINT CHR(27); “r”; CHR(2)
1010-0101, Rev. 00
33MAP450D Operation Manual
Request Keyboard Buffer Status Command
ESC ? terminator
Response: status terminator
status:0 = buffer empty
1 = keyboard input in progress (Block and Network modes)
2 = entire message buffered, waiting for Poll OIT Buffer control
command (Network mode)
Description: Allows the host controller to determine the status of the OIT’s Keyboard
Input Buffer.
Example: PRINT CHR(27); “?”; CHR(2)
Enable Block Mode Command
ESC { start end fill terminator
start:00 to 39. Starting cursor column number. 00 defaults to the position of
the cursor at the time the command is received.
end:00 to 39. Ending cursor column number. 00 defaults to the end of the
current line at the time the command is received.
fill:SPACE to ~. Fill character used to replace any characters affected by
the Clear Output Buffer command or the DEL and CAN control codes.
If not specified, the ASCII space character is used.
Response: none
Description: Allows the host controller to dynamically change from Interactive to Block
mode. The optional start, end, and fill parameters limit the input to a specific area of
the display (up to 40 characters). This command can be used in Network mode.
Example: PRINT CHR(27); “{1520”; CHR(2)
Disable Block Mode Command
ESC } enable terminator
enable:0 = no change, 1 = off (disable keyboard entry),2=on
Response: none
Description: After sending the Enable Block Mode command, the Disable Block Mode
command allows the host controller to return the OIT to Interactive mode, clears the
OIT’s Keyboard Output Buffer, and enables or disables the keyboard. If the OIT was in
Network mode when the Enable Block Mode command was received, then the block
input field is cleared without changing the operating mode.
Example: PRINT CHR(27); “}2”; CHR(2)
Display Control Commands
Read Display Variable Command
ESC u terminator
Response: text terminator
text:ASCII characters currently in the display variable
Description: Allows the host controller to retrieve the contents of a display variable.
Example: PRINT CHR(27); “u”; CHR(2)
1010-0101, Rev. 00
Appendix A: Control Commands34
Write Display Variable Command
ESC v text terminator
text:ASCII characters to be written to the display variable
Response: none
Description: Allows the host controller to change the contents of a display variable.
The old contents of the display variable are not erased until a new character overwrites
the old character. If the text is longer than the display variable, the excess characters
are ignored.
Example: PRINT CHR(27); “V12345”; CHR(2)
Create Display Variable Command
ESC w length terminator
length:1 to 40, defaults to 4 if not specified
Response: none
Description: Allows the host controller to create a display variable at the current cursor
position. The area allocated for the display variable is cleared and the cursor is placed
to the right of the field. When the host controller writes to the display variable using the
Write Display Variable control command, the display variable is updated accordingly.
Example: PRINT CHR(27); “W10”; CHR(2)
Set Cursor Position Command
ESC x column line terminator
column:0 = no change, 1 to 40 = specified column#
line:0 = no change, 1 = line #1, 2 = line #2
Response: none
Description: Allows the host controller to move the cursor without affecting the display
contents.
Example: PRINT CHR(27); “x32”; CHR(2)
Read Cursor Position Command
ESC y terminator
Response: column line terminator
column:01 to 40 = cursor’s current column#
line:1 = line #1, 2 = line #2
Description: Allows the host controller to determine the cursor’s current position.
Example: PRINT CHR(27); “y”; CHR(2)
1010-0101, Rev. 00
35MAP450D Operation Manual
This page intentionally left blank.
1010-0101, Rev. 00
Appendix B: Control Codes36
APPENDIX B
Control Codes
Control codes are non-printable ASCII control characters sent from the host controller to
the OIT which cause the OIT to perform specific functions.
Control
Codes
ENQ505
BEL707Sounds a ½ second warning beep.
BS808
HT909
LF100A
VT110B
FF120C
CR130D
XON1711
XOFF1913Halts OIT transmission.
CAN2418
Decimal
Notation
Hexadecimal
NotationDescription
Returns six ASCII digits representing the OIT’s
current product model, version, revision, and serial
interface type.
Moves the cursor one character position to the left on
the current display line. The BS is non-destructive
meaning that no characters are removed from the
display. If the cursor is at the beginning of the line,
the BS is ignored.
Moves the cursor to the beginning of the next tab
field. If the cursor is at the end of the current display
line, the HT is ignored. The default tab width of 1 can
be changed using the STEPware-100 configuration
software or the Set Tab Character Width control
command.
Moves the cursor to the same column of the next display
line. If the cursor is on line #1, the cursor moves to line
#2 without disturbing the contents of either line. If the
cursor is on the last line, all lines move up one line
clearing the last line for new input. Display variables are
automatically scrolled as well.
Moves the cursor to the beginning of the previous
display line. If the cursor is on line #2 or lower, the
cursor moves to the beginning of the previous line
without disturbing the contents of any line. If the
cursor is on the top line, all lines scroll down one line
clearing the top line for new input. Display variables
are automatically scrolled as well.
Clears the entire display and moves the cursor to the
beginning of line #1.
Moves the cursor to the beginning of the current
display line without disturbing the contents of the
line.
Resumes OIT transmission previously halted by an
XOFF.
Erases the characters from the cursor to the end of the
current display line.
1010-0101, Rev. 00
37MAP450D Operation Manual
This page intentionally left blank.
1010-0101, Rev. 00
Appendix C: Extended Character Set38
APPENDIX C
Extended Character Set
The following table lists the extended character set for the MAP450D.
If the OIT receives one of the listed ASCII Codes from the host controller,
it displays the corresponding extended character.
00NULNull
01SOHStart of header
02STXStart of text
03ETXEnd of text
07BELBell output
08BSBackspace
09HTHorizontal tab
0ALFLine feed
0BVTVertical tab (VTAB)
0CFFForm feed
0DCRENTEREnter
11DC1Device control 1 (X-ON)
13DC3Device control 3 (X-OFF)
18CANCancel
1ASUBSubstitute
1BESCEscape
20SPSPACESpace
21!Exclamation point
22“Quotation mark
23#SHIFT (1 #)Number sign
24$SHIFT (8 $)Dollar sign
25%SHIFT (5 %)Percent sign
26&Ampersand
27’Apostrophe
28(Open parenthesis
29)Close parenthesis
2A*SHIFT (3 *)Asterisk
2B+SHIFT (9 +)Plus sign
2C,SHIFT (7 ,)Comma
2D-SHIFT (. -)Hyphen or minus sign
2E..Period
2F/SHIFT (6 /)Slash
3000Number 0
3111Number 1
3222Number 2
3333Number 3
3444Number 4
3555Number 5
3666Number 6
3777Number 7
3888Number 8
3999Number 9
3A:SHIFT (4 :)Colon
3B;Semicolon
3C<Less than sign
3D=SHIFT (0 =)Equal sign
3E>Greater than sign
3F?SHIFT (2 ?)Question mark
40@At sign
41AALetter A
42BBLetter B
43CCLetter C
1010-0101, Rev. 00
41MAP450D Operation Manual
HEXASCII
CODECHARKEYDESCRIPTION
44DDLetter D
45EELetter E
46FFLetter F
47GGLetter G
48HHLetter H
49IILetter I
4AJJLetter J
4BKKLetter K
4CLLLetter L
4DMMLetter M
4ENNLetter N
4FOOLetter O
50PPLetter P
51QQLetter Q
52RRLetter R
53SSLetter S
54TTLetter T
55UULetter U
56VVLetter V
57WWLetter W
58XXLetter X
59YYLetter Y
5AZZLetter Z
5B[Open brackets
5C\Reverse slash
5D]Close brackets
5E^Up arrow/caret
5F_Underscore
60`Grave accent
61aSHIFT ALetter a
62bSHIFT BLetter b
63cSHIFT CLetter c
64dSHIFT DLetter d
65eSHIFT ELetter e
66fSHIFT FLetter f
67gSHIFT GLetter g
68hSHIFT HLetter h
69iSHIFT ILetter i
6AjSHIFT JLetter j
6BkSHIFT KLetter k
6ClSHIFT LLetter l
6DmSHIFT MLetter m
6EnSHIFT NLetter n
6FoSHIFT OLetter o
70pSHIFT PLetter p
71qSHIFT QLetter q
72rSHIFT RLetter r
73sSHIFT SLetter s
74tSHIFT TLetter t
75uSHIFT ULetter u
76vSHIFT VLetter v
77wSHIFT WLetter w
78xSHIFT XLetter x
79ySHIFT YLetter y
7AzSHIFT ZLetter z
7B{Left brace
7C|Vertical broken bar
7D}Right brace
7E~Tilde
7FDELDELETEDelete (rubout)
1010-0101, Rev. 00
Appendix E: Troubleshooting42
APPENDIX E
Troubleshooting
When Power is Applied the OIT’s Display is Blank and the OIT
Beeps
This indicates that the OIT does not contain a complete project and that the OIT is in
download mode waiting for STEPware-100 to download a project. Refer to the STEP1
Protocol Operation Manual - Chapter 1: Getting Started for instructions on creating and
downloading a STEPware-100 project.
The OIT Will Not Enter Configuration Mode
If, instead of displaying Parameters? MODIFY, the OIT displays Disp View Angle: or
Baud Rate:, Local Setup Access has been disabled. You will need to enable Local Setup
Access by connecting the OIT to a host controller and having the host controller send the
Keyboard control command to the OIT. Refer to Appendix A: Control Commands for
more information.
If, for some reason, you cannot reenable the Local Setup Access using the Keyboard
Control command, perform the following:
1. While pressing and holding down the CLEAR or ENTER key, cycle power to the
OIT. Continue pressing until the OIT displays Disp View Angle:, then release.
2. Press the ENTER key to display the Baud Rate: message.
3. Press the B key.
4. Press the I key.
5. Press the P key.
6. Wait for a few seconds. The OIT will reinitialize, allowing you to enter Local Setup
by holding down the CLEAR or ENTER key.
7. Refer to Chapter 1: OIT Configuration and follow the instructions.
1010-0101, Rev. 00
43MAP450D Operation Manual
The OIT’s Keypad is Not Responding As Expected
Many operating parameters affect the operation of the OIT’s keypad. Therefore, if a key
is not operating as expected, consider the following:
The operating mode (i.e. Interactive, Block, or Network) can change how the key
•
operates. Refer to Chapter 2: Operating Modes for more information.
Is local echo enabled? For OITs operating in Interactive mode, this option determines
•
whether characters sent to the host from the OIT’s keypad are also sent to the OIT’s
display.
Is block echo enabled? For OITs operating in Block or Network mode, this option
•
determines whether a character or an asterisk isdisplayed on the OIT’s display whena key
is pressed.
Which line terminator is theOIT using? This parameter determines whichcharacter issent
•
when the OIT’s ENTER key is pressed.
Is the local keyboard option enabled? If the local keyboard parameter is disabled, then the
•
OIT’s keypad will not function except to allow the OIT operator to enter Configuration
mode during initialization of the OIT.
Is the keyclick option enabled? By default, all of the keys on the OIT respond with a
•
keyclick sound whenever the keys are pressed. However, this feature can be disabled to
allow the keys to be silent.
1010-0101, Rev. 00
Index1
Index
!
3-Wire RS-485 setting13
A
ASCII Table40
B
Baud Rate
Baud Rate setting6
Set Communications Parameters control command 31
Block Echo
Block Echo setting12
Display Format control command30
Block Mode19
Disable Block Mode control command33
Enable Block Mode control command33
Keyboard Input Buffer19
Set Operating Mode control command31
C
Command Terminator
in Control Commands28
in Network Mode20
Configuration4
3-Wire RS-485 setting13
Append Linefeed setting11
Baud Rate setting6
Block Echo setting12
Cursor Type setting15
Data Bits setting7
Delayed Linefeed setting13
Display Viewing Angle setting6
Handshaking setting8
Key Click setting16
Line Terminator setting10
Local Echo setting11
Local Keyboard setting16
Local Setup setting17
Network Address setting14
Operating Mode setting10
Parity setting7
Passwords setting17
Request Configuration Data control command29
Save Configuration Parameters control command29
Stop Bits setting8
Tab Width setting14
Turn-Around Delay setting12
Wrap Around setting15
Configuration Mode4
Control Codes36
BEL36
BS36
CAN36
CR29, 36
ENQ36
ESC29
ETX29
FF36
HT36
LF29, 36
STX29
VT36
XOFF36
XON36
Control Commands28
Clear Output Buffer32
Create Display Variable34
Disable Block Mode33
Display and Cursor Format30
Display Format30
Display Message32
Echo Back Text31
Enable Block Mode33
Enable Handshaking31
Keyboard30
Poll OIT Buffer32
Read Cursor Position34
Read Display Variable33
Request Configuration Data29
Request Keyboard Buffer Status33
Retransmit Last Keyboard Buffer32
Save Configuration Parameters29
Set Communications Parameters31
Set Cursor Position34
Set LCD Viewing Angle29
Set Line Terminator31
Set Operating Mode31
Set Tab Character Width30
Set Turn-Around Delay30
Sound Bell32
Write Display Variable34
Cursor
Cursor Type setting15
Display and Cursor Format control command30
Read Cursor Position control command34
Set Cursor Position control command34
D
Data Bits
Data Bits setting7
Set Communications Parameters control command 31
Display24
Display Viewing Angle setting6
Displaying Text from Predefined Messages27
Displaying Text from the Host Controller25
Displaying Text from the OIT's Keypad24
Using a Display Variable26
Display Variable26
Create Display Variable control command34
Read Display Variable control command33
Write Display Variable control command34
1010-0101, Rev 00
2MAP450D Operation Manual
E
Echo Back Text control command31
Extended Character Set24, 38
Inserting into a Predefined Message24
H
Handshaking
Enable Handshaking control command31
Handshaking setting8
Hardware9
Software9
I
Interactive Mode18
Set Operating Mode control command31
K
Keyboard
Key Click setting16
Keyboard control command30
Local Keyboard setting16
Keyboard Input Buffer
in Block Mode19
in Network Mode21
Request Keyboard Buffer Status control command33
Keyboard Output Buffer
Clear Output Buffer control command32
in Network Mode21
Poll OIT Buffer control command32
Retransmit Last Keyboard Buffer control command 32
L
Line Terminator
in Control Commands28
in Network Mode20
Line Terminator setting10
Set Line Terminator control command31
Linefeed
Append Linefeed setting11
Delayed Linefeed setting13
Display and Cursor Format control command30
Local Echo
Display Format control command30
in Interactive Mode18
Local Echo setting11
Local Setup Mode4
Keyboard control command30
Local Setup setting17
M
Messages, Predefined27
Display Message control command32
N
Network Mode20
Addressing21
Global Broadcast21
Keyboard Input Buffer21
Keyboard Output Buffer21
Network Address setting14
Sample Network Session22
Set Operating Mode control command31
O
Operating Modes18
Block Mode19
Interactive Mode18
Network Mode20
Operating Mode setting10
Set Operating Mode control command31
P
Parity
Parity setting7
Set Communications Parameters control command 31
Passwords setting17
S
Sound Bell control command32
Stop Bits
Set Communications Parameters control command 31
Stop Bits setting8