background image

3. SETTING FOR COMMUNICATION

IM9000F02-E2

20

„

 

RS-485 (2-wire system) send/receive timing

The transmission and reception of RS-485 communication are operated by a transmitting wire.

Therefore, the timing of switching should be acted correctly. Send/receive example in the host

computer and REX-F9000 is show in the following.

z

 

Polling procedure













or

… …

… …

c

d

e

H ost
com puter

R E X-F 9000

S end
data

(P os sible/

Im poss ible)

S end
data

(P os sible/

Im poss ible)

S ending
status

Possible

Im possible

P ossible

Im possible

S ending
status

c

(Response send time after calling [ENQ] receive) + (Interval time)

d

Response send time after BCC send

e

(Response send time after acknowledgment [ACK] r (Interval time) or

(Response send time after negative acknowledge [NAK] r (Interval time)

z

 

Selecting procedure









or

… … …

c

d

H ost
com puter

R E X-F 9000

S end
data

(P os s ible/

Im pos s ible)

S ending
status

S ending
status

S end
data

(P os s ible/

Im pos s ible)

P ossible

Im possible

P ossible

Im possible

c

(Response send time after BCC receive) + (Interval time)

d

Response wait time after acknowledgment [ACK] send or

Response wait time after negative acknowledge [NAK] send

Содержание REX-F9000

Страница 1: ...IM9000F02 E2 REX F9000 Communication Instruction Manual RKC INSTRUMENT INC High Resolution Temperature Controller...

Страница 2: ...rved Copyright 1999 RKC INSTRUMENT INC z MELSEC MITSUBISHI product z C200HS OMRON product z Company names and product names used in this manual are the trademarks or registered trademarks of the respe...

Страница 3: ...of the wiring is completed Otherwise electric shock fire or malfunction may result z Use this instrument within the scope of its specifications Otherwise fire or malfunction may result z Do not use th...

Страница 4: ...y result z Do not place any obstacle around this instrument in order not to impede radiation of heat And do not close ventilation holes z Do not connect wires to unused terminals z Before cleaning the...

Страница 5: ...ata configuration setting 13 3 7 Interval time setting 15 3 8 Protocol setting 17 3 9 Cautions for communicatin 19 4 RKC STANDARD COMMUNICATION 22 4 1 Communication protocol 22 4 1 1 Polling 22 4 1 2...

Страница 6: ...IM9000F02 E2 i 4 Page 5 2 Communication identifier 44 5 3 Example of sequence program 46 5 3 1 MELSEC Series MITSUBISHI 46 5 3 2 C200HS OMRON 48 6 TROUBLESHOOTING 50 7 ASCII 7 BIT CODE TABLE 52...

Страница 7: ...ype RKC standard communication Start bit 1 Data bit 7 or 8 Parity bit Unused or Used Odd number or even number Stop bit 1 or 2 Ladder communication Start bit 1 Data bit 8 Fixed Parity bit None Stop bi...

Страница 8: ...SCII 7 bit code Ladder communication Text BCD code Control code STX 02H CR 0DH LF 0AH Code in brackets are in hexadecimal 11 Terminal resister 100 or more Externally connected 12 Xon Xoff control None...

Страница 9: ...d by RS 485 Terminal No and signal details Terminal No Signal name Name Signal direction REX F9000 Host computer or PLC 7 SG Signal ground 8 T R A Send data Receive data 9 T R B Send data Receive data...

Страница 10: ...nce of more than 100 R REX F9000 REX F9000 SD TXD and RD RXD Negative logic 7 8 9 7 8 9 z When RS 232C is used as a host computer or PLC interface Communication level converter RS 232C RS 485 is used...

Страница 11: ...0 REX F9000 Device address Host computer or PLC 3 z 2 channel type For the 2 channel type REX F9000 controller set independent device addresses to CH1 and CH2 57 56 1 0 Device address or RS 485 RS 232...

Страница 12: ...ation for setting communication parameters The setting of parameter group 24 PG24 can be changed only in control stop mode Before the SETUP mode is selected it is necessary to set the mode selection o...

Страница 13: ...key for more than 5 sec in SV setting mode to set the instrument to operator set mode e Press the SET key for more than 5 sec in operator set mode to set the instrument to setup mode f Press the UP k...

Страница 14: ...parameter is selected by pressing the SET key Display sequence In order to set the CH2 monitor communication parameter press the CH key to change CH1 to CH2 The setting procedure is the same as the C...

Страница 15: ...ame Setting range Range 0 to 99 Factory set value 0 Setting procedure For the 2 channel type REX F9000 set independent device addresses to CH1 and CH2 Example When setting device address to 15 c Chang...

Страница 16: ...the set device address is registered Bright lighting Dim lighting For the 1 channel type if the key is not operated for more than 1 minute the present display automatically returns to the PV SV displa...

Страница 17: ...Communication speed Factory set value 0 1200 bps 1 2400 bps 2 4800 bps 3 3 9600 bps 4 19200 bps Setting procedure z Set the same communication speed to both the REX F9000 and connecting host computer...

Страница 18: ...r As a result the set communication speed is registered Bright lighting Dim lighting For the 1 channel type if the key is not operated for more than 1 minute the present display automatically returns...

Страница 19: ...from 0 to 11 Set value Parity bit Data bit Stop bit Factory set value 0 None 8 1 1 None 8 2 2 Even 8 1 3 Even 8 2 4 Odd 8 1 5 Odd 8 2 0 6 None 7 1 7 None 7 2 8 Even 7 1 9 Even 7 2 10 Odd 7 1 11 Odd 7...

Страница 20: ...ata configuration is set to 8 data bits no parity bit and 2 stop bits e Press the SET key to change to the next communication parameter As a result the set communication data configuration is register...

Страница 21: ...ame Setting range Range 0 to 250 ms Factory set value 250 Setting procedure For the 2 channel type REX F9000 set the same interval time to CH1 and CH2 Example When setting interval time to 200 ms c Se...

Страница 22: ...erval time is registered Bright lighting Dim lighting For the 1 channel type if the key is not operated for more than 1 minute the present display automatically returns to the PV SV display For the 2...

Страница 23: ...l and symbol name Setting items Set value Protocol type Factory set value 0 RKC standard communication 0 1 Ladder communication Setting procedure For the 2 channel type REX F9000 set same protocol sel...

Страница 24: ...s a result the set data construction is registered Bright lighting Dim lighting For the 1 channel type if the key is not operated for more than 1 minute the present display automatically returns to th...

Страница 25: ...as received the stop bit corresponding to the final character This maximum time corresponds to interval time If no interval time is set the REX F9000 side may be set to the send state even when the ho...

Страница 26: ...Possible Im possible Possible Im possible Sending status c Response send time after calling ENQ receive Interval time d Response send time after BCC send e Response send time after acknowledgment ACK...

Страница 27: ...after negative acknowledge NAK receive 7 0 Response send time after BCC send 1 0 Data link is terminated sending EOT if no response within about 3 sec after BCC send Response wait time is the time wh...

Страница 28: ...the polling or selecting procedure Centralized control method z The code use in communication is 7 bit ASCII code including transmission control character The transmission control characters are EOT 0...

Страница 29: ...fier Number of digits 2 See P 31 This is for identifying data requested for the REX F9000 Always attach the ENQ code to the end of the identifier e ENQ This is the transmission control character which...

Страница 30: ...izontal parity even number Algorithm Take off exclusive OR of all character from next STX through ETX Not including STX Example In the case of the data are BCC E T X 0 0 0 3 2 0 1 M S T X 50H 31H 03H...

Страница 31: ...ds the same data to the host computer As the number of re send times is not specified take the necessary measures on the host computer side if no recovery is made 8 No response from host computer When...

Страница 32: ...end Host computer send Host computer send A C K 06H S T X 02H A 41H A 41H 0 30H 0 30H 0 30H 0 30H 0 30H 0 30H 0 30H E T X 03H B C C 33H E O T 04H z For the presence of error in data E O T 04H S T X 02...

Страница 33: ...e Selecting procedure 1 Initialize of data link Host computer sends EOT for initializing of data link before selecting sequence 2 Selecting address send Send the selecting address selected as the sele...

Страница 34: ...s below the decimal point are omitted can be received However the maximum number of digits is 7 Example When data is 1 5 001 5 Receivable 1 50 Receivable 01 5 Receivable 1 500 Receivable 1 5 Receivabl...

Страница 35: ...s not in the specified configuration Text is not in the Identifier data construction z When the number of receive data digits exceeds 7 z When normally receive data exceeds the setting range 6 No resp...

Страница 36: ...H 3 33H 2EH 0 30H 0 30H 0 30H E T X 03H B C C 4EH A C K 06H S T X 02H P 50H 1 31H 0 30H 3 33H 0 30H 2EH 0 30H 0 30H 0 30H E T X 03H B C C 4FH A C K 06H z For the presence of error in data E O T 04H 0...

Страница 37: ...RO Alarm 2 output 2 AB 0 OFF 1 ON RO Manipulated output value MV O1 5 0 to 105 0 RO Burnout B1 0 OFF 1 ON RO Error code ER 0 to 255 3 RO PID AT transfer G1 0 PID 1 AT R W 0 AUTO MANUAL transfer J1 0...

Страница 38: ...5 0 to output limiter high limit R W 0 0 AT bias GB 19 999 to 19 999 qC R W 0 000 Alarm 1 differential gap 1 HA 0 000 to 50 000 qC R W 2 000 Alarm 1 timer setting 1 TD 0 to 600 sec R W 0 Alarm 2 diffe...

Страница 39: ...4 RKC STANDARD COMMUNICATION IM9000F02 E2 33 Continued on the next page...

Страница 40: ...00 Setting limiter low limit SL 0 000 qC to setting limiter high limit R W See 7 0 000 Output cycle time T0 0 1 to 100 0 sec R W See 7 0 1 Direct reverse action selection XE 0 Direct action 1 Reverse...

Страница 41: ...voltage abnormality Software abnormality 16 Input circuit abnormality 8 EEPROM error 4 Adjusted data destruction 2 Sensor break 1 Other abnormality 4 This is an identifier which enables communication...

Страница 42: ...en when the power is turned on or the setting changed 10 Set data lock level Set value Set data lock level 0 Set value SV and parameter can t be set 1 Only set value SV can be set 2 Only parameter gro...

Страница 43: ...PLC c d e f g h i Number of bytes 1 1 2 2 2 1 1 Number of BCD digits 2 2 4 4 4 2 2 Details STX 02H ADR ID CMD DAT CR 0DH LF 0AH REX F9000 o PLC During data receive by PLC c d e f g f g h i Number of b...

Страница 44: ...te request write data Negative 0100 Read request Byte inversion 1000 Write request write data Positive Lower byte o Upper byte 1100 Write request write data Negative Other Usage inhibited REX F9000 o...

Страница 45: ...i i i i CR LF Delimit Control characters to indicate the end of a text The REX F9000 judges that the text ends if it receives CR 0DH and LF 0AH in succession 5 1 2 Data format The data DAT format is e...

Страница 46: ...ails STX 02H Device addres s ADR Identifier ID 0001 Read data CR 0DH LF 0AH Command Data DAT CMD REX F9000 response under normal operation Number of bytes 1 1 2 2 2 2 2 Number of BCD digits 2 2 4 4 4...

Страница 47: ...ytes 1 1 2 2 2 1 1 Number of BCD digits 2 2 4 4 4 2 2 Details STX 02H Device address ADR Identifie r ID 0010 or 0011 dddd CR 0DH LF 0AH Command Setting data CMD REX F9000 response Number of bytes 1 1...

Страница 48: ...Device addres s ADR Identifie r ID Command CMD Data DAT CR 0DH LF 0AH These two items can be inverted Inverting method Reversal of Identifier ID and data DAT The usual data transfer order is reversed...

Страница 49: ...11 to the data number ID and setting data on 0 High orderoLow order or Other than 0 Low orderoHigh order Number of bytes 1 1 2 2 2 1 1 Number of BCD digits 2 2 4 4 4 2 2 Details STX 02H Device addres...

Страница 50: ...5 1 7 Example of text sent by PLC Example of text It is assumed that the address No is 00 and that data notation is hexadecimal z When reading measured value PV PLC send Measured value PV Identifier D...

Страница 51: ...ue Set value SV 01 05 Setting limiter low limit to setting limiter high limit 1 100 qC R W 0000 Alarm 1 setting 01 06 Process alarm 0 000 to 50 000 1 100 qC R W 0500 Alarm 2 setting 01 07 Deviation al...

Страница 52: ...1 0 Upper byteoLower byte Any number other than 0 Lower byteoUpper byte R W 0000 1 Engineering unit 2 Attribute 1 0 0 0 0 0 Fixed When burnout occurred 1 When the alarm 2 occurred 1 When the alarm 1 o...

Страница 53: ...ch D11 H0002 MOVP D12 H0100 MOVP D13 H0001 MOVP D14 H0001 MOVP D15 H0A0D MOVP Data setting Number of read data 1 Termination character setting CR LF Command CMD setting Identifier setting Measured val...

Страница 54: ...haracter length in index register Acquisition of receive character length K1 D20 H80 K61 FROMP Receive data read request X1E1 K0Z Y1F1 D21 H81 K61 FROMP X1E0 X1E1 Y1F0 Y1F1 and K61 in the above progra...

Страница 55: ...200HS CPU33 Send data creation program example Data setting DAT Number of read data 1 STX setting Address setting 01 Termination character CR LF Command setting CMD Identifier setting Measured value P...

Страница 56: ...IM9000F02 E2 49 Receive program example Receive data head register Control data Number of stored data bytes RXD D1100 0000 0256 26406 Receive completion flag For details on setting the PLC see the ma...

Страница 57: ...ed suitable for the host computer by referring to 3 5 Communication speed setting P 11 Incorrect data configuration setting Make reassignment after checking the data configuration by referring to 3 6...

Страница 58: ...ration setting P 13 Transmission line is not set to the receive state after data send Check the program on the PLC side The specified identifier is not defined Check the identifier The number of read...

Страница 59: ...SOH DC1 1 A Q a q 0 0 1 0 2 STX DC2 2 B R b r 0 0 1 1 3 ETX DC3 3 C S c s 0 1 0 0 4 EOT DC4 4 D T d t 0 1 0 1 5 ENQ NAK 5 E U e u 0 1 1 0 6 ACK SYM 6 F V f v 0 1 1 1 7 BEL ETB 7 G W g w 1 0 0 0 8 BS...

Страница 60: ...IM9000F02 E2 JUL 1999 RKC INSTRUMENT INC HEADQUARTERS 16 6 KUGAHARA 5 CHOME OHTA KU TOKYO 146 8515 JAPAN PHONE 03 3751 9799 81 3 3751 9799 E mail info rkcinst co jp FAX 03 3751 8585 81 3 3751 8585...

Отзывы: