Tablicowe wskaźniki i mierniki temperatury JIR-301-M JIR-301-M (C5) COMMUNICATION INSTRUCTION MANUAL No.JIR32CE2 2017.09 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.
Page 2
11 YA(-) 14 YB(+) D-sub 25-pin connector D-sub 9-pin connector 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 terminal to avoid a ground loop. If both ends of the shield wire are connected to the FG terminal, the circuit will be closed, resulting in a ground loop.
Page 3
The terminator is mounted at the end of the wire when connecting multiple peripheral devices to a personal 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 instead of a terminator.
Page 4
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). • Response with data Master Slave Command When the master sends the Read command, the slave responds with the corresponding set value or current status.
Page 5
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.
Page 6
(4) Acknowledgement Header Delimiter Address Checksum (06H) (03H) (5) Negative acknowledgement Header Error Delimiter Address Checksum (15H) code (03H) 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...
Page 7
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 the slaves 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.
Page 8
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 Command Data item Checksum Delimiter address type [0080H] (02H) (21H) (20H) (20H) (30H 30H 38H 30H) (44H 37H) (03H) •...
Page 9
(4) Read (Address 1, 25 commands from input type) • Read command from the master Header Address 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) •...
Page 10
(5) Write (Address 1, 25 commands from input type) (e.g.) 25 commands from the input type are shown below. Data Data Item Data (Converted to Hexadecimal) 0001H Input type K [-200.0 - 400.0 ] 0001H 0002H Scaling high limit 400.0 0FA0H 0003H Scaling low limit...
Page 11
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 that transmission from the master is finished, which results in a communication error, and will not return a response.
Page 12
Illegal data address (Non-existent data address) 3 (03H) Illegal data value (Value out of the setting range) 17 (11H) Shinko protocol error code 4 (Status unable to be written) 18 (12H) Shinko protocol error code 5 (During setting mode by keypad operation) (3) Data Data differs depending on the function code.
Page 13
(4) Error Check ASCII 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 Create a message in RTU mode.
Page 14
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...
Page 15
(4) Read [Slave address 1, 25 commands from input type) • A request message from the master Header Slave Function Delimiter Data item Amount of data Error check address code CR+LF [0001H] [0019H] (3AH) (30H 31H) (30H 33H) (0DH 0AH) (30H 30H 30H 31H) (30H 30H 31H 39H) (45H 32H)
Page 16
(5) Write (Slave address 1, 25 commands from input type) (e.g.) 25 commands from the input type are shown below. Data Data Item Data (Converted to Hexadecimal) 0001H Input type K [-200.0 - 400.0 ] 0001H 0002H Scaling high limit 400.0 0FA0H 0003H...
Page 17
6.4.2 RTU Mode Numerals written below the command represent number of characters. (1) Read [Slave address 1, PV (0080H)] • A request message from the master Slave Function Data item Amount of data Error check 3.5 idle 3.5 idle address code CRC-16 characters...
Page 18
(4) Read [Slave address 1, 25 commands from input type) • A request message from the master Slave Function Data item Amount of Error check 3.5 idle 3.5 idle address code data CRC-16 characters characters (01H) (03H) (0001H) (0019H) (D5C0H) •...
Page 19
(5) Write (Slave address 1, 25 commands from input type) (e.g.) 25-command data from the input type are shown below. Data Data Item Data (Converted to Hexadecimal) 0001H Input type K [-200.0 - 400.0 ] 0001H 0002H Scaling high limit 400.0 0FA0H 0003H...
Page 20
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 Header Slave Function Error check Delimiter Delimiter Data address code (CR) (LF) RTU mode 3.5 idle Slave Function...
Page 21
01H/04H (Corresponds to Basic category) 00 Vendor name Object ID 1 Byte SHINKO TECHNOS CO., LTD. 01 Product code (model) (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.
Page 22
3.5 idle 3.5 idle address code code CRC-16 characters characters (01H) (2BH) (0EH) (0400H) (7327H) • Response message from the slave in normal status (SHINKO TECHNOS CO., LTD.) Slave Function Sub-function 3.5 idle address code code characters (01H) (2BH) (0EH) Data...
Page 23
3.5 idle 3.5 idle address code code CRC-16 characters characters (01H) (2BH) (0EH) (0401H) (B2E7H) • Response message from the slave in normal status (JIR-301-M) Slave Function Sub-function 3.5 idle address code code characters (01H) (2BH) (0EH) Data Error check 3.5 idle...
Page 24
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) Shinko Modbus Command Function Data Item Data Type Code 20H/50H 03H/06H 0001H A1 value Set value, Decimal point ignored.
Page 25
Shinko Modbus Command Function Data Item Data Type Code 0000H: K (-200 - 1370 ) 20H/50H 03H/06H 0019H Input type 0001H: K (-200.0 - 400.0 ) 0002H: J (-200 - 1000 ) 0003H: R (0 - 1760 ) 0004H: S (0 - 1760 )
Page 26
7.1.3 A Single Piece of Data (Read Command) Shinko Modbus Command Function Data Item Data Type Code 0080H PV, Decimal point ignored. 0081H Status flag 0000 0000 0000 0000 digit: A1 output 0: OFF 1: ON digit: A2 output 0: OFF...
Page 27
7.2 Command of Shinko Protocol (Block read available), Modbus ASCII Mode (Block read available), and Modbus RTU Mode (Block read available) 7.2.1 A Single/Multiple Piece(s) of Data (Read/Write Command) Shinko Modbus Command Function Data Item Data Type Code 20H/24H/50H/54H 03H/06H/10H 0001H Input type 0000H: K [-200 - 1370 ] 0001H: K [-200.0 - 400.0 ]...
Page 28
Shinko Modbus Command Function Data Item Data Type Code 20H/24H/50H/54H 03H/06H/10H 0004H 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)
Page 29
Shinko Modbus Command Function Data Item Data Type Code 20H/24H/50H/54H 03H/06H/10H 0015H A4 0000H: Energized Energized/De-energized 0001H: De-energized 20H/24H/50H/54H 03H/06H/10H 0016H A1 delay time Set value 20H/24H/50H/54H 03H/06H/10H 0017H A2 delay time Set value 20H/24H/50H/54H 03H/06H/10H 0018H A3 delay time...
Page 30
7.2.3 A Single/Multiple Piece(s) of Data (Read Command) (*3) Shinko Modbus Command Function Data Item Data Type Code 20H/24H 03H/04H 0100H PV, Decimal point ignored. 20H/24H 03H/04H 0101H Transmission output Transmission output 1 output amount, 1 output amount Decimal point ignored.
Page 31
(*3) If a single/multiple piece(s) of data (Read command) is written, data will be discarded, and acknowledgement 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.
Page 32
• Modbus protocol uses Holding Register addresses. The Holding Register addresses are created as follows. A Shinko command data item is converted to decimal number, and the offset of 40001 is added. The result is the Holding Register address.
Page 33
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) 2 : Change in key operation] to [Yes (1)].
Page 34
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 for connection. 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.
The Write command data exceeds the setting range of the slave. The indicator cannot be write 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.
Need help?
Do you have a question about the JIR-301-M and is the answer not in the manual?
Questions and answers