TN514400b-E
Instruction Manual
COMPACT TYPE
GAS ANALYZER
COMMUNICATION
FUNCTIONS (MODBUS)
TYPE: ZSV
INZ-TN514400b-E
CONTENTS
CONTENTS........................................................................................................................... i
1. COMMUNICATION FUNCTIONS .............................................................................. 1
1.1 General.................................................................................................................................1
2. SPECIFICATIONS ......................................................................................................... 2
2.1 Communication specifications.............................................................................................2
3. CONNECTION .............................................................................................................. 3
3.1 Terminal allocation (Input/output terminal CN12) ..............................................................3
3.2 Connection...........................................................................................................................3
4. SETTING OF COMMUNICATION CONDITION ....................................................... 4
4.1 Set items...............................................................................................................................4
4.2 Setting operation..................................................................................................................4
5. MODBUS COMMUNICATION PROTOCOL.............................................................. 5
5.1
5.2
5.3
5.4
5.5
5.6
General.................................................................................................................................5
Composition of message......................................................................................................6
Response of slave station.....................................................................................................8
Function code.......................................................................................................................9
Calculation of error check code (CRC-16) ........................................................................10
Transmission control procedure.........................................................................................12
6. DETAILS OF MESSAGE ............................................................................................ 14
6.1
6.2
6.3
6.4
Read-out of word data [Function code:03H] ...................................................................14
Read-out of read only word data [Function code:04H] ......................................................16
Write-in of word data (1 word) [Function code:06H].........................................................18
Write-in of continuous word data [Function code:10H] ..................................................19
7. ADDRESS MAP AND DATA FORMAT..................................................................... 20
7.1 Data format ........................................................................................................................20
7.2 Address map ......................................................................................................................22
7.3 Supplement to address map ...............................................................................................34
8. SAMPLE PROGRAM.................................................................................................. 35
9. TROUBLESHOOTING ............................................................................................... 39
INZ-TN514400a-E
i
1.
COMMUNICATION FUNCTIONS
1.1
General
• This instrument provides a communication function through RS-232 interface, which allows data
transmit to or receive from the host computer and other devices.
• The communication system is comprised of a master station and slave stations. One slave station
(this instrument) can be connected to one master station.
It is also possible to adapt the instrument to the environment of RS-485 interface using RS-232C ↔
RS-485 converter.
master station.
In this case, up to 31 of slave station (present instrument) can be connected per
• Because the master station can communicate with only one slave station at a time, the destination can
be identified by the "Station No" set for each slave station.
• In order that the master station and the slave station can communicate, the format of the
transmit/receive data must coincide. In this instrument, the format of the communication data is
determined by the MODBUS protocol.
[RS-232 ↔ RS-485 converter] (recommended article)
Type: KS-485 (non-isolated type)/SYSTEM SACOM Corp.
Type: SI-30A (isolated type)/SEKISUI ELECTRONICS Co., Ltd.
Personal
computer
RS-232
RS-232
RS-232 RS-485
Converter
RS-485
RS-232
RS-232 RS-485
Converter
Analyzer
INZ-TN514400a-E
Personal
computer
1
Analyzer
2.
SPECIFICATIONS
2.1
Communication specifications
Item
Specification
Electrical specification
Based on EIA RS-232C
Transmission system
2-wire, semi-duplicate
Synchronizing system
Start-stop synchronous system
Connection format
1:1
Number connectable units
1 unit (or 31 if RS-485 interface is used)
Transmission speed
9600bps
Data format
Data length
8 bits
Stop bit
1 bit
Parity
None
X flow control
None
Transmission code
HEX value (MODBUS RTU mode)
Error detection
CRC-16
Isolation
No isolation between transmission circuit and others
2
INZ-TN514400a-E
3.
CONNECTION
WARNING
For avoiding electric shock and malfunctions, do not turn on the power supply untill all wiring have
been completed.
3.1
3.2
Terminal allocation (Input/output terminal CN12)
Terminal number
Signal name
2
Recive Data
3
Transmit Data
5
Signal GND
Others
NC
Pin connection
1
6
5
9
Connection
As connecting cable, use a commercially available RS-232 reverse cable.
M aster
(PC, for ex.)
Com m unication
cable
Analyzer
<Rear view>
Communication connector
INZ-TN514400a-E
3
9-pin
D-Sub
(male)
4.
SETTING OF COMMUNICATION CONDITION
In order that the master station and instrument can correctly communicate, following settings are required.
• All communication condition settings of the master station are the same as those of instruments.
• All instruments connected on a line are set to "Station Nos. (STno)" which are different from each other.
(Any "Station No." is not shared by more than one instrument.)
4.1
Set items
The parameters to be set are shown in the following table.
Item
Transmission speed
Value at
delivery
4.2
Setting range
9600bps
Fixed (can not be changed)
Data length
8 bits
Fixed (can not be changed)
Stop bit
1 bit
Fixed (can not be changed)
Parity setting
None
Fixed (can not be changed)
Station No.
1
Set them by operating the front panel keys.
0 to 31
(0: Communication function stop)
Remarks
Set the same communication
condition to the master station
and all slave stations.
Set a different value to each
station.
Setting operation
Set the station No. on the analyzer maintenance mode display (see the instruction manual).
4
INZ-TN514400a-E
5.
MODBUS COMMUNICATION PROTOCOL
5.1
General
The communication system by the MODBUS protocol is that the communication is always started from
the master station and a slave station responds to the received message.
Transmission procedures is as shown below.
1) The master station sends a command message to a slave station.
2) The slave station checks that the station No. in the received message matches with the own
station No. or not.
3) If matched, the slave station executes the command and sends back the response message.
4) If mismatched, the slave station leaves the command message and wait for the next command
message.
a)
In case when the station No. in the received command message matches with the own slave
station No.
Master to slave
Command message
Slave to master
b)
Response message
Data on
the line
In case when the station No. in the received command message mismatches with the own
slave station No.
Master to slave
Slave to master
Command message
(Not respond)
Data on
the line
The master station can individually communicate with any one of slave stations connected on the same
line upon setting the station No. in the command message.
INZ-TN514400a-E
5
5.2
Composition of message
Command message and response message consist of 4 fields ; Station No., Function code, Data and
Error check code. And these are sent in this order.
Station No. (1 byte)
Function code (1 byte)
Data (2 to 133 bytes)
Error check code (CRC-16) (2 bytes)
Fig. 5-1
Composition of message
In the following, each field is explained.
(1)
Station No.
Station No. is the number specifying a slave station. Only a slave station that corresponds to a
value to which "Station No." is set on the analyzer maintenance mode display executes a
command.
(2)
Function code
This is a code to designate the function executed at a slave station.
For details, refer to section 5.4.
(3)
Data
Data are the data required for executing function codes.
function codes. For details, refer to chapter 6.
A register number is assigned to each data in the analyzer.
communication, designate the register number.
The composition of data varies with
For reading/writing the data by
Note that the register number transmitted on message is expressed as its relative address.
The relative address is calculated by the following expression.
Relative address = (The lower 4 digit of the Coil number or Register number ) – 1
For example, when the resister number designated by a function code is 40003,
Relative address
= (lower 4 digits of 40003) – 1
= 0002
is used on the message.
6
INZ-TN514400a-E
(4)
Error check code
This is the code to detect message errors (change in bit) in the signal transmission.
On the MODBUS protocol (RTU mode), CRC-16 (Cycric Redundancy Check) is applied.
For CRC calculation method, refer to section 5.5.
INZ-TN514400a-E
7
5.3
Response of slave station
(1)
Response for normal command
To a relevant message, the slave station creates and sends back a response message which
corresponds to the command message. The composition of message in this case is the same as
in section 5.2.
Contents of the data field depend on the function code.
(2)
For details, refer to Chapter 6.
Response for abnormal command
If contents of a command message have an abnormality (for example, non-actual function code is
designated) other than transmission error, the slave station does not execute that command but
creates and sends back a response message at error detection.
The composition of response message at error detection is as shown in Fig. 5-2.
for function code field is function code of command message plus 80H.
The value used
Table 5-1 gives error codes.
Station No.
Function code + 80H
Error code
Error check (CRC-16)
Fig. 5-2 Response message at error detection
Table 5-1 Error code
Error code
Contents
Description
01H
Function code error
Non-actual function code is designated.
Check for the function code.
02H
Address error for
coil or register
A relative address that cannot be used with the specified
function code is specified for the coil No. or the register No.
03H
Coil or register
quantity error
Because the designation of number is too much, the area
where register numbers do not exist is designated.
(3)
No response
Under any of the following items, the slave station takes no action of the command message and
sends back no response.
• A station number transmitted in the command message differs from the station number
specified to the slave station.
• A error check code is not matched, or a transmission error (parity error, etc.) is detected.
• The time interval between the composition data of the message becomes longer than the time
corresponding to 24 bits. (Refer to section 5.6 Transmission control procedure)
8
INZ-TN514400a-E
5.4
Function code
According to MODBUS protocol, register numbers are assigned by function codes.
Each function code acts on specific register number.
This correspondence is shown in Table 5-2, and the message length by function is shown in Table 5-3.
Table 5-2 Correspondence between function codes and objective address
Function code
No.
Register No.
Function
Object
No.
Contents
03H
Read-out
(continuously)
Holding register
4xxxx
Read-out/write-in word data
04H
Read-out
(continuously)
Input register
3xxxx
Read-out
06H
Write-in
Holding register
4xxxx
Read-out/write-in word data
10H
Write-in
(continuously)
Holding register
4xxxx
Read-out/write-in word data
word data
Table 5-3 Function code and message length
Function
code
Contents
Number of
designatable
data
Command message
[Unit : byte]
Response message
Minimum Maximum Minimum Maximum
03H
Read-out of word data
64 words
8
8
7
133
04H
Read-out of word data
(read-out only)
64 words
8
8
7
133
06H
Write-in of word data
1 word
8
8
8
8
10H
Write-in of continuous word data
64 words
11
137
8
8
INZ-TN514400a-E
9
5.5
Calculation of error check code (CRC-16)
CRC-16 is the 2-byte (16-bits) error check code.
of the data field are calculated.
From the top of the message (station No.) to the end
The slave station calculates the CRC of the received message, and does not respond if the calculated
CRC is different from the contents of the received CRC code.
The following shows the calculation procedure for CRC-16.
(a) Store FFFFH into 16 bit register (CRC register).
(b) Subject the 1st byte (8 bits) of transmit message and CRC register contents to an exclusive logical
summation (XOR), and store the result into the CRC register.
(c) Shift the CRC register contents 1 bit to the right.
Store 0 at MSB.
(d) If LSB before shifting is 0, do nothing.
If LSB before shifting is 1, subject it and A001H to XOR, and store the result into the CRC
register.
(e) Repeat the steps (c) and (d) 8 times (shift by 8 bits).
(f) Execute steps (b) to (e) for the next byte of the transmit message.
Likewise, successively repeat the steps to each byte of the transmit message.
(g) The CRC code that is retained is the value of CRC register that stands when the processing has
ended for latest byte (latest data except error code) of the transmit message.
(h) As error check code of the transmit message, store this CRC value in the order of lower 8 bits and
upper 8 bits.
Transmit message (ex.)
01H
06H
00H
05H
03H
E8H
99H
75H
Successively calculate data included here to
obtain CRC. In this case, CRC = 75H 99H.
Attach the error check code to
message upon interchanging the
upper and lower orders.
Figure 5-3 on the next page shows the flow of the CRC-16 calculation system.
10
INZ-TN514400a-E
Start
Explanation of variables
CR :CRC error check data (2 bytes)
I :Digits of calculation characters
in command message
J :Check on the number of times
of CR calculation
Set FFFFH (hexadecimal number) in CR.
Set 1 in I.
Exclusive logical sum (XOR) is executed
with CR and one character (1 byte) of the
I charactors, and its results is set in CR.
Set 1 in J.
Bit at right end
of CR is 1?
NO
YES
Shift CR to right by 1 bit, and A001H and
exclusive logical sum (XOR) are executed
and its result is set in CR.
Shift CR to right
by 1 bit.
Add 1 to J.
NO
Calculation (8 times) is
finished?
J>8
YES
Add 1 to I.
NO
Calculation of all characters is
completed?
I>All characters
YES
End
(Calculation is executed in the order of
command message station No., function
code and data.)
CR calculation result shall be added to
the last command message in the order
of LOW byte and HIGH byte.
Fig. 5-3 Flow of CRC-16 calculation
INZ-TN514400a-E
11
5.6
Transmission control procedure
(1)
Transmission procedure of master station
The master station must proceed to a communication upon conforming to the following items.
(1-1) Before sending a command message, provide 48 bits time or more vacant status.
(1-2) For sending, the interval between bytes of a command message is below 24 bits time.
(1-3) Within 24 bits time after sending a command message, the receiving status is posted.
(1-4) Provide 48 bits time or more vacant status between the end of response message reception
and beginning of next command message sending [same as in (1-1)].
(1-5) For ensuring the safety, make a confirmation of the response message and make an
arrangement so as to provide 3 times or more retries in case of no response, error
occurrence, etc.
Note) The values in the above definition are for marginal communications. For ensuring the
safety, it’s recommended the program of the master to work with safety factors of 2 to 3.
Concretely, it is advised to arrange the program for 9600 bps with 10 ms or more for
vacant status (1-1), and within 1 ms for byte interval (1-2) and changeover from sending
to receiving (1-3).
(2)
Description
1)
Detection of the message frame
The status on the line of the communication system is one of the 2 below.
(a) Vacant status (no data on line)
(b) Communication status (data is existing)
Instruments connected on the line are initially at a receiving status and monitoring the
line. When 24 bits time or more vacant status has appeared on the line, the end of
preceding frame is assumed and, within following 24 bits time, a receiving status is
posted. When data appears on the line, instruments receive it while 24 bits time or
more vacant status is detected again, and the end of that frame is assumed. I.e., data
which appeared on the line from the first 24 bits time or more vacant status to the next
24 bits time or more vacant status is fetched as one frame.
Therefore, one frame (command message) must be sent upon confirming the following.
2)
(1-1)
48 bits time or more vacant status precedes before the command message
sending.
(1-2)
Interval between bytes of 1 command message is smaller than 24 bits time.
Response of this instrument
After a frame detection (24 bits time or more vacant status), this instrument carries out
processing with that frame as a command message. If the command message is destined to
the own station, a response message is returned. Its processing time is 1 to 30 ms (depends
on contents of command message). After sending a command message, therefore, the
master station must observe the following.
(1-3)
Receiving status is posted within 24 bits time after sending a command message.
12
INZ-TN514400a-E
Space time of longer than 5ms is needed
(longer than 10ms is recommended)
Master station → Analyzer
POL1
POL2
1 to 30msec
Master station ← Analyzer
POL1 response data
Data on line
INZ-TN514400a-E
POL1
POL1 response data
13
POL2
6.
DETAILS OF MESSAGE
6.1
Read-out of word data
[Function code:03H]
Function code
Max. word number read-out in one message
Relative data address
Register No.
03H
64 words
0000H-004CH
40001-40077
(1)
Message composition
Command message composition (byte)
Response message composition (byte)
Station No.
Station No.
Function code
Function code
Read-out start No.
(relative address)
Read-out word
number
CRC data
Upper
Read-out byte number
Lower
Contents of the first Upper
word data
Lower
Upper
Lower
 1 to 64


