PCD-33A (C5, SVTC) No.PCD3CE1  2003.02 To prevent accidents arising from the misuse of this controller, please ensure the operator using it receives this manual. Warning ・ Turn the power supply to the instrument off before wiring or checking it. Working or touching the terminal with the power switched on may result in severe injury or death due to Electric Shock. 1. System configuration RS-485 multi-drop connection communication (Option: C5) Note: When communication converter IF-300-C5 is used, Modbus protocol is not available. For the Modbus protocol, use a commercially available communication converter. Setting value digital transmission (option SVTC) application example PCD-33A-S/M with option C5 If Setting value digital reception function is used, the PCD-33A can be used as a
2. Wiring connection
Serial communication (option C5) When using communication converter IF-300-C5 • Connector: D sub 25-pin Connection: RS-232C ◆ ▶ RS-485 (Communication speed: 2400, 4800, 9600, 19200bps) Connection: RS-232C ● ▶ RS-485 (Communication speed: 2400, 4800, 9600, 19200bps) Connect only one side of the shield wire to the FG or GND terminal so that current cannot flow to the shield wire. (If both sides of the shield wire are connected to the FG or GND terminal, the circuit will be closed between the shield wire and the ground. As a result, current will run through the shield wire and this may cause noise.) Never fail to ground FG and GND terminals. Terminator (Terminal resistor) Communication converter IF-300-C5 (sold separately) has a built-in terminator. The terminator is mounted at the end of the wire when connecting a personal computer with multiple peripheral devices. The terminator prevents signal reflection and disturbance. Do not connect a terminator with the communication line because the PCD-33A has built-in pull-up and pull-down resistors instead of a terminator. Setting value digital transmission (option SVTC) With the wiring of the Setting value digital transmission, connect YA (-) with YA (-), YB (+) with YB (+) and COM with COM respectively. A maximum of 31 units of the JCR-33A can be connected. The following shows an example of connection when using setting value digital transmission function between the PCD-33A and JCR-33A (Fig. 2-3)
3. Setup of the PCD-33A
• Serial communication (option C5) It is necessary to set an instrument number individually to the PCD-33A when communicating by connecting plural units. Select a communication speed for the PCD-33A according to that of the host computer. • Setting value digital transmission (option SVTC) When Setting value digital transmission and Setting value digital reception are used, select a communication protocol as follows. Procedure for Setting value digital transmission between PCD-33A and JCR-33A (1) Setting to PCD-33A If the option SVTC is applied, it is not necessary to set any item. Check if Setting value digital transmission [יִצִיִצְי] is selected from Communication protocol selection [ニッケ∠ ] in Auxiliary function setting mode 1. (2) Setting to JCR-33A Check if the communication speed in Auxiliary function setting mode 1 of the JCR-33A is identical with that of PCD-33A. (3) Setting value digital transmission starts. Input program setting value to the PCD-33A. If the program is initiated by pressing the RUN key, PCD-33A setting values are transmitted to the JCR-33A. During program standby mode, “0” is sent to the JCR-33A
Procedure for Setting value digital transmission between PCD-33As
(1) Setting to the PCD-33A with Setting value digital transmission If the option SVTC is added, it is not necessary to set any item. Check if Setting value digital transmission [יִצִיִצְי] is selected from Communication protocol selection [ニッケ∠ ] in Auxiliary function setting mode 1. (2) Setting to the PCD-33A with Setting value digital reception Check if Setting value_digital reception [ייוליל] is selected from Communication protocol selection [ ∠ִיִיִיֵיCheck if the communication speed in Auxiliary function setting mode 1 is identical with that of PCD-33A with Setting value digital transmission. (3) Setting value digital transmission starts. Input program setting value to the PCD-33A with Setting value digital transmission. If the program is initiated by pressing the RUN key, setting values of the PCD-33A with Setting value digital transmission are transmitted to the PCD-33A with Setting value digital reception. During program standby mode, “0” is sent to the PCD-33A. • For the Communication protocol and Communication speed selection, refer to the Instruction manual for the PCD-33A.
4. Communication procedure
Communication starts with command transmission from the host computer (hereafter Master) and ends with the response of the PCD-33A (hereafter Slave). When the master sends the reading command, the slave responds with the corresponding setting value or current status. • Acknowledgement When the master sends the setting command, the slave responds by sending the acknowledgement after the processing is terminated. • Negative acknowledgement When the master sends non-existent command or value out of the setting range, the slave returns the negative acknowledgement. • No response The slave will not respond to the master when global address is set, or when there is a framing error or checksum error (for Shinko protocol), or when LRC discrepancy (for Modbus protocol ASCII mode) or CRC discrepancy (for Modbus protocol RTU mode) is detected. Slave side When the slave starts transmission to 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 the synchronization on the receiving side. The slave is arranged so as to disconnect the transmitter from the communication line within a 1 character transmission period after sending the response. Master side (Notice on programming) 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 the collision of transmissions between the master and the slave, send the next command after carefully checking that the master received the response. Note: When the master communicates with the slave through the line converter (IF-300-C5), it is not required to manage the transmission timing described above, because the converter automatically sets the transmission timing interpreting the protocol. 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
All commands are composed of ASCII. The data (setting value, decimal number) is represented by hexadecimal figures, and ASCII code is used. The negative numbers are represented by 2's complement. (1) Setting command
Number of characters (5) Negative acknowledgement
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 the 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. The lower 2-digits of the total value are converted to 2's complements and then to hexadecimal figures, that is, ASCII code for the checksum. Checksum calculation example Pattern 1, Step 1, step SV: 600°C  (0258H) Address (instrument number): 0 (20H) • 1’s complement: Make each bit of binary 0 and 1 reverse. • 2’s complement: Add 1 to 1’s complement.
Notes on the setting command and reading command • It is possible to set the setting value by setting command of the communication function even if the setting value is locked. • Although the options are not applied, setting the optional items is possible by the setting command. However, they will not function. • The memory can store up to 1,000,000 (one million) entries. If the number of setting times exceeds the limit, it cannot memorize the data. So frequent transmission via communication is not recommended. • When connecting plural slaves, the address (instrument number) must not be duplicated. • When sending a command by Global address [95 (7FH)], the same command is sent to all the slaves connected. However, the response is not returned. • The instrument number and communication speed of the slave cannot be set by communication. • The settable range is the same as the one by keypad operation. For communication command, refer to the communication command table of this manual. • All commands are composed of ASCII. • The data (setting value, decimal) is converted to hexadecimal figures, and ASCII is used. Negative numbers are represented by 2's complement. When the data (setting value) has a decimal point, the whole number without a decimal point is used. • All commands are composed of ASCII. • The data (setting value, decimal) is converted to hexadecimal figures, and ASCII is used. Negative numbers are represented by 2's complement. When the data (setting value) has a decimal point, the response is returned as a whole number without a decimal point. 5.5 Command example (1) Reading (Address 1, PV) • Reading command from the master
Number of  characters • Response from the slave in normal status [When PV=25˚C  (0019H)]
• Reading command from the master
• Response from the slave in normal status [When SV=600°C  (0258H)]
(3) Setting (Address 1, Pattern 1, Step 1 step SV) [When step SV is set to 600°C(0258H)] • Setting command from the master
(Fig. 5.5-5) • Response from the slave in normal status
Number of  characters (Fig. 5.5-6) There are 2 transmission modes (ASCII and RTU) in Modbus protocol. 6.2 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 the command is transmitted as ASCII characters. : 1 bit Data format Start bit : 7 bits Data bit Parity : Even/No/Odd (Selectable) Stop bit : 1 bit/2 bits (Selectable) Error detection: LRC (Longitudinal Redundancy Check) Data interval   : 1 second or less (1) Message configuration ASCII mode message is configured to start by [: (colon)(3AH)] and end by [CR (carriage return) (0DH) + LF (Line feed)(0AH)]. (See Fig. 6.2-1)
Slave address is an individual instrument number on the slave side and is set within the range 00H to 5FH (0 to 95). 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. [Slave address 00H (broadcast address) can identify all the slaves. However slaves do not respond.] Function code The function code is the command code for the slave to undertake the following action types (Table 6.2-1). (Table 6.2-1)
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, when the master sends a request message setting 10H to function code by mistake, slave returns 90H by setting the MSB to 1, because the former is an illegal function.) For negative acknowledgement, abnormal code (Table 6.2-2) below is set to the data of response message and returned to the master in order to inform it that what kind of error has occurred.
Data differs depending on the function code. A request message from the master is composed of data item, number of data and setting data. A response message from the slave is composed of number of bytes, data and abnormal code in negative acknowledgement. Effective range of data is −32768 to 32767 (8000H to 7FFFH). 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 the message. How LRC is calculated ① Create a message in RTU mode. ② Add all the values from the slave address to the end of data. This is assumed as X. ③ Make a complement for X (bit reverse). This is assumed as X. ④ Add a value of 1 to X. This is assumed as X. ⑤ Set X as an LRC to the end of the message. ⑥ Convert the whole message to ASCII characters. • A request message from the master The number of data indicates the data item to be read and it is fixed as (30H 30H 30H 31H).
• A response message from the slave in normal status [When PV=25°C  (0019H)] The number of response bytes indicates the number of bytes of the data which has been read, and it is fixed as (30H 32H).
② Reading (Address 1, Pattern 1, Step 1 step SV) • Request message from the master The number of the data indicates the data item to be read and it is fixed as (30H 30H 30H 31H).
Number of characters (Fig. 6.2-4) • A response message from the slave in normal status [When SV=600°C  (0258H)] The number of response bytes indicates the number of bytes of the data which has been read, and it is fixed as (30H 32H).
Number of -characters • A response message from the slave in abnormal status (When non-existent data item is sent) The function code MSB is set to 1 for the response message in abnormal status (83H). If an abnormal code (02H: Non-existent data address) is returned, the error can be determined by reading this code.
1
Number of characters ③ Setting (Address 1, Pattern 1, Step 1 step SV) When step SV is set to 600°C  (0258H) • A request message from the master
Number of characters • A response message from the slave in normal status (Fig. 6.2-7)
(ODH OAH) | Number of 2 ✦ characters (Fig. 6.2-8) • A response message from the slave in abnormal status (When a value out of the setting range is set.) The function code MSB is set to 1 for the response message in abnormal status (86H). If an abnormal code (03H: Value out of the setting range) is returned, the error can be determined by reading this code.
Number of characters 8-bit binary data in command is transmitted as it is. Data format Start bit : 1 bit : 8 bits Data bit : Even/No/Odd (Selectable) Parity Stop bit : 1 bit/2 bits (Selectable) Error detection : CRC-16 (Cyclic Redundancy Check) Data interval    : 3.5 characters transmission time or less RTU mode is configured to start after idle time is processed for more than 3.5 characters transmission and end after idle time is processed for more than 3.5 characters transmission. (See Fig. 6.3-1)
Slave address is an individual instrument number on the slave side and is set within the range 00H to 5FH (0 to 95). 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. [Slave address 00H (broadcast address) can identify all the slaves. However slaves do not respond.] Function code The function code is the command code for the slave to undertake the following action types (Table 6.3-1).
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, when the master sends request message setting 10H to function code by mistake, slave returns 90H by setting the MSB to 1, because the former is an illegal function.) For negative acknowledgement, abnormal code (Table 6.3-2) below is set to the data of response message and returned to the master in order to inform it that what kind of error has occurred.
Data differs depending on the function code. A request message from the master side is composed of data item, number of data and setting data. A response message from the slave side is composed of number of bytes, data and abnormal code in negative acknowledgement. Effective range of data is −32768 to 32767 (8000H to 7FFFH). (2) Error check of RTU mode After calculating CRC-16 (Cyclic Redundancy Check) from the slave address to the end of data, the calculated 16-bit data is appended to the end of message in sequence from low order to high order. How CRC is calculated In the CRC system, the information is divided by the polynomial. The remainder is added to the end of the information and transmitted. The generation of polynomial is as follows. (Generation of polynomial: X 16 + X 15 + X 2 + 1) ①  Initialize the CRC-16 data (assumed as X) (FFFH). ② Calculate exclusive OR (XOR) with the 1st data and X. This is assumed as X. ③ Shift X one bit to the right. This is assumed as X. ④ When a carry is generated as a result of the shift, XOR is calculated by X of ③ and the fixed value (A001H). This is assumed as X. If a carry is not generated, go to step  ⑤. ⑤ Repeat steps  ③ and  ④ until shifting 8 times. ⑥ XOR is calculated with the next data and X. This is assumed as X. ⑦ Repeat steps  ③ to  ⑤. ⑧ Repeat steps  ③ to  ⑤ up to the last data. ⑨ Set X as CRC-16 to the end of message in sequence from low order to high order. • Request message from the master The number of data indicates the data item to be read, and it is fixed as (0001H).
• Response message from the slave in normal status [When PV=25℃  (0019H)] The number of response bytes indicates number of bytes of the data which has been read, and it is fixed as (02H).
(Fig. 6.3-3) ② Reading (Address 1, Pattern 1, Step 1 step SV) • Request message from the master The number of data indicates the data item to be read, and it is fixed as (0001H).
• Response message from the slave in normal status [SV=600˚C  (0258H)] The number of response bytes indicates number of bytes of the data which has been read, and it is fixed as (02H).
• Response message from the slave in abnormal status (When data item is mistaken) The function code MSB is set to 1 for the response message in abnormal status (83H). If an abnormal code (02H: Non-existent data address) is returned, the error can be determined by reading this code.
③  Setting (Address 1, Pattern 1, Step 1 step SV) When setting the step SV to 600°C  (0258H) • Request message from the master
• Response message from the slave in normal status
• Response message from the slave in abnormal status (When a value out of the setting range is set) The function code MSB is set to 1 for the response message in abnormal status (86H). If an abnormal code (03H: Value out of the setting range) is returned, the error can be determined
Data item: (*1) 16¹: Step 1 to Step 9 16²: Pattern 1 to Pattern 9 (*2) 16²: Pattern 1 to Pattern 9 Data: • When the data (setting value) has a decimal point, remove the decimal point and represent it as a whole number, then express it in hexadecimal figures. • When the alarm action type is changed, the alarm setting value returns to the default value. The alarm output status is also initialized. The settings by the front key operation and by communication function differ as follows. • When data is changed by front keypad operation, the data that is related to the changed item is also changed automatically as shown in Example 1 below. • When the data is changed by communication function, the related data does not change as shown in Example 2 below. (Only the changed data is altered.) (Example 1) SV high limit: 1370°C Step SV : 1000℃ When SV high limit is changed to 800°C  by the front keypad operation, both SV high limit and Step SV are changed to 800℃. (Example 2) SV high limit: 1370˚C Step SV : 1000℃ When SV high limit is changed to 800°C  by communication function, SV high limit is changed to 800°C, however, Step SV is maintained at the same temperature 1000°C. 8. Specifications
Start bit : 1 Data bit : 7, 8 Parity    : Even, Odd, No parity Stop bit : 1, 2 If any malfunctions occur, refer to the following items after checking the power supply to the master and the slave.
Tel :  81-72-721-2781 Fax: 81-72-724-1760