United Kingdom:One Omega Drive, River Bend Technology Centre
ISO 9002 Cert i f i e dNorthbank, Irlam, Manchester
M44 5EX, United Kingdom
Tel: +44 (0) 161 777-6611FAX: +44 (0) 161 777-6622
Toll Free in United Kingdom: 0800-488-488
e-mail: info@omega.co.uk
It is the policy of OMEGA to comply with all worldwide safety and EMC/EMI regulations that
a p p l y. OMEGA is constantly pursuing certification of its products to the European New Appro a c h
D i rectives. OMEGA will add the CE mark to every appropriate device upon cert i f i c a t i o n .
The information contained in this document is believed to be correct, but OMEGA Engineering, Inc. accepts
no liability for any errors it contains, and reserves the right to alter specifications without notice.
WARNING: These products are not designed for use in, and should not be used for, patient-connected applications.
This Instruction Manual describes the option RS-422-A for the RD260A pen and dot
printing recorder.
For details concerning the operation of this recorder, see the instruction manual.
NOTES• OMEGA reserves the right to change this manual at any time without notice.
• If you find any ambiguities or errors in this manual, please inform OMEGA
• PC 9801 is a registered trademark of NEC Corporation.
• IBM is a registered trademark of International Business Machines Corporation.
6.2 How to Request for Error Message Output................................................... 6 - 2
6.3 Timing of Resetting Error Status....................................................................... 6 - 2
7SAMPLE PROGRAMS
7.1 Sample Programs for NEC PC 9801............................................................... 7 - 1
7.1.1 Program to Read Information on Unit and Decimal Point from the recorder,
Display on Screen and Write to Disc (Dot-printing model) ................................. 7 - 1
7.1.2 Program to Output Measured Data (ASCII code) from the recorder and
Write to Disc (Dot-printing model) ...................................................................... 7 - 1
7.1.3 Program to Output Measured Data (Binary code) from the recorder and
Write to Disc (Dot-printing model) ...................................................................... 7 - 2
7.2 Sample Programs for YEWMAC....................................................................... 7 - 3
7.2.1 Program to Read Information on Unit and Decimal Point from the recorder
and Display on Screen (Dot-printing model) ...................................................... 7 - 3
7.2.2 Program to Output Measured Data (ASCII code) from the recorder
and Display on Screen (Dot-printing model) ...................................................... 7 - 3
7.2.3 Program to Output Measured Data (Binary code) from the recorder
and Display on Screen (Dot-printing model) ...................................................... 7 - 4
7.3 Sample Programs for IBM PC............................................................................ 7 - 5
7.3.1 Program to Read Information on Unit and Decimal Point from the recorder,
Display on Screen and Write to Disc (Dot-printing model) ................................. 7 - 5
7.3.2 Program to Output Measured Data (ASCII code) from the recorder and
Write to Disc (Dot-printing model) ...................................................................... 7 - 5
7.3.3 Program to Output Measured Data (Binary code) from the recorder and
Write to Disc (Dot-printing model) ...................................................................... 7 - 6
3
1.1 Interface Functions
1
INSTALLATION OF RS-422-A INTERFACE
The -S4 option includes EIA (Electronic Industries Association) RS-422-A communications interface to output measured values and change settting parameters. However, this
interface does not include operations of the power switch and chart feed. Setting of SET
UP mode can not be controlled.
1.1 Interface Functions
Communication system:4 wire half-duplex multi-drop connection
1:n (host computer: this recorder)
n=1 to 16
Start-stop system
Transmission speeds:75, 150, 300, 600, 1200, 2400, 4800 and 9600
bits/second
Start bit:1 bit
Stop bit:1 or 2 bits
Parity:Even, odd or no parity
Word length:7 or 8 bits
Electrical signal characteristics:EIA-standard electrical characteristics for the
interchange signals and associated circuitry.
Functional isolation.
Communication distance:Up to 500 meter (between an isolated line converter
or an isolated computer and this recorder)
1 INSTALLATION OF RS-422-A INTERFACE
1 - 1
1.2 Interface Terminal
1.2.1 Terminal Arrangement
SD ASD BSG G(Signal Ground)
WARNING
1.2.2 Cable Termination
RD A
Connect RD to TD of computer,
and connect SD to RD of computer.
RS-422-A Indication
Option Terminal Block
Figure 1.1 Terminal Arrangement
RD BFG G(Frame Ground)
There is the power supply terminal near the interface terminal.
To prevent an electric shock, ensure the main power supply is turned OFF.
Shield potential
RS-422-A Terminals
GND
SD A
SD B
WARNING
1 - 2
RD B
RD A
Used terminal screws:
ISO M4, length 6 mm
Figure 1.2 Cable Termination
It is recommended that “crimp on” lugs
(for 4 mm screws) with insulation sleeves
be used for leadwire ends.
There is the power supply terminal near the interface terminal.
To prevent an electric shock, ensure the main power supply is turned OFF.
1.3 Communication Wiring
If the host (PC) is equipped with a RS-422-A interface, this recorder can be connected
directly.
If the host (PC) is equipped with a RS-232-C interface, this recorder can be connected
using a converter which has fail safe function (SHARP Z-101HE or equivalent).
Shown below are two wiring examples, which are same except for the case-shielding.
If there will be a connection between other panels, wiring should be done as shown in
figure b.
Personal
Computer
RS-232-C
a
Recorder
TD (–)
*
R
RD A
TD (+)
RD (–)
SD A
RD B
RD (+)
SHIELD
SD B
FG G
SG G
Converter
Z-101HE
(SHARP)
RD A
RD B
SD A
SD B
FG G
SG G
1.3 Communication Wiring
*
R
SD A
SD B
RD A
RD B
FG G
SG G
1 INSTALLATION OF RS-422-A INTERFACE
Personal
Computer
RS-232-C
#1
Converter
Z-101HE
RD (+)
SHIELD
(SHARP)
TD (–)
TD (+)
RD (–)
*
R
#2
b
*
R
Recorder
*: R in figure 1.3 indicates a terminal resistance. R=100 , 1/2W min (adjust according to the impedance).
The converter is of the inverter type. The + and – polarity depends on the type of converter.
Figure 1.3 Communication Wiring
RD A
RD B
#1
SD A
SD B
FG G
SG G
RD A
RD B
#2
SD A
SD B
FG G
SG G
In case of wiring as shown in figure a, use two pairs of 24AWG (minimum) twisted
shielded cables or equivalent.
In case of wiring as shown in figure b, use three pairs of 24AWG (minimum) twisted
shielded cables or equivalent. One pair is used for SG in case of figure b.
(Characteristic impedance: 100 , capacitance 50pF/m)
#n(n 16)
SD A
SD B
RD A
RD B
SG G
#n(n 16)
FG G
WARNING
Keep the terminated unshielded section to a minimum and clear of this recorder ground
line.
There is the power supply terminal near the interface terminal.
To prevent an electric shock, ensure the main power supply is turned OFF.
1 - 3
1.4 Data Configuration
The relation between the signal and the potential of the RS-422-A terminals is as
follows:A<B :1
1.4.1 Start-Stop Communication
The RS-422-A interface communicates with the start-stop system. The start-stop system
first adds the start bit to the head and then in turn adds the data bits (7 to 8 bits), parity
bit and stop bit(s) in every transmission of one character (see figure 1.4). See section 1.5
for the address, communication (baud) rate, data length, parity bit, and stop bit(s)
settings.
The start bit is automatically added and no setting is necessary.
Idle status
of the line
1
A>B :0
Data bits (7 to 8 bits)
one character
Restoring the line to the
idle status (broken line)
or start bit of the next
new data (solid line)
1.4.2 Text
0
Start bit
Parity bit: odd,
even or not used
Figure 1.4 Start-Stop System for One Character
Stop bit
1
1 or 2
Communication data usually takes the form of more than one character to which a
terminator is added. This is called ‘text’. See also figure 1.5.
A B C D E CR LF
one characterterminator
one text
Figure 1.5 Structure of Text
The RS-422-A interface identifies a text by regarding the reception of a terminator as
the end of text. See also figure 1.6.
identifies text 1identifies text 2
1 - 4
A B C CR LF D E F G CR LF
text 1 text 2
Figure 1.6 Example of Two Texts, Where the Terminator is CR-LF
NOTEThis recorder identifies text by regarding ‘LF’ or ‘;’ as the terminator when receiving
the data (and will send CR and LF as the terminator).
However, only CR + LF is usable as the terminator for open command (ESC O) and
close command (ESC C).
As in the example shown in figure 1.6, when CR and LF are used as the terminator, CR
is ignored. Therefore, when communication is performed with a PC, the terminator LF
might not be sent. Exercise care.
1.4.3 Input Buffer
1.4.4 Buffer Overflow
1.4 Data Configuration
The input buffer takes the form of rotary buffer (capacity: 256bytes). The rotary buffer
outputs a text on the first-in first-out basis while storing data in turn. It is not necessary
for the user to be aware of in the program, however take care to prevent buffer overflow. A merit of the rotary buffer is that it can flexibly cope with more than one text
being sent contiguously because of low loss against variable text length.
As described before, the input buffer is necessary for data communication. The capacity, however, is limited (256 bytes for this recorder). Thus, in the receiver,
the buffer capacity may become shorted if vast data is sent in a short time.
These impair data communications (buffer overflow).
To prevent buffer overflow, it is recommended to confirm the status of the recorder
using the ESC S command just after commands have been sent (from the PC). See
subsection 2.4.2.
Note that you cannot send an ESC S command after having sent an LF or FM command.
After the recorder receives the ESC S command, it will output its status to the PC.
Actually, the recorder will store the ESC S command in the input buffer and this
command will be read from this buffer. Then the status will be output to the PC.
If the computer sends other commands before the status of the recorder has been
receiveid, the input buffer will not be empty (the ESC S command will be still in there),
which means the recorder cannot receive other commands yet.
1 INSTALLATION OF RS-422-A INTERFACE
Figure 1.7 Rotary Buffer
start 1
text 1
end 1
start 2
text 2
end 2
text 3 start 3
end 3
1 - 5
1.5 How to Set the RS-422-A Interface Communications
1Remove the recorder packing material as described 1.2.2 in the Instruction Manual of
this recorder and remove the lock screw.
2Enter the SET UP mode by turning ‘ON’ the power while pressing the [CH UP] (
[ENT] key.
3Use the [ ] key to select the display ‘’. Press the [ENT] key.
4Set the RS-422-A address (possibilities are from 01 to 16) using the [ ] key.
The initial value is ‘01’. Press the [ENT] key.
5Select the transmission speed (baud rate). The speed is selcetable from 75, 150, 300,
600, 1200, 2400, 4800 and 9600 bits/second using the [ ] key. After selection, press
the [ENT] key. The initial value is 9600 bps.
6Select the data length. The length is selectable from (7 bits) or (8
bits) using the [ ] key. After selection, press the [ENT] key. The initial value is 8 bits.
7Select the parity bit. This bit is selectable from , or using the
[ ] key. After selection, press the [ENT] key. The initial value is .
8Select the number of stop bits. This is selectable from (1 bits) or (2
bits) usig the [ ] key. After selection, press the [ENT] key. The initial value is 1 bit.
The display ‘’ will appear. You can now adjust other settings in the SET UP
mode, by using the [ ] key.
Before leaving the SET UP mode, you have to store your new settings. Press the [ ]
key until the display ‘’ appears.
Press the [ENT] key. Select ‘’ to keep your new settings or ‘’
and press the [ENT] key. After a few seconds, the OPERATION mode will appear.
1 - 6
2 RECEIVING FUNCTIONS
This chapter describes program set commands and program control commands. Remember first to open a device by the ESC O command before the set or control commands can be sent.
2.1 Program Set Commands
2.1 Program Set Commands
Commands are represented by ASCII codes and divided into an identifier, parameters,
delimiters and a terminator.
Example: SA02, 1, ON, L, 1000, ON, I04terminator
parameter
identifier
identifier
• Defined by two alphabetical, capital characters
parameter
• Parameters are separated by a delimiter (comma)
• Numeric data are displayed by integers (e.g. +20, –240)
• When parameters are numeric, the effective setting ranges depend
on these parameters
• Spaces preceding and following a parameter, or a space within a
parameter are ignored.
• Parameters which do not need to be changed can be omitted.
Delimiters, however, can not be omitted. (e.g. SA02, , ON: level
number of alarm is unchanged)
• A string of delimiters at the end of a command/parameter string may be
omitted (see example below).
E.g. SA02, 1, ON, L, , , can be omitted
• The length of the following parameters is fixed. If the length differs,
syntax errors will occur.
- Date and timeYY/MM/DD (eight characters)
HH:MM:SS (eight characters)
- ChannelCC (two characters, e.g. channel 1 must be entered
as 01)
terminator
A command ends with one of the following terminators:
CR + LF
LF
; (semicolon)
When using the ESC O or ESC C command, only the CR + LF terminator
is valid.
2 RECEIVING FUNCTIONS
2 - 1
Loading...
+ 28 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.