PHL - Communication Functions(RS485-Ethernet)(TN513979d-E)

PHL - Communication Functions(RS485-Ethernet)(TN513979d-E)
Instruction Manual
PAPERLESS RECORDER
COMMUNICATION
FUNCTION
(RS-485 MODBUS/Ethernet)
TYPE: PHL
INP-TN513979d-E
Note: MODBUS® is the registered trade mark of AEG Schneider Automaion International.
Note: GW-BASIC, Windows 98 and MS-DOS are 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 ................................................................................................................11
Function Code ..................................................................................................................................12
Calculation of Error Check Code (CRC-16) ....................................................................................13
Transmission Control Procedure ......................................................................................................14
FIX Processing (Cautions in data write)...........................................................................................16
5.1
5.2
5.3
5.4
5.5
5.6
5.7
6.
DETAILS OF MESSAGE...................................................................................................................17
6.1 Read-out of Word Data [Function code: 03H] ..................................................................................17
6.2 Read-out of Read-out Only Word Data [Function code: 04H].............................................................19
6.3 Write-in of Continuous Word Data [Function code: 10H]................................................................21
7.
ADDRESS MAP AND DATA FORMAT ...........................................................................................23
7.1 Data Format......................................................................................................................................23
7.2 Address Map.....................................................................................................................................25
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 (PHL) 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 PHL, 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) 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).
(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.
-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
500 m 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.
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 PHL is to be installed where the level of noise applied to the PHL 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
A master station and up to 31 units of the PHL can be
Transmission
cable
Noise filter
Master station side
PHL
Slave station (PHL)
Twisted pair cable with shield
TRX1
TRX2
FG
Terminating resistor
100 (1/2W)
Slave station (PHL)
RS-485 interface
or
RS-485 side of the RS-232C
RS-485 converter
(Recomended converter:
K3SC-10/OMRON Corporation)
TRX1
TRX2
Slave station (PHL)
TRX1
TRX2
Terminating resistor
100 (1/2W)
-5-
4. SETTING OF COMMUNICATION CONDITION
In order that the master station and instrument (PHL) can correctly communicate, following settings are required.
•
All communication condition settings of the master station are the same as those of instruments (PHL).
•
All instruments (PHL) 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
1
0 to 255
(0: communication function stop)
19200 bps
Parity setting
Odd
Data length
Stop bit
8 bit
1 bit
Remarks
Set a different value to
each station.
9600bps, 19200bps
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
Menu
Press the [SEL] key to display the Menu screen.
ENT
Parameter setting
Press the [ENT] key to the Parameter setting screen.
ENT
Basic setting
Press the [ENT] key to the Basic setting screen.
∨
MODBUS Station NO
Press the [∨] key six times to select MODBUS Station NO. (When the
key pressed more than six times, use the [∧] key to back)
ENT
Numeric value entering
Press the [ENT] key to display the Numeric value entering screen.
screen
∨
<010>
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.
ENT
Baud rate selection
screen
Press the [ENT] key to display the Baud rate selection screen.
∧
9600
Press the [∧] key to select “9600”.
ENT
MODBUS baud rate
Press the [ENT] key to confirm the baud rate.
∨
MODBUS parity
Press the [∨] key to select the MODBUS parity.
ENT
Parity bit selection
screen
Press the [ENT] key to display the Parity bit selection screen.
∨
Even
Press the [∨] key to select “Even”.
ENT
MODBUS parity
Press [ENT] key to confirm the parity bit.
DISP
Selection 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
The Trend screen appears.
Power OFF
-
Turn off the power.
Power ON
Trend display
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.
-9-
(1) 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.
- 10 -
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
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.
(3) No response
Under any of the following items, the slave station takes no action of the command message and sends back no
response.
•
A station number transmitted in the command message differs from the station number specified to the
slave station.
•
A error check code is not matched, or a transmission error (parity error, etc.) is detected.
•
The time interval between the composition data of the message becomes longer than the time
corresponding to 24 bits. (Refer to section 5.6 Transmission Control Procedure)
•
Station No. of a slave station is set to 0.
- 11 -
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 Table5-2, and the message length by function is shown in Table5-3.
Table5-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
Table5-3 Function code and message length
Function
code
03H
04H
10H
Contents
Read-out of word data
Read-out of word data
(read-out only)
Write-in of continuous word data
[Unit: byte]
Response message
Command message
Number of
designatable
Minimum Maximum Minimum Maximum
data
64 words
8
8
7
133
64 words
8
8
7
133
64 words
11
137
8
8
- 12 -
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
- 13 -
(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 (PHL)
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.
- 14 -
Space time of longer than 5 ms is
needed.
(longer than 10 ms is recommended.)
Master
station → PHL
POL1
POL2
500 ms max
Master
station ← PHL
POL1 response data
Data on line
POL1
POL1 response data
- 15 -
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 PHL. Otherwise, the data in the non-volatile memory will be
destroyed, whereby the PHL 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
- 16 -
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 to 1386H
1387H to 176FH
40001 to 44999
45000 to 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
Lower 
number
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.
- 17 -
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.
Data number: 02H
Relative address of range start in Channel 1: 001BH (Register No.40028),
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
00H
Contents of the Upper
first word data
Lower
00H
0FH
Contents of the Upper
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
- 18 -
6.2 Read-out of Read-out Only Word Data [Function code: 04H]
Function code
04H
Max. word number read-out
in one message
64 words
Relative data address
Register No.
0000H to 07CFH
30001 to 32000
(1) Message composition
Command message composition (byte)
Station No.
Function code
Read-out start No. Upper
(relative address) Lower
Upper
Read-out word

 1 to 64

Lower
number
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.
- 19 -
(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
Lower
65H
(relative address)
Read-out word
Upper
00H
Lower
01H
number
Lower
21H
CRC data
Upper
D5H
* Meaning of data to be read
Channel 2 Measured value
(contents of the first word data)
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
01 4FH = 335
Where the unit is °C with decimal point position set at 1
Channel 2 Measured value = 33.5°C
Point
Data number: 01H
For “Point” decimal point, refer to Section 7.1.
- 20 -
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 to 1386H
1387H to 176FH
40001 to 44999
45000 to 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

Lower
number
Response message composition (byte)
Station No.
Function code
Write-in start No.
Upper
Lower
(relative address)
Upper
Write-in word
Lower
number
Lower

 Write-in word number×2 CRC data

Upper
Write-in byte number
~
First write-in
word data
Next write-in
word data
Upper
Lower
Upper
Lower
Last write-in
word data
Upper
Lower
Lower
Upper
CRC data
~
* 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.
- 21 -
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), Data number: 03H
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
Response message composition (byte)
Station No.
01H
Function code
10H
00H
Write-in start No. Upper
(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 (Chapter7)
If the write-in command message is sent to any slave station during the
FIX process, response is not returned from it.
- 22 -
7. ADDRESS MAP AND DATA FORMAT
7.1 Data Format
7.1.1 Transmission data format
The MODBUS protocol used in this instrument (PHL) is RTU (Remote Terminal Unit) mode.
Transmitted data is “numeric value” and not “ASCII code”.
- 23 -
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. PHL accepts the
write-in data beyond the range. However, be careful since the PHL performance will not be guaranteed.
- 24 -
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.
Data
type
4XXXX
40001
40002
40003
40004
40005
40006
40007
40008
40009
40010
40011
40012
40013
40014
40015
40016
40017
40018
40019
40020
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
40021 Word
40022
40023
40024
40025
40026
40027
40028
40029
40030
40031
40032
40033
40034
40035
40036
40037
40038
40039
40040
40041
40042
40043
40044
40045
40046
40047
40048
40049
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Byte
Byte
Byte
Byte
Word
Word
Word
Word
Word
Word
Word
Word
Memory contents
Tag 1
Tag 2
Read-out data / Write-in data setting range
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
7th, 8th characters
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
7th, 8th characters
Color
Input type
Input filter
Unit
Scaling
Masuring start
Masuring end
Engineering start
Engineering end
Decimal point
Square rooter
Logarithmic display
Subtract channel
PV shift
Channel 1 PV gain
setting
(64
words)
Recording mode
Recording type
Range start
Range end
Remarks
Set Tag 1 (8 characters) by the ASCII code.
Set Tag 2 (8 characters) by the ASCII code.
1 to 14 (Please refer to Table 1.)
0 to 33 (Please refer to Table 2.)
0 to 900 (0 to 900 sec)
0 to 167 (Please refer to Table 3.)
0: OFF, 1: ON
-1000 to 5500 (Please refer to Table 4.)
-1000 to 5500 (Please refer to Table 4.)
-32767 to 32767
-32767 to 32767
0 to 4 (Please refer to Table 5.)
0: OFF, 1: ON
0: OFF, 1: ON
0 to 30 (0: Subtract OFF, 1 to 30: channel 1 to
30)
-32767 to 32767
0 to 32767 (0.00 to 327.67%)
Reserve
Reserve
0: With record, 1: Display only
0: Min-Max rec., 1: Point record, 2: Average rec.
-32767 to 32767 (Please refer to Table 6.)
-32767 to 32767 (Please refer to Table 6.)
Reserve
Reserve
Reserve
Reserve
Reserve
Reserve
Fvalue caluculation
Totalize caluculation
1st, 2nd characters
Totalize
3rd, 4th characters
tag
5th, 6th characters
7th, 8th characters
Totalize unit
Totalize cut value
Totalize scale value
Totalize type
External input
Totalize base time
Reset operation
Totalize reset input
0: OFF, 1: ON
0: OFF, 1: Totalizer, 2: Counter, 3: Timer
Set Totalize Tag (8 characters) by the ASCII code.
0 to 167 (Please refer to Table 3.)
-32767 to 32767 (Please refer to Table 6.)
1 to 32767
0 to 6 (Please refer to Table 7.)
0 to 129 (Please refer to Table 8.)
0: /s, 1: /min, 2: /h, 3: /day
0: OFF, 1: ON
0 to 130 (Please refer to Table 9.)
- 25 -
Register
No.
40050
to
40065
to
40129
to
40193
to
40257
to
40321
to
40385
to
40449
to
40513
to
40577
to
40641
to
40705
to
40769
to
40833
to
40897
to
40961
to
41025
to
41089
to
41153
to
41217
to
41281
to
41345
to
41409
to
41473
to
41537
to
41601
to
41665
to
41729
to
41793
to
41857
to
Data
type
Memory contents
Read-out data / Write-in data setting range
Word
Remarks
Reserve
Reserve
Word
Channel 2 setting
Same allocation as in Channel 1
Word
Channel 3 setting
Same allocation as in Channel 1
Word
Channel 4 setting
Same allocation as in Channel 1
Word
Channel 5 setting
Same allocation as in Channel 1
Word
Channel 6 setting
Same allocation as in Channel 1
Word
Channel 7 setting
Same allocation as in Channel 1
Word
Channel 8 setting
Same allocation as in Channel 1
Word
Channel 9 setting
Same allocation as in Channel 1
Word
Channel 10 setting
Same allocation as in Channel 1
Word
Channel 11 setting
Same allocation as in Channel 1
Word
Channel 12 setting
Same allocation as in Channel 1
Word
Channel 13 setting
Same allocation as in Channel 1
Word
Channel 14 setting
Same allocation as in Channel 1
Word
Channel 15 setting
Same allocation as in Channel 1
Word
Channel 16 setting
Same allocation as in Channel 1
Word
Channel 17 setting
Same allocation as in Channel 1
Word
Channel 18 setting
Same allocation as in Channel 1
Word
Channel 19 setting
Same allocation as in Channel 1
Word
Channel 20 setting
Same allocation as in Channel 1
Word
Channel 21 setting
Same allocation as in Channel 1
Word
Channel 22 setting
Same allocation as in Channel 1
Word
Channel 23 setting
Same allocation as in Channel 1
Word
Channel 24 setting
Same allocation as in Channel 1
Word
Channel 25 setting
Same allocation as in Channel 1
Word
Channel 26 setting
Same allocation as in Channel 1
Word
Channel 27 setting
Same allocation as in Channel 1
Word
Channel 28 setting
Same allocation as in Channel 1
Word
Channel 29 setting
Same allocation as in Channel 1
Word
Channel 30 setting
Same allocation as in Channel 1
- 26 -
Register
No.
41921
41922
41923
41924
41925
41926
41927
41928
41929
41930
41931
41932
41933
41934
41935
41936
41937
to
41953
to
41969
to
41985
to
42001
to
42017
to
42033
to
42049
to
42049
to
42065
to
42081
to
42097
to
42113
to
42129
to
42145
to
42161
to
42177
to
42193
to
42209
to
42225
to
42241
to
42257
to
42273
to
Data
type
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Memory contents
Alarm
No.1
Alarm
Channel 1 No.2
alarm
setting
(16
Alarm
words)
No.3
Alarm
No.4
Read-out data / Write-in data setting range
Alarm type
Set point
0: OFF, 1: H alarm, 2: L alarm
-32767 to 32767 (Please refer to Table 6.)
DO relay No.
Alarm type
Set point
0 to 28 (0: None, 1 to 28: DO1 to 28)
0: OFF, 1: H alarm, 2: L alarm
-32767 to 32767 (Please refer to Table 6.)
DO relay No.
Alarm type
Set point
0 to 28 (0: None, 1 to 28: DO1 to 28)
0: OFF, 1: H alarm, 2: L alarm
-32767 to 32767 (Please refer to Table 6.)
DO relay No.
Alarm type
Set point
0 to 28 (0: None, 1 to 28: DO1 to 28)
0: OFF, 1: H alarm, 2: L alarm
-32767 to 32767 (Please refer to Table 6.)
Remarks
Reserve
Reserve
Reserve
Reserve
DO relay No.
Channel 2 alarm setting
0 to 28 (0: None, 1 to 28: DO1 to 28)
Same allocation as in Channel 1
Word
Channel 3 alarm setting
Same allocation as in Channel 1
Word
Channel 4 alarm setting
Same allocation as in Channel 1
Word
Channel 5 alarm setting
Same allocation as in Channel 1
Word
Channel 6 alarm setting
Same allocation as in Channel 1
Word
Channel 7 alarm setting
Same allocation as in Channel 1
Word
Channel 8 alarm setting
Same allocation as in Channel 1
Word
Channel 9 alarm setting
Same allocation as in Channel 1
Word
Channel 9 alarm setting
Same allocation as in Channel 1
Word
Channel 10 alarm setting
Same allocation as in Channel 1
Word
Channel 11 alarm setting
Same allocation as in Channel 1
Word
Channel 12 alarm setting
Same allocation as in Channel 1
Word
Channel 13 alarm setting
Same allocation as in Channel 1
Word
Channel 14 alarm setting
Same allocation as in Channel 1
Word
Channel 15 alarm setting
Same allocation as in Channel 1
Word
Channel 16 alarm setting
Same allocation as in Channel 1
Word
Channel 17 alarm setting
Same allocation as in Channel 1
Word
Channel 18 alarm setting
Same allocation as in Channel 1
Word
Channel 19 alarm setting
Same allocation as in Channel 1
Word
Channel 20 alarm setting
Same allocation as in Channel 1
Word
Channel 21 alarm setting
Same allocation as in Channel 1
Word
Channel 22 alarm setting
Same allocation as in Channel 1
Word
Channel 23 alarm setting
Same allocation as in Channel 1
- 27 -
Register
No.
42289
to
42305
to
42321
to
42337
to
42353
to
42369
to
42385
to
42401
to
42425
42426
42427
42428
42429
42430
42431
42432
42433
42434
42435
42436
42437
42438
42439
42440
42441
42442
42443
to
42461
to
42479
to
42497
42498
42499
42500
42501
42502
42503
to
42508
to
42513
to
42518
42519
42520
42521
42522
to
42526
to
42530
to
42534
to
Data
type
Memory contents
Read-out data / Write-in data setting range
Word
Channel 24 alarm setting
Same allocation as in Channel 1
Word
Channel 25 alarm setting
Same allocation as in Channel 1
Word
Channel 26 alarm setting
Same allocation as in Channel 1
Word
Channel 27 alarm setting
Same allocation as in Channel 1
Word
Channel 28 alarm setting
Same allocation as in Channel 1
Word
Channel 29 alarm setting
Same allocation as in Channel 1
Word
Channel 30 alarm setting
Same allocation as in Channel 1
Word
Remarks
Reserve
Reserve
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
7th, 8th characters
Display
name
9th, 10th characters
11th, 12th characters
13th, 14th characters
Display
15th, 16th characters
group 1
Display No.1
setting
Display No.2
(18
Display No.3
words)
Display No.4
Display No.5
Display No.6
Display No.7
Display No.8
Display No.9
Display No.10
Display group 2 setting
Set Display name (16 characters) by the ASCII code.
0: None, 1 to 30: ch1 to 30
0: None, 1 to 30: ch1 to 30
0: None, 1 to 30: ch1 to 30
0: None, 1 to 30: ch1 to 30
0: None, 1 to 30: ch1 to 30
0: None, 1 to 30: ch1 to 30
0: None, 1 to 30: ch1 to 30
0: None, 1 to 30: ch1 to 30
0: None, 1 to 30: ch1 to 30
0: None, 1 to 30: ch1 to 30
Same allocation as Display group 1
Word
Display group 3 setting
Same allocation as Display group 1
Word
Display group 4 setting
Same allocation as Display group 1
Word
Word
Word
Word
Word
Word
Word
Reserve
Display
group 1
setting2
(5 words)
Display divided
Display group 2 setting2
1 to 20
Same allocation as Display group 1
Word
Display group 3 setting2
Same allocation as Display group 1
Word
Display group 4 setting2
Same allocation as Display group 1
Word
Word
Word
Word
Word
Display
group 1
setting3
(4 words) Analog meter
Display group 2 setting2
0: Bar graph, 1: Analog meter
Same allocation as Display group 1
Word
Display group 3 setting2
Same allocation as Display group 1
Word
Display group 4 setting2
Same allocation as Display group 1
Trend direction
Channel index
Scale display
0: Vertical, 1: Horizontal
0: CH No.disp., 1: Tag No.disp., 2: Unit Disp.
0: OFF, 1: ON
Reserve
Reserve
Reserve
Reserve
Word
Reserve
Reserve
- 28 -
Register
No.
42541
42542
42543
42544
42545
42546
42547
42548
42549
42550
42551
42552
42553
42554
42555
42556
42557
42558
42559
42560
42561
42562
to
42584
42585
42586
42587
to
42623
to
42659
to
42695
to
42731
to
42767
to
42803
to
42839
to
42875
to
42911
to
42947
to
42983
42984
to
43021
43022
43023
to
43032
43033
43034
43035
43036
43037
43038
43039
43040
Data
type
Memory contents
Read-out data / Write-in data setting range
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Totalize base time
Totalize cycle
Weekly base day
Monthly base day
Dayly (time) start time
Dayly (time) stop time
External input
H-P, L-P timer cycle
AVG timer cycle
SUM timer cycle
Formula1 1st calculation
argument1
argument2
Formula1 2nd calculation
argument1
argument2
Math
Formula1 3rd calculation
CH 19
argument1
setting
argument2
(36
Formula2
1st calculation
words)
argument1
argument2
0 to 1439 (0 to 1439min = 00:00 to 23:59)
0 to 9 (Please refer to Table 10.)
0 to 6 (Please refer to Table 11.)
1 to 31 (1 to 31day)
0 to 1439 (0 to 1439min = 00:00 to 23:59)
0 to 1439 (0 to 1439min = 00:00 to 23:59)
0 to 129 (Please refer to Table 8.)
1 to 32767 (1 to 32767min)
1 to 32767 (1 to 32767min)
1 to 32767 (1 to 32767min)
(Please refer to Table 12.)
Word
Word
Word
Word
Formula4 3rd calculation
argument1
argument2
Math channel 20 setting
Same allocation as Channel 19
Word
Math channel 21 setting
Same allocation as Channel 19
Word
Math channel 22 setting
Same allocation as Channel 19
Word
Math channel 23 setting
Same allocation as Channel 19
Word
Math channel 24 setting
Same allocation as Channel 19
Word
Math channel 25 setting
Same allocation as Channel 19
Word
Math channel 26 setting
Same allocation as Channel 19
Word
Math channel 27 setting
Same allocation as Channel 19
Word
Math channel 28 setting
Same allocation as Channel 19
Word
Math channel 29 setting
Same allocation as Channel 19
Word
Math channel 30 setting
Same allocation as Channel 19
Word
Word
Constant1
Value
Dicimal point
-32767 to 32767 (Please refer to Table 13.)
0 to 4
Word
Word
Word
Constant20
Value
Dicimal point
-32767 to 32767 (Please refer to Table 13.)
0 to 4
Word
Word
Word
Word
Word
Word
Word
Word
Word
Time setting
Time setting
Remarks
Reserve
Reserve
Time set request
Year
Month
Day
Hour
Minute
1: Time set request.(Automatically clear)
1 to 99 (2001 to 2099year)
1 to 12 (1 to 12month)
1 to 31 (1 to 31day)
0 to 23 (0 to 23hour)
0 to 59 (0 to 59minute)
Attention:
Don’t change the
time absolutely
during recording
and totalizing.
Reserve
Reserve
Refreshment cycle
0 to 19 (Please refer to Table 14.)
- 29 -
Register
No.
43041
43042
43043
43044
43045
43046
43047
43048
43049
43050
43051
43052
43053
43054
43055
43056
43057
43058
43059
43060
43061
43062
43063
43064
43065
43066
43067
43068
to
43081
43082
43083
43084
43085
43086
43087
43088
43089
43090
43091
43092
43093
43094
43095
43096
43097
43098
43099
43100
43101
43102
43103
to
43125
to
43147
to
43169
to
43191
to
43213
to
Data
type
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Memory contents
Read-out data / Write-in data setting range
LCD lights-out time
File division cycle
Memory full alarm
Record data format
0 to 60 (0: ON all the time, 1 to 60: 1 to 60min)
0 to 4 (Please refer to Table 15.)
0 to 28 (0: None, 1 to 28: DO1 to 28)
0: Ascii, 1: Binary
-32767 to 32767 (-3276.7 to 3276.7°C)
-32767 to 32767 (-3276.7 to 3276.7°C)
0 to 4 (Please refer to Table 16.)
Remarks
Reserve
FValue calculation
Target temperture
Z value
Decimal point
Reserve
Reset temperature
-32767 to 32767 (-3276.7 to 3276.7°C)
0 to 28 (0: None, 1 to 28: DO1 to 28)
0 to 4 (Please refer to Table 17.)
0: OFF, 1: ON
0: 1/1, 1: 1/10, 2: 1/30, 3: 1/60
0: English, 1: French
0 to 10000 (0.00 to 100.00%)
0: OFF, 1: ON
0 to 255 (0: Communication OFF)
0: 9600bps, 1: 19200bps
0: None, 1: Odd, 2: Even
0 to 9999
0 to 9999
0 to 9999
0: Password, 1: Logon
Battery alarm
Data format
File overwrite
Display compression
Select language
Alarm hysteresis
Alarm latch
MODBUS Station No.
MODBUS baud rate
MODBUS parity
Configuration password
CF manager password
Record password
Security mode
Reserve
Reserve
Trend back color
Historical back color
0: White, 1: Black
0: White, 1: Black
Reserve
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Word
Word
Word
Word
Word
Word
Word
Message
No.1
setting
(22
Words)
Messege
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
7th, 8th characters
9th, 10th characters
11th, 12th characters
13th, 14th characters
15th, 16th characters
17th, 18th characters
19th, 20th characters
21th, 22th characters
23th, 24th characters
25th, 26th characters
27th, 28th characters
29th, 30th characters
31th, 32th characters
Set Message (32 characters) by the ASCII code.
Messege No.2 setting
Same allocation as Message No. 1
Word
Messege No.3 setting
Same allocation as Message No. 1
Word
Messege No.4 setting
Same allocation as Message No. 1
Word
Messege No.5 setting
Same allocation as Message No. 1
Word
Messege No.6 setting
Same allocation as Message No. 1
Word
Messege No.7 setting
Same allocation as Message No. 1
Reserve
Reserve
Messege timing
Messege timing argument 1
Messege timing argument 2
0 to 2 (Please refer to Table 18.)
Reserve
- 30 -
Register
No.
43235
to
43257
to
43279
to
43301
43302
43303
43304
43305
43306
43307
43308
to
43315
to
43322
to
43329
to
43336
to
43343
to
43350
to
43357
to
43364
to
43371
to
43378
to
43385
to
43496
43497
43498
43499
43500
43501
43502
43503
43504
43505
43506
43507
43508
43509
43510
43511
43512
to
Data
type
Memory contents
Read-out data / Write-in data setting range
Word
Messege No.8 setting
Same allocation as Message No. 1
Word
Messege No.9 setting
Same allocation as Message No. 1
Word
Messege No.10 setting
Same allocation as Message No. 1
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
Original unit 1 setting 7th, characters
Set original unit (7 characters) by the ASCII code.
Original unit 2 setting
Same allocation as Original unit 1
Byte
Original unit 3 setting
Same allocation as Original unit 1
Byte
Original unit 4 setting
Same allocation as Original unit 1
Byte
Original unit 5 setting
Same allocation as Original unit 1
Byte
Original unit 6 setting
Same allocation as Original unit 1
Byte
Original unit 7 setting
Same allocation as Original unit 1
Byte
Original unit 8 setting
Same allocation as Original unit 1
Byte
Original unit 9 setting
Same allocation as Original unit 1
Byte
Original unit 10 setting
Same allocation as Original unit 1
Byte
Original unit 11 setting
Same allocation as Original unit 1
Byte
Original unit 12 setting
Same allocation as Original unit 1
Reserve
Reserve
Reserve
Reserve
Reserve
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Remarks
DI 1 function
DI 2 function
DI 3 function
DI 4 function
DI 5 function
DI 6 function
DI 7 function
DI 8 function
DI 9 function
DI 10 function
RCJ ON/OFF
0 to 5 (Please refer to Table 19.)
0 to 5
0 to 5
0 to 5
0 to 5
0 to 5
0 to 5
0 to 5
0 to 5
0 to 5
0: OFF, 1: ON
Reserve
Reserve
Reserve
Front communication
Rec.start adjust OFF
0: OFF, 1: ON
0: OFF, 1: ON
Do not write
Do not write
- 31 -
Register
No.
44001
44002
44003
44004
44005
44006
44007
44008
44009
44010
44011
44012
44013
44014
44015
44016
44017
44018
44019
44020
44021
44022
44023
44024
44025
to
Data
type
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Word
Memory contents
PILC data
Serial number
Read-out data / Write-in data setting range
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
7th, 8th characters
9th, 10th characters
11th, 12th characters
13th, 14th characters
15th, 16th characters
17th, 18th characters
19th, 20th characters
21th, 22th characters
23th, 24th characters
25th, 26th characters
27th, 28th characters
29th, 30th characters
31th, 32th characters
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
7th, 8th characters
9th, 10th characters
11th, 12th characters
13th, 14th characters
15th, 16th characters
Remarks
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Do not write
Following register No. 45000 to 45500 will not be recorded in the main unit.
Register
No.
45000
45001
45002
45003
45004
45005
45006
45007
45008
to
45051
45052
45053
to
45061
45062
45063
45064
45065
45066
45067
45068
45069
45070
45071
45072
to
Data
type
Word
Word
Word
Word
Bit
Bit
Word
Word
Word
Bit
Bit
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Memory contents
Read-out data / Write-in data setting range
Register data request
1: Register data (Automatically clear)
Fvalue calculation reset request
Prohibiting the writing to the memory card
Recorder control
Message request
Totalize reset request
Alarm latch clear request
1: Fvalue reset (Automatically clear)
0: Writing permission, 1: Writing prohibition
(Please refer to Table 20.)
(Please refer to Table 21.)
1: Totalize reset (Automatically clear)
1: Alarm latch clear (Automatically clear)
Remarks
Reserve
Do not write
Do not write
Totalize reset request Channel 1 to 16
of each channel
Channel 17 to 30
(Please refer to Table 22.)
Reserve
Reserve
Communication input 1 : M01
Communication input 2 : M02
Communication input 3 : M03
Communication input 4 : M04
Communication input 5 : M05
Communication input 6 : M06
Communication input 7 : M07
Communication input 8 : M08
Communication input 9 : M09
Communication input10 : M10
Communication input11 : M11
Communication input12 : M12
-32767 to 32767
-32767 to 32767
-32767 to 32767
-32767 to 32767
-32767 to 32767
-32767 to 32767
-32767 to 32767
-32767 to 32767
-32767 to 32767
-32767 to 32767
-32767 to 32767
-32767 to 32767
Do not write
- 32 -
The following addresses are recorded in the main unit.
Register
No.
45501
45502
45503
45504
45505
45506
45507
45508
45509
45510
45511
45512
45513
45514
45515
45516
45517
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527
45528
45529
45530
45531
45532
45533
45534
45535
45536
45537
45538
45539
45540
45541
45542
45543
45544
45545
45546
45547
45548
45549
45550
45551
45552
45553
45554
45555
45556
45557
45558
45559
Data
type
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Word
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Memory contents
Read-out data / Write-in data setting range
E-mail function
FTP server function
FTP access control
Web server function
0: OFF, 1. ON
0: OFF, 1: ON
0: OFF, 1: ON
0: OFF, 1: ON
Remarks
Reserve
Reserve
Reserve
MODBUS TCP/IP function
IP address
1st number
2nd number
3rd number
4th number
Subnet mask
1st number
2nd number
3rd number
4th number
Default gateway
1st number
2nd number
3rd number
4th number
SMTP IP address
1st number
2nd number
3rd number
4th number
Sender’s mall address 1st, 2nd characters
3rd, 4th characters
5th, 6th characters
7th, 8th characters
9th, 10th characters
11th, 12th characters
13th, 14th characters
15th, 16th characters
17th, 18th characters
19th, 20th characters
21th, 22th characters
23th, 24th characters
25th, 26th characters
27th, 28th characters
29th, 30th characters
31th, 32th characters
33th, 34th characters
35th, 36th characters
37th, 38th characters
39th, 40th characters
41th, 42th characters
43th, 44th characters
45th, 46th characters
47th, 48th characters
49th, 50th characters
51th, 52th characters
53th, 54th characters
55th, 56th characters
57th, 58th characters
59th, 60th characters
61th, 62th characters
63th, 64th characters
Sender’s mail name
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
0: OFF, 1. ON
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
Set address (64 characters) by the ASCII code.
Set name (32 characters) by the ASCII code.
- 33 -
Register
No.
45560
45561
45562
45563
45564
45565
45566
45567
45568
45569
45570
45571
45572
45573
45574
45575
45576
45577
45578
45579
45580
45581
45582
45583
45584
45585
45586
45587
45588
45589
45590
45591
45592
45593
45594
45595
45596
45597
45598
45599
45600
45601
45602
45603
45604
45605
to
45637
to
45669
to
45701
to
45733
to
45765
to
45797
to
45829
to
45901
45902
45903
Data
type
Memory contents
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
7th, 8th characters
9th, 10th characters
11th, 12th characters
13th, 14th characters
15th, 16th characters
17th, 18th characters
19th, 20th characters
21th, 22th characters
23th, 24th characters
25th, 26th characters
27th, 28th characters
29th, 30th characters
31th, 32th characters
Receiver’s mail
1st, 2nd characters
address 1 3rd, 4th characters
5th, 6th characters
7th, 8th characters
9th, 10th characters
11th, 12th characters
13th, 14th characters
15th, 16th characters
17th, 18th characters
19th, 20th characters
21th, 22th characters
23th, 24th characters
25th, 26th characters
27th, 28th characters
29th, 30th characters
31th, 32th characters
33th, 34th characters
35th, 36th characters
37th, 38th characters
39th, 40th characters
41th, 42th characters
43th, 44th characters
45th, 46th characters
47th, 48th characters
49th, 50th characters
51th, 52th characters
53th, 54th characters
55th, 56th characters
57th, 58th characters
59th, 60th characters
61th, 62th characters
63th, 64th characters
Receiver's mail address 2
Byte
Receiver's mail address 3
Same allocation as Receiver's mail address 1
Byte
Receiver's mail address 4
Same allocation as Receiver's mail address 1
Byte
Receiver's mail address 5
Same allocation as Receiver's mail address 1
Byte
Receiver's mail address 6
Same allocation as Receiver's mail address 1
Byte
Receiver's mail address 7
Same allocation as Receiver's mail address 1
Byte
Receiver's mail address 8
Same allocation as Receiver's mail address 1
Read-out data / Write-in data setting range
Set address (64 characters) by the ASCII code.
Same allocation as Receiver's mail address 1
Word
Byte
Byte
Byte
Remarks
Reserve
Reserve
User1
setting
User name
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
Set name (16 characters) by the ASCII code.
- 34 -
Register
No.
45904
45905
45906
45907
45908
45909
45910
45911
45912
Data
type
Memory contents
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Password
45913 Word
45914
45915
to
45929
to
45943
to
45957
to
45971
to
45985
to
45999
to
46013
to
46101
46102
46103
46104
46105
46106
46107
46108
46109
46110
46111
46112
46113
46114
46115
46116
46117
46118
46119
46120
46121
46122
46123
46124
46125
46126
46127
46128
46129
46130
46131
46132
46133
46134
46135
46136
46137
Read-out data / Write-in data setting range
7th, 8th characters
9th, 10th characters
11th, 12th characters
13th, 14th characters
15th, 16th characters
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
7th, 8th characters
Set name (8 characters) by the ASCII code.
0: Administrator, 1: Engineer, 2: Operator,
3: Guest
User level
Word
Byte
User 2 setting
Same allocation as User 1
Byte
User 3 setting
Same allocation as User 1
Byte
User 4 setting
Same allocation as User 1
Byte
User 5 setting
Same allocation as User 1
Byte
User 6 setting
Same allocation as User 1
Byte
User 7 setting
Same allocation as User 1
Byte
User 8 setting
Same allocation as User 1
Reserve
Word
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Remarks
Reserve
Reserve
E-mail
trigger 1
setting
Title
Text 1
Text 2
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
7th, 8th characters
9th, 10th characters
11th, 12th characters
13th, 14th characters
15th, 16th characters
17th, 18th characters
19th, 20th characters
21th, 22th characters
23th, 24th characters
25th, 26th characters
27th, 28th characters
29th, 30th characters
31th, 32th characters
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
7th, 8th characters
9th, 10th characters
11th, 12th characters
13th, 14th characters
15th, 16th characters
17th, 18th characters
19th, 20th characters
21th, 22th characters
23th, 24th characters
25th, 26th characters
27th, 28th characters
29th, 30th characters
31th, 32th characters
1st, 2nd characters
3rd, 4th characters
5th, 6th characters
7th, 8th characters
9th, 10th characters
Set title (32 characters) by the ASCII code.
Set text 1 (32 characters) by the ASCII code.
Set text 2 (32 characters) by the ASCII code.
- 35 -
Register
No.
46138
46139
46140
46141
46142
46143
46144
46145
46146
46147
46148
46149
46150
46151
46152
46153
46154
46155
to
46209
to
46263
to
46317
to
46371
to
46425
to
46479
to
46533
to
46587
to
46641
to
47000
Data
type
Memory contents
Read-out data / Write-in data setting range
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Byte
Word
Word
Word
Word
Word
Word
Byte
11th, 12th characters
13th, 14th characters
15th, 16th characters
17th, 18th characters
19th, 20th characters
21th, 22th characters
23th, 24th characters
25th, 26th characters
27th, 28th characters
29th, 30th characters
31th, 32th characters
Trigger timing
Trigger timing argument 1
Trigger timing argument 2
PV value affixation
Receiver's mail address No.
E-mail trigger 2 setting
Same allocation as E-mail trigger 1
Byte
E-mail trigger 3 setting
Same allocation as E-mail trigger 1
Byte
E-mail trigger 4 setting
Same allocation as E-mail trigger 1
Byte
E-mail trigger 5 setting
Same allocation as E-mail trigger 1
Byte
E-mail trigger 6 setting
Same allocation as E-mail trigger 1
Byte
E-mail trigger 7 setting
Same allocation as E-mail trigger 1
Byte
E-mail trigger 8 setting
Same allocation as E-mail trigger 1
Byte
E-mail trigger 9 setting
Same allocation as E-mail trigger 1
Byte
E-mail trigger 10 setting
Same allocation as E-mail trigger 1
(Please refer to Table 23.)
0: OFF, 1: ON
(Please refer to Table 24.)
Reserve
Word
Word
Remarks
Reserve
Reserve
Reserve
Final address
- 36 -
7.2.2
Register
No.
3xxxx
30001
30002
30003
30004
30005
30006
to
30086
to
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
to
30129
30130
30131
30132
30133
to
30160
30161
30162
30163
30164
to
30219
30220
30221
30222
30223
30224
to
30279
30280
30281
30282
30283
30284
to
30339
30340
30341
30342
30343
30344
to
30399
30400
30401
30402
30403
30404
to
Word data [read-out only] : Function code [04H]
Data
type
Memory contents
Read-out data
Bit
Bit
Bit
Bit
Bit
Bit
System information
(Please refer to Table 25.)
DI information
(Please refer to Table 27.)
Word
Memory cord utilization
0 to 1000 (0.00 to 100.0%, 100.0% = Memory Full)
Remarks
Reserve
DO information
DO 1 to 16
DO 17 to 28
(Please refer to Table 26.)
Reserve
Reserve
Reserve
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Word
Word
Word
Word
Word
Word
Word
Word
Word
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Long
Channel Alarm
information
Measured value
Channel status
Totalizing value
Totalizing start time
Totalizing end time
Previous totalized
value
Previous totalized
start time
Channel 1 to 4
Channel 5 to 8
Channel 9 to 12
Channel 13 to 16
Channel 17 to 20
Channel 21 to 24
Channel 25 to 28
Channel 29 to 30
Channel 1
Channel 2
Channel 3
(Please refer to Table 28.)
-32767 to 32767 (No decimal point)
-32767 to 32767 (No decimal point)
-32767 to 32767 (No decimal point)
Channel 29
Channel 30
Channel 1
Channel 2
Channel 3
-32767 to 32767 (No decimal point)
-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
Channel 30
Channel 1
Channel 1
Channel 2
Channel 2
0: Normal, 1: Burnout, 2: Over, 3: Under, 4: Error
-999999999 to 999999999 (No decimal point)
Channel 30
Channel 30
Channel 1
Channel 1
Channel 2
Channel 2
-999999999 to 999999999 (No decimal point)
-999999999 to 999999999 (No decimal point)
Greenwich Time
Greenwich Time
Channel 30
Channel 30
Channel 1
Channel 1
Channel 2
Channel 2
Greenwich Time
Channel 30
Channel 30
Channel 1
Channel 1
Channel 2
Channel 2
Greenwich Time
Channel 30
Channel 30
Channel 1
Channel 1
Channel 2
Channel 2
-999999999 to 999999999 (No decimal point)
Greenwich Time
Greenwich Time
-999999999 to 999999999 (No decimal point)
-999999999 to 999999999 (No decimal point)
Greenwich Time
Greenwich Time
- 37 -
Register
No.
30459
30460
30461
30462
30463
30464
to
30519
30520
30521
to
32000
Data
type
Long
Long
Long
Long
Long
Long
Memory contents
Previous totalized
end time
Long
Long
Word
Word
Read-out data
Channel 30
Channel 30
Channel 1
Channel 1
Channel 2
Channel 2
Greenwich Time
Channel 30
Channel 30
Greenwich Time
Remarks
Greenwich Time
Greenwich Time
Reserve
Reserve
Reserve
Final address
Notes) The area marked (Do not write) is a system area.
- 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
22
23
24
30
31
32
33
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
Ni100
Pt50
Cu50
50mV
500mV
1-5V
0-5V
Skip
Initial decimal point
0
Thermocouple
1
Resistance bulb
1
2
1
DC voltage
3
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%
Data
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
Data
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
mm/s
mm/min
mm/h
m/s
m/min
m/h
rps
rpm
rph
m/s2
rad/s
km/h
Unit
t/min
kg/min
g/min
m3/min
l/min
Data
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
t/s
kg/s
g/s
m3/s
l/s
mbar
bar
N/mm2
N/m2
Unit
us
ms
s
min
h
day
mV
V
kV
uA
mA
A
Hz
dB
W
kW
VA
kVA
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
50mV
500mV
1 to 5V
0 to 5V
Measuring start, Measuring end limit
-1000 to 5500 (-10.00 to 55.00mV)
-100 to 5500 (-10.0 to 550.0mV)
500 to 5500 (0.500 to 5.500V)
-100 to 5500 (-0.100 to 5.500V)
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
%NaC
%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
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
Ni100
Pt50
Cu50
°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 ot 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 ot 17900 (-30.0 ot 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)
-900 to 2100 (-90.0 to 210.0°C)
-2300 to 6300 (-230.0 to 630.0°C)
-800 to 2300 (-80.0 to 230.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)
-1300 to 4100 (-130.0 to 410.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.00mV)
-100 to 5500 (-10.0 to 550.0mV)
500 to 5500 (0.500 to 5.500V)
-100 to 5500 (-0.100 to 5.500V)
Scaling ON
Range start, Range end
Alarm No.1 to 4 set point
Totalize cut value
• Input type Volt
50mV
500mV
1 to 5V
0 to 5V
• With Fvalue calculation ON
Range start, Range end
Alarm No.1 to 4 set point
Totalize cut value
-32767 to 32767 (Please refer to Table 14.)
All type
Table 7 Totalize type code
Data
0
1
2
3
4
5
6
Totalize type
Periodic
Daily
Weekly
Monthly
Annual
Daily (Time set)
External
- 41 -
-32767 to 32767 (Please refer to Table 5.)
Table 8 Totalize input and External input code
Data
0
1
2
3
4
5
6
7
8
9
Input
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
126
127
128
129
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
:
CH30 Alarm No.1
CH30 Alarm No.2
CH30 Alarm No.3
CH30 Alarm No.4
Table 9 Totalize reset input code
Data
0
1
2
3
4
5
6
7
8
9
10
Input
None
DI 1
DI 2
DI 3
DI 4
DI 5
DI 6
DI 7
DI 8
DI 9
DI 10
Table 10 Totalize cycle code
Data
0
1
2
3
4
5
6
7
8
9
Totalize type
10min
20min
30min
1hour
2hour
3hour
4hour
6hour
12our
24hour
Data
11
12
13
14
15
127
128
129
130
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
:
:
CH30 Alarm No.1
CH30 Alarm No.2
CH30 Alarm No.3
CH30 Alarm No.4
Table 11 Weekly base day code
Data
0
1
2
3
4
5
6
Weekly base day
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Table 12 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
- 42 -
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 (DI1 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 )
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)
Table 13 Constant data
Decimal point data
0
1
2
3
4
Constant data
-32767 to 32767
-3276.7 to 3276.7
-327.67 to 327.67
-32.767 to 32.767
-3.2767 to 3.2767
Table 14 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
1sec
2sec
3sec
5sec
10sec
20sec
30sec
1min
2min
3min
5min
10min
20min
30min
1hour
2hour
3hour
4hour
6hour
12hour
Table 15 File division cycle code
Data
0
1
2
3
4
- 43 -
File division cycle
No division
1 hour
1 day
1 week
1 month
Table 16 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
Table 17 Date format code
Data
0
1
2
3
4
Data format
2005/10/28
28/10/2005
28-Oct-5
10/28/2005
Oct-28-05
Table 18 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 start
Alarm cancel
argument 1
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
None
None
None
0 to 3 (Alarm No.1 to 4 )
0 to 3 (Alarm No.1 to 4 )
Table 19 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 20 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
- 44 -
Table 21 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.6request
Message No.7request
Message No.8request
Message No.9request
Message No.10request
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
Table 22 Totalize reset request of each channel
Write data
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0: No change, 1: Totalize reset request
Address 45051
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
Address 45052
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 23 Trigger timing data
Triggaer timing argument 1 and 2 have a significant difference according to the contents of 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
- 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 24 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
Table25 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 information
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: No, 1: Yes
Table26 DO information
Bit
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Address 30003
Contents
DO 1 information
DO 2 information
DO 3 information
DO 4 information
DO 5 information
DO 6 information
DO 7 information
DO 8 information
DO 9 information
DO 10 information
DO 11 information
DO 12 information
DO 13 information
DO 14 information
DO 15 information
DO 16 information
Address 30004
Contents
DO 17 information
DO 18 information
DO 19 information
DO 20 information
DO 21 information
DO 22 information
DO 23 information
DO 24 information
DO 25 information
DO 26 information
DO 27 information
DO 28 information
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
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 -
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
0: OFF, 1: ON
0: OFF, 1: ON
Table27 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
Table28 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
'------------------------------------------------------' 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)
- 49 -
1740
1750
1760
1770
1780
1790
1800
1810
1900
1910
1920
1930
1940
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
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
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
- 51 -
1630
1700
1710
1720
1730
1740
1750
1760
1770
1780
1790
1800
1810
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
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
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.)
•
Communicating conditions setting items
Item
IP address
Sugnet mask
Default gateway
Value at delivery
192.168. 1. 1
255.255.255. 0
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 “Ethernet setting” from the “Parameter setting” menu screen, and press the [ENT] key.
(2) Move the cursor to “IP address”, and set an IP address.
(3) Move the cursor to “Subnet mask”, and set a subnet mask.
(4) Move the cursor to “Default gateway”, and set a default gateway.
- 54 -
(Consult
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 below.
[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
Periodic totalize data file
D******.FDT
Daily totalize data file
W******.FDT
Weekly totalize data file
M******.FDT
Monthly totalize data file
Y******.FDT
Yearly totalize data file
R******.FDT
Daily (time) totalize data file
E******.FDT
External signal totalize data file
PA00000.PHL
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
WI00000.FDT, WI00001.FDT
MI00000.FDT, MI00001.FDT
YI00000.FDT, YI00001.FDT
RI00000.FDT, RI00001.FDT
EI00000.FDT, EI00001.FDT
- 56 -
Periodic totalize data of internal memory
(2 pieces max.)
Daily totalize data of internal memory
(2 pieces max.)
Weekly totalize data of internal memory
(2 pieces max.)
Monthly totalize data of internal memory
(2 pieces max.)
Yearly totalize data of internal memory
(2 pieces max.)
Daily (time) totalize data of internal memory
(2 pieces max.)
External input totalize 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
•
Value at delivery
Setting range
ON, OFF
ON, OFF
OFF
OFF
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
Value at delivery
(Blank)
(Blank)
Administrator
Setting range
Up to 16 letters may be set.
Up to 8 letters may be set.
Administrator, Engineer,
Operator, Guest
Remarks
10.3 FTP server function setting operation
• FTP server function setting
(1) Execute setting of the FTP server function first of all. Select “Ethernet setting” from the “Parameter setting”
menu screen, and press the [ENT] key.
(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 server verify 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) Set user names and passwords.
press the [ENT] key.
Select “User account setting” from the “Parameter setting” menu screen, and
(2) Move the cursor to the user to be set, and press the [ENT] key.
(3) Set a user name using up to 16 letters.
(4) Set a password using up to 8 letters.
(5) Select a user access level out of “Administrator,” “Engineer,” “Operator,” 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: //(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.
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 “Ethernet setting” from the “Parameter setting” menu screen, and press the [ENT] key.
(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: //(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. (Battery end or compact flash full occurred, if an alarm of an
arbitrary channel arose.)
(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 communication log 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
Sebder’s mail name
Receiver’s mail addree
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
Trigger timing
Value at delivery
None
DI No.
Alarm Channel
Alarm No.
Warning type
DI 1
Channel 1
1
Alarm ON (All ch)
Time cycle
Time base (hour)
Title
Text 1
Text 2
PV value affixation
Receiver’s add No.
1 hour
0
(Blank)
(Blank)
(Blank)
OFF
None
Setting range
None, DI ON, DI OFF,
Alarm ON, Alarm OFF,
Warning, Timer cycle
DI 1 to 10
Channel 1 to 30
1 to 4
Alarm ON (All ch),
All warning, No battery,
CF full
1, 2, 3, 4, 6, 12 hour, 1 day
0 to 23
Up to 32 letters may be set.
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) Set the E-mail function first of all. Select “Ethernet setting” from the “Parameter setting” menu screen, and
press the [ENT] key.
(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 “E-mail setting” from the “Parameter setting” menu screen, and press the [ENT] key.
(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.
Move the cursor to “Receiver’s mail Add”, and set up to eight (8) receivers' mail addresses.
• Setting E-mail send trigger
(1) Select “E-mail trigger setting” from the “Parameter setting” menu screen, and press the [ENT] key.
- 65 -
(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 “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.
(4) Move the cursor to “Title”, and set the E-mail title.
(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.
(8) An E-mail send test can be conducted by moving the cursor to “Mail sent test” and by then pressing the [ENT]
key.
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 “E-mail trigger setting” from the “Parameter setting” menu screen, and press the [ENT] key.
(2) Select an E-mail trigger setting No. to conduct a send test, and then press the [ENT] key.
(3) Move the cursor to “Mail send test”, and then press the [ENT] key.
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 “Ethernet setting” from the “Parameter setting” menu screen, and press the [ENT] key.
(2) Move the cursor to “MODBUS TCP/IP”, and select MODBUS TCP/IP function ON/OFF. The MODBUS
TCP/IP function can be used, if ON is set.
(3) Select “Basic setting” on the Parameter setting” menu screen, and press the [ENT] key.
(4) Move the cursor to “MODBUS Station No.” and select a desired station No. If RS-485 interface is used to
carry out MODBUS master communication, select a No. different from that of slave devices.
- 68 -
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)
MODBUS TCP/IP message (bytes)
Header
Transfer ID
Protocol ID
Number of 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
01H
04H
00H
65H
00H
01H
21H
D5H
Data
section
- 69 -
Station No.
Function code
Read start No.
(relative address)
Number of read
data
More significant
Less significant
More significant
Less significant
More significant
Less significant
More significant
Less significant
More significant
Less significant
00H
00H
00H
00H
00H
06H
01H
04H
00H
65H
00H
01H
Composition of response message (bytes)
MODBUS RTU message (bytes)
MODBUS TCP/IP message (bytes)
Header
Transfer ID
Protocol ID
Number of 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
01H
04H
02H
01H
4FH
F9H
54H
Data
section
More significant
Less significant
More significant
Less significant
More significant
Less significant
Station No.
Function code
Number of bytes of read data
Contents of first
More significant
word data
Less significant
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
(PHL).
… 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 PHL.
… 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 …-…)
(PHL ……………-………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 …-…)
(PHL ……………-………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