background image

CHAPTER 2 CompoWay/F COMMUNICATIONS PROCEDURES

H8GN

2-12

This service carries out the echoback test.

MRC SRC

0 8 0 1

2

2

MRC SRC

Response

code

0 8 0 1

2

2

Test data

0 to 23

Test data

0 to 23

Service request PDU

Service response PDU

(1) Test data

Set any test data within the range 0" to 23".
Set a value for the test data within the ranges shown below according
to the communications data length.

Communications

data length

Test data

8 bits

20 to 7E, A1 to FE converted to ASCII code

7 bits

20 to 7E converted to ASCII code

(2) Response code

At normal completion

Response code

Name

Description

0000

Normal completion

No errors were found.

At occurrence of error

Response code

Name

Description

1001

Command too long

Thecommand is too long.

2203

Operation error

CPU or EEPROM error

JEchoback test

Summary of Contents for H8GN

Page 1: ...C 1 East Commerce Drive Schaumburg IL 60173 U S A Tel 1 847 843 7900 Fax 1 847 843 8568 OMRON ASIA PACIFIC PTE LTD 83 Clemenceau Avenue 11 01 UE Square Singapore 239920 Tel 65 835 3011 Fax 65 835 2711...

Page 2: ...smitted in any form or by any means mechanical electronic photocopying recording or otherwise without the prior written permission of OMRON No patent liability is assumed with respect to the use of th...

Page 3: ...o for safety take countermeasures such as fitting fail safe installations DO NOT USE In circumstances or environments that have not been described in this manual For control in nuclear power railway a...

Page 4: ...e terminal screws properly Loose screws may cause ignition and malfunction Tightening torque 0 5 N m max Do not operate this product in flammable and explosive gas atmospheres The life expectancy of t...

Page 5: ...IV NOTICE Be sure to observe these precautions to ensure safe use 1 3 _ 0 0 1 1 0 1 1 0 1 1 1...

Page 6: ...03 54 354 58 358 8 0 8 8 6 104 09 45 5368 99 9 0 0 4 2 8 3 6 4 8 6 4 2 58 09 8 954 9 8 5 0 4 8 04 58 3 4 9 8 9 5 5 4 04 6 8 A 5 6 54 9 8 A 4 A 58 09 8 954 9 8 45 5 9 9 54 9 04 08 0 9 022 8 9 2 04 A650...

Page 7: ...on in operations where timing starts from power ON the time display will actually start from 258 ms If the set value is 258 ms or less the time until output turns ON will be a fixed value between 210...

Page 8: ...ons parameters 1 4 CHAPTER 2 COMPOWAY F COMMUNICATIONS PROCEDURES 2 1 Read this chapter if you are to communicate using the CompoWay F format 2 1 Data Format 2 2 Command frame 2 2 Response frame 2 3 C...

Page 9: ...DATA 3 1 This chapter lists the details of each of the communications data in the Compo Way F communications procedures 3 1 Variable Area setup range List 3 2 3 2 Status 3 6 3 3 Sample Program 3 9 APP...

Page 10: ...upported communications methods and how to wire equipment First time users should read this chapter without fail to ensure proper installation of the equipment CHAPTER1 1 1 Outline 1 2 Introduction 1...

Page 11: ...tiple point Communications method RS 485 2 wire half duplex Synchronization method Start stop synchronization Baud rate 1 1200 2400 4800 9600 bit s Communication code ASCII Data bits 1 7 or 8 bits Sto...

Page 12: ...or 120 1 2W Shielded cable H8GN end node RS 485 Pin No Abbr A B Use a terminator of resistance 120 1 2W Communications transceiver TX RX A B 1 mark A B 0 space Both ends of the transmission line inclu...

Page 13: ...even odd Highlighted characters indicate defaults Before you carry out communications with the H8GN set up communica tions unit No Communication rate and other parameters by carrying out the followin...

Page 14: ...1 1 Outline 1 5 1 FCommunications parameter setup...

Page 15: ...e 2 3 Communications data 2 4 Example of end code 2 4 2 2 Structure of Command Text 2 5 PDU structure 2 5 Area definitions 2 5 Type code variable type 2 5 Addresses 2 5 Number of elements 2 5 List of...

Page 16: ...ied out again from the point where STX was received Node number This number specifies the transmission s destination Specify the H8GN s Communications unit No BCD range 00 to 99 and XX can be set Spec...

Page 17: ...10 Parity error The sum total of bits whose received data is 1 does not match the set value of communications parity 2 11 Framing error Stop bit is 0 1 12 Overrun error An attempt was made to transfer...

Page 18: ...Format End code is 16 sub address error This is because a sub address was received and the sub address error has a higher error detection priority than the format error Example 2 No command text STX...

Page 19: ...tion of specified command text MRES SRES becomes the response code except when processing ends in normal completion Areas comprise only variable area The following defines variable area type codes Var...

Page 20: ...is service carries out the echoback test 30 05 Operation instructions This service carries out reset communica tions writing multi SP move to protect level move to setup area 1 and software reset In a...

Page 21: ...Read is not carried out the service response PDU is not appended with read data and processing ends in normal completion 0001 to 0002 Read is carried out and processing ends in normal completion 4 Res...

Page 22: ...ervice response PDU 1 Variable type and write start address For details on variable types and write start addresses see Chapter 3 Communications Data 2 Bit position Bit accessing is not supported on t...

Page 23: ...or The write end address write start address number of elements exceeds the final address of the vari able area 1003 Number of elements data mismatch The number of data does not match the number of el...

Page 24: ...ace codes Example The model number for the H8GN is expressed as follows H 8 G N A D 2 Communications buffer size The communications buffer size is expressed in 2 byte hexadecimal code and read after b...

Page 25: ...put can be accepted error not generated when setup area is 0 01 Status in which the count timer input cannot be accepted other than above 2 Related information 0 0 7 0 6 5 4 3 1 2 Bit position PV unde...

Page 26: ...value for the test data within the ranges shown below according to the communications data length Communications data length Test data 8 bits 20 to 7E A1 to FE converted to ASCII code 7 bits 20 to 7E...

Page 27: ...are reset 00 07 Move to setup area 1 00 08 Move to protect level 00 No response will be returned when a software reset is carried out 2 Response code At normal completion Response code Name Descriptio...

Page 28: ...60 61 0 0 1 0 0 0 6 0 0 0 5 1 0 2 1 0 0 6 0 60 0 5 1 0 2 1 0 4 01 6 0 1 0 3 0 0 0 1 6 01 6 0 1 0 0 0 60 61 0 0 1 0 0 0 6 F 8 0 1 0 2 1 0 1 0 0 2 0 0 4 1 3 0 0 0 2 1 8 0 0 0 01 6 0 1 0 3 0 61 8 0 0 6...

Page 29: ...start address number of elements exceeds the final address of the vari able area 6 1003 Number of ele ments data mis match The number of data does not match the number of elements 7 110B Response too...

Page 30: ...MMUNICATIONS DATA This chapter lists the details of each of the communications data in the CompoWay F communications procedures CHAPTER3 3 1 Variable Area setup range List 3 2 3 2 Status 3 8 3 3 Sampl...

Page 31: ...t value H 00000000 to H 05F5E0FF 0 to 99999999 Operation C1 0000 Operation adjustment protection H 00000000 0 No restrictions in operation and ad justment levels H 00000001 1 Move to adjustment level...

Page 32: ...ent H FFFFFC19 to H 0000270F 999 to 9999 Input mode at counter individual or phase dif ferent input H 00000000 to H 0000270F 0 to 9999 Time range at timer other than m s h m and output mode A B D E F...

Page 33: ...0m0s to 99m59s H 00000005 5 0 0m to 999 9m H 00000006 6 0h0m to 99h59m H 00000007 7 0 0h to 999 9h H 00000008 8 0h to 9999h C3 0003 Timer mode H 00000000 0 Elapsed time H 00000001 1 Remainning time C...

Page 34: ...2 4 H 00000002 2 4 8 H 00000003 3 9 6 C3 000E Communications data length 1 H 00000007 7 7 H 00000008 8 8 C3 000F Communications stop bit 1 H 00000001 1 1 H 00000002 2 2 C3 0010 Communications parity...

Page 35: ...the structure of the status data PV underflow Spare Spare Spare 0 1 2 3 0 4 5 6 7 8 9 10 11 0 12 13 14 15 0 Bit position CP1 signal input CP2 gate input Reset input Spare Spare Spare Spare Spare Outpu...

Page 36: ...tup area Communications writing Spare Spare Bit position Spare Spare Spare Spare Spare Spare Spare Spare Spare Spare Spare Spare Operating status 16 17 18 19 0 20 0 21 22 23 24 25 26 27 0 28 29 30 31...

Page 37: ...0 Spare 11 Spare 12 Output 1 OFF ON 13 Spare 14 Spare 15 Spare 16 Setup area Setup area 0 Setup area 1 17 Communications writing OFF disabled ON enabled 18 Spare 19 Spare 20 Spare 21 Spare 22 Spare 23...

Page 38: ...tting PARITY EVEN DATA 7 STOP 2 1080 1090 OPEN COM E73 AS 1 1100 1110 REPEAT 1120 1130 Transmission processing 1140 1150 Entry of send data 1160 INPUT SEND DATA SEND 1170 1180 To exit processing if th...

Page 39: ...A B 6 5 492 24B6 HHHHHHHHHH A 2E 646 D6 52B2 HHHHHHHHHH 5 46AA 8 FSample operation Read the PV of unit No 00 In this example PV 335 0 1 0 1 0 1 C 36 7 6 6 6 BA B A B 625 AB2 B 255 6AA 2 23 6 BE 6 C3...

Page 40: ...5 Set the TERM switch on the Serial Communications Board to ON and the WIRE switch to 2 Attach a terminator to H8GN Read the PV of H8GN using sequence No 600 send receive with ASCII conversion respons...

Page 41: ...2 D01003 D01004 D01005 D01006 No of transmission words D01000 to D01006 Node No of H8GN 1 CompoWay F command Variable area read No of bytes transmitted 12 Variable type read start address bit position...

Page 42: ...APPENDIX H8GN A 1 APPENDIX ASCII List A 2...

Page 43: ...7 H8GN 1 4 SPACE N 2 0 O 237 1 P 37 A 2 Q 3 B 3 R 0 C 4 S 28 D 5 T 3 E 6 U 2 F 7 V 3 G 8 W 24 H 9 X 53 2 I Y 2 J Z 1 2 K 2 12 L X 2 42 M TCL N PGRW...

Page 44: ...mpoWay F 1 2 2 1 3 1 D Data format 2 2 Details of services 2 7 E Echoback test 2 6 2 12 End code 2 3 2 4 ETX 2 2 2 3 F FINS 1 2 2 3 I Interface 1 2 1 3 L List of services 2 6 N Number of elements 2 5...

Page 45: ...the catalog number on the front cover of the manual Cat No M066 E1 1 Revision code The following table outlines the change made to the manual during each revision Page numbers refer to previous versio...

Page 46: ...C 1 East Commerce Drive Schaumburg IL 60173 U S A Tel 1 847 843 7900 Fax 1 847 843 8568 OMRON ASIA PACIFIC PTE LTD 83 Clemenceau Avenue 11 01 UE Square Singapore 239920 Tel 65 835 3011 Fax 65 835 2711...

Reviews: