PHR - Communication Functions (RS485-Ethernet)(TN514079d-E)

PHR - Communication Functions (RS485-Ethernet)(TN514079d-E)
Instruction Manual
PAPERLESS RECORDER
COMMUNICATION
FUNCTIONS
(RS-485 MODBUS/Ethernet)
TYPE: PHR
INP-TN514079d-E
Note: MODBUS® is the trade mark or registered trade mark of AEG Schneider Automation International.
Note: GW-BASIC, Windows 98, MS-DOS and Internet Exploer are the trade marek or registered trademarks of
Microsoft Corporation.
NOTICE
1. Exemption items from responsibility
The contents of this document may be changed in the future without prior notice.
We paid the utmost care for the accuracy of the contents. However, we are not liable for direct and
indirect damages resulting from incorrect descriptions, omission of information, and use of
information in this document.
CONTENTS
1.
COMMUNICATION FUNCTIONS .....................................................................................................1
1.1 General ...............................................................................................................................................1
1.2 Overview of MODBUS slave communication function (RS-485 interface) ......................................1
1.3 Overview of Ethernet communication functions................................................................................2
2.
SPECIFICATIONS ...............................................................................................................................3
2.1 Communication Specifications...........................................................................................................3
3.
CONNECTION.....................................................................................................................................4
3.1 Communication Terminal Allocation.................................................................................................4
3.2 Wiring.................................................................................................................................................5
4.
SETTING OF COMMUNICATION CONDITION .....................................................................................6
4.1 Set Items .............................................................................................................................................6
4.2 Setting Operation Method ..................................................................................................................7
5.
MODBUS COMMUNICATION PROTOCOL ....................................................................................8
General ...............................................................................................................................................8
Composition of Message ....................................................................................................................9
Response of Slave Station ................................................................................................................10
Function Code ..................................................................................................................................11
Calculation of Error Check Code (CRC-16) ....................................................................................12
Transmission Control Procedure ......................................................................................................13
FIX Processing (Cautions in data write)...........................................................................................15
5.1
5.2
5.3
5.4
5.5
5.6
5.7
6.
DETAILS OF MESSAGE...................................................................................................................16
6.1 Read-out of Word Data [Function code:03H] ...................................................................................16
6.2 Read-out of Read-out Only Word Data [Function code:04H]...........................................................18
6.3 Write-in of Continuous Word Data [Function code:10H].................................................................20
7.
ADDRESS MAP AND DATA FORMAT ...........................................................................................22
7.1 Data Format......................................................................................................................................22
7.2 Address Map.....................................................................................................................................23
7.3 Additional Explanation of Address Map ..........................................................................................39
8.
SAMPLE PROGRAM ........................................................................................................................48
9.
ETHERNET COMMUNICATION FUNCTIONS..............................................................................53
LAN port specification .....................................................................................................................53
Connection to the terminal ...............................................................................................................53
Connection........................................................................................................................................53
Setting Ethernet communicating conditions.....................................................................................54
Ethernet communicating conditions setting operation .....................................................................54
9.1
9.2
9.3
9.4
9.5
10. FTP SERVER FUNCTION.................................................................................................................55
10.1 Description of FTP server function ..................................................................................................55
10.2 Setting FTP server function..............................................................................................................57
10.3 FTP server function setting operation ..............................................................................................57
10.4 FTP server operation ........................................................................................................................58
11. Web server function ............................................................................................................................59
11.1 Description of web server function ..................................................................................................59
11.2 Setting web server function ..............................................................................................................59
-i-
11.3 Web server function setting operation..............................................................................................59
11.4 Web server operation .......................................................................................................................60
11.5 Web monitor screen .........................................................................................................................60
12. E-MAIL SEND FUNCTION ..............................................................................................................63
12.1 Description of E-mail send function ................................................................................................63
12.2 Setting E-mail function ....................................................................................................................63
12.3 E-mail function setting operation.....................................................................................................64
12.4 E-mail send test operation ................................................................................................................67
12.5 E-mail send contents ........................................................................................................................67
13. MODBUS TCP/IP FUNCTION .........................................................................................................68
13.1 Description of MODBUS TCP/IP function......................................................................................68
13.2 Setting MODBUS TCP/IP function .................................................................................................68
13.3 MODBUS TCP/IP function setting operation..................................................................................68
13.4 MODBUS TCP/IP communication protocol....................................................................................69
14.
TROUBLESHOOTING......................................................................................................................71
-ii-
1. COMMUNICATION FUNCTIONS
1.1 General
・ This equipment provides a communication function (optional) using an RS-485 interface and also a
communication function (optional) using an Ethernet interface.
1.2 Overview of MODBUS slave communication function
(RS-485 interface)
See Chapter 2 through Chapter 8 for the method for use of MODBUS slave communication function in detail.
・ The MODBUS slave communication function permits exchange of data with host computer, programmable
controller, graphic display panel, etc.
・ The communication system consists of master station and slave stations.
Up to 31 slave stations (PHR) can
be connected per master station.
Note that, because the master station can communicate with only one slave station at a time, a party to
communicate with must be specified by the “MODBUS Station No.” set at each slave station.
・ In order that the master station and slave station can communicate, the format of the transmit/receive data must
coincide.
For the PHR, the format of the communication data is determined by the MODBUS protocol.
・ Please use an RS-232C ⇔ RS-485 converter in case of designating a personal computer or other devices which
have an RS-232C interface as a master station.
[RS-232C ⇔ RS-485 converter] (recommended article)
Type: K3SC-10 (isolated type)/ OMRON Corporation.
Personal
computer
Programmable
controller
RS-485
RS-232C
RS-232C
RS-485 converter
RS-485
Caution:
When using the RS-232C ⇔ RS-485 converter, pay attention to cable connection between the converter and
master station. If the cable is not connected correctly, the master station and slave station cannot communicate.
In addition, be careful about communication settings such as baud rate and parity set for the converter.
-1-
1.3 Overview of Ethernet communication functions
See Chapter 10 and Chapter 11 for the method for use of Ethernet communication functions in detail.
・ The following functions are available as Ethernet communication functions.
(1) FTP server function
Permits take-out of files from the compact flash of the paperless recorder, using personal computer's
browser (Internet Explorer Ver.6) or DOS prompt.
(2) Web server function
Permits check of measured values and event information recorded in the paperless recorder, using personal
computer's browser (Internet Explorer Ver.6).
(3) E-mail send function
Permits E-mail transmission in a fixed period and also on occurrence of an alarm.
(4) MODBUS TCP/IP function
Permits exchange of data with host computer, programmable controller, graphic display panel, etc. by
MODBUS TCP/IP communication.
Note: The other browsers, for example Netscape, Mozilla Fire-fox, are not available.
-2-
2. SPECIFICATIONS
2.1 Communication Specifications
Item
Electrical specification
Transmission system
Synchronizing system
Connection format
Number connectable units
Transmission distance
Transmission speed
Data format
Transmission code
Error detection
Isolation
Specification
Based on EIA RS-485
2-wire, semi-duplicate
Start-stop synchronous system
1:N
Up to 31 units
500m max. (total extension distance)
9600,19200 bps
Data length
8 bits
Stop bit
1 bit
Parity
none, even, odd (selectable)
HEX value (MODBUS RTU mode)
CRC-16
Functional isolation between transmission circuit
and ground (withstand voltage : 500V AC)
-3-
3. CONNECTION
WARNING
For avoiding electric shock and malfunctions, do not turn on the power supply untill all wiring
have been completed.
3.1 Communication Terminal Allocation
Signal name
TRX2 –
TRX1 +
Communication
Terminal
Communication Terminal
Shield
TRX2 TRX1 +
-4-
3.2 Wiring
・ Use twisted pair cables with shield.
Recommended eable: UL2464, UL2448, etc.
・ The total extension length of the cable is up to 500 m.
A master station and up to 31 units of the PHR can be
connected per line.
・ Both ends of the cable should be terminate with terminating resistors 100Ω (1/2W).
・ The shield wire of the cable should be grounded at one place on the master station unit side.
・ If the PHR is to be installed where the level of noise applied to the PHR may exceed 1000 V, it is recommended
to install a noise filter in the master station side as below.
Recommended noise filter: ZRAC2203-11/TDK
Master station
(PC, etc.)
RS-232C⇔RS-485
Transmission
cable
Noise filter
Master station side
PHR
Slave station (PHR)
Twisted pair cable with shield
TRX1
TRX2
FG
Terminating resistor
100 (1/2W)
Slave station (PHR)
RS-485 interface
or
RS-485 side of the RS-232C
RS-485 converter
(Recomended converter:
K3SC-10/OMRON Corporation)
TRX1
TRX2
Slave station (PHR)
TRX1
TRX2
Terminating resistor
100 (1/2W)
-5-
4. SETTING OF COMMUNICATION CONDITION
In order that the master station and instrument (PHR) can correctly communicate, following settings are required.
・All communication condition settings of the master station are the same as those of instruments (PHR).
・All instruments (PHR) connected on a line are set to “MODBUS Station No.” which are different from each
other.
(Any “MODBUS 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
Station No.
Transmission
speed
Set them by operating the front panel keys.
Value at
delivery
Setting range
Remarks
1
0 to 255
(0:communication function stop)
Set a different value to
each station.
19200bps 9600bps, 19200bps
Parity setting
Odd
Data length
Stop bit
8bit
1bit
None:None parity
Odd:Odd parity
Even:Even parity
Fixed (can not be changed)
Fixed (can not be changed)
-6-
Set the same communication condition to the
master station and all
stave stations.
4.2 Setting Operation Method
The following example shows how to set the communication conditions.
Example: Selecting an even parity and “STno=10 and 9600bps” on a station.
Keys used
Display
Trend display
Meanings
Operation state (Trend display)
SEL
Parameter Setting
Press the [SEL] key to display the Parameter Setting screen.
∨
Main unit
ENT
Register data
Press the [∨] key two times to select Main unit. (When the key pressed
more than two times, use the [∧] key to back.)
Press the [ENT] key to select Register data
∨
Communication
Press the [∨] key seven times to select Communication.
ENT
Communication setting
Press the [ENT] key to display the Communication setting screen.
ENT
Numeric value entering
Press the [ENT] key to display the Numeric value entering screen.
screen
∨
10
Use [<], [>] ,[∧], or [∨] key to change the numeric value to 10.
ENT
MODBUS Station No.
Press the [ENT] key to confirm the MODBUS Station No.
∨
MODBUS baud rate
Press the [∨] key to select the MODBUS baud rate.
<
9600
Press the [<] key to select “9600”.
∨
MODBUS parity
Press the [∨] key to select the MODBUS parity.
<
Even
Press the [<] key to select “Even”.
∨
Front communication
Press the [∨] key to select the Front communication.
DISP
Select screen for saving
the settings
Press the [DISP] key to display a screen asking you want to save the
setting.
ENT
Confirmation screen for Press the [ENT] key to save the setting. (The confirmation screen
appears.)
saving the settings
ENT
Trend display
Power OFF
Power ON
───
Trend display
The Trend screen appears.
Turn off the power.
Turn on the power once again to complete the setting.
-7-
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
Command message
(Not respond)
Slave to master
5)
Data on
the line
To assure safety, provide a structure where the response message is checked and retry is made three (3)
times or more if no response is made or an error occurs.
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.
-8-
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 send 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 specifiing a slave station. The command message is received and operated only by
the slave station whose station No. matches with the No. set in the parameter “MODBUS Station No.”
For details of setting the parameter “MODBUS Station No.”, refer to chapter 4.
(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. The composition of data varies with function codes.
For details, refer to chapter 6.
A register number is assigned to each data in the recorder. For reading/writing
the data by communication, designate the register number.
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 digits of the 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.
(4)
Error check code
This is the code to detect message errors (change in bit) in the signal transmission.
On the MODUBUS protocol (RTU mode), CRC-16 (Cycric Redundancy Check) is applied.
For CRC calculation method, refer to section 5.5.
-9-
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. For details, refer to Chapter 6.
(2)
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 The value used for function
code field is function code of command message plus 80H.
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
01H
(3)
Contents
Illegal function code
02H
Illegal data address
03H
Illegal data number
Description
Non-actual function code is designated.
Check for the function code.
A relative address of a resister number to which the
designated function code can not be used.
Because the designation of number is too much,
the area where resister numbers do not exist is
designated.
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)
・ Station No. of a slave station is set to 0.
-10-
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
No.
03H
04H
10H
Function code
Function
Object
Read-out
Holding register
(continuously)
Read-out
Input register
(continuously)
Write-in
Holding register
(continuously)
Resister No.
Contents
No.
4xxxx
Read-out/write-in
word data
3xxxx
Read-out
word data
4xxxx
Read-out/write-in
word data
Table 5-3 Function code and message length
Function
code
03H
Contents
Read-out of word data
Read-out of word data
04H
(read-out only)
10H
Write-in of continuous word data
[Unit:byte]
Number of
Command message
Response message
designatable
Minimum Maximum Minimum Maximum
data
64 words
8
8
7
133
64 words
8
8
7
133
64 words
11
137
8
8
-11-
5.5 Calculation of Error Check Code (CRC-16)
CRC-16 is the 2-byte (16-bits) error check code. From the top of the message (station No.) to the end of the data
field are calculated.
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.
Fig. 5-3 shows the flow of the CRC-16 calculation system.
Start
Set FFFFH (hexadecimal number) in CR.
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 1 in I.
Exclusive logical sum (XOR) is executed
with CR and one character (1 byte) of the I
characters, 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
Fig. 5-3 Flow of CRC-16 calculation
-12-
(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.
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 or more retries in case of no response, error occurrence, etc.
Note) The above definition is for most unfavorable value. 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
Since the communication system uses the 2-wire RS-485 interface, there may be 2 statuses on a line 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.
(1-1) 48 bits time or more vacant status precedes the command message sending.
(1-2) Interval between bytes of 1 command message is smaller than 24 bits time.
2) Response of this instrument (PHR)
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 300 to 500 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.
-13-
Space time of longer than 5ms is
needed.
(longer than 10ms is recommended.)
Master
station → PHR
POL1
POL2
500ms max
Master
station ←PHR
POL1 response data
Data on line
POL1
POL1 response data
-14-
POL2
5.7 FIX Processing (Cautions in data write)
The instrument is provided inside with a non-volatile memory (F-ROM) for holding the setting parameters.
Data written in the non-volatile memory is not lost even if turning off the power.
To hold parameters that were written in the internal memory via communication after turning off the power, the FIX
process is effective. It allows parameters to be written in nonvolatile memory.
Fig. 5-4 shows the FIX procedure.
Cautions:
・ Write in the non-volatile memory takes approximately 2 seconds.
・ While writing, do not turn off the power of the PHR. Otherwise, the data in the non-volatile memory will be
destroyed, whereby the PHR could not be used any longer.
・ Don’t change parameters on the front panel when performing the FIX procedure, or memory error may result.
・ The non-volatile memory (F-ROM) is a device where the number of write-in times is limited. The
guaranteed number of write-in times of the non-volatile memory used on the instrument is 100,000 minimum.
Therefore, limit the times of change of parameter setting to absolute minimum. Refrain from carrying out
the FIX processing periodically for example or while such is not absolutely required.
Start FIX
Read the FIX data
with function code
relative address
No
: 03H
: 1387H
FIX=0?
Yes
Write ‘1’ into FIX data
with function code
relative address
: 10H
: 1387H
Read the FIX data
with function code
relative address
: 03H
: 1387H
No
FIX=0?
Yes
End FIX
Fig. 5-4 FIX procedure
-15-
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.
Kind of data
03H
64 words
0000H-1386H
1387H-176FH
40001-44999
45000-46000
Storage enable data
Storage disable data
(1)
Message composition
Command message composition (byte)
Station No.
Function code
Read-out start
Upper
No.
(relative address) Lower
Read-out word
Upper 
 1 to 64
number
Lower 
Lower
CRC data
Upper
Response message composition (byte)
Station No.
Function code
Read-out byte number
Contents of the
first word data
Contents of the
next word data
~
Contents of
the last word
data
CRC data
Read-out word number×2
Upper
Lower
Upper
Lower
~
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.
transmitted from the slave station in the order of upper and lower bytes.
-16-
Read-out word data are
(3)
Message transmission (example)
Reading range start and range end in Channel 1 from No. 2 station is shown below.
Relative address of range start in Channel 1: 001BH (Register No.40028),
Data number: 02H
Command message composition (byte)
Station No.
02H
Function code
03H
Read-out start No. Upper
00H
(relative address)
Lower
1BH
Read-out word
Upper
00H
number
Lower
02H
Lower
B4H
CRC data
Upper
3FH
* Meaning of data to be read
Channel 1 Range start
(contents of the first word data)
Channel 1 Range end
(contents of the next word data)
Response message composition (byte)
Station No.
02H
Function code
03H
Read-out byte number
04H
Contents of the Upper
00H
first word data
Lower
00H
Contents of the Upper
0FH
next word data
Lower
A0H
Lower
CCH
CRC data
Upper
BBH
00 00H = 0
0F
A0H = 4000
Where the unit is °C with decimal point position set at 1,
Channel 1 Range start = 0.0°C
Channel 1 Range end = 400.0°C
Point
For “Point” decimal point, refer to Section 7.1
-17-
6.2 Read-out of Read-out Only Word Data [Function code:04H]
Function code
04H
(1)
Max. word number read-out
in one message
64 words
Relative data address
Register No.
0000H-07CFH
30001-32000
Message composition
Command message composition (byte)
Station No.
Function code
Read-out start No. Upper
(relative address) Lower
Read-out word
Upper

 1 to 64
number

Lower
Lower
CRC data
Upper
Response message composition (byte)
Station No.
Function code
Read-out byte number
Read-out word number×2
Contents of the Upper
first word data
Lower
Contents of the Upper
next word data
Lower
~
~
Contents of
Upper
the last word
Lower
data
Lower
CRC data
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.
-18-
(3)
Message transmission (example)
Reading measured values in Channel 2 from No. 1 station is shown below.
Relative address of measured value in Channel 2: 0065H (Register No.30102),
Command message composition (byte)
Station No.
01H
Function code
04H
Read-out start No.
Upper
00H
(relative address)
Lower
65H
Read-out word
Upper
00H
number
Lower
01H
Lower
21H
CRC data
Upper
D5H
* Meaning of data to be read
Channel 2 Measured value
(contents of the first word data)
01 4FH
Response message composition (byte)
Station No.
01H
Function code
04H
Read-out byte number
02H
Contents of the
Upper
01H
first word data
Lower
4FH
Lower
F9H
CRC data
Upper
54H
= 335
Where the unit is °C with decimal point position set at 1
Channel 2 Measured value = 33.5°C
Point
For “Point” decimal point, refer to Section 7.1.
-19-
Data number: 01H
6.3
Write-in of Continuous Word Data [Function code:10H]
Function code
Max. word number write-in
in one message
Relative data address
Register No.
Kind of data
10H
64 words
0000H-1386H
1387H-176FH
40001-44999
45000-46000
Storage enable data
Storage disable data
(1)
Message composition
Command message composition (byte)
Station No.
Function code
Write-in start No. Upper
(relative address) Lower
Write-in word
Upper

 1 to 64
number

Lower
Response message composition (byte)
Station No.
Function code
Write-in start No.
Upper
(relative address)
Lower
Upper
Write-in word
number
Lower
Lower

 Write-in word number×2 CRC data