Lower
Upper
Contents of the next Upper
word data
Lower
~
Contents of the last
word data
CRC data
Read-out word number × 2
~
Upper
Lower
Lower
Upper
* Arrangement of read-out word data
MSB
LSB
Upper byte of contents of the first word data
Lower byte of contents of the first word data
Upper byte of contents of the next word data
Lower byte of contents of the next word data
~
~
Upper byte of contents of the last word data
Lower byte of contents of the last word data
(2)
Function explanations
Word data of continuous word numbers from the read-out start No. can be read. Read-out word
data are transmitted from the slave station in the order of upper and lower bytes.
14
INZ-TN514400a-E
(3)
Message transmission (example)
The following shows an example of reading out from No. 1 station the setting CH1 (1st
component) range-3 zero and span calibration concentration.
Relative address of CH1 range-3 zero calibration concentration setting: 0004H
Data number: 02H
Command message composition (byte)
Response message composition (byte)
Station No.
01H
Station No.
01H
Function code
03H
Function code
03H
04H
Read-out start No.
(relative address)
Upper
00H
Read-out byte number
Lower
04H
Upper
00H
Read-out word
number
Upper
00H
Contents of the first
word data
Lower
00H
Lower
02H
Upper
03H
Lower
85H
Contents of the next
word data
Lower
E8H
Upper
CAH
Lower
FA H
Upper
8DH
CRC data
CRC data
* Meaning of read-out data
CH1 range-3 zero calibration concentration setting
(contents of first word data)
00
00H = 0
CH1 range-3 span calibration concentration setting
(contents of next word data)
03
E8H = 1000
Provided decimal point position = 0, measurement unit = 1,
Lower limit of concentration setting = 0 ppm
Higher limit of concentration setting =1000 ppm
Point
INZ-TN514400a-E
For handling of decimal point and unit, refer to Section 7.1.
15
6.2
Read-out of read only word data [Function code:04H]
Function
code
Max. word number read-out in
one message
04H
Relative data address
Register No.
Contents
0000H-00B7H
30001-30184
Measurement value and
status
03E8H-0441H
31001-31090
Fixed setting
64 words
(1)
Message composition
Command message composition (byte)
Response message composition (byte)
Station No.
Station No.
Function code
Function code
Read-out start No.
(relative address)
Read-out word
number
CRC data
Upper
Read-out byte number
Lower
Contents of the first
word data
Upper
Lower
Lower
Upper
Read-out word number × 2
Upper
Lower
Contents of the next
word data
Upper
Contents of the last
word data
Upper
~
~
Lower
Lower
CRC data
* Arrangement of read-out word data
MSB
Lower
Upper
LSB
Upper byte of contents of the first word data
Lower byte of contents of the first word data
Upper byte of contents of the next word data
Lower byte of contents of the next word data
~
Upper byte of contents of the last word data
~
Lower byte of contents of the last word data
(2)
Function explanations
Word data of continuous word numbers from the read-out start No. can be read. Read-out word
data are transmitted from the slave station in the order of upper and lower bytes.
16
INZ-TN514400a-E
(3)
Message transmission (example)
The following shows an example of reading out from No. 1 station the CH5 measurement
concentration, decimal point position and measurement unit.
Relative address of CH5 measurement concentration: 000CH
Data number: 03H
Command message composition (byte)
Response message composition (byte)
Station No.
01H
Station No.
01H
Function code
04H
Function code
04H
Upper
00H
Read-out byte number
06H
Lower
0CH
Upper
04H
Upper
00H
Contents of the first
word data
Lower
B0H
Lower
03H
Upper
00H
Lower
70H
Next word data
contents
Lower
02H
Upper
08H
Latest word data
contents
Upper
00H
Lower
00H
Lower
81H
Upper
0DH
Read-out start No.
(relative address)
Read-out word
number
CRC data
CRC data
* Meaning of read-out data
First word data contents
Next word data contents
Latest word data contents
04 B0H = 1200
00 02H = 2 (decimal point position)
00 00H = 0 (vol %)
In the above case, measurement concentration = 12.00 vol%
Point
INZ-TN514400a-E
For handling of decimal point and unit, refer to Section 7.1.
17
6.3
Write-in of word data (1 word) [Function code:06H]
(1)
Function code
Max. word number
write-in in one message
06H
1 word
Register No.
0000H-004CH
40001-40077
07D0H-07E0H
42001-42017
Message composition
Command message composition (byte)
Response message composition (byte)
Station No.
Station No.
Function code
Function code
Write-in designate
No. (relative
address)
Write-in word data
CRC data
(2)
Relative data address
Write-in
designate No.
(relative address)
Write-in word
data
Upper
Lower
Upper
Lower
Lower
CRC data
Upper
Lower
Upper
Lower
Lower
Upper
Function explanation
Designated word data is written in write-in designate No.
master station in the order of upper and lower bytes.
(3)
Upper
Write-in data are transmitted from
Message transmission (example)
The following shows an example of transmitting the “Brightness UP” key command to No.1
station.
Key operation command Relative address: 07D0H
Command message composition (byte)
Response message composition (byte)
Station No.
01H
Station No.
01H
Function code
06H
Function code
06H
Write-in designate
No. (relative
address)
Write-in word data
CRC data
Upper
07H
Lower
D0H
Upper
00H
Lower
40H
Lower
88H
Upper
B7H
Write-in designate
No. (relative
address)
“Brightness
UP” key
command
Write-in word data
CRC data
18
Upper
07H
Lower
D0H
Upper
00H
Lower
40H
Lower
88H
Upper
B7H
INZ-TN514400a-E
6.4
Write-in of continuous word data
[Function code:10H]
Function code
Max. word number write-in in one message
Relative data address
Register No.
10H
64 words
0000H-004CH
40001-40077
(1)
Message composition
Command message composition (byte)
Response message composition (byte)
Station No.
Station No.
Function code
Function code
Write-in start No.
(relative address)
Write-in word
number
Upper
Lower
Upper
Lower
Write-in byte number
First write-in word
data
Next write-in word
data
~
Last write-in word
data
CRC data
Write-in start No.
(relative address)
Write-in word
number

 1 to 64


 Write-in word number × 2

CRC data
Upper
Lower
Upper
Lower
Lower
Upper
Upper
Lower
Upper
Lower
Upper
~
Lower
Lower
Upper
* Arrangement of write-in word data
MSB
LSB
Upper byte of contents of the first word data
Lower byte of contents of the first word data
Upper byte of contents of the next word data
Lower byte of contents of the next word data
~
Upper byte of contents of the last word data
~
Lower byte of contents of the last word data
(2)
Function explanation
Word data of continuous word number is written from write-in start address. Write-in word data
are transmitted from master station in the order of upper and lower bytes.
INZ-TN514400a-E
19
7.
ADDRESS MAP AND DATA FORMAT
7.1
Data format
7.1.1
Transmission data format
The MODBUS protocol used in this instrument is RTU (Remote Terminal Unit) mode.
Transmitted data is "numeric value" and not ASCII code."
7.1.2
Handling of decimal point position and measurement unit
When transmitted, the calibration concentration setting, and measurement concentration data
have no decimal point nor measurement unit.
Calculate exact values of data upon point positioning as shown below.
(a) Calibration concentration setting (register No. 40001 to 40030)
You can know the point position for each CH (channel) and each range, and unit upon
reading in the decimal point position data (register No. 31036 to 31050), and the unit data
(register No. 31006 to 31020).
The decimal point position data has a value of 0, 1, 2 or 3.
by the following calculation.
You can obtain an exact value
Case 0: Calibration concentration setting data /1
Case 1: Calibration concentration setting data /10
Case 2: Calibration concentration setting data /100
Case 3: Calibration concentration setting data /1000
The unit data has a value of 0, 1, 2 or 3, that corresponds as follows.
Case 0: vol%
Case 1: ppm
Case 2: mg/m3
Case 3: g/m3
For example, if:
CH1 range-1 span calibration concentration setting (register No. 40002) = 5000,
CH1 range-1 decimal point position (register No. 31036) = 1, and
CH1 range-1 unit (register No. 31006) = 1,
the value is 500.0 ppm.
For writing-in, proceed in the reverse.
concentration setting.
To obtain 500.0 ppm, write 5000 as calibration
The decimal point position and unit are unchangeable because fixed to each CH and each
range.
20
INZ-TN514400a-E
(b) Measurement concentration (register No. 30001 to 30024)
The decimal point position and measurement unit for each concentration are stored in
registers following that of concentration, and can be known by reading them in.
The meaning of decimal point position data and measurement unit data values are the same
as in (a) above.
For example, if:
CH3 measurement concentration (register No. 30007) = 1270,
CH3 decimal point position (register No. 30008) = 2,
CH3 measurement unit (register No. 30009) = 0,
the value is 12.70 vol%
7.1.3
Handling at measurement data over-range
Even if the measurement data is at over-range, with "¯ ¯ ¯ ¯" displayed on the screen, the
concentration that stands then is transmitted as read-out measurement concentration.
INZ-TN514400a-E
21
7.2
Address map
For details of functions and settable ranges of different parameters, refer to the instruction manual for
the analyzer.
Word data [read-out/write-in]: Function code [03H, 06H, 10H]
Relative Register Data
address
No.
type
0000H
Menu mode
0001H
Memory contents
Read-out/write-in data
40001 Word CH1 range-1 zero calibration 0 to 9999
concentration
Decimal point
40002 Word CH1 range-1 span calibration position depends on
range
concentration
0002H
40003 Word CH1 range-2 zero calibration
concentration
0003H
40004 Word CH1 range-2 span calibration
concentration
0004H
40005 Word CH1 range-3 zero calibration
concentration
0005H
40006 Word CH1 range-3 span calibration
concentration
0006H
40007 Word CH2 range-1 zero calibration
concentration
0007H
40008 Word CH2 range-1 span calibration
concentration
0008H
40009 Word CH2 range-2 zero calibration
concentration
0009H
40010 Word CH2 range-2 span calibration
concentration
000AH
40011 Word CH2 range-3 zero calibration
concentration
000BH
40012 Word CH2 range-3 span calibration
concentration
000CH
40013 Word CH3 range-1 zero calibration
concentration
000DH
40014 Word CH3 range-1 span calibration
concentration
000EH
40015 Word CH3 range-2 zero calibration
concentration
000FH
40016 Word CH3 range-2 span calibration
concentration
0010H
40017 Word CH3 range-3 zero calibration
concentration
0011H
40018 Word CH3 range-3 span calibration
concentration
0012H
40019 Word CH4 range-1 zero calibration
concentration
0013H
40020 Word CH4 range-1 span calibration
concentration
0014H
40021 Word CH4 range-2 zero calibration
concentration
0015H
40022 Word CH4 range-2 span calibration
concentration
0016H
40023 Word CH4 range-3 zero calibration
concentration
0017H
40024 Word CH4 range-3 span calibration
concentration
Set item
1. Zero/span
calibration
“Calibration
Remarks
Note 1
Type
F/S
F/S
concentration value”
Note 1
F/S
F/S
Note 1
F/S
F/S
Note 1
F/S
F/S
Note 1
F/S
F/S
Note 1
F/S
F/S
Note 1
F/S
F/S
Note 1
F/S
F/S
Note 1
F/S
F/S
Note 1
F/S
F/S
Note 1
F/S
F/S
Note 1
F/S
F/S
22
INZ-TN514400a-E
Word data [read-out/write-in]: Function code [03H, 06H, 10H]
Relative Register Data
address
No.
type
0018H
Menu mode
0019H
Memory contents
Read-out/write-in data
40025 Word CH5 range-1 zero calibration 0 to 9999
concentration
Decimal point position
40026 Word CH5 range-1 span calibration depends on range
concentration
Set item
1. Zero/span
calibration
“Calibration
Remarks
Note 1
Type
F/S
F/S
concentration value”
F/S
001AH
40027 Word CH5 range-2 zero calibration
concentration
001BH
40028 Word CH5 range-2 span calibration
concentration
001CH
40029 Word CH5 range-3 zero calibration
concentration
001DH
40030 Word CH5 range-3 span calibration
concentration
001EH
40031 Word Calibration component
selection
ZSVF
0: “Wet Air, Dry” *(1)
1: “Wet N2, Dry”
ZSVS
0: “Air” *(1)
1: “Dry N2”
001FH
40032 Word CH1 zero calibration switch
0020H
40033 Word CH2 zero calibration switch
0021H
40034 Word CH3 zero calibration switch
0: Does not perform
calibration.
1: Performs calibration.
0022H
40035 Word CH4 zero calibration switch
F/S
0023H
40036 Word CH5 zero calibration switch
F/S
0024H
40037 Word CH1 span calibration state
0025H
40038 Word CH2 span calibration state
0026H
40039 Word CH3 span calibration state
0027H
40040 Word CH4 span calibration state
F/S
0028H
40041 Word CH5 span calibration state
F/S
0029H
40042 Word Zero gas feed time
“180 to 999” seconds
002AH
40043 Word Auto zero calibration switch
0: “OFF,” 1: “ON”
002BH
40044 Word Auto zero calibration cycle
“1 to 12” hours
002CH
40045 Word Substitution/purge time
Note 1
F/S
Note 1
F/S
F/S
0: Range “Single”
calibration
1: Range “Interlock”
calibration
1. Zero/span calibration
“Zero calibration
operation”
F/S
F/S
F/S
F/S
1. Zero/span
calibration
“Span calibration
operation”
F/S
F/S
F/S
2. Calibration
time/Calibration
cycle
“Setting for zero
calibration time/
cycle”
F/S
“30 to 300” seconds
3. Substitution/purge
setting
“Substitution/purge
time”
F/S
0: “Range value 1”
1: “Range value 2”
2: “Range value 3”
4. Changeover of range
“Measurement
range”
F/S
F
F
002DH
40046
Word CH1 range switching setting
002EH
40047
Word CH2 range switching setting
002FH
40048
Word CH3 range switching setting
0030H
40049
Word CH4 range switching setting
F/S
0031H
40050
Word CH5 range switching setting
F/S
0032H
40051
Word Draining time
“30 to 60” seconds
0033H
40052
Word Draining cycle
“1 to 8” hours
5. Drain
“Time/cycle setting”
F/S
F/S
F
F
Note 1: Register Nos. “40001, 40003, 40005, 40007, 40009, 40011, 40013, 40015, 40017, 40019, 40021,
40023, 40025, 40027, 40029” (Do not write the value other than “0000H” as zero calibration
concentration value for the ranges 1 to 3 of CH1 to CH5 [except for those of special specifications].)
INZ-TN514400a-E
23
Word data [read-out/write-in]: Function code [03H, 06H, 10H]
Maintenance mode
Parameter mode
Relative Register Data
address
No.
type
Memory contents
Set item
Setting for date/time
Remarks
Type
0034H
40053
Word Month setting
Month: “Jan. to Dec.”
0035H
40054
Word Day setting
Day: “1st to 31st”
F/S
0036H
40055
Word Hour setting
Hour: “0 to 23”
F/S
0037H
40056
Word Minute setting
Minute: “00 to 59”
F/S
0038H
40057
Word Key lock switch
0: “OFF,” 1: “ON”
Key lock
F/S
0039H
40058
Word Output hold switch
0: “OFF,” 1: “ON”
Output hold
F/S
003AH
40059
Word Display OFF switch
0: “OFF,” 1: “ON”
F/S
003BH
40060
Word Display OFF time cycle
“1 to 30” minutes
Display OFF time
setting
003CH
40061
Word 1st transfer average time
40062
Word 2nd transfer average time
2. Output average time
“Average time”
F/S
003DH
“1 to 4” hours or
“1 to 59” minutes
003EH
40063
Word 3rd transfer average time
003FH
40064
0040H
40065
Word 1st transfer average time unit 0: Hour
Word 2nd transfer average time unit 1: Minute
0041H
40066
Word 3rd transfer average time unit
0042H
40067
Word Oxygen conversion reference “0 to 19” %
value
5. Oxygen conversion
setting
F/S
0043H
40068
Word Moisture interference
adjustment value NOX
F/S
0044H
40069
Word Moisture interference
adjustment value SO2
6. Moisture
interference
adjustment
0045H
40070
Word Station No.
“1 to 31”
7. Transmission station
No.
F/S
0046H
40071
Word Response time 1
“1 to 60” seconds *(2)
8. Response time
F/S
0047H
40072
Word Response time 2
F/S
0048H
40073
Word Response time 3
F/S
0049H
40074
Word Response time 4
F/S
004AH
40075
Word Response time O2 meter
F/S
004BH
40076
Word Minus display selection
004CH
40077
Word Maintenance mode password “0000 to 9999”
10. Password setting
004DH
40078
Word Zero calibration before
0: Calibration “ON,”
1: Calibration “OFF”
Zero calibration
before measurement
0: Actual measured
value,
1: Fixed value
CO concentration
value
F/S
CO fixed
concentration value
F/S
Furnace temperature
value
F/S
measurement
Menu mode
Read-out/write-in data
004EH
40079
Word CP, CO measurement
condition
004FH
40080
40081
F/S
“Average hour and
minute”
F/S
F/S
F/S
“–9999 to 9999”
0: Minus display “ON” 9. Minus display setting
1: Minus display
“OFF”
Word CP, CO fixed concentration “10.0 to 40.0”
Word CP furnace temperature
F/S
F/S
value
0050H
F/S
“800 to 1000”
24
F/S
F/S
F/S
F
INZ-TN514400a-E
Word data [write-in only]: Function code [06H]
(Write one word at a time.)
Relative Register
address
No.
Data
type
Memory contents
Write-in data
Remarks
Type
07D0H
42001
Word
Key operation command
01H: MODE, 02H: Bottom, 04H: Side,
08H: ENT, 10H: ESC, 20H: MEAS,
40H: Brightness UP, 80H: Brightness DOWN
F/S
07D1H
42002
Word
Screen switching
1: Returns to measurement screen.
F/S
07D2H
42003
Word
Drain discharge
1: Drains drain pot.
2: Drains zero gas pot.
3: Drains in batch.
07D3H
42004
Word
Error cancel
1: Cancels error.
F/S
07D4H
42005
Word
Zero calibration
1: Performs zero calibration.
F/S
07D5H
42006
Word
O2 Air zero calibration
1: Performs O2 Air zero calibration.
F/S
07D6H
42007
Word
CH1 span calibration
1: Performs CH1 span calibration.
F/S
07D7H
42008
Word
CH2 span calibration
1: Performs CH2 span calibration.
F/S
07D8H
42009
Word
CH3 span calibration
1: Performs CH3 span calibration.
F/S
07D9H
42010
Word
CH4 span calibration
1: Performs CH4 span calibration.
F/S
07DAH
42011
Word
CH5 span calibration
1: Performs CH5 span calibration.
F/S
07DBH
42012
Word
Output average value reset
1: Resets average output value.
F/S
07DCH
42013
Word
Moisture interference adjustment
1: ALL, 2: RESET
F/S
07DDH
42014
Word
Error log file
1: Clears error log.
F/S
07DEH
42015
Use prohibited
07DFH
42016
Use prohibited
07E0H
42017
1: Resets main unit.
F/S
INZ-TN514400a-E
Word
Main unit reset
25
F
Word data [read-out only] : Function code [04 H]
Measurement value and status
Relative
address
Register
Data type
No.
Memory contents
Read-out data
Remarks
Type
0000H
30001
Word
CH1 concentration
0001H
30002
Word
CH1 decimal point position
F/S
0002H
30003
Word
CH1 measurement unit
0003H
30004
Word
CH2 concentration
0004H
30005
Word
CH2 decimal point position
0005H
30006
Word
CH2 measurement unit
0006H
30007
Word
CH3 concentration
0007H
30008
Word
CH3 decimal point position
0008H
30009
Word
CH3 measurement unit
F/S
0009H
30010
Word
CH4 concentration
F/S
000AH
30011
Word
CH4 decimal point position
Measurement unit: 0, 1, 2, 3
F/S
000BH
30012
Word
CH4 measurement unit
F/S
000CH
30013
Word
CH5 concentration
000DH
30014
Word
CH5 decimal point position
000EH
30015
Word
CH5 measurement unit
0: “vol%”
1: “ppm”
2: “mg/m3”
3: “g/m3”
000FH
30016
Word
CH6 concentration
F/S
0010H
30017
Word
CH6 decimal point position
F/S
Concentration: “-9999 to 9999”
(value corresponding to indication
without decimal point)
Decimal point position: 0, 1, 2, 3
0: “Concentration/1”
1: “Concentration/10”
2: “Concentration/100”
3: “Concentration/1000”
F/S
F/S
F/S
F/S
F/S
F/S
F/S
F/S
F/S
F/S
0011H
30018
Word
CH6 measurement unit
F/S
0012H
30019
Word
CH7 concentration
F/S
0013H
30020
Word
CH7 decimal point position
F/S
0014H
30021
Word
CH7 measurement unit
F/S
0015H
30022
Word
CH8 concentration
F/S
0016H
30023
Word
CH8 decimal point position
F/S
0017H
30024
Word
CH8 measurement unit
F/S
0018H
30025
Word
CH1 current range
0, 1, 2
F/S
0019H
30026
Word
CH2 current range
0: “Range 1”
F/S
001AH
30027
Word
CH3 current range
1: “Range 2”
F/S
001BH
30028
Word
CH4 current range
2: “Range 3”
001CH
30029
Word
CH5 current range
001DH
30030
Word
CH1 zero calibration in progress
0, 1
F/S
001EH
30031
Word
CH2 zero calibration in progress
0: “No”
F/S
001FH
30032
Word
CH3 zero calibration in progress
1: “Calibration in progress”
0020H
30033
Word
CH4 zero calibration in progress
F/S
0021H
30034
Word
CH5 zero calibration in progress
F/S
0022H
30035
Word
CH1 span calibration in progress
0, 1
F/S
0023H
30036
Word
CH2 span calibration in progress
0: “No”
F/S
0024H
30037
Word
CH3 span calibration in progress
1: “Calibration in progress”
F/S
0025H
30038
Word
CH4 span calibration in progress
F/S
0026H
30039
Word
CH5 span calibration in progress
F/S
F/S
F/S
26
F/S
INZ-TN514400a-E
Word data [read-out only] : Function code [04 H]
Measurement value and status
Relative
address
Register
Data type
No.
Memory contents
Read-out data
Remarks
Type
0027H
30040
Word
On standby
0, 1
F/S
0028H
30041
Word
Measurement in progress
0: “Without”
F/S
0029H
30042
Word
Purging in progress
1: “Operation in progress”
002AH
30043
Word
Substitution in progress
002BH
30044
Word
Auto draining in progress
F
002CH
30045
Word
Drain pot draining in progress
F
002DH
30046
Word
Zero gas pot draining in progress
F
002EH
30047
Word
Batch draining in progress
002FH
30048
Word
CH1 auto zero calibration in progress
0030H
30049
Word
CH1 hold in progress
0031H
30050
Word
CH2 auto zero calibration in progress
0032H
30051
Word
CH2 hold in progress
0033H
30052
Word
CH3 auto zero calibration in progress
0034H
30053
Word
CH3 hold in progress
0035H
30054
Word
CH4 auto zero calibration in progress
0036H
30055
Word
CH4 hold in progress
0037H
30056
Word
CH5 auto zero calibration in progress
0038H
30057
Word
CH5 hold in progress
0039H
30058
Word
Instrument error
Error: 0, 1
003AH
30059
Word
Calibration error
0: “Without,” 1: “With”
003BH
30060
Word
Latest error No.
−1 to 9 (Error No. −1)
F/S
003CH
30061
Word
Latest error MONTH
Jan. to Dec.
F/S
003DH
30062
Word
Latest error DAY
1st to 31st day
F/S
003EH
30063
Word
Latest error HOUR
0 to 23 hours
F/S
003FH
30064
Word
Latest error MIN
0 to 59 minutes
F/S
0040H
30065
Word
Latest error CH
0, 1, 2, 3, 4 (CH1 to CH5)
F/S
0041H
30066
Word
The previous error No.
Ditto
0042H
30067
Word
The previous error MONTH
F/S
0043H
30068
Word
The previous error DAY
F/S
0044H
30069
Word
The previous error HOUR
F/S
0045H
30070
Word
The previous error MIN
F/S
0046H
30071
Word
The previous error CH
F/S
0047H
30072
Word
The second previous error No.
0048H
30073
Word
The second previous error MONTH
F/S
0049H
30074
Word
The second previous error DAY
F/S
004AH
30075
Word
The second previous error HOUR
F/S
004BH
30076
Word
The second previous error MIN
F/S
004CH
30077
Word
The second previous error CH
F/S
INZ-TN514400a-E
F
F/S
F
Auto zero calibration: 0, 1
0: “Without”
1: “Calibration in progress”
F
F/S
F
F/S
F
F/S
F
F/S
F
F/S
Ditto
27
Error is
currently
produced.
F/S
F/S
F/S
F/S
Word data [read-out only] : Function code [04 H]
Measurement value and status
Relative
address
Register
Data type
No.
Memory contents
Read-out data
Remarks
Type
004DH
30078
Word
The third previous error No.
−1 to 9 (Error No. −1)
F/S
004EH
30079
Word
The third previous error MONTH
Jan. to Dec.
F/S
004FH
30080
Word
The third previous error DAY
1st to 31st day
F/S
0050H
30081
Word
The third previous error HOUR
0 to 23 hours
F/S
0051H
30082
Word
The third previous error MIN
0 to 59 minutes
F/S
0052H
30083
Word
The third previous error CH
0, 1, 2, 3, 4 (CH1 to CH5)
F/S
0053H
30084
Word
The fourth previous error No.
Ditto
F/S
0054H
30085
Word
The fourth previous error MONTH
F/S
0055H
30086
Word
The fourth previous error DAY
F/S
0056H
30087
Word
The fourth previous error HOUR
F/S
0057H
30088
Word
The fourth previous error MIN
F/S
0058H
30089
Word
The fourth previous error CH
0059H
30090
Word
The fifth previous error No.
005AH
30091
Word
The fifth previous error MONTH
F/S
005BH
30092
Word
The fifth previous error DAY
F/S
005CH
30093
Word
The fifth previous error HOUR
F/S
005DH
30094
Word
The fifth previous error MIN
F/S
005EH
30095
Word
The fifth previous error CH
F/S
005FH
30096
Word
The sixth previous error No.
0060H
30097
Word
The sixth previous error MONTH
F/S
0061H
30098
Word
The sixth previous error DAY
F/S
0062H
30099
Word
The sixth previous error HOUR
F/S
0063H
30100
Word
The sixth previous error MIN
F/S
0064H
30101
Word
The sixth previous error CH
F/S
0065H
30102
Word
The seventh previous error No.
0066H
30103
Word
The seventh previous error MONTH
F/S
0067H
30104
Word
The seventh previous error DAY
F/S
0068H
30105
Word
The seventh previous error HOUR
F/S
F/S
Ditto
Ditto
Ditto
F/S
F/S
F/S
0069H
30106
Word
The seventh previous error MIN
F/S
006AH
30107
Word
The seventh previous error CH
F/S
006BH
30108
Word
The eighth previous error No.
006CH
30109
Word
The eighth previous error MONTH
006DH
30110
Word
The eighth previous error DAY
F/S
006EH
30111
Word
The eighth previous error HOUR
F/S
006FH
30112
Word
The eighth previous error MIN
F/S
0070H
30113
Word
The eighth previous error CH
0071H
30114
Word
The ninth previous error No.
0072H
30115
Word
The ninth previous error MONTH
F/S
0073H
30116
Word
The ninth previous error DAY
F/S
0074H
30117
Word
The ninth previous error HOUR
F/S
0075H
30118
Word
The ninth previous error MIN
F/S
0076H
30119
Word
The ninth previous error CH
F/S
Ditto
F/S
F/S
F/S
Ditto
28
F/S
INZ-TN514400a-E
Word data [read-out only] : Function code [04 H]
Measurement value and status
Relative
address
Register
Data type
No.
Memory contents
Read-out data
Remarks
Type
0077H
30120
Word
The tenth previous error No.
−1 to 9 (Error No. −1)
F/S
0078H
30121
Word
The tenth previous error MONTH
Jan. to Dec.
F/S
0079H
30122
Word
The tenth previous error DAY
1st to 31st day
F/S
007AH
30123
Word
The tenth previous error HOUR
0 to 23 hours
F/S
007BH
30124
Word
The tenth previous error MIN
0 to 59 minutes
F/S
007CH
30125
Word
The tenth previous error CH
0, 1, 2, 3, 4 (CH1 to CH5)
F/S
007DH
30126
Word
The eleventh previous error No.
Ditto
F/S
007EH
30127
Word
The eleventh previous error MONTH
F/S
007FH
30128
Word
The eleventh previous error DAY
F/S
0080H
30129
Word
The eleventh previous error HOUR
F/S
0081H
30130
Word
The eleventh previous error MIN
F/S
0082H
30131
Word
The eleventh previous error CH
0083H
30132
Word
The twelfth previous error No.
0084H
30133
Word
The twelfth previous error MONTH
F/S
0085H
30134
Word
The twelfth previous error DAY
F/S
0086H
30135
Word
The twelfth previous error HOUR
F/S
0087H
30136
Word
The twelfth previous error MIN
F/S
0088H
30137
Word
The twelfth previous error CH
F/S
F/S
Ditto
Ditto
F/S
0089H
30138
Word
Oldest error No.
008AH
30139
Word
Oldest error MONTH
F/S
F/S
008BH
30140
Word
Oldest error DAY
F/S
008CH
30141
Word
Oldest error HOUR
F/S
008DH
30142
Word
Oldest error MIN
F/S
008EH
30143
Word
Oldest error CH
F/S
008FH
30144
Word
Error code No. 1
Error: 0, 1
0090H
30145
Word
Error code No. 2
0: “Without,” 1: “With”
0091H
30146
Word
Error code No. 3
0092H
30147
Word
CH1 error code No. 4
0093H
30148
Word
CH1 error code No. 5
F/S
0094H
30149
Word
CH1 error code No. 6
F/S
0095H
30150
Word
CH1 error code No. 7
F/S
0096H
30151
Word
CH1 error code No. 8
F/S
0097H
30152
Word
CH2 error code No. 4
0098H
30153
Word
CH2 error code No. 5
F/S
0099H
30154
Word
CH2 error code No. 6
F/S
009AH
30155
Word
CH2 error code No. 7
F/S
009BH
30156
Word
CH2 error code No. 8
F/S
009CH
30157
Word
CH3 error code No. 4
009DH
30158
Word
CH3 error code No. 5
F/S
009EH
30159
Word
CH3 error code No. 6
F/S
009FH
30160
Word
CH3 error code No. 7
F/S
00A0H
30161
Word
CH3 error code No. 8
F/S
INZ-TN514400a-E
F/S
F/S
F/S
Ditto
Ditto
Ditto
29
F/S
F/S
F/S
Word data [read-out only] : Function code [04 H]
Measurement value and status
Relative
address
Register
Data type
No.
Memory contents
Read-out data
Remarks
Type
00A1H
30162
Word
CH4 error code No. 4
Error: 0, 1
F/S
00A2H
30163
Word
CH4 error code No. 5
0: “Without,” 1: “With”
F/S
00A3H
30164
Word
CH4 error code No. 6
F/S
00A4H
30165
Word
CH4 error code No. 7
F/S
00A5H
30166
Word
CH4 error code No. 8
F/S
00A6H
30167
Word
CH5 error code No. 4
00A7H
30168
Word
CH5 error code No. 5
F/S
00A8H
30169
Word
CH5 error code No. 6
F/S
00A9H
30170
Word
CH5 error code No. 7
F/S
00AAH
30171
Word
CH5 error code No. 8
F/S
00ABH
30172
Do not use
00ACH
30173
Do not use
00ADH
30174
Do not use
00AEH
30175
Do not use
00AFH
30176
Do not use
00B0H
30177
Do not use
00B1H
30178
Do not use
00B2H
30179
Word
Sensor input value –1
00B3H
30180
Word
Sensor input value –2
F/S
00B4H
30181
Word
Sensor input value –3
F/S
00B5H
30182
Word
Sensor input value –4
F/S
00B6H
30183
Word
O2 sensor input value
F/S
00B7H
30184
Word
Temperature sensor input value
F/S
Ditto
0 to 65535
30
F/S
F/S
INZ-TN514400a-E
Word data [read-out only] : Fuction code[04H]
Fixed setting
Relative
address
Register
Data type
No.
Memory contents
Read-out data
Remarks
Type
03E8H
31001
Word
CH1 range numbers
03E9H
31002
Word
CH2 range numbers
03EAH
31003
Word
CH3 range numbers
03EBH
31004
Word
CH4 range numbers
03ECH
31005
Word
CH5 range numbers
03EDH
31006
Word
CH1 range 1 unit
03EEH
31007
Word
CH1 range 2 unit
03EFH
31008
Word
CH1 range 3 unit
03F0H
31009
Word
CH2 range 1 unit
03F1H
31010
Word
CH2 range 2 unit
F/S
03F2H
31011
Word
CH2 range 3 unit
F/S
03F3H
31012
Word
CH3 range 1 unit
F/S
03F4H
31013
Word
CH3 range 2 unit
F/S
03F5H
31014
Word
CH3 range 3 unit
F/S
03F6H
31015
Word
CH4 range 1 unit
F/S
03F7H
31016
Word
CH4 range 2 unit
F/S
03F8H
31017
Word
CH4 range 3 unit
F/S
Number of ranges: 0, 1, 2
0: “Range 1”
1: “Range 2”
2: “Range 3”
F/S
F/S
F/S
F/S
F/S
Range unit: 0, 1, 2
0: “vol%”
1: “ppm”
2: “mg/m3”
3: “g/m3”
F/S
F/S
F/S
F/S
03F9H
31018
Word
CH5 range 1 unit
F/S
03FAH
31019
Word
CH5 range 2 unit
F/S
03FBH
31020
Word
CH5 range 3 unit
F/S
03FCH
31021
Word
CH1 range 1 value
03FDH
31022
Word
CH1 range 2 value
F/S
03FEH
31023
Word
CH1 range 3 value
F/S
03FFH
31024
Word
CH2 range 1 value
F/S
0400H
31025
Word
CH2 range 2 value
F/S
0401H
31026
Word
CH2 range 3 value
F/S
0402H
31027
Word
CH3 range 1 value
F/S
0403H
31028
Word
CH3 range 2 value
F/S
0404H
31029
Word
CH3 range 3 value
F/S
0405H
31030
Word
CH4 range 1 value
F/S
0406H
31031
Word
CH4 range 2 value
F/S
0407H
31032
Word
CH4 range 3 value
F/S
0408H
31033
Word
CH5 range 1 value
F/S
0409H
31034
Word
CH5 range 2 value
F/S
040AH
31035
Word
CH5 range 3 value
040BH
31036
Word
CH1 range 1 decimal point position
040CH
31037
Word
CH1 range 2 decimal point position
040DH
31038
Word
CH1 range 3 decimal point position
040EH
31039
Word
CH2 range 1 decimal point position
040FH
31040
Word
CH2 range 2 decimal point position
F/S
0410H
31041
Word
CH2 range 3 decimal point position
F/S
INZ-TN514400a-E
Range value: 0000 to 9999
F/S
F/S
31
Decimal point position: 0, 1, 2, 3
0: “Nothing below decimal point”
1: “1 digit below decimal point”
2: “2 digits below decimal point”
3: “3 digits below decimal point”
F/S
F/S
F/S
F/S
Word data [read-out only] : Fuction code[04H]
Fixed setting
Relative
address
Register
Data type
No.
Memory contents
Read-out data
Remarks
Type
0411H
31042
Word
CH3 range 1 decimal point position
Decimal point position: 0, 1, 2, 3
F/S
0412H
31043
Word
CH3 range 2 decimal point position
F/S
0413H
31044
Word
CH3 range 3 decimal point position
0414H
31045
Word
CH4 range 1 decimal point position
0415H
31046
Word
CH4 range 2 decimal point position
0: “Nothing below decimal point”
1: “1 digit below decimal point”
2: “2 digits below decimal point”
3: “3 digits below decimal point”
0416H
31047
Word
CH4 range 3 decimal point position
F/S
0417H
31048
Word
CH5 range 3 decimal point position
F/S
0418H
31049
Word
CH5 range 3 decimal point position
F/S
0419H
31050
Word
CH5 range 3 decimal point position
F/S
041AH
31051
Word
CH1 X1
041BH
31052
Word
CH2 X1
F/S
041CH
31053
Word
CH3 X1
F/S
041DH
31054
Word
CH4 X1
F/S
041EH
31055
Word
CH5 X1
F/S
041FH
31056
Word
CH1 X2
0420H
31057
Word
CH2 X2
F/S
0421H
31058
Word
CH3 X2
F/S
0422H
31059
Word
CH4 X2
F/S
0423H
31060
Word
CH5 X2
F/S
0424H
31061
Word
CH1 X3
0425H
31062
Word
CH2 X3
F/S
0426H
31063
Word
CH3 X3
F/S
0427H
31064
Word
CH4 X3
F/S
0428H
31065
Word
CH5 X3
F/S
Concentration calculation X1
Concentration calculation X2
Concentration calculation X3
Concentration calculation X4
F/S
F/S
F/S
F/S
F/S
F/S
0429H
31066
Word
CH1 X4
042AH
31067
Word
CH2 X4
F/S
F/S
042BH
31068
Word
CH3 X4
F/S
042CH
31069
Word
CH4 X4
F/S
042DH
31070
Word
CH5 X4
F/S
042EH
31071
Word
CH1 X5
042FH
31072
Word
CH2 X5
F/S
0430H
31073
Word
CH3 X5
F/S
0431H
31074
Word
CH4 X5
F/S
0432H
31075
Word
CH5 X5
F/S
0433H
31076
Word
CH1 X6
0434H
31077
Word
CH2 X6
F/S
0435H
31078
Word
CH3 X6
F/S
0436H
31079
Word
CH4 X6
F/S
0437H
31080
Word
CH5 X6
F/S
Concentration calculation X5
Concentration calculation X6
32
F/S
F/S
INZ-TN514400a-E
Word data [read-out only] : Fuction code[04H]
Fixed setting
Relative
address
Register
Data type
No.
Memory contents
Read-out data
Remarks
Type
0438H
31081
Word
CH1 X7
0439H
31082
Word
CH2 X7
F/S
F/S
043AH
31083
Word
CH3 X7
F/S
043BH
31084
Word
CH4 X7
F/S
043CH
31085
Word
CH5 X7
F/S
043DH
31086
Word
CH1 X8
043EH
31087
Word
CH2 X8
F/S
043FH
31088
Word
CH3 X8
F/S
0440H
31089
Word
CH4 X8
F/S
0441H
31090
Word
CH5 X8
F/S
Concentration calculation X7
Concentration calculation X8
F/S
Note 2) Analyzer type F/S stands for; F = ZSVF type, S = ZSVS type. When data of either F or S is displayed
alone, the other analyzer would not be used.
Note 3) For details of *1 and *2, please refer to section “7.3 Supplement” to address map.
INZ-TN514400a-E
33
7.3
Supplement to address map
*1
Register No. 40031 (calibration component selection)
The following table shows the correspondence between the selected components and the gases
represented by them.
1) ZSVF
Wet Air, Dry
Zero gas containing moisture (atmosphere),
Span gas not containing moisture
Wet N2, Dry
Zero gas containing moisture (N2 gas),
Span gas not containing moisture
2) ZSVS
*2
Air
Zero gas (atmosphere), Span gas
Dry N2
Calibration gas not containing moisture.
Zero gas (N2 gas), Span gas
Register No. 40071 to 40074 (Response time 1 to 4)
40075 (Response time O2 meter)
The following table lists the signals corresponding to respond time 1 to 4 and O2 meter.
Response time 1
1st component detector signal
Response time 2
2nd component detector signal
Response time 3
3rd component detector signal
Response time 4
4th component detector signal
Response time O2
O2 sensor signal
34
INZ-TN514400a-E
8.
SAMPLE PROGRAM
This chapter concerns data read-out/write-in sample program which operates on N88-Japanese BASIC (*2) for
PC-9801 (*1) or compatible PCs.
Note that the program shown here is for reference for you to create a program and not for guaranteeing all
actions.
Before executing the program, make sure of the communication conditions in the following procedure.
• Communication speed (baud rate):
Match the conditions with this instrument using SWITCH command and SPEED command of MS-DOS (*3).
For SWITCH command and SPEED command, refer to the reference manual of MS-DOS.
• Data length, stop bits and parity:
Set in this program. Match the conditions with this instrument.
*1 PC-9801 series are products of NEC Corporation.
*2 N88-Japanese BASIC is a registered trade mark of NEC Corporation.
*3 MS-DOS is a registered trade mark of Microsoft Corporation.
INZ-TN514400a-E
35
(a) Example of data read-out
Operation: Read-out CH1 measurement concentration value.
(Continuous word read-out from read-out only area)
Used function code
: 04H
Read-out start register No. : 30001
Read-out word number
:3
1000 '------------------------------------------------------1010 '
READ CONTINUOUS WORDS
SAMPLE PROGRAM
1020 '------------------------------------------------------1030 '
1040 ' Transmission speed = 9600 bps (selected with SPEED command and SWITCH command of MS-DOS)
1050 '
1060 CLS
1070 DIM CC(255)
1080 '
1100 '-------------- Send data setting ----------------------1110 CC(1)=&H01
'Station No.
= 1
1120 CC(2)=&H04
'Function code = 04H
1130 CC(3)=&H00
'Upper byte of relative address(0000H) of resister No.30001
1140 CC(4)=&H00
'Lower byte of relative address(0000H) of resister No.30001
1150 CC(5)=&H00
'Upper byte of read-out word data(0003H)
1160 CC(6)=&H03
'Lower byte of read-out word data(0003H)
1170 COUNT=6
1200 '
1210 '------------- CRC code calculation of send data -------------1220 GOSUB *CRC.CALC
1230 CC(7)=CRC.L
'Lower byte of CRC calculation result → Upper byte in message
1240 CC(8)=CRC.H
'Upper byte of CRC calculation result → Lower byte in message
1250 COUNT=COUNT+2
1300 '
1310 '------------- Send data ----------------------------1320 PRINT " Sending data > ";
1330 OPEN "COM1:N81NN" AS #1
' No parity ・・・ "N81NN""
1340
1350
1360 FOR I=1 TO COUNT
1370
PRINT #1,CHR$(CC(I));
1380
PRINT RIGHT$("0"+HEX$(CC(I)),2);" "; 'Displaying on screen
'Writing in transmission port
1390 NEXT I
1400 '
1410 FOR I=O TO 12000 :NEXT I
' Interval time
1500 '
1510 '------------- Data receive ----------------------------
36
INZ-TN514400a-E
1520 PRINT
1530 LENGTH=LOC(1)
'Number of data in receiving buffer
1540 IF LENGTH=0 THEN PRINT "No answer" :END
1550 PRINT " Receiving data < ";
1560 FOR I=1 TO LENGTH
1570
X$=INPUT$(1,#1)
'Taking data from receiving buffer
1580
CC(I)=ASC(X$)
'Digitizing and storing
1590
PRINT RIGHT$("0"+HEX$(CC(I)),2);" "; 'Displaying on screen
1600 NEXT I
1610 CLOSE #1
1620 COUNT=LENGTH-2
1630 GOSUB *CRC.CALC
1700 '
1710 '------------- Transmission error check ----------------------1720 PRINT
1730 CRC.L$=RIGHT$("0"+HEX$(CRC.L),2)
1740 CRC.H$=RIGHT$("0"+HEX$(CRC.H),2)
1750 PRINT "CRC calculation = ";CRC.L$;" ";CRC.H$
1760 IF CC(LENGTH-1)<>CRC.L THEN GOTO *ER.MESSAGE
1770 IF CC(LENGTH)<>CRC.H THEN GOTO *ER.MESSAGE
1780 GOTO *PRT.RESULT
1790 *ER.MESSAGE
1800 PRINT "Communication error"
1810 END
1900 '
1910 '------------- Display of result --------------------------1920 *PRT.RESULT
1930
1940 PRINT
1950 VALUE=HEX$(CC(4))+RIGHT$("0"+HEX$(CC(5)),2)
'2byte → 1word
1960 DE$=HEX$(CC(6))+RIGHT$("0"+HEX$(CC(7)),2)
'2byte → 1word
1970 UN$=HEX$(CC(8))+RIGHT$("0"+HEX$(CC(9)),2)
'2byte → 1word
1980
1990 Select Case Val("&H"+DE$)
2000
Case 0
2010
2020
CONC=Val("&H"+Value$)/1
Case 1
2030
2040
CONC=Val("&H"+Value$)/10
Case 2
2050
2060
CONC=Val("&H"+Value$)/100
Case 3
2070
CONC=Val("&H"+Value$)/1000
2080 End Select
2090
2100 Select Case Val("&H"+UN$)
2110
2120
2130
2140
2150
2160
INZ-TN514400a-E
Case 0
UNIT="vol%"
Case 1
UNIT="ppm"
Case 2
UNIT="mg/m3"
37
2170
Case 3
2180
UNIT="g/m3"
2190 End Select
2200
2210 Print "CH1 measurement concentration =";CONC;UNIT
2220
2230 END
3000 '
3010 '------------ CRC calculation -----------------------------3020 *CRC.CALC
' For contents, refer to CRC calculation flow chart
3030 CR=&HFFFF
3040 FOR I=1 TO COUNT
3050
CR=CR XOR CC(I)
3060
FOR J=1 TO 8
3070
CT=CR AND &H1
3080
IF CR<0 THEN CH=1 ELSE CH=0:GOTO *CRC.CALC.10
3090
3100
CR=CR AND &H7FFF
*CRC.CALC.10
3110
CR=INT(CR/2)
3120
IF CH=1 THEN CR=CR OR &H4000
3130
IF CT=1 THEN CR=CR XOR &HA001
3140
NEXT J
3150 NEXT I
3160 CRC.L=CR AND &HFF
' Lower byte of CRC calculation
3170 CRC.H=((CR AND &HFF00)/256 AND &HFF)
' Upper byte of CRC calculation
3180 RETURN
38
INZ-TN514400a-E
9.
TROUBLESHOOTING
If the communication is unavailable, check the following items.
…
…
…
…
Whether all devices related to communication are turned on.
Whether connections are correct.
Whether the number of connected instruments and connection distance are as specified
Whether communication conditions coincide between the master station (host computer) and slave
stations (instrument)
… Transmission speed : 9600bps
… Data length
: 8 bits
… Stop bit
: 1 bit
… Parity
: None
…
…
Whether send/receive signal timing conforms to Section 5.6 in this manual.
Whether the station No. designated as send destination by the master station coincides with the station
No. of the connected instrument.
Whether more than one instrument connected on the same transmission line shares the same station
No.
…
INZ-TN514400a-E
39
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement