COMMUNICATION INSTRUCTION MANUAL 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.
. 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) Host computer 120 IF-300-C5 built-in terminator PCD-33A TXD 2 YA (-) 2 11 YA (-) RXD 3 YB (+) 1 14 YB (+) SG 7 COM 11 FG 1 RTS 4 6 RX CTS 5 5 TX DSR 6 4 COM Shield wire DTR 20 CD 17 SG Shield wire RS-232C RS-485 8 11 YA (-) D sub connector 25-pin 14 YB (+) 17 SG (Fig.
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.
. Communication procedure Communication starts with command transmission from the host computer (hereafter Master) and ends with the response of the PCD-33A (hereafter Slave). Master Command Data Slave Command Acknowledgement Command Negative acknowledgement Command No response • Response with data When the master sends the reading command, the slave responds with the corresponding setting value or current status.
(2) Reading command Header (02H) Address 1 1 Sub address (20H) 1 Command type (20H) 1 Data item 4 Sub address (20H) 1 Command type (20H) Data item Data Checksum Delimiter (03H) 1 4 4 2 1 (Fig. 5.2-2) Checksum 2 Delimiter (03H) 1 Number of characters (3) Response with data Header (06H) Address 1 1 (Fig. 5.2-3) Number of characters (4) Acknowledgement Header (06H) Address Checksum 1 1 2 (Fig. 5.
Checksum calculation range [e.g.] P STX 1 1 1 0 0 2 5 30H 32H 35H D 8 E ETX [Characters above are represented by ASCII] 02H 20H 20H 50H [Hexadecimal] 20H 20H 50H 31H 31H 31H 30H 30H 32H 35H + 38H 31H 31H 31H 30H [Binary] 0010 0000 0010 0000 0101 0000 0011 0001 0011 0001 0011 0001 0011 0000 0011 0000 0011 0010 0011 0101 0011 1000 38H 44H 45H 03H Checksum 1101 1101 1 + [2's complement] 1101 1110 [1's complement] [Hexadecimal] [ASCII] 10 0010 0010 D E 44H 45H Checksum 5.
(2) Reading (Address 1, Pattern 1, Step 1 step SV) • Reading command from the master Header (02H) 1 Address (20H) 1 Sub address (20H) 1 Command Data item type (20H) (31H 31H 31H 30H) 4 1 Checksum (44H 44H) 2 Number of characters (Fig. 5.5-3) • Response from the slave in normal status [When SV=600 Header (06H) 1 Address (20H) 1 Sub address (20H) 1 Command type (20H) 1 Delimiter (03H) 1 (0258H)] Data item (31H 31H 31H 30H) 4 (Fig. 5.
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 Contents 03 (03H) Reading the setting value and information from slaves 06 (06H) Setting to slaves 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.
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). 2 Header (3AH) 1 Slave address (30H 31H) 2 Function code (30H 33H) Data item Error check LRC Number of data (31H 31H 31H 30H) (30H 30H 30H 31H) 2 (44H 41H) 4 4 2 Delimiter (0DH 0AH) Number of characters 2 (Fig. 6.
(1) Message configuration 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) 3.5 idle characters Slave address Function code Data Error check CRC 3.5 idle characters (Fig. 6.3-1) Slave address Slave address is an individual instrument number on the slave side and is set within the range 00H to 5FH (0 to 95).
(3) Message example of RTU mode 1 Reading (Address 1, PV) • Request message from the master The number of data indicates the data item to be read, and it is fixed as (0001H). 3.5 idle characters Slave address (01H) Function code (03H) 1 1 Error check CRC (85E2H) Number of data (0001H) Data item (0080H) 2 2 3.5 idle characters Number of characters 2 (Fig. 6.
• 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. 3.5 idle characters Slave address (01H) Function code (86H) Abnormal code (03H) 1 1 1 Error check CRC (0261H) 2 (Fig. 6.3-9) 3.5 idle characters Number of characters 7.
20H/50H 03H/06H 20H/50H 03H/06H 20H/50H 20H/50H 20H/50H 20H/50H 20H/50H 20H/50H 20H/50H 20H/50H 20H/50H 03H/06H 03H/06H 03H/06H 03H/06H 03H/06H 03H/06H 03H/06H 03H/06H 03H/06H 20H/50H 20H/50H 20H/50H 20H/50H 001EH: Control output ON/OFF action hysteresis setting 001FH: Not used 0020H: Not used 0021H: Not used 0022H: Not used 0023H: Not used 0024H: Not used 0025H: Not used 0026H: Not used 0027H: SV high limit 0028H: SV low limit 0029H: Not used 002AH: Not used 002BH: Not used 002CH: Scaling high limit
20H/50H 03H/06H 0045H: Direct/Reverse action selection 20H/50H 20H/50H 20H/50H 03H/06H 0046H: Not used 03H/06H 0047H: Not used 03H/06H 0048H: Alarm 1 (A1) action Energized/Deenergized 03H/06H 0049H: Alarm 2 (A2) action Energized/Deenergized 06H 0070H: Key operation change flag clearing 03H 0080H: PV (input value) reading 03H 0081H: Control output MV (manipulated variable) reading 03H 0082H: Not used 03H 0083H: Current SV reading 03H 0084H: Running step remaining time reading 03H 0085H: Running pattern, s
27 digit: Overscale 0: OFF 1: ON 28 digit: Underscale 0: OFF 1: ON 29 digit: During Run 0: OFF 1: Run 210 digit: During Wait 0: OFF 1: Wait 211 digit: During AT 0: OFF 1: AT 212 digit: During Hold 0: OFF 1: Hold 213 digit: Not used (Always 0) 214 digit: Not used (Always 0) 215 digit: Key operation change 0: No 1: Yes 20H 20H 20H 20H 20H 03H 03H 03H 03H 03H 0087H: Not used 0088H: Not used 00A0H: Not used 00A1H: Instrument information reading 00A3H: Reading if any item changed by keypad operation exists
8. Specifications Cable length : Maximum communication distance 1.2km Cable resistance: Within 50 (The terminator is not necessary or 120 or greater on one side.