JIR-301-M (C5)COMMUNICATION INSTRUCTION MANUAL

No.JIR32CE4

2023.11

To prevent accidents arising from the misuse of this indicator, please ensure the operator receives this manual.

Warning
Turn the power supply to the instrument off before wiring or checking.
Working on or touching the terminal with the power switched on may result in severe injury or
death due to electrical shock.

1. System Configuration
1.1 When Using USB Communication Cable CMC-001-1 (Sold Separately)
Host computer
USB communication cable
CMC-001-1 (sold separately)

JIR-301-M (Max 31 units)

JIR-301-M
No.0

JIR-301-M
No.1

JIR-301-M
No.30(Fig. 1.1-1)

1.2 When Using Communication Converter IF-400 (Sold Separately)

Host computer

Communication converter IF-400
RS-232C
RS-485

JIR-301-M (Max 31 units)

JIR-301-M
No.0(Fig. 1.2-1)

1

JIR-301-M
No.1

JIR-301-M
No.30

2. Wiring
2.1 When Using USB Communication Cable CMC-001-1 (Sold Separately)

USB communication cable
CMC-001-1 (sold separately)

JIR-301-M (Max 31 units)
YA(-)
YB(+)
COM

11 YA(-)
14 YB(+)
17 SG

Host computer
USB port
Shield wireFG

11 YA(-)
14 YB(+)
17 SG

Shield wireFG

11 YA(-)
14 YB(+)
17 SG(Fig. 2.1-1)
2.2 When Using Communication Converter IF-400 (Sold Separately)• D-sub 25-pin connector• D-sub 9-pin connector
Host computer

Host computer
JIR-301-M (Max 31 units)
Shieldwire

Shield wire

4
3
1
6

11 YA(-)
14 YB(+)
17 SG

Shield wire

D-sub 25-pin connector

D-sub 9-pin connector

11 YA(-)
14 YB(+)
17 SG

Shield wire
To the JIR-301-M via CDM
11 YA(-)
14 YB(+)
17 SG(Fig. 2.2-1)

Shield Wire
Connect only one end of the shield to the FG to avoid a ground loop. If both ends of the shield wire areconnected to the FG, the circuit will be closed, resulting in a ground loop. This may cause noise.
Be sure to ground the FG.
Recommended cable: OTSC-VB 2PX0.5SQ (made by Onamba Co., Ltd.) or equivalent (Use a twisted
pair cable.)2

Terminator (Terminal Resistor)
Communication converter IF-400 (sold separately) has a built-in terminator.
The terminator is mounted at the end of the wire when connecting multiple peripheral devices to apersonal computer. The terminator prevents signal reflection and disturbance.
Do not connect a terminator to the communication line because each JIR-301-M has built-in pull-up
and pull-down resistors.

3. Setting Communication Parameters
Set communication parameters in Auxiliary Function Setting Mode 1.
To enter Auxiliary Function Setting Mode 1, press and hold the DOWN key and MODE key (in that order)
together for approx. 3 seconds in PV/SV Display Mode.
Press the MODE key 3 times. The unit will move to [Communication protocol].
Use the UP or DOWN key for making a selection or setting values.
To register the set data, press the MODE key.
Character
Factory Default

Name, Function, Setting Range
Communication protocol• Selects communication protocol.
•: Shinko protocol: MODBUS ASCII mode
: MODBUS RTU mode
: Shinko protocol (Block Read/Write available): MODBUS ASCII mode (Block Read/Write available): MODBUS RTU mode (Block Read/Write available)
Instrument number• Sets the individual instrument number of this unit. (The instrument numbers
should be set one by one when multiple instruments are connected in Serial
communication.)• Setting range: 0 to 95
Communication speed• Selects a communication speed equal to that of the host computer.
•: 2400 bps: 4800 bps: 9600 bps: 19200 bps: 38400 bps
Parity• Selects the parity.
• Available when MODBUS ASCII mode or MODBUS RTU mode is selected in[Communication protocol].
•: No parity: Even: Odd
Stop bit• Selects the stop bit.
• Available when MODBUS ASCII mode or MODBUS RTU mode is selected in[Communication protocol].
•: 1 bit: 2 bits

Press the MODE key.
The unit will revert to the PV/SV Display Mode.
Settings are complete.
34. Communication Procedure
Communication starts with command transmission from the host computer (hereafter Master), and ends
with the response of the JIR-301-M (hereafter Slave).

MasterSlaveCommand
Data

Command
Acknowledgement
Command
Negative
acknowledgement
Command
No response(Fig. 4-1)

• Response with data
When the master sends the Read command, the slave
responds with the corresponding set value or current status.
• Acknowledgement
When the master sends the Write command, the slave
responds by sending acknowledgement after theprocessing is terminated.
• Negative acknowledgement
When the master sends a non-existent command or value
out of the setting range, the slave returns a negative
acknowledgement.

• No response
The slave will not respond to the master in the following cases:• Global address (Shinko protocol) is set.
• Broadcast address (MODBUS protocol) is set.
• Communication error (framing error, parity error)• Checksum error (Shinko protocol), LRC discrepancy (MODBUSASCII mode), CRC-16 discrepancy (MODBUS RTU mode)

Communication timing of the RS-485 (C5 option)
Master side (Take note while programming)
When the master starts transmission through the RS-485 communication line, the master is arranged so
as to provide an idle status (mark status) transmission period of 1 or more characters before sending thecommand to ensure synchronization on the receiving side.
Set the program so that the master can disconnect the transmitter from the communication line within a 1
character transmission period after sending the command in preparation for reception of the response
from the slave.
To avoid collision of transmissions between the master and the slave, send the next command after
carefully checking that the master has received the response.
If a response to the command is not returned due to communication errors, set the Retry Processing tosend the command again. (It is recommended to execute Retry twice or more.)
Slave side
When the slave starts transmission through the RS-485 communication line, the slave is arranged so as
to provide an idle status (mark status) transmission period of 1 or more characters before sending the
response to ensure synchronization on the receiving side.
The slave is arranged so as to disconnect the transmitter from the communication line within a 1 charactertransmission period after sending the response.

4

5. Shinko Protocol
5.1 Transmission Mode
Shinko protocol is composed of ASCII codes.
Hexadecimal (0 to 9, A to F), which is divided into high order (4-bit) and low order (4-bit) out of 8-bit
binary data in command is transmitted as ASCII characters.
Data format
Start bit: 1 bit
Data bit: 7 bits
Parity: Even
Stop bit: 1 bit
Error detection: Checksum
5.2 Command Configuration
All commands are composed of ASCII.
The data (set value, decimal number) is represented by a hexadecimal number.
The negative numbers are represented in 2's complement.
Numerals written below the command represent number of characters.
(1) Write command• Write a single piece of data
Sub
Command
HeaderData
Address
addresstype
Data
Checksum
(02H)
item
(20H)
(50H)
1
1
1
1
4
4
2
• Write multiple pieces of data
Sub
HeaderAddress
address
(02H)
(20H)
1
1
1

Command
type
(54H)
1

(2) Read command• Read a single piece of data
Sub
HeaderAddress
address
(02H)
(20H)
1
1
1

Command
type
(20H)
1

• Read multiple pieces of data
Sub
HeaderAddress
address
(02H)
(20H)
1
1
1

Command
type
(24H)
1

(3) Response with data
• Response to ‘Read a single piece of data’Sub
Command
HeaderAddress
address
type
(06H)
(20H)
(20H)
1
1
1
1
• Response to ‘Read multiple pieces of data’Sub
Command
HeaderAddress
address
type
(06H)
(20H)
(24H)
1
1
1
1

5

Data
item
4

Data

Delimiter(03H)
1

Checksum

Delimiter
(03H)

4xn
2
n: Amount of data

Data
item

Checksum

Delimiter
(03H)

4

2

1

Data
item
4

Read dataamountn
4

1

Checksum

Delimiter
(03H)

2

1

Data
item

Data

Checksum

Delimiter
(03H)

4

4

2

1

Data
item

Data

Checksum

Delimiter
(03H)

4

4xn
2
n: Amount of data1(4) Acknowledgement
HeaderAddress(06H)
1
1

Checksum2(5) Negative acknowledgement
HeaderError
Address
(15H)
code
1
1
1

Delimiter(03H)
1

Checksum
2

Delimiter(03H)
1

Header:Control code to represent the beginning of the command or the response.
ASCII is used.
Write command, Read command:
STX (02H) fixed
Response with data, Acknowledgement: ACK (06H) fixed
Negative acknowledgement:
NAK (15H) fixed
Instrument number (Address): Numbers by which the master discerns each slave.
Instrument number 0 to 94 and Global address 95.
ASCII (20H to 7FH) is used by adding 20H to instrument numbers 0 to 95 (00H to 5FH).
95 (7FH) is called the Global address, which is used when the same command is sent
to all the slaves connected. However, the response is not returned.
Sub address:
20H fixed
Command type: Code to discern Write command and Read command
CommandContents
Description
Type
20H
Read a single piece of data
Reads a single piece of data.
24H
Read multiple pieces of data
Reads consecutive multiple piecesof data. (Amount of data: Max. 100)
50H
Write a single piece of data
Writes a single piece of data.
54H
Write multiple pieces of data
Writes consecutive multiple piecesof data. (Amount of data: Max. 100)
Notes about Reading/Writing multiple pieces of data
When reading/writing multiple pieces of data, as it takes time until slave sends response
data, the master determines no response time based on timeout period below after
sending a command.
Timeout period calculation: 6 ms x Amount of data
Data item:

Data:

Checksum:
Delimiter:
Error code:

Classification of the command object.
Composed of 4-digit hexadecimal numbers, using ASCII.
Refer to Section “7. Communication Command Table” (pp. 24-31).
The contents of data (values) differ depending on the Write command.
Composed of 4-digit hexadecimal numbers, using ASCII.
Refer to Section “7. Communication Command Table” (pp. 24-31).
2-character data to detect communication errors.
Refer to “5.3 Checksum Calculation” (p.7).
Control code to represent the end of command.
ASCII code ETX (03H) fixed
Represents an error type using ASCII.
Error CodeContents
1 (31H)
Non-existent command
2 (32H)
Not used
3 (33H)
Value outside the setting range
4 (34H)
Status unable to be written (e.g. AT is performing.)
5 (35H)During setting mode by keypad operation

65.3 Checksum Calculation
Checksum is used to detect receiving errors in the command or data.
Set the program for the master side as well to calculate the checksum of the response data from theslaves so that communication errors can be checked.
The ASCII code (hexadecimal) corresponding to the characters which range from the address(instrument number) to that before the checksum is converted to binary notation, and the total value
is calculated.
The lower one byte of the total value is converted to 2’s complement, and then to hexadecimal
numbers, that is, ASCII code for the checksum.
• 1’s complement: Reverse each binary bit. 0 will become 1 and vice versa.
• 2’s complement: Add 1 to 1’s complement.
Checksum calculation example:
A1 value (0001H) is written to 600 (0258H)
Address (instrument number): 0 (20H)

Checksum calculation range[e.g.]
P

STX

0

0

0

1

E

0

2

5

8

30H

32H

35H

38H

0

ETX

[Characters above are represented in ASCII.]
02H

20H

20H

50H

30H

30H

30H

31H

[Hexadecimal][Binary]
20H0010 0000
20H
0010 0000
50H
0101 0000
30H
0011 0000
30H
0011 0000
30H
0011 0000
31H
0011 0001
30H
0011 0000
32H
0011 0010
35H
0011 0101
0011 1000+ 38H
10 0010 0000

45H 30H

Checksum[1's complement] 1101 1111
1+[2's complement] 1110 0000
[Hexadecimal][ASCII]

E

0

45H

30H

Che cksum

703H

5.4 Command Example
Numerals written below the command represent number of characters.
(1) Read [Address 1, PV (0080H)]• Read command from the master
Header Address
Sub Command
Data item
Checksum Delimiter
address
type[0080H]
(02H)
(21H)
(20H)
(20H) (30H 30H 38H 30H) (44H 37H) (03H)
1
1
1
1
4
2
1
• A response from the slave in normal status [When PV is 25 (0019H)]
Data item
Data
Header Address
Sub Command
Checksum Delimiter
address
type[0080H][0019H]
(06H)
(21H)
(20H)
(20H) (30H 30H 38H 30H) (30H 30H 31H 39H) (30H 44H) (03H)
1
1
1
1
4
4
2
1

(2) Read [Address 1, A1 value (0001H)]• Read command from the master
Header Address
Sub Command
Data item
Checksum Delimiter
address
type[0001H]
(02H)
(21H)
(20H)
(20H) (30H 30H 30H 31H) (44H 45H) (03H)
1
1
1
1
4
2
1
• A response from the slave in normal status [A1 value is 600 (0258H)]
Header Address
Sub Command
Data item
Data
Checksum Delimiter
address
type[0001H][0258H]
(06H)
(21H)
(20H)
(20H) (30H 30H 30H 31H) (30H 32H 35H 38H) (30H 46H) (03H)
1
1
1
1
4
4
2
1
(3) Write [Address 1, A1 value (0001H)]• Write command from the master [when writing A1 value to 600 (0258H)]
Header Address
Sub Command
Data item
Data
Checksum Delimiter
address
type[0001H][0258H]
(02H)
(21H)
(20H)
(50H) (30H 30H 30H 31H) (30H 32H 35H 38H) (44H 46H) (03H)
1
1
1
1
4
4
2
1
• A response from the slave in normal status
Header Address Checksum Delimiter(06H)(21H) (44H 46H) (03H)
1
1
2
1

8

(4) Read (Address 1, 25 commands from input type)• Read command from the master
Header Address Sub Command
Data item
Read data amount Checksum Delimiter
address
type[0001H]25 [0019H](02H) (21H)(20H)(24H) (30H 30H 30H 31H) (30H 30H 31H 39H) (31H 30H) (03H)
1
1
1
1
4
4
2
1
• A response from the slave in normal status
Header Address Sub
Command
Data item
address
type[0001H](06H) (21H)
(20H)
(24H)
(30H 30H 30H 31H)
1
1
1
1
4
Data
[00000000055A・・・0000]

Checksum Delimiter(30H 30H 30H 30H 30H 30H 30H 30H 30H 35H 35H 41H・・・30H 30H 30H 30H) (41H 38H)

100 (4 x 25)

2

(03H)
1

Response data is as follows:
Data Item
0001H
0002H
0003H
0004H
0005H
0006H
0007H
0008H
0009H
000AH
000BH
000CH
000DH
000EH
000FH
0010H
0011H
0012H
0013H
0014H
0015H
0016H
0017H
0018H
0019H

Data

Input type
Scaling high limit
Scaling low limit
Decimal point place
A1 typeA2 typeA3 typeA4 typeK [-200 - 1370 ]
1370
-200
No decimal point
No alarm action
No alarm action
No alarm action
No alarm action

A1 valueA2 valueA3 valueA4 value
A4 high limit value
A1 hysteresis
A2 hysteresis
A3 hysteresis
A4 hysteresis
A1 Energized/De-energizedA2 Energized/De-energized
A3 Energized/De-energized
A4 Energized/De-energizedA1 delay time
A2 delay timeA3 delay time
A4 delay time

0
0
0
0
0
1.0
1.0
1.0
1.0
Energized
Energized
Energized
Energized
0 sec
0 sec
0 sec
0 sec

9

Data
(Converted to Hexadecimal)
0000H
055AH
FF38H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
000AH
000AH
000AH
000AH
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H

(5) Write (Address 1, 25 commands from input type)(e.g.) 25 commands from the input type are shown below.
Data Item

Data

0001H
0002H
0003H
0004H

Input type
Scaling high limit
Scaling low limit
Decimal point place

K [-200.0 - 400.0 ]
400.0
0.0
xxx.x (1 digit after
decimal point)
High limit alarmHigh limit alarm

0005H
0006H
0007H
0008H

A1 typeA2 typeA3 typeA4 type

0009H
000AH
000BH
000CH
000DH
000EH
000FH
0010H
0011H
0012H
0013H
0014H
0015H
0016H
0017H
0018H
0019H

A1 valueA2 valueA3 valueA4 value
A4 high limit value
A1 hysteresis
A2 hysteresis
A3 hysteresis
A4 hysteresis
A1 Energized/De-energizedA2 Energized/De-energized
A3 Energized/De-energized
A4 Energized/De-energizedA1 delay time
A2 delay timeA3 delay time
A4 delay time

Low limit alarm
High/Low limit range
alarm
250.0
300.0
150.0
180.0
220.0
1.0
1.0
1.0
1.0
Energized
Energized
Energized
Energized

0 sec
0 sec
0 sec
0 sec

Data
(Converted to Hexadecimal)
0001H
0FA0H
0000H
0001H
0001H
0001H
0002H
0005H
09C4H
0BB8H
05DCH
0708H
0898H
000AH
000AH
000AH
000AH
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H

• Write command from the master (When writing the above data)
Header Address
Sub
Command
Data item
address
type[0001H]
(02H)
(21H)
(20H)
(54H)
(30H 30H 30H 31H)
1
1
1
1
4
Data
[00010FA00000・・・0000]

Checksum(30H 30H 30H 31H 30H 46H 41H 30H 30H 30H 30H 30H・・・30H 30H 30H 30H) (44H 34H)
100 (4 x 25)• Response from the slave in normal status
Header Address Checksum Delimiter
(06H)
(21H)
(03H)
(44H 46H)
1
1
2
1

10

2

Delimiter(03H)1

6. MODBUS Protocol
6.1 Transmission Mode
There are 2 transmission modes (ASCII and RTU) in MODBUS protocol.
6.1.1 ASCII Mode
Hexadecimal (0 to 9, A to F), which is divided into high order (4-bit) and low order (4-bit)
out of 8-bit binary data in command is transmitted as ASCII characters.
Data format
Start bit: 1 bit
Data bit: 7 bits (Selectable)
Parity: Even (No parity, Odd) (Selectable)
Stop bit: 1 bit (2 bits) (Selectable)
Error detection : LRC (Longitudinal Redundancy Check)
6.1.2 RTU Mode
8-bit binary data in command is transmitted as it is.
Data format Start bit: 1 bit
Data bit: 8 bits
Parity: No parity (Even, Odd) (Selectable)
Stop bit: 1 bit (2 bits) (Selectable)
Error detection: CRC-16 (Cyclic Redundancy Check)6.2 Data Communication Interval
6.2.1 ASCII ModeNo communication interval limit between characters
6.2.2 RTU Mode
1.5 character transmission times or less(Communication speed 2400, 4800, 9600, 19200 bps: 1.5 character transmission times,
Communication speed 38400 bps: 750 s)
To transmit continuously, an interval between characters which consist of one message, must
be within 1.5 character transmission times.
If an interval lasts longer than 1.5 character transmission times, the JIR-301-M assumes thattransmission from the master is finished, which results in a communication error, and will not
return a response.
6.3 Message Configuration
6.3.1 ASCII Mode
ASCII mode message is configured to start by Header [: (colon) (3AH)], and end by Delimiter[CR (carriage return) (0DH) + LF (Line feed) (0AH)].
Data: Max. 2 x 252 characters
HeaderSlave
FunctionError check
Delimiter Delimiter
Data(:)
address
code
LRC
(CR)
(LF)
6.3.2 RTU Mode
RTU mode is configured to start after idle time is processed for more than 3.5 charactertransmissions, and end after idle time is processed for more than 3.5 character transmissions.
(Communication speed 2400, 4800, 9600, 19200 bps: 3.5 character transmission times,
Communication speed 38400 bps: 1.75 ms)
Data: Max. 252 bytes
3.5 idle
Slave
FunctionError check3.5 idleDatacharacters addresscode
CRC-16characters11(1) Slave Address
Slave address is an individual instrument number on the slave side, and is set within the range
0 to 95 (00H to 5FH). The master identifies slaves by the slave address of the requested message.
The slave informs the master which slave is responding to the master by placing its own addressin the response message.
Slave address (00H, Broadcast address) can identify all the slaves connected. However, slaves
do not respond.
(2) Function CodeThe function code is the command code for the slave to undertake one of the following actions.
(Table 6.3-1)
Function CodeType
Contents
Reads a single or multiple piece(s) of data from slave(s).
03 (03H)(Up to 100 pieces of data can be read per command.)Reads status from slave(s).
04 (04H)
Data(Up to 100 pieces of data can be read per command.)access06 (06H)
Writes a single piece of data to slave(s).
Writes multiple pieces of data to slave(s).
16 (10H)(Up to 100 pieces of data can be written per command.)The function code is used to discern whether the response is normal (acknowledgement) or if
any error (negative acknowledgement) has occurred when the slave returns the response
message to the master.
When acknowledgement is returned, the slave simply returns the original function code.
When negative acknowledgement is returned, the MSB of the original function code is set as
1 for the response.
For example, if the master sends request message setting 10H to the function code by
mistake, slave returns 90H by setting the MSB to 1, because the former is an illegal function.
For negative acknowledgement, the exception codes below are set to the data of the
response message, and returned to the master in order to inform it of what kind of error has
occurred.
(Table 6.3-2)
Exception Code1 (01H)
2 (02H)
3 (03H)
17 (11H)
18 (12H)

Contents
Illegal function (Non-existent function)
Illegal data address (Non-existent data address)
Illegal data value (Value out of the setting range)
Shinko protocol error code 4(Status unable to be written)
Shinko protocol error code 5(During setting mode by keypad operation)(3) Data
Data differs depending on the function code.
A request message from the master is composed of a data item, amount of data and setting data.
A response message from the slave is composed of the byte count, data and exception codes innegative acknowledgements, corresponding to the request message.
The effective range of data is -32768 to 32767 (8000H to 7FFFH).
Refer to Section “7. Communication Command Table” (pp.24 to 31).

12

(4) Error CheckASCII Mode
After calculating LRC (Longitudinal Redundancy Check) from the slave address to the end of data,
the calculated 8-bit data is converted to two ASCII characters, and are appended to the end of
message.
How to Calculate LRC
1 Create a message in RTU mode.
2 Add all the values from the slave address to the end of data. This is assumed as X.
3 Make a complement for X (bit reverse). This is assumed as X.
4 Add a value of 1 to X. This is assumed as X.
5 Set X as an LRC to the end of the message.
6 Convert the whole message to ASCII characters.
RTU Mode
After calculating CRC-16 (Cyclic Redundancy Check) from the slave address to the end of the data,
the calculated 16-bit data is appended to the end of message in sequence from low order to highorder.
How to calculate CRC-16
In the CRC-16 system, the information is divided by the polynomial series. The remainder is added
to the end of the information and transmitted. The generation of a polynomial series is as follows:(Generation of polynomial series: X16 + X 15 + X 2 + 1)
1 Initialize the CRC-16 data (assumed as X) (FFFFH).
2 Calculate exclusive OR (XOR) with the 1st data and X. This is assumed as X.
3 Shift X one bit to the right. This is assumed as X.
4 When a carry is generated as a result of the shift, XOR is calculated by X of 3 and thefixed value (A001H). This is assumed as X. If a carry is not generated, go to step 5 .
5 Repeat steps 3 and 4 until shifting 8 times.
6 XOR is calculated with the next data and X. This is assumed as X.
7 Repeat steps 3 to 5 .
8 Repeat steps 3 to 5 up to the final data.
9 Set X as CRC-16 to the end of message in sequence from low order to high order.

13

6.4 Message Example
6.4.1 ASCII Mode
Numerals written below the command represent the number of characters.
(1) Read [Slave address 1, PV (0080H)]• A request message from the master
Data item
Header Slave
Function
Amount of data
Error check Delimiter
address
code[0001H]
LRC
CR+LF[0080H](3AH) (30H 31H) (30H 33H) (30H 30H 38H 30H) (30H 30H 30H 31H) (37H 42H) (0DH 0AH)
1
2
2
4
4
2
2
• Response message from the slave in normal status [When PV is 600 (0258H)]
Response
Header Slave
Function
Data
Error check Delimiter
byte countaddresscode[0258H]
LRC
CR+LF
[02H]
(3AH) (30H 31H) (30H 33H)
(30H 32H 35H 38H) (41H 30H) (0DH 0AH)
(30H 32H)
1
2
2
2
4
2
2
(2) Write [Slave address 1, A1 value (0001H)]• A request message from the master [When writing A1 value to 600 (0258H)]
Header Slave
Function
Data item
Data
Error check Delimiter
address
code[0001H][0258H]
LRC
CR+LF(3AH) (30H 31H) (30H 36H) (30H 30H 30H 31H) (30H 32H 35H 38H) (39H 45H) (0DH 0AH)
1
2
2
4
4
2
2
• Response message from the slave in normal status
Header Slave
Function
Data item
Data
Error check Delimiter
address
code[0001H][0258H]
LRC
CR+LF(3AH) (30H 31H) (30H 36H) (30H 30H 30H 31H) (30H 32H 35H 38H) (39H 45H) (0DH 0AH)
1
2
2
4
4
2
2
• Response message from the slave in exception (error) status (When a value out of the setting range
is set)
The function code MSB is set to 1 for the response message in exception (error) status [86H (38H36H)].
The exception code 03H (30H 33H: Value out of the setting range) is returned (error).
Header Slave
Function Exception code Error check Delimiter
address
code
[03H]
LRC
CR+LF
(3AH) (30H 31H) (38H 36H) (30H 33H)
(37H 36H) (0DH 0AH)
1
2
2
2
2
2
(3) Read [Slave address 1, A1 value (0001H)]• A request message from the master
Header Slave
Function
Data item
Amount of data
Error check Delimiter
address
code[0001H][0001H]
LRC
CR+LF(3AH) (30H 31H) (30H 33H) (30H 30H 30H 31H) (30H 30H 30H 31H) (46H 41H) (0DH 0AH)
1
2
2
4
4
2
2
• Response message from the slave in normal status [When A1 value is 600 (0258H)]
Response
Header Slave
Function
Data
Error check Delimiter
byte countaddresscode[0258H]
LRC
CR+LF
[02H]
(3AH) (30H 31H) (30H 33H)
(30H 32H 35H 38H) (41H 30H) (0DH 0AH)
(30H 32H)
1
2
2
2
4
2
2
• Response message from the slave in exception (error) status (When data item is incorrect)
The function code MSB is set to 1 for the response message in exception (error) status [83H (38H33H)].
The exception code 02H (30H 32H: Non-existent data address) is returned (error).
Header Slave
Function Exception code Error check
Delimiter
address
code
[02H]
LRC
CR+LF
(3AH) (30H 31H) (38H 33H) (30H 32H)
(37H 41H)(0DH 0AH)
1
2
2
2
2
2

14

(4) Read [Slave address 1, 25 commands from input type)• A request message from the master
Header Slave
Function
Data item
Amount of data
Error check Delimiter
addresscode
CR+LF[0001H][0019H]
LRC(3AH) (30H 31H) (30H 33H) (30H 30H 30H 31H) (30H 30H 31H 39H) (45H 32H) (0DH 0AH)
1
2
2
4
4
2
2
• Response message from the slave in normal status
Response
Header Slave
Functionbyte countaddresscode[32H](3AH) (30H 31H) (30H 33H)
(33H 32H)
1
2
2
2
Data
[0000055AFF38・・・0000]

Error check Delimiter
LRC
CR+LF
(30H 30H 30H 30H 30H 35H 35H 41H 46H 46H 33H 38H・・・30H 30H 30H 30H) (32H 32H) (0DH 0AH)
100 (4 x 25)
2
2
Response data is as follows:
Data Item
0001H
0002H
0003H
0004H
0005H
0006H
0007H
0008H
0009H
000AH
000BH
000CH
000DH
000EH
000FH
0010H
0011H
0012H
0013H
0014H
0015H
0016H
0017H
0018H
0019H

Input type
Scaling high limit
Scaling low limit
Decimal point place
A1 typeA2 typeA3 typeA4 type
A1 valueA2 valueA3 valueA4 value
A4 high limit value
A1 hysteresis
A2 hysteresis
A3 hysteresis
A4 hysteresis
A1 Energized/De-energizedA2 Energized/De-energized
A3 Energized/De-energized
A4 Energized/De-energizedA1 delay time
A2 delay timeA3 delay time
A4 delay timeData
K [-200 - 1370 ]
1370
-200
No decimal point
No alarm action
No alarm action
No alarm action
No alarm action
0
0
0
0
0
1.0
1.0
1.0
1.0
Energized
Energized
Energized
Energized
0 sec
0 sec
0 sec
0 sec

15

Data
(Converted to Hexadecimal)
0000H
055AH
FF38H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
000AH
000AH
000AH
000AH
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H

(5) Write (Slave address 1, 25 commands from input type)(e.g.) 25 commands from the input type are shown below.
Data Item

Data

0001H
0002H
0003H
0004H

Input type
Scaling high limit
Scaling low limit
Decimal point place

0005H
0006H
0007H
0008H

A1 typeA2 typeA3 typeA4 type

0009H
000AH
000BH
000CH
000DH
000EH
000FH
0010H
0011H
0012H
0013H
0014H
0015H
0016H
0017H
0018H
0019H

A1 valueA2 valueA3 valueA4 value
A4 high limit value
A1 hysteresis
A2 hysteresis
A3 hysteresis
A4 hysteresis
A1 Energized/De-energizedA2 Energized/De-energized
A3 Energized/De-energized
A4 Energized/De-energizedA1 delay time
A2 delay timeA3 delay time
A4 delay timeK [-200.0 - 400.0 ]
400.0
0.0
xxx.x (1 digit after
decimal point)
High limit alarmHigh limit alarm
Low limit alarm
High/Low limit range
alarm
250.0
300.0
150.0
180.0
220.0
1.0
1.0
1.0
1.0
Energized
Energized
Energized
Energized
0 sec
0 sec
0 sec
0 sec

Data
(Converted to Hexadecimal)
0001H
0FA0H
0000H
0001H
0001H
0001H
0002H
0005H
09C4H
0BB8H
05DCH
0708H
0898H
000AH
000AH
000AH
000AH
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H

• A request message from the master (When writing the above data)
Header Slave
Function
Data item
Amount of data
address
code[0001H][0019H](3AH) (30H 31H) (31H 30H) (30H 30H 30H 31H) (30H 30H 31H 39H)
1
2
2
4
4

Byte count[32H](33H 32H)
2

Data[00010FA0・・・0000]

Error check Delimiter
LRC
CR+LF
(30H 30H 30H 31H 30H 46H 41H 30H・・・30H 30H 30H 30H) (41H 31H) (0DH 0AH)
100 (4 x 25)
2
2• Response message from the slave in normal status
Header Slave
Function
Data item
Amount of data
Error check Delimiter
address
code[0001H][0019H]
LRC
CR+LF(3AH) (30H 31H) (31H 30H) (30H 30H 30H 31H) (30H 30H 31H 39H) (44H 35H) (0DH 0AH)
1
2
2
4
4
2
2

16

6.4.2 RTU Mode
Numerals written below the command represent the number of characters.
(1) Read [Slave address 1, PV (0080H)]• A request message from the master
Slave
Function
Data item
3.5 idle
addresscodecharacters
(01H)
(03H)
(0080H)
1
1
2

Amount of data
(0001H)
2

Error check
CRC-16(85E2H)2

3.5 idle
characters• Response message from the slave in normal status [When PV is 600
Slave
Function
Response
Data
3.5 idle
addresscodebyte countcharacters
(01H)
(03H)
(02H)
(0258H)11
1
2(0258H)]
Error check
CRC-16(B8DEH)2

3.5 idle
characters(2) Write [Slave address 1, A1 value (0001H)]• A request message from the master [When A1 value is written to 600
Slave
Function
Data item
Data
3.5 idle
addresscodecharacters
(01H)
(06H)
(0001H)(0258H)112
2(0258H)]
Error check
CRC-16(D890H)2

3.5 idle
characters• Response message from the slave in normal status
Slave
Function
Data item
3.5 idle
addresscodecharacters
(01H)
(06H)
(0001H)
1
1
2

Error check
CRC-16(D890H)2

Data(0258H)2

3.5 idle
characters• Response message from the slave in exception (error) status (When a value out of the setting range is set)
The function code MSB is set to 1 for the response message in exception (error) status, and 86H isreturned.
The Exception code 03H (Value out of the setting range) is returned (error).
Slave
Function Exception code
Error check3.5 idle
3.5 idle
addresscode
CRC-16characterscharacters
(01H)
(86H)
(03H)
(0261H)1112(3) Read [Slave address 1, A1 value (0001H)]• A request message from the master
Slave
Function
Data item
3.5 idle
addresscodecharacters
(01H)
(03H)
(0001H)
1
1
2

Data(0001H)
2

Error check
CRC-16(D5CAH)2

3.5 idle
characters• Response message from the slave in normal status [When A1 value is 600 (0258H)]
Slave
Function
Response
Data
Error check3.5 idle
3.5 idle
addresscodebyte countCRC-16characterscharacters
(01H)
(03H)
(02H)
(0258H)(B8DEH)1
1
1
2
2• Response message from the slave in exception (error) status (When data item is incorrect)
The function code MSB is set to 1 for the response message in exception (error) status,and 83H is returned. The Exception code 02H (Non-existent data address) is returned (error).
Slave
Function Exception code
Error check3.5 idle
3.5 idle
addresscode
CRC-16characterscharacters
(01H)
(83H)
(02H)
(C0F1H)
1
1
1
2

17

(4) Read [Slave address 1, 25 commands from input type)• A request message from the masterSlave Function Data item
3.5 idle
address codecharacters
(01H)
(03H)
(0001H)
1
1
2

Amount ofdata(0019H)
2

Error check3.5 idle
CRC-16characters(D5C0H)2• Response message from the slave in normal status
Slave Function
Response
Data
Error check3.5 idle
3.5 idle
address code
byte countCRC-16characterscharacters
(01H)
(03H)
(32H)
(0000055AFF38・・・0000H) (15CDH)11
150 (2×25)
2
Response data is as follows:
Data Item
0001H
0002H
0003H
0004H
0005H
0006H
0007H
0008H
0009H
000AH
000BH
000CH
000DH
000EH
000FH
0010H
0011H
0012H
0013H
0014H
0015H
0016H
0017H
0018H
0019H

Input type
Scaling high limit
Scaling low limit
Decimal point place
A1 typeA2 typeA3 typeA4 type
A1 valueA2 valueA3 valueA4 value
A4 high limit value
A1 hysteresis
A2 hysteresis
A3 hysteresis
A4 hysteresis
A1 Energized/De-energizedA2 Energized/De-energized
A3 Energized/De-energized
A4 Energized/De-energizedA1 delay time
A2 delay timeA3 delay time
A4 delay timeData
K [-200 - 1370 ]
1370
-200
No decimal point
No alarm action
No alarm action
No alarm action
No alarm action
0
0
0
0
0
1.0
1.0
1.0
1.0
Energized
Energized
Energized
Energized
0 sec
0 sec
0 sec
0 sec

18

Data
(Converted to Hexadecimal)
0000H
055AH
FF38H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H
000AH
000AH
000AH
000AH
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H

(5) Write (Slave address 1, 25 commands from input type)(e.g.) 25-command data from the input type are shown below.
Data Item
0001H
0002H
0003H
0004H

Input type
Scaling high limit
Scaling low limit
Decimal point place

0005H
0006H
0007H
0008H

A1 typeA2 typeA3 typeA4 type

0009H
000AH
000BH
000CH
000DH
000EH
000FH
0010H
0011H
0012H
0013H
0014H
0015H
0016H
0017H
0018H
0019H

A1 valueA2 valueA3 valueA4 value
A4 high limit value
A1 hysteresis
A2 hysteresis
A3 hysteresis
A4 hysteresis
A1 Energized/De-energizedA2 Energized/De-energized
A3 Energized/De-energized
A4 Energized/De-energizedA1 delay time
A2 delay timeA3 delay time
A4 delay timeData
K [-200.0 - 400.0 ]
400.0
0.0
xxx.x (1 digit after
decimal point)
High limit alarmHigh limit alarm
Low limit alarm
High/Low limit range
alarm
250.0
300.0
150.0
180.0
220.0
1.0
1.0
1.0
1.0
Energized
Energized
Energized
Energized
0 sec
0 sec
0 sec
0 sec

Data
(Converted to Hexadecimal)
0001H
0FA0H
0000H
0001H
0001H
0001H
0002H
0005H
09C4H
0BB8H
05DCH
0708H
0898H
000AH
000AH
000AH
000AH
0000H
0000H
0000H
0000H
0000H
0000H
0000H
0000H

• A request message from the master (When writing the above data)
Slave Function Data item Amount of
Byte
3.5 idle
address code
data
count
characters
(01H)
(10H)
(0001H)(0019H)
(32H)
1
1
2
2
1
Data

Error check3.5 idle
CRC-16characters(00010FA00000・・
・0000H) (0412H)
50 (2 x 25)
2• Response message from the slave in normal status
Slave Function Data item
Amount of
3.5 idle
address codedatacharacters
(01H)
(10H)
(0001H)(0019H)
1
1
2
2

19

Error check3.5 idle
CRC-16characters(5003H)2

6.5 Diagnostics Function
MODBUS protocol has the following diagnostics functions.
• Echoes back the request message.
• Reads device identification information.
6.5.1 Message Configuration
ASCII mode
HeaderSlave
Function(:)
addresscode
RTU mode
3.5 idle
characters

Slave
address

Function
code

Data

Error check
LRC

Delimiter
(CR)

Data

Error check
CRC-16

3.5 idle
characters

Delimiter(LF)(1) Slave address
Slave address is an individual instrument number on the slave side, and is set within the range 1 to
95 (01H to 5FH).
The master identifies slaves by the slave address of the requested message.
The slave informs the master which slave is responding to the master by placing its own address in
the response message.
Diagnostics function is disabled for the Slave address 0 (00H, Broadcast address).
(2) Function code
The function code is the command code for the slave to undertake the following action types.
Type
Function Code Sub-function CodeContents
08 (08H)
00 (0000H)
Echoes back the request message.
(Up to 100 pieces of data can be echoed
Diagnostics
back per command)
43 (2BH)
14 (0EH)
Reads device identification information.
Function code is used to discern whether the response is normal (acknowledgement) or if any error(negative acknowledgement) has occurred when the slave returns the response message to themaster.
When acknowledgement is returned, the slave simply returns the original function code.
When negative acknowledgement is returned, the MSB of the original function code is set as 1 forthe response. For example, when the master sends request message setting 0FH to the Reads
device identification information 43 (2BH) sub-function code by mistake, slave returns ABH by
setting the MSB to 1, because the former is a non-existent sub-function code.
For negative acknowledgement, the exception codes below are set to the data of the response
message, and returned to the master in order to inform it of what kind of error has occurred.
Exception CodeContents
Illegal function (Non-existent function)
1 (01H)
Sub-function code is not correct.
Illegal data address (Non-existent data address)
2 (02H)For function code 43 (2BH): Object ID is any value other than 00, 01, 02.
Illegal data value (Value out of the setting range)
For function code 08 (08H): Data is less than 1, or has exceeded 100.
3 (03H)For function code 43 (2BH): Read Device ID code is any value other than01, 04.
(3) Data
Data differs depending on the function code.
For the Function code 08 (08H), a request message from the master side is composed of‘Sub-function code 2 Bytes (0000H)’ and ‘Data n x 2 Bytes’. [n: Amount of data (Max. 100)]
In normal status, a response message from the slave side is the same as the request message.
1 ByteFunction code
08H
Sub-function code 1 Byte
0000H fixedDatan x 2 Bytes Random value (Max. 100)
20

For Function code 43 (2BH), the request message from the master side is composed of
Sub-function code 14 (0EH), Read Device ID code and Object ID.
Function code
1 Byte2BH
Sub-function code (MEI type)
1 Byte0EH
Read Device ID code
1 Byte01H/04H(Corresponds to Basic category)Object ID
1 Byte00 Vendor nameSHINKO TECHNOS CO., LTD.
Productcode (model)
01(e.g.) JIR-301-M
02 Version number (D, T, MP)(e.g.) Dxx-xxxx-xx, MPxxxx-xx
Response message from the slave is composed of Sub-function code 14 (0EH) (for request),
Read Device ID code and Object ID.
Function code
1 Byte2BH
Sub-function code (MEI type)
1 Byte0EH
Data
Read Device ID code 1 Byte
01H/04H
Conformity level
1 Byte01H/81H
More Follows
1 Byte00H/FFH
Next Object ID
1 ByteObject ID number
Number of Objects
1 ByteList of Object ID
1 ByteList of Object length
1 ByteList of Object value
Object length
For the response message (negative acknowledgement), an exception code is set and returned.
Function code
1 ByteABH
Exception code
1 Byte01H/02H/03H(4) Error check:16-bit data to detect communication errors.
Refer to Sections “6.3 Message Configuration (4) Error Check (p.13)”.
6.5.2 Message Example
Message examples in RTU mode are shown below.
Numerals written below the command represent the number of characters.
(1) Echo back Slave address 1, Request message• A request message from the master [Test data 200 (00C8H), 60 (003CH), 10 (000AH)]
Slave
Function Sub-function
Data
Error check3.5 idle address
3.5 idle
code
code
CRC-16characters (01H)
characters(08H)(0000H)(00C8003C000AH)(E7D9H)1
1
2
nx2
2• Response message from the slave in normal status (Echoes back the same message.)
Slave
Function Sub-function
Data
Error check3.5 idle address
3.5 idle
code
code
CRC-16characters (01H)
characters(08H)(0000H)(00C8003C000AH)(E7D9H)
1
1
2
nx2
2

21

(2) Read Slave address 1, Device identification information (Vendor name)• A request message from the master
Slave
Function
Sub-function
Data
Error check3.5 idle
3.5 idle
addresscode
code
CRC-16characters (01H)
characters
(2BH)
(0EH)
(0400H)(7327H)1
1
1
2
2• Response message from the slave in normal status (SHINKO TECHNOS CO., LTD.)
Slave
Function
Sub-function
3.5 idle
addresscode
codecharacters (01H)
(2BH)
(0EH)
1
1
1

Data
(048100000100185348494E4B4F20544543484E4F5320434F2E2C204C54442EH)
31
Error check
CRC-16(1C54H)
2
Data in the response message is as follows:
Data
Read Device ID code 1 Byte
Conformity level
1 ByteMore Follows
1 ByteNext Object ID
1 ByteNumber of Objects
1 ByteList of Object ID
1 ByteList of Object length
1 ByteList of Object value
Object length

22

04H
81H
00H
00H
01H
00H
24(18H)
S(53H)
H(48H)
I(49H)
N(4EH)
K(4BH)
O(4FH)(20H)
T(54H)
E(45H)C(43H)
H(48H)
N(4EH)
O(4FH)
S(53H)(20H)
C(43H)
O(4FH).(2EH),(2CH)(20H)
L(4CH)
T(54H)
D(44H).(2EH)

3.5 idle
characters(3) Read Slave address 1, Device identification information (Product code)• A request message from the master
Slave
Function
Sub-function
Data
Error check3.5 idle
3.5 idle
addresscode
code
CRC-16characters (01H)
characters
(2BH)
(0EH)
(0401H)(B2E7H)1
1
1
2
2• Response message from the slave in normal status (JIR-301-M)
Slave
Function
Sub-function
3.5 idle
addresscode
codecharacters (01H)
(2BH)
(0EH)
1
1
1
Data
(048100000101094A49522D3330312D4DH)
18
Data in the response message is as follows:
Data
Read Device ID code 1 Byte
Conformity level
1 ByteMore Follows
1 ByteNext Object ID
1 ByteNumber of Objects
1 ByteList of Object ID
1 ByteList of Object length
1 ByteList of Object value
Object length

Error check
CRC-16(17CBH)2

3.5 idle
characters

04H
81H
00H
00H
01H
01H
9(09H)
J(4AH)
I(49H)
R(52H)-(2DH)
3(33H)
0(30H)
1(31H)-(2DH)
M(4DH)• Response message from the slave in exception (error) status [when Sub-function code (MEI type)
is incorrect]
The function code MSB is set to 1 for the response message in exception (error) status, andABH is returned.
Exception code 01H (Non-existent function) is returned (error).
Function Exception code
Error checkSlave
3.5 idle
3.5 idle
code
CRC-16
address
characterscharacters(ABH)(9EF0H)
(01H)
(01H)
1
1
1
2

23

7. Communication Command Table
7.1 Command of Shinko Protocol/ MODBUS ASCII Mode/ MODBUS RTU Mode
7.1.1 A Single Piece of Data (Read/Write Command)
ShinkoMODBUS
CommandFunction
Data Item
Data
Type
Code
20H/50H
03H/06H
0001H A1 value
Set value (Decimal point ignored.)
20H/50H
03H/06H
0002H A2 value
Set value (Decimal point ignored.)
20H/50H
03H/06H
0003H A3 value
Set value (Decimal point ignored.)
20H/50H
03H/06H
0004H Set value lock
0000H: Unlock
0001H: Lock 1
0002H: Lock 2
0003H: Lock 3
20H/50H
03H/06H
0005H Sensor correction
Set value (Decimal point ignored.)
20H/50H
03H/06H
0006H Scaling high limit
Set value
20H/50H
03H/06H
0007H Scaling low limit
Set value
20H/50H
03H/06H
0008H Decimal point place
0000H: XXXX (No decimal point)
0001H: XXX.X (1 digit after decimal
point)
0002H: XX.XX (2 digits after decimal
point)
0003H: X.XXX (3 digits after decimal
point
20H/50H
03H/06H
0009H PV filter time constantSet value (Decimal point ignored.)
20H/50H
03H/06H
000AH A1 hysteresis
Set value (Decimal point ignored.)
20H/50H
03H/06H
000BH A2 hysteresis
Set value (Decimal point ignored.)
20H/50H
03H/06H
000CH A3 hysteresis
Set value (Decimal point ignored.)
20H/50H
03H/06H
000DH A1 type
0000H: No alarm action
0001H: High limit alarm
0002H: Low limit alarm
0003H: High limit with standby alarm
0004H: Low limit with standby alarm
20H/50H
03H/06H
000EH A2 type
0000H: No alarm action
0001H: High limit alarm
0002H: Low limit alarm
0003H: High limit with standby alarm
0004H: Low limit with standby alarm
20H/50H
03H/06H
000FH A3 type
0000H: No alarm action
0001H: High limit alarm
0002H: Low limit alarm
0003H: High limit with standby alarm
0004H: Low limit with standby alarm
0005H: High/Low limit range alarm
20H/50H
03H/06H
0010H Transmission output 1
Set valuehigh limit
20H/50H
03H/06H
0011H Transmission output 1
Set value
low limit
20H/50H
03H/06H
0012H A1
0000H: Energized
Energized/De-energized 0001H: De-energized
20H/50H
03H/06H
0013H A2
0000H: Energized
Energized/De-energized 0001H: De-energized
20H/50H
03H/06H
0014H A3
0000H: Energized
Energized/De-energized 0001H: De-energized
20H/50H
03H/06H
0015H A1 delay time
Set value
20H/50H
03H/06H
0016H A2 delay time
Set value
20H/50H
03H/06H
0017H A3 delay time
Set value
24

ShinkoCommandType
20H/50H

MODBUS
FunctionCode
03H/06H

Data Item
0019H

Data
0000H: K (-200 to 1370 )
0001H: K (-200.0 to 400.0 )0002H: J (-200 to 1000 )
0003H: R (0 to 1760 )
0004H: S (0 to 1760 )
0005H: B (0 to 1820 )
0006H: E (-200 to 800 )
0007H: T (-200.0 to 400.0 )0008H: N (-200 to 1300 )
0009H: PL- (0 to 1390 )000AH: C (W/Re5-26)(0 to 2315 )
000BH: Pt100 (-200.0 to 850.0 )000CH: JPt100 (-200.0 to 500.0 )000DH: Pt100 (-200 to 850 )000EH: JPt100 (-200 to 500 )
000FH: K (-320 to 2500 )
0010H: K (-200.0 to 750.0 )0011H: J (-320 to 1800 )
0012H: R (0 to 3200 )0013H: S (0 to 3200 )0014H: B (0 to 3300 )
0015H: E (-320 to 1500 )
0016H: T (-200.0 to 750.0 )0017H: N (-320 to 2300 )0018H: PL- (0 to 2500 )
0019H: C (W/Re5-26)(0 to 4200 )001AH: Pt100 (-200.0 to 1000.0 )001BH: JPt100 (-200.0 to 900.0 )001CH: Pt100 (-300 to 1500 )
001DH: JPt100 (-300 to 900 )
001EH: 4 to 20 mA DC(-2000 to 10000) (Externallymounted shunt resistor)
001FH: 0 to 20 mA DC(-2000 to 10000) (Externallymounted shunt resistor)
0020H: 0 to 1 V DC (-2000 to 10000)
0021H: 0 to 5 V DC (-2000 to 10000)
0022H: 1 to 5 V DC (-2000 to 10000)
0023H: 0 to 10 V DC(-2000 to 10000)
0024H: 4 to 20 mA DC(-2000 to 10000)(Built-in shunt resistor)
0025H: 0 to 20 mA DC(-2000 to 10000)(Built-in shunt resistor)

Input type

7.1.2 A Single Piece of Data (Write Command)
ShinkoMODBUS
CommandFunction
Data Item
Type
Code
50H
06H
0070H Key operation change
flag clearing
25

Data
0000H: No action
0001H: Clear key operation changeflag7.1.3 A Single Piece of Data (Read Command)
ShinkoMODBUS
CommandFunction
Data Item
Type
Code
20H
03H
0080H PV
20H
03H
0081H Status flag

20H

03H

00A1H Unit specification flag

26

Data
PV (Decimal point ignored.)0000 0000 0000 0000
215
to
20
20 digit: A1 output
0: OFF
1: ON
1
2 digit: A2 output
0: OFF
1: ON
2
2 digit: A3 output
0: OFF
1: ON
3
2 digit: Overscale
0: OFF
1: ON
4
2 digit: Underscale
0: OFF
1: ON
5
14
2 - 2 digit: Not used (Always 0)
215 digit: Change in key operation
0: No
1: Yes0000 0000 0000 0000
215
to
20
0
2 digit: A1 function
Available/Unavailable
0: Unavailable 1: Available
1
2 digit: A2 function
Available/Unavailable
0: Unavailable 1: Available
22 digit: A3 function
Available/Unavailable
0: Unavailable 1: Available
3
2 digit: Communication function
Available/Unavailable
0: Unavailable 1: Available
24 digit: Transmission output 1
Available/Unavailable
0: Unavailable 1: Available
515
2 - 2 digit: Not used (Always 0)

7.2 Command of Shinko Protocol (Block Read/Write available), MODBUS ASCII Mode (Block
Read/Write available), and MODBUS RTU Mode (Block Read/Write available)
7.2.1 A Single/Multiple Piece(s) of Data (Read/Write Command)
ShinkoMODBUS
CommandFunction
Data ItemType
Code
20H/24H/50H/54H 03H/06H/10H 0001H Input type

20H/24H/50H/54H 03H/06H/10H 0002H
20H/24H/50H/54H 03H/06H/10H 0003H

Scaling high limit
Scaling low limit

27

Data
0000H: K [-200 to 1370 ]
0001H: K [-200.0 to 400.0 ]0002H: J [-200 to 1000 ]
0003H: R [0 to 1760 ]
0004H: S [0 to 1760 ]
0005H: B [0 to 1820 ]
0006H: E [-200 to 800 ]
0007H: T [-200.0 to 400.0 ]0008H: N [-200 to 1300 ]
0009H: PL- [0 to 1390 ]000AH: C(W/Re5-26) [0 to 2315 ]
000BH: Pt100 [-200.0 to 850.0 ]000CH: JPt100 [-200.0 to 500.0 ]000DH: Pt100 [-200 to 850 ]000EH: JPt100 [-200 to 500 ]
000FH: K [-320 to 2500 ]
0010H: K [-200.0 to 750.0 ]0011H: J [-320 to 1800 ]
0012H: R [0 to 3200 ]0013H: S [0 to 3200 ]0014H: B [0 to 3300 ]
0015H: E [-320 to 1500 ]
0016H: T [-200.0 to 750.0 ]0017H: N [-320 to 2300 ]0018H: PL- [0 to 2500 ]
0019H: C (W/Re5-26)[0 to 4200 ]001AH: Pt100 [-200.0 to 1000.0 ]001BH: JPt100 [-200.0 to 900.0 ]001CH: Pt100 [-300 to 1500 ]
001DH: JPt100 [-300 to 900 ]
001EH: 4 to 20 mA DC [-2000 to 10000](Externally mounted shunt resistor)
001FH: 0 to 20 mA DC [-2000 to 10000](Externally mounted shunt resistor)
0020H: 0 to 1 V DC [-2000 to 10000]
0021H: 0 to 5 V DC [-2000 to 10000]
0022H: 1 to 5 V DC [-2000 to 10000]
0023H: 0 to 10 V DC [-2000 to 10000]
0024H: 4 to 20 mA DC [-2000 to 10000](Built-in shunt resistor)
0025H: 0 to 20 mA DC [-2000 to 10000](Built-in shunt resistor)
Set value
Set valueShinko
MODBUS
CommandFunction
Data ItemType
Code
20H/24H/50H/54H 03H/06H/10H 0004H Decimal point place

20H/24H/50H/54H 03H/06H/10H 0005H A1 type

20H/24H/50H/54H 03H/06H/10H 0006H A2 type

20H/24H/50H/54H 03H/06H/10H 0007H A3 type

20H/24H/50H/54H 03H/06H/10H 0008H A4 type

20H/24H/50H/54H
20H/24H/50H/54H
20H/24H/50H/54H
20H/24H/50H/54H
20H/24H/50H/54H
20H/24H/50H/54H
20H/24H/50H/54H
20H/24H/50H/54H
20H/24H/50H/54H
20H/24H/50H/54H

03H/06H/10H 0009H
03H/06H/10H 000AH
03H/06H/10H 000BH
03H/06H/10H 000CH
03H/06H/10H 000DH
03H/06H/10H 000EH
03H/06H/10H 000FH
03H/06H/10H 0010H
03H/06H/10H 0011H
03H/06H/10H 0012H

20H/24H/50H/54H 03H/06H/10H 0013H
20H/24H/50H/54H 03H/06H/10H 0014H
20H/24H/50H/54H 03H/06H/10H 0015H
20H/24H/50H/54H
20H/24H/50H/54H
20H/24H/50H/54H
20H/24H/50H/54H

03H/06H/10H 0016H
03H/06H/10H 0017H
03H/06H/10H 0018H
03H/06H/10H 0019H

A1 valueA2 valueA3 valueA4 value
A4 high limit value
A1 hysteresis
A2 hysteresis
A3 hysteresis
A4 hysteresis
A1 Energized/
De-energizedA2 Energized/
De-energized
A3 Energized/
De-energized
A4 Energized/
De-energizedA1 delay time
A2 delay timeA3 delay time
A4 delay time
28

Data
0000H: XXXX (No decimal point)
0001H: XXX.X (1 digit after decimal
point)
0002H: XX.XX (2 digits after decimal
point)
0003H: X.XXX (3 digits after decimal
point)
0000H: No alarm action
0001H: High limit alarm
0002H: Low limit alarm
0003H: High limit with standby alarm
0004H: Low limit with standby alarm
0000H: No alarm action
0001H: High limit alarm
0002H: Low limit alarm
0003H: High limit with standby alarm
0004H: Low limit with standby alarm
0000H: No alarm action
0001H: High limit alarm
0002H: Low limit alarm
0003H: High limit with standby alarm
0004H: Low limit with standby alarm
0005H: High/Low limit range alarm
0000H: No alarm action
0001H: High limit alarm
0002H: Low limit alarm
0003H: High limit with standby alarm
0004H: Low limit with standby alarm
0005H: High/Low limit range alarm
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
0000H: Energized
0001H: De-energized
0000H: Energized
0001H: De-energized
0000H: Energized
0001H: De-energized
0000H: Energized
0001H: De-energized
Set value
Set value
Set value
Set valueShinko
MODBUS
CommandFunction
Data ItemType
Code
20H/24H/50H/54H 03H/06H/10H 001AH A1 HOLD function
20H/24H/50H/54H 03H/06H/10H 001BH A2 HOLD function
20H/24H/50H/54H 03H/06H/10H 001CH A3 HOLD function
20H/24H/50H/54H 03H/06H/10H 001DH A4 HOLD function
20H/24H/50H/54H 03H/06H/10H 001EH Set value lock20H/24H/50H/54H 03H/06H/10H 001FH Sensor correction
coefficient
20H/24H/50H/54H 03H/06H/10H 0020H Sensor correction
20H/24H/50H/54H 03H/06H/10H 0021H PV filter time
constant
20H/24H/50H/54H 03H/06H/10H 0022H Transmission output
1 high limit
20H/24H/50H/54H 03H/06H/10H 0023H Transmission output
1 low limit
20H/24H/50H/54H 03H/06H/10H 0024H Transmission output
2 high limit
20H/24H/50H/54H 03H/06H/10H 0025H Transmission output
2 low limit
20H/24H/50H/54H 03H/06H/10H 0026H Square root function
20H/24H/50H/54H 03H/06H/10H 0027H Low level cutoff
20H/24H/50H/54H 03H/06H/10H 0028H Reserved (*1)
20H/24H/50H/54H 03H/06H/10H 0029H Reserved (*1)：：
20H/24H/50H/54H 03H/06H/10H 00FEH Reserved (*1)

Data
0000H: Disabled
0001H: Enabled
0000H: Disabled
0001H: Enabled
0000H: Disabled
0001H: Enabled
0000H: Disabled
0001H: Enabled
0000H: Unlock
0001H: Lock 1
0002H: Lock 2
0003H: Lock 3
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
Set value (Decimal point ignored.)
0000H: Disabled
0001H: Enabled
Set value (Decimal point ignored.)

7.2.2 A Single Piece of Data (Write Command) (*2)
ShinkoMODBUS
CommandFunction
Data Item
Data
Type
Code
50H/54H
06H/10H 00FFH Key operation change 0000H: No action
flag clearing
0001H: Clear key operation change
flag

29

7.2.3 A Single/Multiple Piece(s) of Data (Read Command) (*3)
ShinkoMODBUS
CommandFunction
Data Item
Data
Type
Code
20H/24H
03H/04H
0100H PVPV (Decimal point ignored.)
20H/24H
03H/04H
0101H Transmission output Transmission output 1 output amount,
1 output amount(Decimal point ignored.)
20H/24H
03H/04H
0102H Transmission output Transmission output 2 output amount,2 output amount(Decimal point ignored.)
20H/24H
03H/04H
0103H Reserved (*1)：：
20H/24H
03H/04H
010BH Reserved (*1)
20H/24H
03H/04H
010CH Key operation
Data item changed by key operation
change item
20H/24H
03H/04H
010DH Status flag 10000 0000 0000 0000
215
to
20
20 digit: A1 output
0: OFF
1: ON
1
2 digit: A2 output
0: OFF
1: ON
2
2 digit: A3 output
0: OFF
1: ON
3
2 digit: A4 output
0: OFF
1: ON
4
2 digit: Overscale
0: OFF
1: ON
5
2 digit: Underscale
0: OFF
1: ON
6
14
2 to 2 digit: Not used (Always 0)
215 digit: Change in key operation
0: No
1: Yes20H/24H
03H/04H
010EH Status flag 20000 0000 0000 0000
215
to
20
20 to 25 digit: Not used (Always 0)
26 digit: Operation status
0: PV/SV Display Mode
1: Setting mode
27 digit: Warm-up
0: Finished 1: During warm-up
28 to 215 digit: Not used (Always 0)
20H/24H
03H/04H
010FH Reserved (*1)
20H/24H
03H/04H
0110H Reserved (*1)
20H/24H
03H/04H
0111H Software version
Software version(Decimal point ignored.)
20H/24H
03H/04H
0112H Unit specification
0000 0000 0000 0000
15
flag
2
to
20
20 digit: A1 function
Available/Unavailable
0: Unavailable 1: Available
1
2 digit: A2 function
Available/Unavailable
0: Unavailable 1: Available
22 digit: A3 function
Available/Unavailable
0: Unavailable 1: Available
30

ShinkoCommandType

MODBUS
Function
Code

Data Item

Data
23 digit: A4 function
Available/Unavailable
0: Unavailable 1: Available
4
2 digit: Communication function
Available/Unavailable
0: Unavailable 1: Available
25 digit: Transmission output 1
Available/Unavailable
0: Unavailable 1: Available
6
2 digit: Transmission output 2
Available/Unavailable
0: Unavailable 1: Available
27 digit: Insulated power output (P24)
Available/Unavailable
0: Unavailable 1: Available
8
2 digit: Insulated power output (P5)
Available/Unavailable
0: Unavailable 1: Available
29 digit: Power for 2-wire transmitter
Available/Unavailable
0: Unavailable 1: Available
10
15
2 to 2 digit: Not used (Always 0)

20H/24H

03H/04H

20H/24H

03H/04H

0113H
：
01FFH
0200H
：
FFFFH

Reserved (*1)：
Reserved (*1)
Not used (*4)：
Not used (*4)(*1) For ‘Reserved’ items:
If a single/multiple piece(s) of data is/are read, acknowledgement will be returned (but data is 0).
If a single/multiple piece(s) of data is/are written, data will be discarded, and acknowledgement will
be returned.
(*2) If a single piece of data (Write command) is read, acknowledgement will be returned (but data is 0)(*3) If a single/multiple piece(s) of data (Read command) is written, data will be discarded, andacknowledgement will be returned.
(*4) For ‘Not used’ items, if a single/multiple piece(s) of data is/are read or written, Error code 1 (31H,
Shinko protocol) or Exception code 2 (02H, MODBUS protocol) will be returned.

317.3 Data
7.3.1 Notes about Write/Read Command• The data (set value, decimal) is converted to hexadecimal figures.
A negative number is represented by 2's complement.
• When connecting multiple slaves, the address (instrument number) must not be duplicated.
• Do not use undefined Data items. If they are used, negative acknowledgement will be returned or arandom value will be written or read, resulting in malfunction.
• MODBUS protocol uses Holding Register addresses. The Holding Register addresses are created asfollows. A Shinko command data item is converted to decimal number, and the offset of 40001 is added.
The result is the Holding Register address.
Using Data item 0001H (A1 value or input type) as an example:
Data item in the sending message is 0001H, however, MODBUS protocol Holding Register
address is 40002 (1 + 40001).
7.3.2 Write Command• Setting range of each item is the same as that of keypad operation.
• When the data (set value) has a decimal point, a whole number (hexadecimal) without a decimal point isused.
• Writings via software communication are possible while in Set value lock status.
When 0003H (Lock 3) is selected at Data item 0004H or 001EH (Set value lock), the written data will
not be saved in the non-volatile memory. Therefore, they return to their previous value after power isturned off.
• If any alarm type is changed at Data item [000DH, 000EH, 000FH or 0005H, 0006H, 0007H, 0008H],
their alarm value (0001H, 0002H, 0003H or 0009H, 000AH, 000BH, 000CH) will default to 0 (zero).
Alarm output status will also be initialized.
• If ‘Power for 2-wire transmitter’ (DSB option) is ordered, and if an input type is changed at Data item
[0019H or 0001H], acknowledgement will be returned, and the setting data will be discarded.
If the input type is read, the default value (0024H) will be returned as data.
• Even if options are not ordered, writing via software communication will be possible. However, theircommand contents will not function.
• Communication parameters such as Instrument Number, Communication Speed of the slave cannot
be written by software communication. They can only be set via the keypad. See p.3.
• When Write is executed using the Global address [95 (7FH), Shinko protocol] command or Broadcast
address [(00H) MODBUS protocol] command, the command is sent to all the connected slaves.
However, a response is not returned.
• Up to 1,000,000 (one million) entries can be stored in non-volatile IC memory.
If the number of settings exceeds the limit, the data will not be saved. So, frequent transmission via
software communication is not recommended. (If a value written via software communication is thesame as the value before the setting, the value will not be written in non-volatile IC memory.)
7.3.3 Read Command• When the data (set value) has a decimal point, a whole number (hexadecimal) without a decimal point
is used for a response.

32

7.4 Negative Acknowledgement
The slave will return Error code 1 (31H, Shinko protocol) or Exception code 2 (02H, MODBUS protocol)in the following case.
• When non-existent data item is read or written.
The slave will return Error code 3 (33H, Shinko protocol) or Exception code 3 (03H, MODBUS protocol)in the following case.
• When a value out of the setting range is written.
The slave will return Error code 5 (35H, Shinko protocol) or Exception code 18 (12H, MODBUS protocol)in the following case.
• During setting mode by keypad operation
7.5 Notes about Programming Monitoring Software
7.5.1 How to Speed up the Scan Time
When monitoring multiple units of JIR-301-M, set the program so that the requisite minimum pieces ofdata such as PV (0080H or 0100H), Status flag (0081H), Status flag 1 (010DH), etc. can be read. For
other data, set the program so that they can be read only when their set value has changed. This will
speed up the scan time.
7.5.2 How to Read the Set Value Changes Made by Front Keypad Operation
If any set value is changed by the keypad operation, the JIR-301-M sets [Status flag (0081H) or Status
flag 1 (010DH) 215: Change in key operation] to [Yes (1)].
There are 2 methods of reading the set value changes made by the front keypad.
Reading Method 1(1) On the software side, check that [Status flag (0081H) or Status flag 1 (010DH) 215: Change in key
operation] has been set to [Yes (1)], then read all set values.
(2) Clear the [Status flag (0081H) 215: Change in key operation], by writing the [Key operation change
flag clearing (0070H or 00FFH)] to [Clear key operation change flag (0001H)].
If [Key operation change flag clearing (0070H or 00FFH)] is written to [Clear key operation change flag
(0001H)] during setting mode of the JIR-301-M, Error code 5 (35H, Shinko protocol) or Exception Code18 (12H, MODBUS protocol) will be returned as a negative acknowledgement. And [Status flag (0081H)
or Status flag 1 (010DH) 215: Change in key operation] cannot be cleared.
Set a program so that all set values can be read when a negative acknowledgement is returned.
(3) Read all set values again after acknowledgement is returned.
Reading Method 2(1) On the software side, check that [Status flag (0081H) or Status flag 1 (010DH) 215: Change in key
operation] has been set to [Yes (1)], then write the [Key operation change flag clearing (0070H or
00FFH)] to [Clear key operation change flag (0001H)].
(2) Set the program depending on the acknowledgement or negative acknowledgement as follows:
When acknowledgement is returned;
Consider it as settings completed, and read all set values.
When Error code 5 (35H, Shinko protocol) or Exception code 18 (12H, MODBUS protocol) is returned
as a negative acknowledgement;
Consider it as still in setting mode, and read the requisite minimum pieces of data such as PV(0080H or 0100H), Status flag (0081H), Status flag 1 (010DH). then return to step (1).
Thus, programs which do not affect the scan time can be created using the methods described above,even if set values on the monitoring software will not be updated until settings are complete.

33

7.5.3 Note when Sending All Set Values at One Time• When changing alarm types in [000DH, 000EH, 000FH or 0005H, 0006H, 0007H, 0008H], the alarm value(0001H, 0002H, 0003H or 0009H, 000AH, 000BH, 000CH) will default to “0”. Alarm output status will also
be initialized.
First, send the alarm type, then send the alarm value.
• When changing input types in [Input type (0019H or 0001H)], the set values such as Scaling high limit,
Scaling low limit or alarm value, etc. will be initialized.
First, send the input type, then send other set values.
7.6 When Communicating with a PLC
To communicate with a PLC, use a Shinko PLC interface unit SIF-600. No programming is needed forconnection. However, Shinko protocol 24H (Multiple pieces of data Read command) and 54H (Multiple
pieces of data Write command) are not available for the SIF-600.
PLCs Corresponding to SIF-600, its manufacturer and host link units:
PLC Manufacturer

PLC Model

Host Link Unit

Mitsubishi Electric Corp.

Omron Corp.

MELSECQ series, QnA series (*)
MELSEC FX series (*)
SYSMAC CJ series

Keyence Corp.
Yokogawa Electric Corp.
Fuji Electric Co., Ltd.

KV
FA-M3
MICREX-SX series

AJ71UC24, A1SJ71UC24-R2/R4/PRF
A1SJ71C24-R2/R4/PRF, QJ71C24
CS1W-SCU21-V1
CJ1W-SCU21, CJ1W-SCU41
KV-L20V
F3LC11-2N, F3LC11-1F, F3LC12-1F
NP1L-RS1, NP1L-RS2, NP1L-RS3, NP1L-RS4(*) Models with compatible QR/QW communication commands (MC protocol 1C Format 4).

34

8. Specifications
Cable length:

1.2 km (Max.)
Cable resistance: Within 50(Terminators are not necessary, but if used, use
120
minimum on both sides.)Communication line:
EIA RS-485
Communication method: Half-duplex communication
Communication speed: 2400, 4800, 9600, 19200, 38400 bps (Selectable by keypad)(Factory default: 9600 bps)
Synchronization method: Start-stop synchronization
Code form:
ASCII, binaryCommunication protocol: Shinko protocol, MODBUS ASCII, MODBUS RTU
In addition, each protocol above is available with Block Read/Write. (Selectableby keypad)(Factory default: Shinko protocol)
Data format:
Communication Protocol
Shinko Protocol
MODBUS ASCIIMODBUS RTU
Start bit1
1
1
Data bit (*1)
778
Selection
Selection
ParityEven[Even] (*2)
[No parity] (*2)
Selection
Selection
Stop bit1[1] (*2)[1] (*2)(*1) Data bit is automatically selected upon selecting the communication protocol.
(*2) [ ]: Basic set value

Number of connectable units: Maximum 31 units to 1 host computer
Error correction:
Command request repeat system
Error detection:
Parity, checksum (Shinko protocol), LRC (MODBUS ASCII), CRC-16 (MODBUS
RTU)

35

9. Troubleshooting
Check that power is being supplied to the master and slave that customers use. If communication
failure still occurs, check the following.
• Problem: Communication failure
Check if any of the following have occurredCommunication cable is not securely connected, or is disconnected/defective.
Incorrect wiring of the communication cable and/or connector
Communication speed of the slave does not match that of the master.
The data bit, parity and stop bit of the master do not correspond to those of the slave.
The instrument number (address) of the slave does not correspond to that of the command.
The instrument numbers (addresses) are duplicated in multiple slaves.
Make sure that the program is appropriate for the transmission timing.

• Problem: Although communication is occurring, the response is negative acknowledgement.
Check if any of the following have occurred
A non-existent command code has been sent.
The Write command data exceeds the setting range of the slave.
The JIR-301-M cannot be written when functions such as AT are performing.
The JIR-301-M is in the front keypad operation setting mode.
For further inquiries, please contact our main office or dealers.