Shinko JC-33A Скачать руководство пользователя страница 6

Data structure

 

Start bit

 

 

: 1 bit 

                   

 Data 

bit

   

 : 

7-bit 

                                         

Parity bit

 

 

: Even/ None/ Odd (Selectable) 

                                         

Stop bit

 

 

: 1 bit/ 2-bit (Selectable) 

                   

 

Error detection : LRC (Longitudinal redundancy check) 

                   

 

Data interval  : 1 second or less 

       

[RTU mode] 

        8-bit binary data in command is sent as it is. 

       

Data structure

 

Start bit

 

 

: 1 bit 

                   

 Data 

bit

 

 : 

8-bit 

                   

 

Parity bit 

: Even/ None/ Odd (Selectable) 

                   

 Stop 

bit

 

 

: 1 bit/2-bit (Selectable) 

                   

 

Error detection: CRC-16 (Cyclic redundancy check) 

                   

 

Data interval  : 3.5 characters transmission time or less 

 
     

6.2 Message configuration 

       

ASCII mode message is configured to start by [: (colon)(3AH)] and end by [CR (carriage return)   

(0DH) + LF (Line feed)(0AH)]. (Fig. 6.2-1) 

       

(Fig. 6.2-1) 

       

 

       

 

       

RTU mode is configured to start after idle time processing more than 3.5 character transmission 

time and end after idle time processing more than 3.5 character transmission time (Fig. 6.2-2) 

       

(Fig. 6.2-2) 

                 

 
     

6.3 Slave address 

       

Slave address is set within the range 0 to 95 by the individual instrument number of slave side. 

The master identifies slaves by the slave address of the requested message. 

The slaves inform the master which slave is responding to the master adding their own slave 
address to the response message. 

       

(Slave address 0, broadcast address can identify all the slaves. However slaves do not respond.) 

 
     

6.4 Function code 

       

The function code is the command code what action to take. (Table 6.4-1) 

       

(Table 6.4-1) 

Function code 

Contents 

03 (03H) 

Reading setting value and information of slaves 

06 (06H) 

Setting to slaves 

        Function code is used as a pointer whether it is a normal response (acknowledgement) or an error 

(negative acknowledgement) when the Slave returns responsive message to the Master. 

        When acknowledgement is returned, original function code is returned with its response. 

When negative acknowledgement is returned, MSD of the original function code with 1 is returned. 

                (For example, when the Master sends request message setting 10H to function code by mistake, 

Slave returns 90H setting 1 to the MSD, because it is illegal function.) 

For negative acknowledgement, abnormal code (Table 6.4-2) below is set to the data of response 
message and returned to the Maser in order to inform it that what kind of error has occurred. 

       

(Table 6.4-2) 

Abnormal code 

Contents 

  1 (01H) 

Illegal Function (Non-existent function) 

  2 (02H) 

Illegal data address (Non-existent data address) 

  3 (03H) 

Illegal data value (Value out of the setting range) 

17 (11H) 

Shinko error code 4 (Unsettable status) 

18 (12H) 

Shinko error code 5 (During setting by key operation mode, etc) 

     

6.5 Data 

       

Data differs depending on the function code. 

       

A request message from master side is composed of data item, number of data and setting data. 

       

A response message is composed of number of bytes, data and abnormal code in negative   

acknowledgement from slave side. Effective range of data is -32768 to 32767 (8000H to 7FFFH). 

 

Slave

address

Function

code

Data

Error check

LRC

Delimiter

(CR)

Header

(:)

Delimiter

(LF)

3.5 idle

characters

Slave

address

Function

code

Data

Error check

LRC

3.5 idle

characters

Содержание JC-33A

Страница 1: ...n Option C5 Fig 1 1 Fig 1 2 Wiring connection When communication converter IF 300 C5 RS 232C is used Connector D sub connector 25 pin Connection RS 232C RS 485 Data transfer rate 2400 4800 9600 19200bps Fig 2 1 RS 485 Host computer No 0 JC 33A No 1 No 2 No 30 JC 33A JC 33A JC 33A RS 485 RS 232C Host computer 232C Communication IF 300 485 No 0 converter No 1 No 30 JC 33A JC 33A JC 33A TXD RXD SG FG...

Страница 2: ...tion line because each of the JCS 33A JCR 33A and JCD 33A has a built in terminator IF 300 C5 sold separately is available as a communication converter 3 Setting the instruments It is necessary to set the instrument number individually to the instruments when plural units are connected in serial communication Option C5 Select the data transfer rate of the JC series in accordance with that of the h...

