Download Print this page

Shinko JCL-33A Communication Instruction Manual

C5
Hide thumbs Also See for JCL-33A:

Advertisement

COMMUNICATION INSTRUCTION MANUAL
This manual contains instructions for the communication functions, operations and notes when operating the
JCL-33A.
To prevent accidents arising from the misuse of this controller, 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
1.2 When U
sing Communication Converter
Host computer
1.3 System Configuration of SV Digital Transmission
By connecting to Shinko Programmable Controllers [PCA1 or PCB1 (with C5 option)],
SV can be received from programmable controllers.
PCB1 (with C5 option)
USB communication
cable CMC-001-1
(sold separately)
(Fig. 1.1-1)
IF-400 (Sold Separately)
Communication converter
IF-400 (sold separately)
RS-232C
RS-485
(Fig. 1.2-1)
(Fig. 1.3-1)
JCL-33A (C5)
JCL-33A (Max 31 units)
No. 0
No. 1
JCL-33A (Max 31 units)
No. 0
No. 1
JCL-33A (Max 31 units)
No. 0
No. 1
-1-
No.JCL3CE3 2018.11
No. 30
No. 30
No. 30

Advertisement

loading
Need help?

Need help?

Do you have a question about the JCL-33A and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Shinko JCL-33A

  • Page 1 No. 1 No. 30 (Fig. 1.2-1) 1.3 System Configuration of SV Digital Transmission By connecting to Shinko Programmable Controllers [PCA1 or PCB1 (with C5 option)], SV can be received from programmable controllers. PCB1 (with C5 option) JCL-33A (Max 31 units) No.
  • Page 2 2. Wiring 2.1 When Using USB Communication Cable CMC-001-1 (sold separately) USB communication JCL-33A cable CMC-001-1 (sold separately) YA(-) ⑩ YA(-) YB(+) ⑪ YB(+) ⑫ SG Host computer USB port Shield wire ⑩ YA(-) ⑪ YB(+) ⑫ SG Shield wire ⑩...
  • 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 the JCL-33A has built-in pull-up and pull-down resistors.
  • Page 4 : 19200 bps : 38400 bps Parity Even • Selects the parity equal to that of the host computer. • Not available if Shinko protocol or Shinko protocol (Block Read/Write available) is selected. • : No parity : Even : Odd...
  • Page 5 4. Communication Procedure Communication starts with command transmission from the host computer (hereafter Master) and ends with the response of the JCL-33A (hereafter Slave). • Response with data Master Slave When the master sends the Read command, the slave Command responds with the corresponding set value or current status.
  • Page 6 5. Shinko Protocol 5.1 Transmission Mode Shinko protocol is composed of ASCII. 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 7 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.
  • Page 8 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 to that before the checksum is converted to binary notation, and the total value is calculated.
  • Page 9 5.4 Command Example Numerals written below the command represent number of characters. (1) Read [Address 1, PV] • 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 10 (4) Read [Address 1, 25 commands from SV1] • Read command from the master Amount of read data Header Address Command Data item Checksum Delimiter 25 [0019H] [0001H] address type (30H 30H 31H 39H) (30H 30H 30H 31H) (31H 30H) (03H) (02H) (21H)
  • Page 11 (5) Write [Address 1, 25 commands from SV1] (e.g.) The data (25 commands from SV1) is shown below. Data Data Item Data (Converted to Hexadecimal) 0001H 2000 07D0H 0002H Input type K [-199.9 to 400.0 ] 0001H 0003H Scaling high limit 4000 0FA0H 0004H...
  • Page 12 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 JCL-33A assumes that transmission from the master is finished, which results in a communication error, and will not return a response.
  • Page 13 2 (02H) Illegal data address (Non-existent data address) 3 (03H) Illegal data value (Value out of the setting range) Shinko protocol error code 4 17 (11H) (Status unable to be written. (e.g.) AT is performing.) Shinko protocol error code 5...
  • Page 14 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 high order. How to calculate CRC-16 In the CRC-16 system, the information is divided by the polynomial series.
  • Page 15 (3) Read [Slave address 1, SV1 (0001H)] • A request message from the master Header Slave Function Data item Amount of data Error check Delimiter address code [0001H] [0001H] CR+LF (3AH) (30H 31H) (30H 33H) (30H 30H 30H 31H) (30H 30H 30H 31H) (46H 41H) (0DH 0AH) •...
  • Page 16 (4) Read [Slave address 1, 25 commands from SV1] • A request message from the master Header Slave Function Data item Amount of data Error check Delimiter address code [0001H] [0019H] CR+LF (3AH) (30H 31H) (30H 33H) (30H 30H 30H 31H) (30H 30H 31H 39H) (45H 32H) (0DH 0AH)
  • Page 17 (5) Write (Slave address 1, 25 commands from SV1) The data (25 commands from SV1) is shown below as an example. Amount of data: 25 (0019H) Byte count: 50 (32H) Data: Converted to hexadecimal as follows. Data Data Item Data (Converted to Hexadecimal) 0001H 2000...
  • Page 18 6.4.2 RTU Mode Numerals written below the message represent number of characters. (1) Read [Slave address 1, PV (0100H)] • 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 19 (4) Read [Slave address 1, 25 commands from SV1] • 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) • Response message from the slave in normal status Slave Function Response...
  • Page 20 (5) Write (Slave address 1, 25 commands from SV1) The data (25 commands from SV1) is shown below as an example. Amount of data: 25 (0019H) Byte count: 50 (32H) Data: Converted to hexadecimal as follows. Data Data Item Data (Converted to Hexadecimal) 0001H 2000...
  • Page 21 7. Communication Command Table 7.1 Shinko Protocol, Modbus ASCII Mode, Modbus RTU Mode Commands 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 Set value 20H/50H 03H/06H 0003H AT Perform/Cancel...
  • Page 22 Shinko Modbus Command Function Data Item Data Type Code 0000H: Alarm Not Holding 20H/50H 03H/06H 0042H Alarm HOLD function 0001H: Alarm Holding 0000H: K [-200 to 1370 ] 20H/50H 03H/06H 0044H Input type 0001H: K [-199.9 to 400.0 ] 0002H: J [-200 to 1000 ]...
  • Page 23 Shinko Modbus Command Function Data Item Data Type Code 20H/50H 03H/06H 1161H Step 6 time Set value 20H/50H 03H/06H 1170H Step 7 SV Set value 20H/50H 03H/06H 1171H Step 7 time Set value 20H/50H 03H/06H 1180H Step 8 SV Set value...
  • Page 24 7.2 Shinko Protocol (Block Read/Write), Modbus ASCII Mode (Block Read/Write), Modbus RTU Mode (Block Read/Write) Commands 7.2.1 A Single/Multiple Piece(s) of Data Read/Write Command Shinko Modbus Data Item Data Command Type Function Code 20H/24H/50H/54H 03H/06H/10H 0001H Set value 20H/24H/50H/54H 03H/06H/10H 0002H...
  • Page 25 Shinko Modbus Data Item Data Command Type Function Code 0000H: No alarm action 20H/24H/50H/54H 03H/06H/10H 0006H A1 type 0001H: High limit alarm 0002H: Low limit alarm 0003H: High/Low limits alarm 0004H: High/Low limit range alarm 0005H: Process high alarm 0006H: Process low alarm...
  • Page 26 Shinko Modbus Data Item Data Command Type Function Code 03H/06H/10H 001AH Step 8 time 20H/24H/50H/54H Set value 03H/06H/10H 001BH Step 9 time 20H/24H/50H/54H Set value 20H/24H/50H/54H 03H/06H/10H 001CH A1 value Set value 20H/24H/50H/54H 03H/06H/10H 001DH A2 value Set value 20H/24H/50H/54H...
  • Page 27 00E8H Not used (*3) ¦ ¦ 00EFH Not used (*3) (*3) For ‘Not used’ items, if a single piece of data Read/Write is executed, Error code 1 (31H, Shinko protocol) or Exception code 2 (02H, Modbus protocol) will be returned. -27-...
  • Page 28 (*4) flag (*4) For 00FFH (Key operation change flag clearing), if Read is executed, Error code 1 (31H, Shinko protocol) or Exception code 2 (02H, Modbus protocol) will be returned. If Write is executed for any value other than 0001H (Clear key operation change flag), Error code 3 (33H, Shinko protocol) or Exception code 3 (03H, Modbus protocol) will be returned.
  • Page 29 Shinko Modbus Data Item Data Command Type Function Code 20H/24H 0108H Software version Software version No. 20H/24H 0109H Unit model 0000 0000 0000 0000 information 1 digit: Not used (Always 0) digit: Heating/Cooling control output Enabled/Disabled 0: Disabled 1: Enabled...
  • Page 30 • 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 31 If 0070H or 00FFH (Key operation change flag clearing) is written to 0001H (Clear key operation change flag) during the setting mode of the controller, Error code 5 (35H, Shinko protocol) or Exception Code 18 (12H, Modbus protocol) will be returned as a negative acknowledgement. And 0085H or 0106H (Status flag, 2 : Change in key operation) cannot be cleared.
  • Page 32 7.6 When Communicating with a PLC To communicate with a PLC, use the SIF-600, Shinko PLC Interface Unit. No programming is needed for connection. However, Shinko protocol Multiple pieces of data Read (24H) and Multiple pieces of data Write (54H) are not available.
  • Page 33 8.2 Setting Communication Parameters To use the SV digital transmission function between PCB1 and JCL-33A, communication parameters should be set as follows. Refer to the Instruction Manual for the JCL-33A and PCB1 for details. Setting Method of Controllers (1) Setting the PCB1 Select “SV digital transmission (Shinko protocol)”...
  • Page 34 Max 31 units to 1 host computer connectable units Error correction Command request repeat system Error detection Parity check, checksum (Shinko protocol), LRC (Modbus ASCII), CRC-16 (Modbus RTU) PCA1 or PCB1 with C5 Receives digital SV from Shinko programmable controllers ( Digital external option).
  • Page 35 10. Troubleshooting Check that power is being supplied to the master and slave that customers use. If communication failure still occurs, check the following. Problem Possible Cause Solution Communication Communication cable is not securely Check the communication cable and failure connected, or is disconnected/defective.
  • Page 36 SHINKO TECHNOS CO., LTD. OVERSEAS DIVISION 2-5-1, Senbahigashi, Minoo, Osaka, Japan Head Office http://www.shinko-technos.co.jp/e/ URL: +81-72-727-6100 Tel : E-mail: overseas@shinko-technos.co.jp Fax: +81-72-727-7006...