Upper
Write-in byte number
First write-in
word data
Next write-in
word data
~
Last write-in
word data
CRC data
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.
transmitted from master station in the order of upper and lower bytes.
-20-
Write-in word data are
(3)
Message transmission (example)
Writing Subtract channel = channel 2, PV shift = 20.0°C, and PV gain = 110.0% in
Channel 1 of No. 1 station is shown below.
Subtract channel = 0002H (= 2D : channel 2)
PV shift = 00C8H (= 200D)
Input filter = 044CH (= 1100D)
Relative address of Subtract channel in Channel 1: 0014H (Register No.40021),
Command message composition (byte)
Station No.
01H
Function code
10H
Write-in start No. Upper
00H
(relative address) Lower
14H
Write-in word
Upper
00H
number
Lower
03H
Write-in byte number
06H
First write-in
Upper
00H
word data
Lower
02H
Next write-in
Upper
00H
word data
Lower
C8H
Last write-in
Upper
04H
word data
Lower
4CH
Lower
5DH
CRC data
Upper
CBH
Point
Caution
Data number: 03H
Response message composition (byte)
Station No.
01H
Function code
10H
Write-in start No. Upper
00H
(relative address) Lower
14H
Upper
00H
Write-in word
number
Lower
03H
Lower
41H
CRC data
Upper
CDH
Since the transmission data can not include a decimal point, data of 110.0 is
transmitted as “1100”.
For transmission format of each data, refer to the address map (Chapter 7)
If the write-in command message is sent to any slave station during the
FIX process, response is not returned from it.
-21-
7. ADDRESS MAP AND DATA FORMAT
7.1 Data Format
7.1.1 Transmission data format
The MODBUS protocol used in this instrument (PHR) is RTU (Remote Terminal Unit) mode.
Transmitted data is “numeric value” and not “ASCII code”.
7.1.2 Control of decimal point
A decimal point is not included on the transmission data.
Align decimal point for data that have decimal point (decimal point is eliminated in transmission, and added in
receiving).
7.1.3 Data with input error
When input error (Over, Under, Burnout or Error) occurs in display data, read data from measured values are as
follows.
Display data
Over
Under
Bunout
Error
Read data
32767
–32767
–32768
–32768
Detection of input error during communication can be performed at address 30131 = Channel status.
7.1.4 Range of write-in data
When data is written in each parameter, the write-in data should be kept within the setting range. PHR accepts the
write-in data beyond the range. However, be careful since the PHR performance will not be guaranteed.
-22-
7.2 Address Map
For detailed contents about individual parameter function or setting range, refer to the operation manual.
Data type Long: long data The data of this address is manipulated in unit of word. 1 data/2 address
Word: word data The data of this address is manipulated in unit of word. 1 data/1 address
Byte: byte data The data of this address is manipulated in unit of byte. A maximum of 2 data/1 address
Bit: Bit data The data of this address is manipulated in unit of bit. A maximum of 16 data/1 address
7.2.1 Word data [ read-out / write-in ] : Function code [ 03H, 10H ]
Register
No.
4 xxxx
Data
type
Memory contents
Read-out data / Write-in data setting range
40001 Byte
1st, 2nd characters
40002 Byte
3rd, 4th characters
Tag 1
40003 Byte
7th, 8th characters
40005 Byte
1st, 2nd characters
40006 Byte
3rd, 4th characters
Tag 2
40008 Byte
Set Tag 1 (8 characters) by the ASCII code.
5th, 6th characters
40004 Byte
40007 Byte
Set Tag 2 (8 characters) by the ASCII code.
5th, 6th characters
7th, 8th characters
40009 Word
Color
1 to 14 (Please refer to Table 1)
40010 Word
Input type
0 to 40 (Please refer to Table 2)
40011 Word
Input filter
0 to 900 (0 to 900 sec)
40012 Word
Unit
0 to 167 (Please refer to Table 3)
40013 Word
Scaling
0: OFF, 1: ON
40014 Word
Measuring start
–1000 to 5500 (Please refer to Table 4)
40015 Word
Measuring end
–1000 to 5500 (Please refer to Table 4)
40016 Word
Engineering start
–32767 to 32767
40017 Word
Engineering end
–32767 to 32767
40018 Word
Decimal point
0 to 4 (Please refer to Table 5)
40019 Word
Channel 1
setting
(64 words)
Square rooter
0: OFF, 1: ON
Logarithmic display
0: OFF, 1: ON
40021 Word
Subtract channel
0 to 30 (0: Subtract OFF, 1 to 30: channel 1 to 30)
40022 Word
PV shift
–32767 to 32767
40023 Word
PV gain
0 to 32767 (0.00 to 327.67%)
40020 Word
40024 Word
Reserve
40025 Word
Reserve
40026 Word
Recording mode
0: With record, 1: Display only
40027 Word
Recording type
0: Min-Max rec., 1: Point record, 2: Average rec.
40028 Word
Range start
–32767 to 32767 (Please refer to Table 6)
40029 Word
Range end
–32767 to 32767 (Please refer to Table 6)
40030 Word
40031 Word
Remarks
Reserve
Input channel
0 to 29 (channel 1 to 30)
40032 Word
Reserve
40033 Word
Reserve
40034 Word
Reserve
40035 Word
Reserve
40036 Word
Fvalue calculation
0: OFF, 1: ON
40037 Word
Totalize calculation
1: Totalizer, 2: Counter, 3: Timer
-23-
Register
Data
No.
type
40038 Byte
Memory contents
1st, 2nd characters
40039 Byte
Totalize tag
40040 Byte
40041 Byte
40044 Word
40045 Word
40046 Word
Set Totalize Tag (8 characters) by the ASCII code.
3rd, 4th characters
5th, 6th characters
Channel 1
setting
(64 words)
Totalize unit
0 to 167 (Please refer to Table 3)
Totalize cut value
–32767 to 32767 (Please refer to Table 6)
Totalize scale value
1 to 32767
Totalize type
0 to 15 (Please refer to Table 7)
Extern input
0 to 129 (Please refer to Table 8)
40047 Word
Totalize base time
0: /s, 1: /min, 2: /h, 3: /day
40048 Word
Reset operation
0: OFF, 1: ON
40049 Word
Totalize reset input
0 to 130 (Please refer to Table 9)
40050 Word
Reserve
to
40065 Word
Reserve
Channel 2 setting
Same allocation as in Channel 1
Channel 3 setting
Same allocation as in Channel 1
Channel 4 setting
Same allocation as in Channel 1
Channel 5 setting
Same allocation as in Channel 1
Channel 6 setting
Same allocation as in Channel 1
Channel 7 setting
Same allocation as in Channel 1
Channel 8 setting
Same allocation as in Channel 1
Channel 9 setting
Same allocation as in Channel 1
Channel 10 setting
Same allocation as in Channel 1
Channel 11 setting
Same allocation as in Channel 1
Channel 12 setting
Same allocation as in Channel 1
Channel 13 setting
Same allocation as in Channel 1
Channel 14 setting
Same allocation as in Channel 1
Channel 15 setting
Same allocation as in Channel 1
Channel 16 setting
Same allocation as in Channel 1
Channel 17 setting
Same allocation as in Channel 1
Channel 18 setting
Same allocation as in Channel 1
Channel 19 setting
Same allocation as in Channel 1
to
40129 Word
to
40193 Word
to
40257 Word
to
40321 Word
to
40385 Word
to
40449 Word
to
40513 Word
to
40577 Word
to
40641 Word
to
40705 Word
to
40769 Word
to
40833 Word
to
40897 Word
to
40961 Word
to
41025 Word
to
41089 Word
to
41153 Word
Remarks
7th, 8th characters
40042 Word
40043 Word
Read-out data / Write-in data setting range
to
-24-
Register
Data
No.
type
41217 Word
Memory contents
Read-out data / Write-in data setting range
Channel 20 setting
Same allocation as in Channel 1
Channel 21 setting
Same allocation as in Channel 1
Channel 22 setting
Same allocation as in Channel 1
Channel 23 setting
Same allocation as in Channel 1
Channel 24 setting
Same allocation as in Channel 1
Channel 25 setting
Same allocation as in Channel 1
Channel 26 setting
Same allocation as in Channel 1
Channel 27 setting
Same allocation as in Channel 1
Channel 28 setting
Same allocation as in Channel 1
Channel 29 setting
Same allocation as in Channel 1
Channel 30 setting
Same allocation as in Channel 1
Remarks
to
41281 Word
to
41345 Word
to
41409 Word
to
41473 Word
to
41537 Word
to
41601 Word
to
41665 Word
to
41729 Word
to
41793 Word
to
41857 Word
to
41921 Word
Alarm type
0: OFF, 1: H alarm, 2: L alarm
41922 Word
Set point
–32767 to 32767 (Please refer to Table 6)
41924 Word
DO relay No.
0 to 28 (0: None, 1 to 28: DO 1 to 28)
41925 Word
Alarm type
0: OFF, 1: H alarm, 2: L alarm
41926 Word
Set point
–32767 to 32767 (Please refer to Table 6)
DO relay No.
0 to 28 (0: None, 1 to 28: DO 1 to 28)
Alarm type
0: OFF, 1: H alarm, 2: L alarm
Set point
–32767 to 32767 (Please refer to Table 6)
41932 Word
DO relay No.
0 to 28 (0: None, 1 to 28: DO 1 to 28)
41933 Word
Alarm type
0: OFF, 1: H alarm, 2: L alarm
41934 Word
Set point
–32767 to 32767 (Please refer to Table 6)
DO relay No.
0 to 28 (0: None, 1 to 28: DO 1 to 28)
Alarm No. 1
41923 Word
41927 Word
41928 Word
41929 Word
41930 Word
41931 Word
41935 Word
Alarm No. 2
Channel 1
alarm
setting (16
words)
Alarm No. 3
Alarm No. 4
41936 Word
41937 Word
Reserve
Reserve
Reserve
Reserve
Channel 2 alarm setting
Same allocation as in Channel 1
Channel 3 alarm setting
Same allocation as in Channel 1
Channel 4 alarm setting
Same allocation as in Channel 1
Channel 5 alarm setting
Same allocation as in Channel 1
Channel 6 alarm setting
Same allocation as in Channel 1
Channel 7 alarm setting
Same allocation as in Channel 1
to
41953 Word
to
41969 Word
to
41985 Word
to
42001 Word
to
42017 Word
to
-25-
Register
Data
No.
type
42033 Word
Memory contents
Read-out data / Write-in data setting range
Channel 8 alarm setting
Same allocation as in Channel 1
Channel 9 alarm setting
Same allocation as in Channel 1
Channel 10 alarm setting
Same allocation as in Channel 1
Channel 11 alarm setting
Same allocation as in Channel 1
Channel 12 alarm setting
Same allocation as in Channel 1
Channel 13 alarm setting
Same allocation as in Channel 1
Channel 14 alarm setting
Same allocation as in Channel 1
Channel 15 alarm setting
Same allocation as in Channel 1
Channel 16 alarm setting
Same allocation as in Channel 1
Channel 17 alarm setting
Same allocation as in Channel 1
Channel 18 alarm setting
Same allocation as in Channel 1
Channel 19 alarm setting
Same allocation as in Channel 1
Channel 20 alarm setting
Same allocation as in Channel 1
Channel 21 alarm setting
Same allocation as in Channel 1
Channel 22 alarm setting
Same allocation as in Channel 1
Channel 23 alarm setting
Same allocation as in Channel 1
Channel 24 alarm setting
Same allocation as in Channel 1
Channel 25 alarm setting
Same allocation as in Channel 1
Channel 26 alarm setting
Same allocation as in Channel 1
Channel 27 alarm setting
Same allocation as in Channel 1
Channel 28 alarm setting
Same allocation as in Channel 1
Channel 29 alarm setting
Same allocation as in Channel 1
Channel 30 alarm setting
Same allocation as in Channel 1
Remarks
to
42049 Word
to
42065 Word
to
42081 Word
to
42097 Word
to
42113 Word
to
42129 Word
to
42145 Word
to
42161 Word
to
42177 Word
to
42193 Word
to
42209 Word
to
42225 Word
to
42241 Word
to
42257 Word
to
42273 Word
to
42289 Word
to
42305 Word
to
42321 Word
to
42337 Word
to
42353 Word
to
42369 Word
to
42385 Word
to
42401 Word
Reserve
to
Reserve
-26-
Register
No.
Data
type
Memory contents
42425 Byte
Read-out data / Write-in data setting range
1st, 2nd characters
42426 Byte
3rd, 4th characters
42427 Byte
5th, 6th characters
Display
name
42428 Byte
42429 Byte
9th, 10th characters
11th, 12th characters
42431 Byte
13th, 14th characters
42433 Word
Display
group 1
setting
(18 words)
Set Display name (16 characters) by the ASCII
code.
7th, 8th characters
42430 Byte
42432 Byte
15th, 16th characters
Display No. 1
0: None, 1 to 30: ch 1 to 30
Display No. 2
0: None, 1 to 30: ch 1 to 30
Display No. 3
0: None, 1 to 30: ch 1 to 30
42436 Word
Display No. 4
0: None, 1 to 30: ch 1 to 30
42437 Word
Display No. 5
0: None, 1 to 30: ch 1 to 30
42438 Word
Display No. 6
0: None, 1 to 30: ch 1 to 30
42439 Word
Display No. 7
0: None, 1 to 30: ch 1 to 30
42440 Word
Display No. 8
0: None, 1 to 30: ch 1 to 30
42441 Word
Display No. 9
0: None, 1 to 30: ch 1 to 30
Display No. 10
0: None, 1 to 30: ch 1 to 30
42434 Word
42435 Word
42442 Word
42443 Word
Remarks
Display group 2 setting
Same allocation as Display group 1
Display group 3 setting
Same allocation as Display group 1
Display group 4 setting
Same allocation as Display group 1
to
42461 Word
to
42479 Word
to
42497 Word
Reserve
42498 Word
42499 Word
42500 Word
42501 Word
Display
group 1
setting 2
(5 words)
42502 Word
42503 Word
Trend direction
0: Vertical, 1: Horizontal
Channel index
0: CH No. disp., 1: Tag No. disp., 2: Unit Disp.
Scale display
0: OFF, 1: ON
Reserve
Display divided
1 to 20
Display group 2 setting 2
Same allocation as Display group 1
Display group 3 setting 2
Same allocation as Display group 1
Display group 4 setting 2
Same allocation as Display group 1
to
42508 Word
to
42513 Word
to
42518 Word
42519 Word
42520 Word
42521 Word
42522 Word
Display
group 1
setting 3
(4 words)
Reserve
Reserve
Reserve
Analog meter
0: Bar graph, 1: Analog meter
Display group 2 setting 2
Same allocation as Display group 1
Display group 3 setting 2
Same allocation as Display group 1
Display group 4 setting 2
Same allocation as Display group 1
to
42526 Word
to
42530 Word
to
42534 Word
Reserve
to
Reserve
42541 Word
Reserve
-27-
Register
Data
No.
type
42542 Word
Memory contents
Read-out data / Write-in data setting range
Totalize cycle
0 to 9 (Please refer to Table 10)
42543 Word
42544 Word
Reserve
Monthly base day
1 to 31 (1 to 31 days)
42545 Word
Reserve
42546 Word
42547 Word
Reserve
External input
0 to 129 (Please refer to Table 8)
42548 Word
H-P, L-P timer cycle
1 to 32767 (1 to 32767 min)
42549 Word
AVG timer cycle
1 to 32767 (1 to 32767 min)
42550 Word
SUM timer cycle
42551 Word
Formula 1
42553 Word
(Please refer to Table 11)
Argument 1
Argument 2
42554 Word
2nd calculation
Formula 1
42555 Word
42556 Word
Argument 1
Argument 2
42557 Word
42559 Word
1 to 32767 (1 to 32767 min)
1st calculation
42552 Word
42558 Word
3rd calculation
Math CH
19 setting
(36 words)
Formula 1
Argument 1
Argument 2
42560 Word
1st calculation
Formula 2
42561 Word
42562 Word
Argument 1
Argument 2
to
42584 Word
3rd calculation
Formula 4
42585 Word
42586 Word
42587 Word
Argument 1
Argument 2
Math channel 20 setting
Same allocation as Channel 19
Math channel 21 setting
Same allocation as Channel 19
Math channel 22 setting
Same allocation as Channel 19
Math channel 23 setting
Same allocation as Channel 19
Math channel 24 setting
Same allocation as Channel 19
Math channel 25 setting
Same allocation as Channel 19
Math channel 26 setting
Same allocation as Channel 19
Math channel 27 setting
Same allocation as Channel 19
Math channel 28 setting
Same allocation as Channel 19
Math channel 29 setting
Same allocation as Channel 19
Math channel 30 setting
Same allocation as Channel 19
to
42623 Word
to
42659 Word
to
42695 Word
to
42731 Word
to
42767 Word
to
42803 Word
to
42839 Word
to
42875 Word
to
42911 Word
to
42947 Word
to
42983 Word
42984 Word
Remarks
Constant 1
Value
–32767 to 32767 (Please refer to Table 12)
Decimal point
0 to 4
to
-28-
Register
Data
No.
type
43021 Word
Memory contents
Constant 20
43022 Word
Read-out data / Write-in data setting range
Value
–32767 to 32767 (Please refer to Table 12)
Decimal point
0 to 4
43023 Word
Reserve
to
43032 Word
Remarks
Time setting
Time set request
1: Time set request. (Automatically clear)
Year
1 to 99 (2001 to 2099 year)
43034 Word
Month
1 to 12 (1 to 12 month)
43035 Word
Day
1 to 31 (1 to 31 day)
43036 Word
Hour
0 to 23 (0 to 23 hour)
43037 Word
Minute
0 to 59 (0 to 59 minute)
43033 Word
Reserve
Attention:
Don’t change
the time
absolutely
during
recording and
totalizing.
43038 Word
Reserve
43039 Word
Reserve
43040 Word
Refreshment cycle
0 to 19 (Please refer to Table 13)
43041 Word
Reserve
43042 Word
LCD lights-out time
0 to 60 (0: ON all the time, 1 to 60: 1 to 60 min)
43043 Word
File division cycle
0 to 4 (Please refer to Table 14)
43044 Word
Memory full alarm
0 to 28 (0: None, 1 to 28: DO 1 to 28)
43045 Word
Record data format
0: ASCII, 1: Binary
43046 Word
FValue calculation
Target temperature
–32767 to 32767 (–3276.7 to 3276.7°C)
43047 Word
Z value
–32767 to 32767 (–3276.7 to 3276.7°C)
43048 Word
Decimal point
0 to 4 (Please refer to Table 15)
43049 Word
Reserve
43050 Word
43051 Word
Reset temperature
–32767 to 32767 (–3276.7 to 3276.7°C)
Battery alarm
0 to 28 (0: None, 1 to 28: DO 1 to 28)
43053 Word
File overwrite
0: OFF, 1: ON
43054 Word
Trend display compression
0: 1/1, 1: 1/10, 2: 1/30, 3: 1/60
43052 Word
Reserve
43055 Word
Reserve
43056 Word
Alarm hysteresis
0 to 10000 (0.00 to 100.00%)
43057 Word
Alarm latch
0: OFF, 1: ON
43058 Word
MODBUS Station No.
0 to 255 (0: Communication OFF)
43059 Word
MODBUS baud rate
0: 9600 bps, 1: 19200 bps
43060 Word
MODBUS parity
0: None, 1: Odd, 2: Even
43061 Word
Configuration password
0 to 9999
43062 Word
CF manager password
0 to 9999
43063 Word
Record password
0 to 9999
43064 Word
Reserve
43065 Word
Reserve
43066 Word
Reserve
43067 Word
Trend back color
0: White, 1: Black
43068 Word
Historical back color
0: White, 1: Black
to
Reserve
43081 Byte
1st, 2nd characters
43082 Byte
3rd, 4th characters
43083 Byte
43084 Byte
43085 Byte
43086 Byte
Message
No. 1
setting
(22 Words)
Set Message (32 characters) by the ASCII code.
5th, 6th characters
Message
7th, 8th characters
9th, 10th characters
11th, 12th characters
43087 Byte
13th, 14th characters
43088 Byte
15th, 16th characters
-29-
Register
Data
No.
type
43089 Byte
Memory contents
43092 Byte
43093 Byte
43094 Byte
19th, 20th characters
Message
No. 1
setting
(22 Words)
21st, 22nd characters
Message
23rd, 24th characters
25th, 26th characters
27th, 28th characters
43095 Byte
29th, 30th characters
43096 Byte
31st, 32nd characters
43097 Word
Reserve
43098 Word
43099 Word
Reserve
Message timing
0 to 2 (Please refer to Table 16)
43100 Word
Message timing argument 1
0 to 9/0 to 29 (Please refer to Table 16)
43101 Word
Message timing argument 2
0 to 3 (Please refer to Table 16)
43102 Word
43103 Word
Remarks
17th, 18th characters
43090 Byte
43091 Byte
Read-out data / Write-in data setting range
Reserve
Message No. 2 setting
Same allocation as Message No. 1
Message No. 3 setting
Same allocation as Message No. 1
Message No. 4 setting
Same allocation as Message No. 1
Message No. 5 setting
Same allocation as Message No. 1
Message No. 6 setting
Same allocation as Message No. 1
Message No. 7 setting
Same allocation as Message No. 1
Message No. 8 setting
Same allocation as Message No. 1
Message No. 9 setting
Same allocation as Message No. 1
Message No. 10 setting
Same allocation as Message No. 1
to
43125 Word
to
43147 Word
to
43169 Word
to
43191 Word
to
43213 Word
to
43235 Word
to
43257 Word
to
43279 Word
to
43301 Byte
Original unit 1 setting
1st, 2nd characters
43302 Byte
3rd, 4th characters
43303 Byte
5th, 6th characters
43304 Byte
7th characters
Set original unit (7 characters) by the ASCII code.
43305 Byte
Reserve
43306 Byte
Reserve
43307 Byte
Reserve
43308 Byte
Original unit 2 setting
Same allocation as Original unit 1
Original unit 3 setting
Same allocation as Original unit 1
Original unit 4 setting
Same allocation as Original unit 1
Original unit 5 setting
Same allocation as Original unit 1
Original unit 6 setting
Same allocation as Original unit 1
Original unit 7 setting
Same allocation as Original unit 1
to
43315 Byte
to
43322 Byte
to
43329 Byte
to
43336 Byte
to
43343 Byte
-30-
Register
No.
to
Data
type
43350 Byte
Memory contents
Read-out data / Write-in data setting range
Original unit 8 setting
Same allocation as Original unit 1
Original unit 9 setting
Same allocation as Original unit 1
Original unit 10 setting
Same allocation as Original unit 1
Original unit 11 setting
Same allocation as Original unit 1
Original unit 12 setting
Same allocation as Original unit 1
Remarks
to
43357 Byte
to
43364 Byte
to
43371 Byte
to
43378 Byte
to
43385 Word
Reserve
to
Reserve
43496 Word
DI 1 function
0 to 5 (Please refer to Table 17)
43497 Word
DI 2 function
0 to 5
43498 Word
DI 3 function
0 to 5
43499 Word
DI 4 function
0 to 5
43500 Word
DI 5 function
0 to 5
43501 Word
DI 6 function
0 to 5
43502 Word
DI 7 function
0 to 5
43503 Word
DI 8 function
0 to 5
43504 Word
DI 9 function
0 to 5
43505 Word
DI 10 function
0 to 5
43506 Word
Do not write
to
44001 Byte
Do not write
PILC data
1st, 2nd characters
Do not write
44002 Byte
3rd, 4th characters
Do not write
44003 Byte
5th, 6th characters
Do not write
44004 Byte
7th, 8th characters
Do not write
44005 Byte
9th, 10th characters
Do not write
44006 Byte
11th, 12th characters
Do not write
44007 Byte
13th, 14th characters
Do not write
44008 Byte
15th, 16th characters
Do not write
44009 Byte
17th, 18th characters
Do not write
44010 Byte
19th, 20th characters
Do not write
44011 Byte
21st, 22nd characters
Do not write
44012 Byte
23rd, 24th characters
Do not write
44013 Byte
25th, 26th characters
Do not write
44014 Byte
27th, 28th characters
Do not write
44015 Byte
29th, 30th characters
Do not write
44016 Byte
31st, 32nd characters
Do not write
1st, 2nd characters
Do not write
44018 Byte
3rd, 4th characters
Do not write
44019 Byte
5th, 6th characters
Do not write
44020 Byte
7th, 8th characters
Do not write
44021 Byte
9th, 10th characters
Do not write
44022 Byte
11th, 12th characters
Do not write
44023 Byte
13th, 14th characters
Do not write
44024 Byte
15th, 16th characters
Do not write
44017 Byte
Serial number
44025 Word
Do not write
-31-
Register
No.
to
Data
type
Memory contents
Read-out data / Write-in data setting range
Remarks
Do not write
Following register No. 45000 to 45500 will not be recorded in the main unit.
45000 Word
Register data request
1: Register data (Automatically clear)
45001 Word
Reserve
45002 Word
Fvalue calculation reset request
1: Fvalue reset (Automatically clear)
45003 Word
Prohibiting the writing to the memory card
0: Writing permission, 1: Writing prohibition
45004 Bit
Recorder control
(Please refer to Table 18)
45005 Bit
Message request
(Please refer to Table 19)
45006 Word
Totalize reset request
1: Totalize reset (Automatically clear)
45007 Word
Alarm latch clear request
1: Alarm latch clear (Automatically clear)
45008 Word
Do not write
to
45051 Bit
45052 Bit
Do not write
Totalize reset request of
each channel
Channel 1 to 16
(Please refer to Table 20)
Channel 17 to 30
45053 Word
Reserve
to
Reserve
45061 Word
Communication input 1: M01
–32767 to 32767
45062 Word
Communication input 2: M02
–32767 to 32767
45063 Word
Communication input 3: M03
–32767 to 32767
45064 Word
Communication input 4: M04
–32767 to 32767
45065 Word
Communication input 5: M05
–32767 to 32767
45066 Word
Communication input 6: M06
–32767 to 32767
45067 Word
Communication input 7: M07
–32767 to 32767
45068 Word
Communication input 8: M08
–32767 to 32767
45069 Word
Communication input 9: M09
–32767 to 32767
45070 Word
Communication input 10: M10
–32767 to 32767
45071 Word
Communication input 11: M11
–32767 to 32767
45072 Word
Communication input 12: M12
–32767 to 32767
to
Do not write
The following addresses are recorded in the main unit.
45501 Word
Reserve
45502 Word
E-mail function
0: OFF, 1: ON
45503 Word
FTP server function
0: OFF, 1: ON
45504 Word
FTP access control
0: OFF, 1: ON
45505 Word
Web server function
0: OFF, 1: ON
45506 Word
Reserve
45507 Word
45508 Word
Reserve
MODBUS TCP/IP function
0: OFF, 1: ON
45509 Word
1st number
0 to 255
45510 Word
2nd number
0 to 255
45511 Word
IP address
3rd number
0 to 255
45512 Word
4th number
0 to 255
45513 Word
1st number
0 to 255
45514 Word
2nd number
0 to 255
45515 Word
45516 Word
Subnet mask
3rd number
0 to 255
4th number
0 to 255
-32-
Register
Data
No.
type
45517 Word
45518 Word
Memory contents
Read-out data / Write-in data setting range
1st number
0 to 255
2nd number
0 to 255
3rd number
0 to 255
45520 Word
4th number
0 to 255
45521 Word
1st number
0 to 255
45519 Word
45522 Word
Default gateway
2nd number
0 to 255
3rd number
0 to 255
45524 Word
4th number
0 to 255
45525 Byte
1st, 2nd characters
Set address (64 characters) by the ASCII code.
45523 Word
SMTP IP address
45526 Byte
3rd, 4th characters
45527 Byte
5th, 6th characters
45528 Byte
7th, 8th characters
45529 Byte
9th, 10th characters
45530 Byte
11th, 12th characters
45531 Byte
13th, 14th characters
45532 Byte
15th, 16th characters
45533 Byte
17th, 18th characters
45534 Byte
19th, 20th characters
45535 Byte
21st, 22nd characters
45536 Byte
23rd, 24th characters
45537 Byte
25th, 26th characters
45538 Byte
27th, 28th characters
45539 Byte
29th, 30th characters
45540 Byte
45541 Byte
Sender's mail address
31st, 32nd characters
33rd, 34th characters
45542 Byte
35th, 36th characters
45543 Byte
37th, 38th characters
45544 Byte
39th, 40th characters
45545 Byte
41st, 42nd characters
45546 Byte
43rd, 44th characters
45547 Byte
45th, 46th characters
45548 Byte
47th, 48th characters
45549 Byte
49th, 50th characters
45550 Byte
51st, 52nd characters
45551 Byte
53rd, 54th characters
45552 Byte
55th, 56th characters
45553 Byte
57th, 58th characters
45554 Byte
59th, 60th characters
45555 Byte
61st, 62nd characters
45556 Byte
63rd, 64th characters
45557 Byte
1st, 2nd characters
45558 Byte
3rd, 4th characters
45559 Byte
5th, 6th characters
45560 Byte
7th, 8th characters
45561 Byte
45562 Byte
Sender's mail name
Set name (32 characters) by the ASCII code.
9th, 10th characters
11th, 12th characters
45563 Byte
13th, 14th characters
45564 Byte
15th, 16th characters
45565 Byte
17th, 18th characters
45566 Byte
19th, 20th characters
-33-
Remarks
Register
Data
No.
type
45567 Byte
Memory contents
Read-out data / Write-in data setting range
21st, 22nd characters
45568 Byte
23rd, 24th characters
45569 Byte
25th, 26th characters
45570 Byte
Sender's mail name
27th, 28th characters
45571 Byte
29th, 30th characters
45572 Byte
31st, 32nd characters
45573 Byte
1st, 2nd characters
45574 Byte
3rd, 4th characters
45575 Byte
5th, 6th characters
45576 Byte
7th, 8th characters
45577 Byte
9th, 10th characters
45578 Byte
11th, 12th characters
45579 Byte
13th, 14th characters
45580 Byte
15th, 16th characters
45581 Byte
17th, 18th characters
45582 Byte
19th, 20th characters
45583 Byte
21st, 22nd characters
45584 Byte
23rd, 24th characters
45585 Byte
25th, 26th characters
45586 Byte
27th, 28th characters
45587 Byte
29th, 30th characters
45588 Byte
45589 Byte
Receiver's mail address 1
31st, 32nd characters
33rd, 34th characters
45590 Byte
35th, 36th characters
45591 Byte
37th, 38th characters
45592 Byte
39th, 40th characters
45593 Byte
41st, 42nd characters
45594 Byte
43rd, 44th characters
45595 Byte
45th, 46th characters
45596 Byte
47th, 48th characters
45597 Byte
49th, 50th characters
45598 Byte
51st, 52nd characters
45599 Byte
53rd, 54th characters
45600 Byte
55th, 56th characters
45601 Byte
57th, 58th characters
45602 Byte
59th, 60th characters
45603 Byte
61st, 62nd characters
45604 Byte
45605 Byte
Set address (64 characters) by the ASCII code.
63rd, 64th characters
Receiver's mail address 2
Same allocation as Receiver's mail address 1
Receiver's mail address 3
Same allocation as Receiver's mail address 1
Receiver's mail address 4
Same allocation as Receiver's mail address 1
Receiver's mail address 5
Same allocation as Receiver's mail address 1
Receiver's mail address 6
Same allocation as Receiver's mail address 1
Receiver's mail address 7
Same allocation as Receiver's mail address 1
to
45637 Byte
to
45669 Byte
to
45701 Byte
to
45733 Byte
to
45765 Byte
to
-34-
Remarks
Register
Data
No.
type
45797 Byte
Memory contents
Read-out data / Write-in data setting range
Receiver's mail address 8
Remarks
Same allocation as Receiver's mail address 1
to
45829 Word
Reserve
to
Reserve
45901 Byte
1st, 2nd characters
45902 Byte
3rd, 4th characters
45903 Byte
5th, 6th characters
45904 Byte
User name
45905 Byte
45906 Byte
45907 Byte
45908 Byte
Set name (16 characters) by the ASCII code.
7th, 8th characters
9th, 10th characters
11th, 12th characters
13th, 14th characters
User 1
setting
15th, 16th characters
45909 Byte
1st, 2nd characters
45910 Byte
3rd, 4th characters
Password
45911 Byte
45912 Byte
Set password (8 characters) by the ASCII code.
5th, 6th characters
7th, 8th characters
45913 Word
User level
0: Administrator, 1: Guest
45914 Word
45915 Byte
Reserve
User 2 setting
Same allocation as User 1
User 3 setting
Same allocation as User 1
User 4 setting
Same allocation as User 1
User 5 setting
Same allocation as User 1
User 6 setting
Same allocation as User 1
User 7 setting
Same allocation as User 1
User 8 setting
Same allocation as User 1
to
45929 Byte
to
45943 Byte
to
45957 Byte
to
45971 Byte
to
45985 Byte
to
45999 Byte
to
46013 Word
Reserve
to
Reserve
46101 Byte
1st, 2nd characters
46102 Byte
3rd, 4th characters
46103 Byte
5th, 6th characters
46104 Byte
7th, 8th characters
46105 Byte
9th, 10th characters
46106 Byte
11th, 12th characters
46107 Byte
46108 Byte
46109 Byte
Set title (32 characters) by the ASCII code.
13th, 14th characters
E-mail
trigger 1
setting
Title
15th, 16th characters
17th, 18th characters
46110 Byte
19th, 20th characters
46111 Byte
21st, 22nd characters
46112 Byte
23rd, 24th characters
46113 Byte
25th, 26th characters
46114 Byte
27th, 28th characters
46115 Byte
29th, 30th characters
46116 Byte
31st, 32nd characters
-35-
Register
Data
No.
type
46117 Byte
Memory contents
Read-out data / Write-in data setting range
1st, 2nd characters
46118 Byte
3rd, 4th characters
46119 Byte
5th, 6th characters
46120 Byte
7th, 8th characters
46121 Byte
9th, 10th characters
46122 Byte
11th, 12th characters
46123 Byte
13th, 14th characters
46124 Byte
Text 1
46125 Byte
17th, 18th characters
19th, 20th characters
46127 Byte
21st, 22nd characters
46128 Byte
23rd, 24th characters
46129 Byte
25th, 26th characters
46130 Byte
27th, 28th characters
46131 Byte
29th, 30th characters
46132 Byte
31st, 32nd characters
46133 Byte
1st, 2nd characters
46135 Byte
46136 Byte
5th, 6th characters
7th, 8th characters
9th, 10th characters
46138 Byte
11th, 12th characters
46139 Byte
13th, 14th characters
46141 Byte
Set text 2 (32 characters) by the ASCII code.
3rd, 4th characters
E-mail
trigger 1
setting
46137 Byte
46140 Byte
Set text 1 (32 characters) by the ASCII code.
15th, 16th characters
46126 Byte
46134 Byte
Text 2
15th, 16th characters
17th, 18th characters
46142 Byte
19th, 20th characters
46143 Byte
21st, 22nd characters
46144 Byte
23rd, 24th characters
46145 Byte
25th, 26th characters
46146 Byte
27th, 28th characters
46147 Byte
29th, 30th characters
46148 Byte
31st, 32nd characters
46149 Word
Trigger timing
46150 Word
Trigger timing argument 1
46151 Word
Trigger timing argument 2
46152 Word
PV value affixation
0: OFF, 1: ON
46153 Word
Receiver's mail address No.
(Please refer to Table 22)
(Please refer to Table 21)
46154 Word
46155 Byte
Reserve
E-mail trigger 2 setting
Same allocation as E-mail trigger 1
E-mail trigger 3 setting
Same allocation as E-mail trigger 1
E-mail trigger 4 setting
Same allocation as E-mail trigger 1
E-mail trigger 5 setting
Same allocation as E-mail trigger 1
E-mail trigger 6 setting
Same allocation as E-mail trigger 1
E-mail trigger 7 setting
Same allocation as E-mail trigger 1
to
46209 Byte
to
46263 Byte
to
46317 Byte
to
46371 Byte
to
46425 Byte
Remarks
to
-36-
Register
Data
No.
type
46479 Byte
Memory contents
Read-out data / Write-in data setting range
E-mail trigger 8 setting
Same allocation as E-mail trigger 1
E-mail trigger 9 setting
Same allocation as E-mail trigger 1
E-mail trigger 10 setting
Same allocation as E-mail trigger 1
Remarks
to
46533 Byte
to
46587 Byte
to
46641 Word
Reserve
to
Reserve
47000 Word
Final address
Reserve
7.2.2 Word data [ read-out only ] : Function code [ 04H ]
Register
No.
3 xxxx
Data
type
30001 Bit
Memory contents
Read-out data
System information
(Please refer to Table 23)
30002 Bit
30003 Bit
Reserve
DO information
30004 Bit
DO 1 to 16
(Please refer to Table 24)
DO 17 to 28
30005 Bit
30006 Bit
Reserve
DI information
(Please refer to Table 25)
Memory cord utilization
0 to 1000 (0.00 to 100.0%, 100.0% = Memory
FULL)
to
30086 Word
Reserve
to
Reserve
30093 Bit
Channel 1 to 4
30094 Bit
Channel 5 to 8
30095 Bit
Channel 9 to 12
30096 Bit
30097 Bit
Channel alarm
information
(Please refer to Table 26)
Channel 13 to 16
Channel 17 to 20
30098 Bit
Channel 21 to 24
30099 Bit
Channel 25 to 28
30100 Bit
Channel 29 to 30
30101 Word
Channel 1
–32767 to 32767 (No decimal point)
30102 Word
Channel 2
–32767 to 32767 (No decimal point)
Channel 3
–32767 to 32767 (No decimal point)
30103 Word
to
Measured value
30129 Word
Channel 29
–32767 to 32767 (No decimal point)
30130 Word
Channel 30
30131 Word
Channel 1
30132 Word
Channel 2
–32767 to 32767 (No decimal point)
0: Normal, 1: Burnout, 2: Over, 3: Under, 4:
Error
0: Normal, 1: Burnout, 2: Over, 3: Under, 4:
Error
0: Normal, 1: Burnout, 2: Over, 3: Under, 4:
Error
30133 Word
Channel status
Channel 3
to
30160 Word
30161 Long
30162 Long
Remarks
0: Normal, 1: Burnout, 2: Over, 3: Under, 4:
Error
–999999999 to 999999999 (No decimal point)
Channel 30
Totalizing value
Channel 1
Channel 1
30163 Long
Channel 2
30164 Long
Channel 2
–999999999 to 999999999 (No decimal point)
to
-37-
Register
Data
No.
type
30219 Long
Memory contents
Channel 30
30220 Long
30221 Long
Read-out data
Remarks
–999999999 to 999999999 (No decimal point)
Channel 30
Totalizing start time
Channel 1
30222 Long
Channel 1
30223 Long
Channel 2
30224 Long
Channel 2
Greenwich Time
Greenwich Time
to
30279 Long
Channel 30
30280 Long
30281 Long
Greenwich Time
Channel 30
Totalizing end time
Channel 1
30282 Long
Channel 1
30283 Long
Channel 2
30284 Long
Channel 2
Greenwich Time
Greenwich Time
to
30339 Long
Channel 30
30340 Long
Channel 30
30341 Long
Channel 1
30342 Long
Channel 1
30343 Long
30344 Long
Greenwich Time
–999999999 to 999999999 (No decimal point)
Channel 2
Previous totalized value
–999999999 to 999999999 (No decimal point)
Channel 2
to
30399 Long
Channel 30
30400 Long
Channel 30
30401 Long
Channel 1
30402 Long
Channel 1
30403 Long
30404 Long
to
Previous totalized start
time
Channel 30
Channel 30
Previous totalized end
time
Greenwich Time
Channel 2
30460 Long
30462 Long
Greenwich Time
Channel 2
30459 Long
30461 Long
–999999999 to 999999999 (No decimal point)
Greenwich Time
Channel 1
Greenwich Time
Channel 1
30463 Long
Channel 2
30464 Long
Channel 2
Greenwich Time
to
30519 Long
Channel 30
30520 Long
Channel 30
Greenwich Time
30521 Word
Reserve
to
Reserve
32000 Word
Final address
Reserve
Notes) ・The area marked (Do not write) is a system area.
・Write 0 into the areas without data.
-38-
Do not write in there.
7.3 Additional Explanation of Address Map
Table 1 Channel color code
Data
1
2
3
4
5
6
7
8
9
10
11
12
13
14
color
Red
Blue
Violet
Green
Sky blue
Yellow
Gray
Indigo
Dark red
Purple
Deep green
Pale blue
Yellowish green
Silver
Table 2 Input type code
Data
0
1
2
3
4
5
6
7
8
9
10
11
12
20
21
30
31
32
33
40
Input type
Skip
K-Type TC
E-Type TC
J-Type TC
T-Type TC
R-Type TC
S-Type TC
B-Type TC
N-Type TC
W-Type TC
L-Type TC
U-Type TC
PN-Type TC
Pt100
JPt100
50 mV
500 mV
1-5 V
0-5 V
Other channel
Skip
Initial decimal point
0
Thermocouple
1
Resistance bulb
1
2
1
DC voltage
3
Other channnel
0
Note) When position of decimal point varies with input type, initialize it.
-39-
Table 3 Unit code
Data
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Data
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Unit
°C
°F
%RH
vol%
t/d
kg/d
g/d
m3/d
l/d
t/h
kg/h
g/h
m3/h
l/h
Unit
mN
N
N·m
J
kJ
mm/s
mm/min
mm/h
m/s
m/min
m/h
rps
rpm
rph
m/s2
rad/s
km/h
Data
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Unit
t/min
kg/min
g/min
m3/min
l/min
t/s
kg/s
g/s
m3/s
l/s
Data
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
Unit
us
ms
s
min
h
day
mV
V
kV
uA
mA
A
Hz
dB
W
kW
VA
kVA
Data
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
mbar
bar
N/mm2
N/m2
Data
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
Unit
mPa
Pa
kPa
MPa
mm
cm
m
ml
L
kl
mm3
cm3
m3
Unit
Var
kVar
uS/cm
uF
F
C
mH
H
m ohm
ohm
k ohm
M ohm
lx
cd
lm
cd/m2
Data
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Data
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
Unit
mm2
cm2
m2
g
kg
t
g/cm3
kg/cm3
g/m3
kg/m3
g/l
kg/l
g/ml
Unit
uSv/h
mSv/h
nGy/h
uGy/h
um
Pa · s
mPa · s
*Unit 1
*Unit 2
*Unit 3
*Unit 4
*Unit 5
*Unit 6
* The unit that was made in Unit 1 to 12: Original unit definition is selected.
Table 4 Measuring start, measuring end setting limit
Input type
50 mV
500 mV
1-5 V
0-5 V
Measuring start, measuring end limit
–1000 to 5500 (–10.00 to 55.00 mV)
–100 to 5500 (–10.0 to 550.0 mV)
500 to 5500 (0.500 to 5.500 V)
–100 to 5500 (–0.100 to 5.500 V)
Table 5 Decimal point code
Decimal point data
0
1
2
3
4
Setting data
–32767 to 32767
–3276.7 to 3276.7
–327.67 to 327.67
–32.767 to 32.767
–3.2767 to 3.2767
-40-
Data
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Unit
ppm
ppmNH3
ppmSO2
ppmH2S
ppmCO
ppmO2
ppmNOx
ppb
pH
mol
%
%H2
%CO2
%He
%Ar
%O2
%NaCl
%CO
Data
162
163
164
165
166
167
Unit
*Unit 7
*Unit 8
*Unit 9
*Unit 10
*Unit 11
*Unit 12
Table 6 Data setting limit
• With Fvalue calculation OFF
Input type TC, Pt
Input type
K-Type TC
E-Type TC
J-Type TC
T-Type TC
R-Type TC
S-Type TC
B-Type TC
N-Type TC
W-Type TC
L-Type TC
U-Type TC
PN-Type TC
Pt100
JPt100
°C (Centigrade)
Range start, Range end
Alarm No.1 to 4 set point
Totalize cut value
–2300 to 14000 (–230.0 to 1400.0°C)
–2300 to 8300 (–230.0 to 830.0°C)
–2300 to 11300 (–230.0 to 1130.0°C)
–2300 to 4300 (–230.0 to 430.0°C)
–300 to 17900 (–30.0 to 1790.0°C)
–300 to 17900 (–30.0 to 1790.0°C)
3700 to 17900 (370.0 to 1790.0°C)
–300 to 13300 (–30.0 to 1330.0°C)
–300 to 17900 (–30.0 to 1790.0°C)
–2300 to 9300 (–230.0 to 930.0°C)
–2300 to 4300 (–230.0 to 430.0°C)
–300 to 13300 (–30.0 to 1330.0°C)
–2300 to 6300 (–230.0 to 630.0°C)
–2300 to 6300 (–230.0 to 630.0°C)
°F (Fahrenheit)
Range start, Range end
Alarm No.1 to 4 set point
Totalize cut value
–3820 to 25520 (–382.0 to 2552.0°F)
–3820 to 15260 (–382.0 to 1526.0°F)
–3820 to 20660 (–382.0 to 2066.0°F)
–3820 to 8060 (–382.0 to 806.0°F)
–220 to 32540 (–22.0 to 3254.0°F)
–220 to 32540 (–22.0 to 3254.0°F)
6980 to 32540 (698.0 to 3254.0°F)
–220 to 24260 (–22.0 to 2426.0°F)
–220 to 32540 (–22.0 to 3254.0°F)
–3820 to 17060 (–382.0 to 1706.0°F)
–3820 to 8060 (–382.0 to 806.0°F)
–220 to 24260 (–22.0 to 2426.0°F)
–3820 to 11660 (–382.0 to 1166.0°F)
–3820 to 11660 (–382.0 to 1166.0°F)
Scaling OFF
Range start, Range end
Alarm No.1 to 4 set point
Totalize cut value
–1000 to 5500 (–10.00 to 55.00 mV)
–100 to 5500 (–10.0 to 550.0 mV)
500 to 5500 (0.500 to 5.500 V)
–100 to 5500 (–0.100 to 5.500 V)
Scaling ON
Range start, Range end
Alarm No.1 to 4 set point
Totalize cut value
Input type Volt
Input type
50 mV
500 mV
1-5 V
0-5 V
• With Fvalue calculation ON or Input type other channel
Range start, Range end
Alarm No.1 to 4 set point
Totalize cut value
–32767 to 32767 (Please refer to Table 15)
Input type
All type
Table 7 Totalize type code
Data
0
1
3
6
15
Totalize type
Daily
Monthly
Annual
External
OFF
Table 8 Totalize input and External input code
Input
0
1
2
3
4
5
6
7
8
9
DI 1
DI 2
DI 3
DI 4
DI 5
DI 6
DI 7
DI 8
DI 9
DI 10
Data
10
11
12
13
14
Input
CH 1 Alarm No.1
CH 1 Alarm No.2
CH 1 Alarm No.3
CH 1 Alarm No.4
CH 2 Alarm No.1
126
127
128
129
CH30 Alarm No.1
CH30 Alarm No.2
CH30 Alarm No.3
CH30 Alarm No.4
~
Data
-41-
–32767 to 32767 (Please refer to Table 5)
Table 9 Totalize reset input code
Input
0
1
2
3
4
5
6
7
8
9
10
None
DI 1
DI 2
DI 3
DI 4
DI 5
DI 6
DI 7
DI 8
DI 9
DI 10
Data
11
12
13
14
15
Input
CH 1 Alarm No.1
CH 1 Alarm No.2
CH 1 Alarm No.3
CH 1 Alarm No.4
CH 2 Alarm No.1
127
128
129
130
CH30 Alarm No.1
CH30 Alarm No.2
CH30 Alarm No.3
CH30 Alarm No.4
~~
Data
Table 10 Totalize cycle code
Data
0
1
2
3
4
5
6
7
8
9
Totalize type
10 min
20 min
30 min
1 hour
2 hour
3 hour
4 hour
6 hour
12 hour
24 hour
Table11 Formula code
Calculation data = four rules calculation data + function data * 256
Data
0
1
2
3
4
5
6
7
8
9
10
11
12
13
Function data
None
ABS
POW
SQR
LOG
LN
EXP
RH
MAX
MIN
H-P
L-P
AVG
SUM
Data
0
1
2
3
4
Four rules calculation data
Formula end
+ (Please set it to the 1st calculation)
–
*
/
Argument 1, 2 data = argument type * 256 + data number
Data
0
1
2
3
4
5
Argument type
Input channel
Totalizer input
Digital input
Communication input
Constant
Temporary data
Data number limit
0 to 29 (Channel 1 to 30: C01 to C30)
0 to 29 (Channel totalizer 1 to 30: T01 to T30)
0 to 9 (DI 1 to 10: D01 to D10)
0 to 11(Communication input 1 to 12: M01 to M12)
0 to 19 (Constant 1 to 20: K01 to K20)
0 to 2 (Temporary data 1 to 3: B01 to B03)
-42-
Ex.) When setting “POW (C01, T02)*K03” in Formula 1 of Channel 19, set the following data.
Address
42551
42552
42553
42554
42555
42556
42557
42558
42559
Data
513
0
257
3
1026
0
0
0
0
Display
(+)POW
C01
T02
*
K03
(none)
(End)
(none)
(none)
Breakdown
Four rules calc. data: “+” (1) + Function data: “POW”(2 * 256)
Argument type: Input channel (0 * 256) + Data number: 1 (0)
Argument type: Totalizer input (1 * 256) + Data number: 2 (1)
Four rules calc. data: “*” (3) + Function data: none (0 * 256)
Argument type: Constant (4 * 256) + Data number: 3 (2)
Table12 Constant data
Decimal point data
Constant data
0
1
2
3
4
-32767 to 32767
-3276.7 to 3276.7
-327.67 to 327.67
-32.767 to 32.767
-3.2767 to 3.2767
Table 13 Refreshment cycle code
Data
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Refreshment cycle
1 sec
2 sec
3 sec
5 sec
10 sec
20 sec
30 sec
1 min
2 min
3 min
5 min
10 min
20 min
30 min
1 hour
2 hour
3 hour
4 hour
6 hour
12 hour
Table14 File division cycle code
Data
File division cycle
0
1
2
3
4
No division
1 hour
1 day
1 week
1 month
Table15 FValue calculation decimal point code
Decimal point data
0
1
2
3
4
FValue calculation ON channel data
–32767 to 32767
–3276.7 to 3276.7
–327.67 to 327.67
–32.767 to 32.767
–3.2767 to 3.2767
-43-
Table 16 Message timing data
Message timing argument 1 and 2 have a significant difference according to the contents of Message timing.
Data
0
1
2
3
4
Message timing
None
DI ON
DI OFF
Alarm ON
Alarm OFF
Argument 1 (DI No./Alarm channel)
None
0 to 9 (DI1 to 10)
0 to 9 (DI1 to 10)
0 to 29 (Channel 1 to 30)
0 to 29 (Channel 1 to 30)
Argument 2 (Alarm No.)
None
None
None
0 to 3 (Alarm No.1 to 4)
0 to 3 (Alarm No.1 to 4)
Table 17 DI function code
Data
0
1
2
3
4
5
DI function
Function invalid
Rec start/Rec stop
Fvalue calc. reset
Totalize start/stop
Totalize reset
LCD ON
Table 18 Recorder control
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Contents
Record start/stop
Reserve
Totalize start/stop
LCD Lighting
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Write data
0: Record stop, 1: Record start
0: Totalize stop, 1: Totalize start
0: No change, 1: LCD Lighting
Table 19 Message request
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Contents
Message No.1 request
Message No.2 request
Message No.3 request
Message No.4 request
Message No.5 request
Message No.6 request
Message No.7 request
Message No.8 request
Message No.9 request
Message No.10 request
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Write data
0: No change, 1: Message request
0: No change, 1: Message request
0: No change, 1: Message request
0: No change, 1: Message request
0: No change, 1: Message request
0: No change, 1: Message request
0: No change, 1: Message request
0: No change, 1: Message request
0: No change, 1: Message request
0: No change, 1: Message request
-44-
Table 20 Totalize reset request per channel
Write data
0: No change, 1: Totalize reset request
Bit
Address 45051
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Address 45052
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
Channel 9
Channel 10
Channel 11
Channel 12
Channel 13
Channel 14
Channel 15
Channel 16
Channel 17
Channel 18
Channel 19
Channel 20
Channel 21
Channel 22
Channel 23
Channel 24
Channel 25
Channel 26
Channel 27
Channel 28
Channel 29
Channel 30
Reserve
Reserve
Table 21 E-mail trigger timing data
Argument 1 and 2 have a significant difference according to the contents of E-mail trigger timing.
Data
0
1
2
3
4
5
Trigger timing
None
DI ON
DI OFF
Alarm ON
Alarm OFF
Warning
6
Timer cycle
Argument 1
None
0 to 9 (DI 1 to 10)
0 to 9 (DI 1 to 10)
0 to 29 (Channel 1 to 30)
0 to 29 (Channel 1 to 30)
0 to 3
0: Alarm ON (All ch)
1: All warning
2: No battery
3: CF full
0 to 6
0: 1 hour
1: 2 hour
2: 3 hour
3: 4 hour
4: 6 hour
5: 12 hour
6: 1 day
Table 22 Receiver’s mail address No.
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Contnets
E-mail address No. 1
E-mail address No. 2
E-mail address No. 3
E-mail address No. 4
E-mail address No. 5
E-mail address No. 6
E-mail address No. 7
E-mail address No. 8
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Data
0: No receive; 1: Address to receive
0: No receive; 1: Address to receive
0: No receive; 1: Address to receive
0: No receive; 1: Address to receive
0: No receive; 1: Address to receive
0: No receive; 1: Address to receive
0: No receive; 1: Address to receive
0: No receive; 1: Address to receive
-45-
Argument 2
None
None
None
0 to 3 (Alarm No. 1 to 4)
0 to 3 (Alarm No. 1 to 4)
None
0 to 23
(Base time 0:00 to 23:00)
Table 23 System information
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Contents
Recording status
CF card capacity
Channel alarming status
Reserve
Reserve
LCD state
Reserve
Totalizing condition
Battery condition
Reserve
CF card status
Reserve
Reserve
Reserve
Reserve
Reserve
Read data
0: Stop, 1: Recording
0: Capacity available, 1: No capacity
0: OFF, 1: ON
0: ON, 1: OFF
0: Stop, 1: Totalizing
0: Provided, 1: Not provided
0: None, 1: Exist
Table 24 DO information
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Address 30003
Contents
Read data
DO 1 information
0: OFF, 1: ON
DO 2 information
0: OFF, 1: ON
DO 3 information
0: OFF, 1: ON
DO 4 information
0: OFF, 1: ON
DO 5 information
0: OFF, 1: ON
DO 6 information
0: OFF, 1: ON
DO 7 information
0: OFF, 1: ON
DO 8 information
0: OFF, 1: ON
DO 9 information
0: OFF, 1: ON
DO 10 information
0: OFF, 1: ON
DO 11 information
0: OFF, 1: ON
DO 12 information
0: OFF, 1: ON
DO 13 information
0: OFF, 1: ON
DO 14 information
0: OFF, 1: ON
DO 15 information
0: OFF, 1: ON
DO 16 information
0: OFF, 1: ON
Address 30004
Contents
Read data
DO 17 information
0: OFF, 1: ON
DO 18 information
0: OFF, 1: ON
DO 19 information
0: OFF, 1: ON
DO 20 information
0: OFF, 1: ON
DO 21 information
0: OFF, 1: ON
DO 22 information
0: OFF, 1: ON
DO 23 information
0: OFF, 1: ON
DO 24 information
0: OFF, 1: ON
DO 25 information
0: OFF, 1: ON
DO 26 information
0: OFF, 1: ON
DO 27 information
0: OFF, 1: ON
DO 28 information
0: OFF, 1: ON
Reserve
Reserve
Reserve
Reserve
Table 25 DI information
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Contents
DI 1 information
DI 2 information
DI 3 information
DI 4 information
DI 5 information
DI 6 information
DI 7 information
DI 8 information
DI 9 information
DI 10 information
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Read data
0:OFF, 1:ON
0:OFF, 1:ON
0:OFF, 1:ON
0:OFF, 1:ON
0:OFF, 1:ON
0:OFF, 1:ON
0:OFF, 1:ON
0:OFF, 1:ON
0:OFF, 1:ON
0:OFF, 1:ON
-46-
Table 26 Channel Alarm information
All data
0: Alarm OFF, 1: Alarm ON
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Address 30093
Channel 1
Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 2
Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 3
Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 4
Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Address 30094
Channel 5
Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 6
Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 7
Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 8
Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Address 30095
Channel 9
Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 10 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 11 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 12 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Address 30096
Channel 13 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 14 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 15 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 16 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Address 30097
Channel 17 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 18 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 19 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 20 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Address 30098
Channel 21 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 22 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 23 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 24 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Address 30099
Channel 25 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 26 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 27 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 28 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Address 30100
Channel 29 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Channel 30 Alarm No.1
Alarm No.2
Alarm No.3
Alarm No.4
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Bit
-47-
8. SAMPLE PROGRAM
This section concerns data read-out/write-in sample program by GW-BASIC*1 which operated on Windows 98*1
MS-DOS*1 PROMPT.
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), data length, stop bits and parity bit:
Set in this program.
Match the conditions with this instrument.
*1:
GW-BASIC, Windows 98 and MS-DOS are the registered trademarks of Microsoft Corporation.
-48-
(a) Example of data read-out
Operation : allows measured values in Channel 1 to 9 to be read out at a time.
(Continuous word read-out from read-out only area)
Used function code
: 04H
Read-out start register No.
: 30101
Read-out word number
:9
1000
1010
1020
1030
1040
1050
1060
1070
1080
1100
1110
1120
1130
1140
1150
1160
1170
1200
1210
1220
1230
1240
1250
1300
1310
1320
1330
1340
1350
1360
1370
1380
1390
1500
1510
1520
1530
1540
1550
1560
1570
1580
1590
1600
1610
1620
1630
1700
1710
1720
1730
1740
1750
1760
1770
1780
1790
1800
1810
1900
1910
1920
1930
1940
'------------------------------------------------------' READ CONTINUOUS WORDS
SAMPLE PROGRAM
'------------------------------------------------------'
'
'
CLS
DIM CC(255)
'
'-------------- Send data setting ----------------------CC(1)=&H01
'Station No. = 1
CC(2)=&H04
'Function code = 04H
CC(3)=&H00
'Upper byte of relative address(0064H) of resister No.30101
CC(4)=&H64
'Lower byte of relative address(0064H) of resister No.30101
CC(5)=&H00
'Upper byte of read-out word number(0009H)
CC(6)=&H09
'Lower byte of read-out word number(0009H)
COUNT=6
'
'------------- CRC code calculation of send data -------------GOSUB 3020
CC(7)=CRC.L
'Lower byte of CRC calculation result -> Upper byte in message
CC(8)=CRC.H
'Upper byte of CRC calculation result -> Lower byte in message
COUNT=COUNT+2
'
'------------- Send data ----------------------------PRINT "Sending data > ";
OPEN "COM1:9600,o,8,1" AS #1 '9600bps, Odd parity, Data Length=8, Stop bit=1
FOR I=1 TO COUNT
PRINT #1,CHR$(CC(I));
'Writing in transmission port
PRINT RIGHT$("0"+HEX$(CC(I)),2);" "; 'Displaying on screen
NEXT I
'
FOR I=O TO 300000 :NEXT I
'Interval time
'
'------------- Data receive ---------------------------PRINT
LENGTH=LOC(1)
'Number of data in receiving buffer
IF LENGTH=0 THEN PRINT "No answer" :END
PRINT "Receiving data < ";
FOR I=1 TO LENGTH
X$=INPUT$(1,#1)
'Taking data from receiving buffer
CC(I)=ASC(X$)
'Digitizing and storing
PRINT RIGHT$("0"+HEX$(CC(I)),2);" "; 'Displaying on screen
NEXT I
CLOSE #1
COUNT=LENGTH-2
GOSUB 3020
'GOSUB *CRC.CALC
'
'------------- Transmission error check ----------------------PRINT
CRC.L$=RIGHT$("0"+HEX$(CRC.L),2)
CRC.H$=RIGHT$("0"+HEX$(CRC.H),2)
PRINT "CRC calculation = ";CRC.L$;" ";CRC.H$
IF CC(LENGTH-1)<>CRC.L THEN GOTO 1790
'GOTO *ER.MESSAGE
IF CC(LENGTH)<>CRC.H THEN GOTO 1790
'GOTO *ER.MESSAGE
GOTO 1920
'GOTO *PRT.RESULT
'*ER.MESSAGE
PRINT "Communication error"
END
'
'------------- Display of result --------------------------'*PRT.RESULT
' In case of decimal point position = 1 and unit = mV
PRINT
-49-
1950
1960
1970
1980
1990
2000
2010
2020
2030
2040
2050
2060
2070
2080
2090
2100
2110
2120
2130
3000
3010
3020
3030
3040
3050
3060
3070
3080
3090
3100
3110
3120
3130
3140
3150
3160
3170
3180
CH1$=HEX$(CC(4))+RIGHT$("0"+HEX$(CC(5)),2)
'2byte -> 1word
CH2$=HEX$(CC(6))+RIGHT$("0"+HEX$(CC(7)),2)
'2byte -> 1word
CH3$=HEX$(CC(8))+RIGHT$("0"+HEX$(CC(9)),2)
'2byte -> 1word
CH4$=HEX$(CC(10))+RIGHT$("0"+HEX$(CC(11)),2) '2byte -> 1word
CH5$=HEX$(CC(12))+RIGHT$("0"+HEX$(CC(13)),2) '2byte -> 1word
CH6$=HEX$(CC(14))+RIGHT$("0"+HEX$(CC(15)),2) '2byte -> 1word
CH7$=HEX$(CC(16))+RIGHT$("0"+HEX$(CC(17)),2) '2byte -> 1word
CH8$=HEX$(CC(18))+RIGHT$("0"+HEX$(CC(19)),2) '2byte -> 1word
CH9$=HEX$(CC(20))+RIGHT$("0"+HEX$(CC(21)),2) '2byte -> 1word
PRINT "CH1 =";VAL("&H"+CH1$)/10;"mV"
'1 place of decimal
PRINT "CH2 =";VAL("&H"+CH2$)/10;"mV"
'1 place of decimal
PRINT "CH3 =";VAL("&H"+CH3$)/10;"mV"
'1 place of decimal
PRINT "CH4 =";VAL("&H"+CH4$)/10;"mV"
'1 place of decimal
PRINT "CH5 =";VAL("&H"+CH5$)/10;"mV"
'1 place of decimal
PRINT "CH6 =";VAL("&H"+CH6$)/10;"mV"
'1 place of decimal
PRINT "CH7 =";VAL("&H"+CH7$)/10;"mV"
'1 place of decimal
PRINT "CH8 =";VAL("&H"+CH8$)/10;"mV"
'1 place of decimal
PRINT "CH9 =";VAL("&H"+CH9$)/10;"mV"
'1 place of decimal
END
'
'------------ CRC calculation -----------------------------'*CRC.CALC
'For contents, refer to CRC calculation flow chart
CR=&HFFFF
FOR I=1 TO COUNT
CR=CR XOR CC(I)
FOR J=1 TO 8
CT=CR AND &H1
IF CR<0 THEN CH=1 ELSE CH=0:GOTO 3100
CR=CR AND &H7FFF
'*CRC.CALC.10
CR=INT(CR/2)
IF CH=1 THEN CR=CR OR &H4000
IF CT=1 THEN CR=CR XOR &HA001
NEXT J
NEXT I
CRC.L=CR AND &HFF
'Lower byte of CRC calculation
CRC.H=((CR AND &HFF00)/256 AND &HFF)
'Upper byte of CRC calculation
RETURN
-50-
(b) Data write-in example
Operation : allows alarm latch in Station No. 1 to be released via communication.
(Word write-in)
Used function code
: 10H
Write-in start register No.
: 45007
Write-in word number
:1
Write-in data
: 1 (Alarm latch clear)
1000 '------------------------------------------------------1010 ' WRITE CONTINUOUS WORDS
SAMPLE PROGRAM
1020 '------------------------------------------------------1030 '
1040 '
1050 '
1060 CLS
1070 DIM CC(255)
1080 '
1100 '-------------- Send data setting ----------------------1110 CC(1)=&H01
'Station No. = 1
1120 CC(2)=&H10
'Function code = 10H
1130 CC(3)=&H13
'Upper byte of relative address(138EH) of resister No.45007
1140 CC(4)=&H8E
'Lower byte of relative address(138EH) of resister No.45007
1150 CC(5)=&H00
'Upper byte of write-in word number(0001H)
1160 CC(6)=&H01
'Lower byte of write-in word number(0001H)
1170 CC(7)=&H02
'Write-in word number * 2
1180 CC(8)=&H00
'Upper byte of write-in data(0001H)
1190 CC(9)=&H01
'Lower byte of write-in data(0001H)
1200 COUNT=9
1210 '------------- CRC code calculation of send data -------------1220 GOSUB 3020
1230 CC(10)=CRC.L
'Lower byte of CRC calculation result -> Upper byte in
message
1240 CC(11)=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:9600,o,8,1" AS #1 '9600bps, Odd parity, Data Length=8, Stop bit=1
1340 FOR I=1 TO COUNT
1350 PRINT #1,CHR$(CC(I));
'Writing in transmission port
1360 PRINT RIGHT$("0"+HEX$(CC(I)),2);" "; 'Displaying on screen
1370 NEXT I
1380 '
1390 FOR I=O TO 300000 :NEXT I
'Interval time
1500 '
1510 '------------- Data receive ---------------------------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 3020
'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 1790
'GOTO *ER.MESSAGE
1770 IF CC(LENGTH)<>CRC.H THEN GOTO 1790
'GOTO *ER.MESSAGE
1780 GOTO 1920
'GOTO *PRT.RESULT
1790 '*ER.MESSAGE
1800 PRINT "Communication error"
1810 END
-51-
1900
1910
1920
1930
1940
1950
3000
3010
3020
3030
3040
3050
3060
3070
3080
3090
3100
3110
3120
3130
3140
3150
3160
3170
3180
'
'------------- Display of result --------------------------'*PRT.RESULT
PRINT
PRINT "Completion of alarm latch clear"
END
'
'------------ CRC calculation -----------------------------'*CRC.CALC
'For contents, refer to CRC calculation flow chart
CR=&HFFFF
FOR I=1 TO COUNT
CR=CR XOR CC(I)
FOR J=1 TO 8
CT=CR AND &H1
IF CR<0 THEN CH=1 ELSE CH=0:GOTO 3100
CR=CR AND &H7FFF
'*CRC.CALC.10
CR=INT(CR/2)
IF CH=1 THEN CR=CR OR &H4000
IF CT=1 THEN CR=CR XOR &HA001
NEXT J
NEXT I
CRC.L=CR AND &HFF
'Lower byte of CRC calculation
CRC.H=((CR AND &HFF00)/256 AND &HFF)
'Upper byte of CRC calculation
RETURN
-52-
9. ETHERNET COMMUNICATION
FUNCTIONS
FTP server function, web server function, E-mail send function and MODBUS TCP/IP function can be used for
Ethernet communication.
Setting of IP address, etc. is essential for connection of a paperless recorder to Ethernet. Be sure to consult with the
system manager of your company.
9.1 LAN port specification
Item
Transmission rate
Transmission method
Maximum network length or maximum node interval
Maximum segment length
Cable for connection
Protocol
Specification 10BASE-T
10 Mbps
Base band
500 m (cascade in 4 stages)
100 m (between node and hub)
UTP (twisted-pair cable without shield) 22-26 AWG
TCP/IP
9.2 Connection to the terminal
Ethernet terminal
9.3 Connection
Ethernet
HUB
10 BASE-T
straight cable
Node to hub distance:
Maximum number of nodes per network:
Recommended cable:
Up to 100 m
100 nodes
10 BASE-T twisted-pair cable, Category 5
-53-
9.4 Setting Ethernet communicating conditions
•
Set IP address, subnet mask and default gateway for connection of the paperless recorder to Ethernet.
with the system manager of your company for the values to be set.)
(Consult
•
Communicating conditions setting items
Item
Value at delivery
IP address
192.168. 1. 1
Sugnet mask
255.255.255. 0
Default gateway
0. 0. 0. 0
Setting range
0 to 255 for each digit
0 to 255 for each digit
0 to 255 for each digit
Remarks
Turn ON the power again after
setting change.
9.5 Ethernet communicating conditions setting operation
(1) Select Main unit” → “Ethernet communication setting” on the parameter setting screen, and the “Ethernet
communication setting” screen appears.
(2) Select “Ethernet setting 1”, and the following screen appears.
(3) Move the cursor to “IP address” and set an IP address.
(4) Move the cursor to “Subnet mask”, and set a subnet mask.
(5) Move the cursor to “Default gateway”, and set a default gateway.
-54-
10. FTP SERVER FUNCTION
10.1 Description of FTP server function
•
This function permits take-out of record files from the compact flash of the recorder, using browser or DOS
prompt.
•
This function permits take-out of record data from the internal memory of the recorder, using browzer or DOS
prompt.
•
This function permits deletion of record files from the compact flash of the recorder, using browser or DOS
prompt. (Users of Administrator, Engineer and Operator level can be deleted.)
•
This function permits changing names of record files recorded on the compact flash of the recorder, using
browser or DOS prompt. (Users of Administrator, Engineer and Operator level can be changed.)
•
Use Internet Explorer made by Microsoft as the personal computer's browser.
•
Up to eight (8) user names and passwords may be set for those who are permitted to log in the FTP server.
•
If the FTP server access verify function is OFF, log-in to the FTP server is permitted with common user name
“ftp” (without password).
•
When log-in or log-off to/from the FTP server is executed, the subject information is displayed on the Ethernet
communication log screen.
•
The FTP server permits log-in by one user only at a time.
•
Record data in the internal memory of recorder becomes binary format regardless of “Record data format”
setting in the main body.
•
The folder configuration of FTP server is shown in the next page.
[Caution]
• The communication automatically disconnects, if no FTP communication request is made for 10 minutes.
•
The display motion of the paperless recorder may slow down when taking out a file of large size.
•
While the compact flash of the paperless recorder is accessed by FTP communication, do not take out the
compact flash.
Furthermore, when the FTP server function is used, inhibit access to the compact flash in the “Memory card
abstract” screen, before taking out the compact flash.
•
Do not delete or change the name of a file while the file is being recorded or integrated.
•
Attributes of all files in the FTP server are displayed as read-only as hidden files.
•
If the Ethernet communication is shut down while the FTP server is in log-in status, log-in is not permitted
until the communication is automatically disconnected ten (10) minutes later.
-55-
FTP server folder configuration
Compact flash card
Root
Folder
S000000
S******.FDT
Record file
A******.FDT
Event file
Folder name
T000000
File name
T******.FDT
Daily totalizing data file
D******.FDT
Monthly totalizing data file
M******.FDT
Annual totalizing data file
E******.FDT
External signal totalizing data file
PA00000.PHR
Setting value file
Folder name
PARAM
Internal memory (The name of record data in the internal memory is fixed.)
MEMORY
SI00000.FDT, SI00001.FDT, SI00002.FDT, SI00003.FDT
Record data of internal memory (4 pieces max.)
AI00000.FDT, AI00001.FDT, AI00002.FDT, AI00003.FDT
Event data of internal memory (4 pieces max.)
Folder name
T000000
File name
TI00000.FDT, TI00001.FDT
DI00000.FDT, DI00001.FDT
MI00000.FDT, MI00001.FDT
EI00000.FDT, EI00001.FDT
-56-
Daily totalizing data file of internal memory
(2 pieces max.)
Monthly totalizing data file of internal memory
(2 pieces max.)
Annual totalizing data file of internal memory
(2 pieces max.)
External input totalizing data of internal
memory
(2 pieces max.)
10.2 Setting FTP server function
•
Execute setting of FTP server function and of access verification, for using the FTP server function.
Furthermore, set names and passwords of those who use the FTP server function.
•
FTP server function setting items
Item
FTP server function
FTP access control
•
OFF
OFF
Value at delivery
Setting range
ON, OFF
ON, OFF
Value at delivery
(Blank)
(Blank)
Administrator
Setting range
Up to 16 letters may be set.
Up to 8 letters may be set.
Administrator, guest
Remarks
Turn ON the power again
after setting is changed.
User name setting items
Item
User 1 to 8 name
User 1 to 8 password
User 1 to 8 level
Remarks
10.3 FTP server function setting operation
• FTP server function setting
(1) Select “Main unit” → “Ethernet communication setting” → “Ethernet setting 2” on the parameter setting screen,
and the following screen appears.
(2) Move the cursor to “FTP server function”, and select FTP server function ON/OFF. The FTP server function
can be used, if ON is set.
(3) Move the cursor to “FTP access control”, and select FTP access control function ON/OFF. No password is
required at the time of log-in to the FTP server, if OFF is set.
-57-
• User name setting
(1) Select “Main unit” → “Ethernet communication setting” → “User account setting” on the parameter setting
screen, and the following screen appears.
(2)
(3)
(4)
(5)
Select a user No. to be set.
Set a user name using up to 16 letters.
Set a password using up to 8 letters.
Select a user access level out of “administrator” and “guest”.
If “guest” was selected, file deletion is not permitted, although log-in to the FTP server is permitted.
10.4 FTP server operation
•
(1)
(2)
(3)
(4)
(5)
(6)
(7)
Connect the FTP server to the paperless recorder from the browser, by performing operation in the sequence
indicated below.
Start Internet Explorer from a personal computer on Ethernet.
Enter the IP address of the paperless recorder in the address column in the following manner.
FTP: //(paperless recorder's IP address)
Enter FTP: //192.168.1.2 in case the IP address of the paperless recorder is 192.168.1.2.
The screen that requests entry of user name and password appears. Enter a user name and password.
The “S000000” and “MEMORY” directories are displayed on the browser.
Select the “S000000” folder to display the recorded files in the compact flash.
Select the “MEMORY” folder to display the recorded data in the internal memory.
The files recorded in the browser are displayed.
Select a desired file and copy it to an arbitrary folder in the personal computer.
If the compact flash was selected, you can delete the recorded files. Select a desired file and delete it.
-58-
11. Web server function
11.1 Description of web server function
•
The web server function permits monitoring of measured values and event log in the paperless recorder using
personal computer's browser.
•
Use Internet Explorer made by Microsoft as the personal computer's browser.
[Caution] • Monitoring from cell phone's browser is not permitted. If connection to recorder's web server is
made from a cell phone, the recorder may halt in the worst case. Do not attempt to monitor data in
the paperless recorder from a cell phone.
• An error may arise depending on the circumstances of the communication, as the period of update of
the browser is 10 seconds.
The screen of the PC is displayed again, if the update button of the browser is pressed in such a case.
• The characters may not be displayed normally depending on the setting of the browser.
• With the type of 9-channel specifications, 0.0°C is displayed as the reading of channels 10 to 18 on
the measured value display screen.
11.2 Setting web server function
•
Set the web server function for permitting its use.
•
Set items
Item
Web server function
Value at delivery
OFF
Setting range
ON, OFF
Remarks
Turn ON the power again after setting is changed.
11.3 Web server function setting operation
(1) Select “Main unit” → “Ethernet communication setting” → “Ethernet setting 2” on the parameter setting screen,
and the follow screen appears.
(2) Move the cursor to “Web server function”, and select web server function ON/OFF.
function is permitted if ON is set.
-59-
Use of the web server
11.4 Web server operation
•
Connect the web server to the paperless recorder from the personal computer's browser, by performing
operation in the sequence indicated below.
(1) Start Internet Explorer from a personal computer on Ethernet.
(2) Enter the IP address of the paperless recorder in the address column in the following manner.
http: //(paperless recorder's IP address)
Enter http: //192.168.1.2 in case the IP address of the paperless recorder is 192.168.1.2.
(3) The paperless recorder monitor screen is displayed on the browser.
11.5 Web monitor screen
•
Connect to the web server of the paperless recorder, and the following screen appears.
(1) Web monitor menu screen
-60-
(2) PV display screen
(3) Totalize display screen
-61-
(4) Event Summary display screen
-62-
12. E-MAIL SEND FUNCTION
12.1 Description of E-mail send function
•
E-mails can be transmitted from the paperless recorder.
•
E-mails can be transmitted in any of the states indicated below.
(1) An alarm arose or was cancelled.
(2) An external input (DI) was ON or OFF.
(3) Any error occurred to the main unit. (When battery end, memory card full, or one of the alarms of all the
channels should occur)
(4) Once every fixed period (The period may be selected out of 1 hour, 2 hours, 3 hours, 4 hours, 6 hours, 12
hours and 24 hours.)
•
Up to eight (8) addresses can be registered for transmission of E-mails.
•
Measured values of each channel can be attached to each E-mail.
(Receipt of E-mails is not permitted.)
• E-mail transmission test can be conducted in the E-mail trigger setting screen.
[Caution]
• Up to sixteen (16) E-mail send requests can be transmitted continuously, but not more than 16.
No transmission will be implemented if the number of E-mail send requests exceeds 16. Therefore, make
setting so that E-mail send requests will not occur continuously.
• For sending E-mails, it is necessary to register the paperless recorder in the mail server.
Consult with the system manager of your company, for registration to the mail server.
•
If E-mail send fails, the E-mail send requests are cancelled.
•
Even if E-mail is sent, there is a possibility where the E-mail does not reach the destination because of
incorrect address, etc.
•
If two or more E-mail addresses are set as send destinations in the E-mail trigger setting, the error message
is not recorded on the Ethernet log screen unless all the attempts to send E-mails fail.
12.2 Setting E-mail function
•
Set E-mail send/receive addresses and E-mail send trigger, for permitting use of the E-mail function.
(Consult with the system manager of your company, for the values to be set.)
•
E-mail function set items
Item
E-mail function
•
Value at delivery
OFF
Setting range
ON, OFF
Remarks
Turn ON the power again after setting
change.
E-mail send/receive address set items
Item
SMPT IP address
Sender’s mail address
Sender’s mail name
Receiver’s mail address
1 to 8
Value at delivery
0. 0. 0. 0
(Blank)
(Blank)
(Blank)
Setting range
0 to 255 for each digit
Up to 64 letters may be set.
Up to 32 letters may be set.
Up to 64 letters may be set.
-63-
Remarks
•
E-mail send trigger set items
Item
Title
Trigger timing
Value at delivery
(Blank)
None
DI No.
Alarm Channel
Alarm No.
Warning type
DI 1
Channel 1
1
Alarm ON (All ch)
Time cycle
Time base (hour)
Text 1
Text 2
PV value affixation
Receiver’s add No.
1 hour
0:00
(Blank)
(Blank)
OFF
None
Setting range
Up to 32 letters may be set.
None, DI ON, DI OFF,
Alarm ON, Alarm OFF,
Warning, Timer cycle
DI 1 to 10
Channel 1 to 18
1 to 4
Alarm ON (All ch),
All warning, No battery,
CF full
1, 2, 3, 4, 6, 12 hour, 1 day
0:00 to 23:00
Up to 32 letters may be set.
Up to 32 letters may be set.
ON, OFF
Receiver’s address
No. 1, 2, 3, 4, 5, 6, 7, 8
Remarks
Trigger timing = DI ON, DI OFF
Trigger timing = Alarm ON, OFF
Trigger timing = Warning
Trigger timing = Timer cycle
12.3 E-mail function setting operation
• Setting E-mail function
(1) Select “Main unit” → “Ethernet communication setting” → “Ethernet setting 2” on the parameter setting screen,
and the following screen appears.
(2) Move the cursor to “E-mail function”, and select E-mail function ON/OFF.
used, if ON is set.
-64-
The E-mail send function can be
• Setting E-mail send/receive addresses
(1) Select “Main unit” → “Ethernet communication setting” → “E-mail setting 1” on the parameter setting screen,
and the following screen appears.
(2)
(3)
(4)
(5)
Move the cursor to “SMTP IP address”, and set the IP address of the mail server.
Move the cursor to “Sender’s mail Add”, and set the sender's mail address.
Move the cursor to “Sender’s mail Name”, and set the sender's name.
Select “Main unit” → “Ethernet communication setting” → “E-mail setting 2” on the parameter setting screen,
and the following screen appears.
(6) Move the cursor to “Receiver’s mail Add”, and set up to eight (8) receivers' mail addresses.
-65-
• Setting E-mail send trigger
(1) Select “Main unit” → “Ethernet communication setting” → “E-mail trigger setting” on the parameter setting
screen, and the following screen appears.
(2) Up to ten (10) patterns of E-mail send timing may be set.
Select a send timing to be selected, and press the [ENT] key.
(3) Move the cursor to “Title”, and set the E-mail title.
(4) Move the cursor to “Trigger timing”, and select an E-mail send timing.
Select one of the followings as an E-mail send timing.
When a timing is selected, particulars set items are displayed for each timing type. Set these items also.
1) DI ON, DI OFF
E-mails can be sent by DI ON/OFF.
When DI ON/OFF timing is selected, set items for the DI No. to be used are displayed. Set the DI No. to be
used for judgment.
2) Alarm ON, Alarm OFF
E-mails can be sent by the alarm occur/cancel information.
When alarm ON/OFF timing is selected, set items for the channel No. and alarm No. to be used are displayed.
Set the channel No. and alarm No. to be used for judgment.
3) Warning
E-mails can be sent by warning occur information.
When warning is selected, set items for the warning information to be used are displayed. Set the warning
information to be used for judgment.
-66-
4) Timer cycle
E-mails can be sent in a fixed period.
When timer cycle is selected, set items for the send period and reference time are displayed. Set the Email send period and reference time.
(5) Move the cursor to “Text 1”, “Text 2”, and set a comment of two (2) lines to be described in the E-mail.
(6) Move the cursor to “PV value affixation”, and set whether to indicate measured values of all the channels in the
E-mail. All the channels can be indicated, ON is set.
(7) Move the cursor to “Receiver’s add No.”, and select an address No. to receive the E-mail.
The E-mail is sent to each address No. for which ON was set.
12.4 E-mail send test operation
•
Conduct an E-mail send test with the paperless recorder, by performing operation in the sequence indicated
below.
(1) Select “Main unit” → “Ethernet communication setting” → “E-mail trigger setting”.
(2) Select an E-mail trigger setting No. to conduct a send test.
(3) Move the cursor to “Mail send test”, and press the [ENT] key. Then, an E-mail send test can be conducted.
12.5 E-mail send contents
•
The paperless recorder sends an E-mail with following contents.
Sender's mail name
Mail title
Mail trigger timing & time
2002/ 4/ 3 20:00:00 Operational report
1hour
PVON
CH1 =
CH2 =
CH3 =
CH4 =
CH5 =
CH6 =
CH7 =
CH8 =
CH9 =
Mail text 1
Mail text 2
PV value
862.6mH
862.5mm/s
862.5mV
862.5mV
6.270V
6.270V
6.270V
6.270V
6.270V
-67-
13. MODBUS TCP/IP FUNCTION
13.1 Description of MODBUS TCP/IP function
•
The MODBUS TCP/IP protocol permits use of MODBUS protocol (MODBUS RTU), which is used with RS485 interface, on an Ethernet interface.
* See Chapter 5 through Chapter 7 for MODBUS protocol (MODBUS RTU) of RS-485 interface.
•
MODBUS TCP/IP communication is executed through port 502.
•
The MODBUS TCP/IP function permits read/write of set values from/to the paperless recorder.
13.2 Setting MODBUS TCP/IP function
•
Make MODBUS TCP/IP function setting to permit the use of MODBUS TCP/IP function.
•
Specify station No. to evaluate the device with which communication is to be carried out.
•
Set items
Item
MODBUS TCP/IP
MODBUS Station NO.
Factory default
OFF
1
Setting range
ON, OFF
0 to 255
Remarks
Turn on the power after the setting is changed.
Communication is not carried out if 0 is selected.
13.3 MODBUS TCP/IP function setting operation
(1) Select Select “Main unit” → “Ethernet communication setting” → “Ethernet setting 2” on the parameter setting
screen, and the following screen appears.
(2) Move the cursor to “MODBUS TCP/IP”, and select MODBUS TCP/IP function ON/OFF.
TCP/IP function can be used, if ON is set.
(3) Select “Main unit” → “RS485 communication setting” on the parameter setting screen.
(4) Move the cursor to “MODBUS Station No.” and select a desired station No.
-68-
The MODBUS
13.4 MODBUS TCP/IP communication protocol
•
The MODBUS TCP/IP communication protocol permits use of MODBUS protocol, which is used with RS-485
interface, on the same interface.
* See Chapter 5 through Chapter 7 for MODBUS protocol (MODBUS RTU) of RS-485 interface.
•
MODBUS TCP/IP communication is executed through port 502.
•
A message used by the MODBUS TCP/IP communication protocol is what is produced by deleting two bytes of
error check code MODBUS TCP/IP from a message used by MODBUS RTU and by adding a 6-byte header.
A MODBUS RTU message can be converted to a message for MODBUS TCP/IP as indicated below.
Data section
CRC
A
MODBUS RTU message
MODBUS TCP/IP message
•
Data section
The header of a MODBUS TCP/IP message is composed of transfer ID, protocol ID and total number of bytes
of the data section.
Byte No.
Data content
0
1
Transaction Identifier
Data meaning:
Transaction Identifier:
Protocol Identifier:
Length Unit Identifier:
•
Header
2
3
Protocol Identifier
4
5
Length Unit Identifier
Identification of a MODBUS Request/Response transaction.
Set 0 for MODBUS TCP/IP.
Number of bytes of data part
Conversion of what is shown in Chapter 6.2 (3) Message transmission (example) into a MODBUS TCP/IP
message, for instance, can be accomplished as described below.
For reading the measured value of channel 2 from station No. 1:
Relative address of channel 2 measured value: 0065H (register No. 30102), number of data: 01H
Composition of command message (bytes)
MODBUS RTU message (bytes)
Data
section
CRC
Station No.
Function code
Read start No.
(relative address)
Number of read
data
CRC data
More significant
Less significant
More significant
Less significant
More significant
Less significant
MODBUS TCP/IP message (bytes)
More significant
Transfer ID
Header
Less significant
More significant
Protocol ID
Less significant
More significant
Number of bytes
Less significant
Station No.
Data
Function code
section
Read start No. More significant
(relative address) Less significant
Number of read More significant
data
Less significant
01H
04H
00H
65H
00H
01H
21H
D5H
-69-
00H
00H
00H
00H
00H
06H
01H
04H
00H
65H
00H
01H
Composition of response message (bytes)
MODBUS RTU message (bytes)
Data
section
CRC
•
Station No.
Function code
Number of bytes of read data
Contents of first More significant
word data
Less significant
More significant
CRC data
Less significant
MODBUS TCP/IP message (bytes)
More significant
Transfer ID
Header
Less significant
More significant
Protocol ID
Less significant
More significant
Number of bytes
Less significant
Station No.
Data
Function code
section
Number of bytes of read data
Contents of first More significant
word data
Less significant
01H
04H
02H
01H
4FH
F9H
54H
00H
00H
00H
00H
00H
05H
01H
04H
02H
01H
4FH
The following error code is returned on occurrence of a communication error.
01H
Error code
Content
Illegal function code
02H
Illegal data address
03H
Illegal data number
04H
Device error
Explanation
Non-actual function code is designated.
Check for the function code.
A relative address of a resister number to which the designated function code
can not be used.
Because the designation of number is too much, the area where resister
numbers do not exist is designated.
Communication with slave equipment failed. Check the communication
specification for the slave equipment.
-70-
14. TROUBLESHOOTING
If the communication is unavailable, check the following items.
Case of RS-485 MODBUS communication
… Whether the power is turned ON again after communication setup change.
… 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
(PHR).
… Transmission speed : … 9600bps
… 19200bps
… Data length
: 8 bits
… Stop bit
: 1 bit
… Parity
: … odd
… even
… none
… Whether send/receive signal timing conforms to Section 5.4 in this manual.
… Whether the station No. designated as send destination by the master station coincides with the station No. of
the connected PHR.
… Whether more than one instrument connected on the same transmission line shares the same station No.
… Whether the station No. of instruments is set at other than 0.
If it is 0, the communication function does not work.
… Whether the 12th digit of type cord of this Recorder is R or W ?
R …-…)
(PHR ……………-………W
Case of Ethernet communication (common to FTP, web, E-mail and MODBUS TCP/IP)
… Whether the power is turned ON again after communication setup change.
… 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 conditions for communication are correct.
… IP address
… Subnet mask
… Default gateway
… Whether the 12th digit of type code of this Recorder is E or W?
E …-…)
(PHR ……………-………W
Case of FTP server function
… Whether the user name, the password, and the user level are correct?
… Whether a compact flash has been inserted to the main unit.
Case of E-mail send function
… Whether conditions for communication are correct.
… SMTP address
… Sender’s mail address
… Receiver’s mail address
… Whether E-mail send conditions are correct.
-71-
Case of MODBUS TCP/IP communication function
… Whether the station No. designated as send destination by the master station coincides with the station No. of
this Recorder been connected.
… Whether the station No. of this Recorder is set other than 0.
If it is 0, the communication function does not work.
-72-
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