Страница 3: ...er side Notice of making a program Set the program so that the host computer can provide 1 character transmission period or more of idle status mark status before sending the command to ensure the synchronization on the receiving side when the host computer starts the transmission to RS 485 communication line Set the program so that the host computer can disconnect the transmitter from the communi...

Страница 4: ...de to indicate the end of command 03H fixed Error code Indicates error type Composed of hexadecimal 1 digit 1 31H Non existent command 2 32H Not used 3 33H Out of the setting value range 4 34H Status unable to set e g AT is performing 5 35H In setting mode by key operation 5 2 Checksum calculation Checksum is used for detecting received command or data errors Make a program for the host computer s...

Страница 5: ...ble of this manual as for communication command All commands are written in ASCII The data setting value is converted from decimal to a hexadecimal number and ASCII is used Negative numbers are represented by 2 s complement When the data setting value has a decimal point use the whole number as response omitting decimal point Reading command All commands are written in ASCII The data setting value...

Страница 6: ... setting value and information of slaves 06 06H Setting to slaves Function code is used as a pointer whether it is a normal response acknowledgement or an error negative acknowledgement when the Slave returns responsive message to the Master When acknowledgement is returned original function code is returned with its response When negative acknowledgement is returned MSD of the original function c...

Страница 7: ...epeat 3 and 4 until shifting 8 times 6 EX OR between the next data and X X 7 Same as 3 to 5 8 Repeat up to the last data 9 Create a message in the sequence from lower to upper orders of the calculated 16 bit data X 6 7 Message example ASCII mode 1 Reading of the instrument number address 1 and SV A request message from the master side Fig 6 7 1 A response message from slave side in normal status W...

Страница 8: ...out of the setting range is returned as an content of error Slave address Function code Data item Error check LRC Delimiter Header 01H 06H 0001H 0064H Data 94H CR LF 1 2 2 4 4 2 2 Number of characters Slave address Function code Abnormal code Error check LRC Delimiter Header 01H 86H 03H 76H CR LF 1 2 2 2 4 2 Number of characters 3 5 idle characters Slave address Function code Data item Error check...

Страница 9: ...limit setting Setting value 20H 50H 06H 03H 0014H SV low limit setting Setting value 20H 50H 06H 03H 0015H Sensor correction value setting Setting value 20H 50H 06H 03H 0016H Overlap Dead band setting Setting value 20H 50H 06H 03H 0017H Not used 20H 50H 06H 03H 0018H Scaling high limit setting Setting value 20H 50H 06H 03H 0019H Scaling low limit setting Setting value 20H 50H 06H 03H 001AH Decimal...

Страница 10: ...760 4 S 0 to 1760 5 B 0 to 1820 6 E 200 to 800 7 T 199 9 to 400 0 8 N 200 to 1300 9 PL 0 to 1390 10 C W Re5 26 0 to 2315 11 Pt100 199 9 to 850 0 12 JPt100 199 9 to 500 0 13 Pt100 200 to 850 14 JPt100 200 to 500 15 K 320 to 2500 16 K 199 9 to 750 0 17 J 320 to 1800 18 R 0 to 3200 19 S 0 to 3200 20 B 0 to 3300 21 E 320 to 1500 22 T 199 9 to 750 0 23 N 320 to 2300 24 PL 0 to 2500 25 C W Re5 26 0 to 4...

Страница 11: ...06H 00A1H Instrument info reading 0000 0000 0000 0000 215 to 20 20 digit Not used Always 0 21 digit Cooling function 0 No 1 Yes 22 digit A1 function 0 No 1 Yes 23 digit A2 function 0 No 1 Yes 24 digit Not used Always 0 25 digit Not used Always 0 26 digit Heater burnout alarm 0 No 1 Yes 27 digit LA Loop break alarm 0 No 1 Yes 28 to 215 digit Not used Always 0 1 When Lock 3 is designated the setting...

Страница 12: ...her the data bit parity and stop bit of the host computer accord with those of the JC series The instrument number of the JC series coincides with that of the command The instrument numbers are duplicated in multiple JC series When communicating by RS 485 option C5 without IF 300 C5 communication converter make sure that the program is proper for the transmission timing Phenomenon Though it is abl...

Отзывы: