Omron H8GN - V1.1 User manual

Cat.No. M066–E1–1
Preset Counter/Timer
H8GN
USER’S MANUAL

H8GN
I
The H8GN supports serial communications specifications, CompoWay/F and Sysway.
This ser's Manual describes the communications functions of the H8GN.
Before using your H8GN thoroughly read and understand this manual in order to
ensure correct use.
Also, store this manual in a safe place so that it can be retrieved whenever necessary.
EOMRON, 2000
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted,
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 the information contained herein. Moreover, because
OMRON is constantly striving to improve its high-quality products, the information contained in this manual is
subject to change without notice. Every precaution has been taken in the preparation of this manual. Neverthe-
less, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages
resulting from the use of the information contained in this publication.
Preface

H8GN
II
PRECAUTIONS
When the product is used under the circumstances or environments described in this
manual always adhere to the limitations of the rating and functions. Also, 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, aircraft, vehicle, incinerator, medical, enterĆ
tainment, or safety applications
•Where death or serious property damage may occur, or where extensive safety preĆ
cautions are required.

H8GN
III
SAFETY PRECAUTIONS
JSafety Signal Words
This manual uses the following signal words to mark safety precautions for the H8GN.
These precautions provide important information for the safe application of the product. You
must be sure to follow the instructions provided in all safety precautions.
CAUTION Indicates information that, if not heeded, could result in relatively serious or
minor injury, damage to the product, or faulty operation.
JSafety Precautions
CAUTION
FElectric Shock Warning
Tighten the terminal screws properly. Loose screws may cause ignition and malfunction.
Tightening torque :0.5 Nm max.
Do not operate this product in flammable and explosive gas atmospheres.
The life expectancy of the output relays varies greatly with the switching capacity and other switching
conditions. Always use the output relays within their rated load and electrical life expectancy. If an outĆ
put relay is used beyond its life expectancy, its contacts may become fused or burned.
Never disassemble, repair or modify the product.
Doing so may cause electric shock, fire or malfunction.
Do not allow metal fragments or lead wire scraps to fall inside this products.
These may cause leak of electricity, fire or malfunction.

H8GN
IV
NOTICE
Be sure to observe these precautions to ensure safe use.
(1) When storing the H8GN, make sure that the ambient temperature and humidity are within the
rated values. Leave the H8GN at room temperature for at least three hours before using the H8GN
if it has been stored at an ambient temperature of Ć10_C or below.
(2) Do not use the H8GN in the following locations.
ÕLocations with excessive vibration or shock.
ÕLocations where the H8GN is exposed to sprayed water or oil.
(3) Do not use the H8GN in dusty environments or expose it to corrosive gases or direct sunlight.
(4) Be sure to use the H8GN according to its rated ambient operating temperature and humidity
ranges.
(5) Make sure that the voltage is applied within the specified range. Otherwise the internal elements
of the H8GN may be damaged.
(6) When using the H8GN in an area with excess electronic noise, separate the H8GN, wiring, and the
equipment which generates the input signals as far as possible from the noise sources. It is also
recommended to shield the input signal wiring to prevent electronic interference.
(7) If the H8GN is used in locations with high static electricity, such as sites with pipes transporting
molding materials, powders, or liquids, be sure to separate the H8GN from all sources generating
static electricity.
(8) Organic solvents (such as paint thinner), as well as very acidic or basic solutions can damage the
outer casing of the H8GN.

H8GN
V
NOTICE
(1) Do not use the H8GN in the following locations:
ÕLocations with high humidity that may result in condensation
ÕLocations with radical temperature changes
(2) Pay the utmost attention not to make mistakes in polarity when wiring the Timer.
(3) Always maintain the power supply voltage within the specifications.
(4) Connect the power supply voltage through a relay or switch in such a way that the voltage reaches
a fixed value at once. Otherwise, the H8GN may not be reset or outputs may turn ON.
(5) Be sure that the capacity of the power supply is large enough, otherwise the H8GN may not start
due to inrush current (Approx. 15A) that may flow for an instant when the H8GN is turned on.
(6) For the power supply of an input device for the H8GN, use an isolating transformer with the primaĆ
ry and secondary windings mutually isolated and the secondary winding not grounded.
(7) Leaving the H8GN with outputs ON at a high temperature for a long time may hasten the degradaĆ
tion of internal parts (such as electrolytic capacitors). For this reason, by using in combination
with relays, avoid situations where outputs are left ON for a long time (e.g. one month or more).
(8) If the watertight rubber packing is not compressed sufficiently, water may penetrate the panel. For
this reason, be sure to tighten the reinforcement screws of the Mounting Adapter (Y92FĆ34).
(9) The output contacts are SPSTĆNO and SPSTĆNC. For this reason, be sure not to use these contacts
in circuits that will result in 3Ćpoint shortĆcircuits (power supply shortĆcircuiting due to arcing).
(10) In counter operation:
ÕChanging the set value
When changing the set value during operation, the output will turn ON if the set value equals
the present value.
ÕOperation with set value and present value of 0
The output will turn ON if the set value of 0 equals the present value. The output will be OFF
while the Reset Key is pressed or the reset input is ON.
(11) In timer operation:
ÕChanging the set value
When changing the set value during operation, the H8GN operates in the same way as when the
present value reached the set value because a constant readĆin system is in use. And output may
turn ON depending on the output mode if the set value is changed as follows:
Input mode P: Present value y Set value
Input mode DOWN: Elapsed time y Set value (Present value=0)
Note: When in DOWN mode, the amount set value is changed is added to or subtracted from
the present value.
ÕOperation with set value of 0
a) When the output mode is set to A, B (oneĆshot output), D, or F, output will turn ON when
the start signal is input.
b) When the output mode is set to B (hold output), E, or Z, output will remain OFF even when
the start signal is input.

H8GN
VI
(12) To allow for the startup time of peripheral devices (sensors, etc.), the H8GN starts timing operaĆ
tion between 210 to 260 ms after power is turned ON. For this reason, 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 and 260. (Normal operaĆ
tion is possible for set value of 259 ms or more.) In applications where a set value of 258 ms or less
is required, use start timing with signal input.

H8GN
Preface I. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Precautions II. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Safety Precautions III. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Notice IV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Notice V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CHAPTER 1 ABOUT COMMUNICATIONS METHODS 1-1. . . . . .
This chapter briefly describes the supported communications methods and how
to wire equipment. First-time users should read this chapter without fail to ensure
proper installation of the equipment.
1.1 Outline 1-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Introduction 1-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Communications specifications 1-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transmission procedure 1-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Interface 1-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring 1-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Communications 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. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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 services 2-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Details of Services 2-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Read from variable area 2-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Write to variable area 2-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Read controller attributes 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Read controller status 2-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Echoback test 2-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operation instructions 2-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 Response Code List 2-15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents

H8GN
CHAPTER 3 COMMUNICATIONS 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. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
APPENDIX A-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ASCII List A-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
INDEX

CHAPTER 1 ABOUT COMMUNICATIONS METHODS
1–1
CHAPTER 1
ABOUT
COMMUNICATIONS
METHODS
This chapter briefly describes the supported 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Ć2. . . . . . . . . . . . . . . . . . . . . . . . . . .
Communications specifications 1Ć2. . . . . . . . . .
Transmission procedure 1Ć3. . . . . . . . . . . . . . . .
Interface 1Ć3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Wiring 1Ć3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Communications parameters 1Ć4. . . . . . . . . . . .

CHAPTER 1 30P aaaaaaa
H8GN
1–2
1.1 Outline
The program for the communications functions are created on the host
computer, and the H8GN's parameters are monitored or set from the host
computer. Therefore, the description provided here is from the viewpoint
of the host computer.
CompoWay/F is OMRON's standard communications format for general
serial communications. This format uses a standard frame format as well
as the FINS* commands which have proven successful in OMRON's PLCs.
Therefore, it can simplify communications between components and the
host computer.
*FINS (Factory Interface Network Service)
The FINS protocol provides message communications between controlĆ
lers in OMRON FA networks.
The H8GN have the following communications functions:
ÕReading/writing of parameters
ÕOperation instructions
ÕSelection of setup levels
Communications are subject to the following condition:
ÕParameters can be written only when the communications writing"
parameter is set to ON (enabled).
JCommunicationsspecifications
Transmission line connection Multiple 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 7or 8 bits
Stop bits *1 1 or 2bits
Error detection Vertical parity (non, even, or odd)
BCC (block check character)
Flow control None
Interface RS-485
Retry function None
Communications buffer 40 byte
*1 Baud rate, data bits, stop bits and vertical parity can each be set indeĆ
pendently in the communications setting level. Highlighted characters
in the table above indicate defaults.
JIntroduction

H8GN
1–3
When the host computer transmits a command frame, the H8GN transĆ
mits a response frame that corresponds to the command frame. A single
response frame is returned for each command frame. The following diaĆ
gram shows the operation of the command and response frames.
Command frame Command frame
Response frame
Host computer
H8GN
Allow a wait time of at least 2 ms until the next command is sent after the
host computer receives a response from the H8GN.
Communications with the host computer are carried out through a stanĆ
dard RSĆ485 interface.
Ă•RSĆ485 connections can be 1 : 1 or 1 : N. A maximum of 32 nits (including
the host computer) can be connected in oneĆtoĆN systems.
ÕThe total cable length is 500 m max.
Ă•se a shielded, twistedĆpair cable AWG28 or larger for wiring the H8GN.
8
7
H8GN
RS-485
Pin No. Abbr
8
7
Host computer
RS-485
Abbr
FG
–
+
SG
Shielded cable
A(–)
B(+)
6.8V
Terminator
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
(including the host computer) must be
specified (by setting terminator ON) as
the end node. The total resistance of
the terminators must be at least 54Ω.
Match the communications specifications of the H8GN and the host comĆ
puter. If a oneĆtoĆN system is being used, be sure that the communications
specifications of all devices in the system (except individual unit numbers)
are the same.
JTransmission
procedure
JInterface
JWiring

H8GN
1–4
The H8GNs communications specifications are set in the communications
setting level. These parameters are set on the H8GNs front panel.
The following table shows the communications parameters and their setĆ
ting ranges.
Parameter Displayed
Characters Setting Range Set Value
Communications unit No. 0 to 99 0, 1to 99
Baud rate 1.2 / 2.4 / 4.8 / 9.6 (k bit/s) 1.2 / 2.4 / 4.8 / 9.6 (k bit/s)
Communications data length 7 / 8 (bit) 7/ 8 (bit)
Communications stop bit 1/2 1/2
Communications parity None / 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 following procedure.
(1) Hold down the key for at least three seconds to move from the
operation level" to the initial setting level."
(2) Press the key for less than one second to move from the initial
setting level" to the communications setting level."
(3) Select the parameters as shown below by pressing the key.
(4) se the or keys to change the parameter set values.
H8GN
Communicationsunit No.
Baud rate
Communications data length
Communications stop bit
Communications parity
JCommunications
parameters
FCommunications
parameter setup

H8GN
1–5
Note that communications parameters are enabled after they have been
changed by resetting the controller.
ÕCommunications unit No. ( )
This parameter is for setting the unit No. to each of the H8GN. This unit
No. is set so that the host computer can identify the H8GN when commuĆ
nications are carried out with the host computer. Set a unit No. within
the range 0 to 99 for each H8GN connected to the host computer on the
network. Default is 1". When two or more H8GN are used, do not set
the same unit No. Doing so will prevent normal operation.
ÕBaud rate ( )
This parameter is for setting the baud rate when communicating with
the host computer. Set one of 1.2 (1200 bit/s)", 2.4 (2400 bit/s)", 4.8
(4800 bit/s)" and 9.6 (9600 bit/s)".
ÕCommunications data length ( )
This parameter is for setting the communications data length. Set either
of 7 bits" or 8 bits".
ÕCommunications stop bit ( )
This parameter is for setting the communications stop bit. Set either of
1" or 2".
ÕCommunications parity ( )
This parameter is for setting the communications parity. Set one of
none", even" or odd".
FCommunications
parameter setup

H8GN
1–6

CHAPTER 2 CompoWay/F COMMUNICATIONS PROCEDURES
2–1
CHAPTER 2
CompoWay/F
COMMUNICATIONS
PROCEDURES
Read this chapter if you are to communicate using the CompoWay/F
format.
CHAPTER2
2.1 Data Format 2Ć2. . . . . . . . . . . . . . . . . . . . . . . . . . .
Command frame 2Ć2. . . . . . . . . . . . . . . . . . . . . . .
Response frame 2Ć3. . . . . . . . . . . . . . . . . . . . . . . .
Communications data 2Ć4. . . . . . . . . . . . . . . . . .
Example of end code 2Ć4. . . . . . . . . . . . . . . . . . . .
2.2 Structure of Command Text 2Ć5. . . . . . . . . . . . .
PD structure 2Ć5. . . . . . . . . . . . . . . . . . . . . . . . .
Area definitions 2Ć5. . . . . . . . . . . . . . . . . . . . . . . .
Type code (variable type) 2Ć5. . . . . . . . . . . . . . .
Addresses 2Ć5. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Number of elements 2Ć5. . . . . . . . . . . . . . . . . . . .
List of services 2Ć6. . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Details of Services 2Ć7. . . . . . . . . . . . . . . . . . . . . .
Read from variable area 2Ć7. . . . . . . . . . . . . . . .
Write to variable area 2Ć8. . . . . . . . . . . . . . . . . . .
Read controller attributes 2Ć10. . . . . . . . . . . . . . .
Read controller status 2Ć11. . . . . . . . . . . . . . . . . .
Echoback test 2Ć12. . . . . . . . . . . . . . . . . . . . . . . . . .
Operation instructions 2Ć13. . . . . . . . . . . . . . . . . .
2.4 Response Code List 2Ć15. . . . . . . . . . . . . . . . . . . .

CHAPTER 2 CompoWay/F COMMUNICATIONS PROCEDURES
H8GN
2–2
2.1 Data Format
nless otherwise indicated, numbers in this manual are expressed in hexĆ
adecimal. Values in double quotation marks, such as 00", are ASCII.
The number underneath each delimiter in a frame indicates the number
of bytes.
JCommand frame
STX 0 0 ETX
12 21 11
BCCSID
Text
BCC calculation range
Node No. Sub-address Command text
0
STX This code (02) indicates the beginning of the communications frame (text).
Always set this character in the first byte.
When STX is received again during reception, reception is carried 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.
•Specify “XX”for a broadcast transmission. No response will be returned for broad-
cast transmissions.
•No responses will be returned from node Nos. set otherwise from the above.
Sub-address This is not used on the H8GN. Be sure to set the sub-address to “00”.
SID (service ID) This is not used on the H8GN. Be sure to set the sub-address to “00”.
Command text Command text area. For details, see “2.2 Structure of Command Text.”
ETX This code (03) indicates the end of the text.
BCC Block Check Character
The BCC result is found by calculating the exclusive OR of the bytes from the node
No. up to ETX.

2.1Data Format
H8GN
2–3
The BCC is formed by converting the 8Ćbit value obtained by converting
the exclusive OR of the node No. up to ETX into two ASCII characters, and
setting this to the BCC area.
STX SID ETX BCC
03H 35H02H 0(30H) 0(30H) 0(30H) 0(30H) 0(30H) 0(30H) 5(35H) 0(30H) 3(33H)
BCC=30H30H30H30H30H30H35H30H33H03H=35H
Node No. Sub-address Command text
Calculation result 35H is set to the BCC area.
The symbol indicates exclusive OR operation and the H indicates hexadecimal code.
JResponse frame
STX ETX
12 2 2 11
BCCNode No. Sub-address Command textEnd code
End
code Name Description Error
Detection
Priority
00 Normal completion The command ended normally without error. None
0F FINS command error The specified FINS command could not be executed.
The FINS response code should indicate why the command
could not be executed.
8
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 new data when the recep-
tion data was already full. 3
13 BCC error The calculated BCC value is different from the received BCC
value. 5
14 Format error •The command text contains characters other than 0 to 9,
and AtoF. This error is not applicable to the echoback test.
(For details, see chapters 2.3 “Echoback test.”)
•No SID and command text. Or, no command text
•“MRC/SRC”not included in command text
7
16 Sub-address error •Illegal (unsupported) sub-address
•No sub-address, SID and command text
•Sub-address less than two characters, and no SID and
command text
6
18 Frame length error The received frame exceeds the fixed (supported) number of
bytes. 4
ÕThe end code is returned to received command frames addresses to the
self node.
ÕNo response will be returned if all the items in the response frame are
incomplete up to the ETX and BCC.
ÕError Detection Priority" indicates the priority when two or more
errors occur simultaneously.
FBCC calculation
example

CHAPTER 2 CompoWay/F COMMUNICATIONS PROCEDURES
H8GN
2–4
JCommunicationsdata
Set (monitor) Value Minus Value Decimal point
8 digits (Hex) 2’s complement Decimal point is removed and the result is converted to hexadecimal.
Example) 105.0 !1050 !000041A
The following examples show an end code when a command did not end
normally.
Example 1) Illegal subĆaddress, and no SID and command text
STX 0 ETX
BCC
A
STX 0 ETX
BCC
A16
Command Format
Node No. Sub-address
Node No. Sub-address End code
Response 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 0 ETX
BCC
0
SID
0
STX 0 ETX
BCC
014
Command Format
Response Format
Node No. Sub-address
Node No. Sub-address End code
End code is 14" (format error).
Example 3) All node Nos. not provided
STX ETX
BCC
Command Format
The node No. is lacking one character.
Response Format
No response
Example 4) No subĆaddress, and illegal BCC
STX ETX
BCC
STX 0 ETX
BCC
013
Err
Command Format
Response Format
Node No.
Node No. Sub-address End code
SubĆaddress is 00" and end code is 13" (BCC error).
JExample of end
code

2.2Structure of Command Text
H8GN
2–5
2.2 Structure of Command Text
An MRC (Main Request Code) and SRC (SubĆRequest Code) followed by
the various required data is transferred to the command text.
MRC SRC
Service request PDU
Data
MRES (Main Response Code) and SRES (SubĆResponse Code) are
transferred following the above MRC/SRC. Data is then transferred
following these MRES and SRES.
MRC SRC MRES SRES
Service response PDU (during normal operation)
Data
If the specified command text could not be executed, only the MRC/
SRC and MRES/SRES become the target response PD s.
MRC SRC MRES SRES
Service response PDU (at non-execution 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.
Variable
type Description
C0 R/O (read only) parameter.
C1 Protect level parameter.
C2 Operation and adjustment level parameter.
C3 Initial setting, communications setting and advanced function set-
ting level parameter.
Each of the variable types is appended with an address. Express addresses
in 2Ćbyte hexadecimal code.
The number of elements is expressed in 2Ćbyte hexadecimal code. Specify
the number of elements within the range 0 to 2".
For example, when the number of elements is 0002", specify data for two
items from the address.
JPDU structure
JArea definitions
JType code
(variable type)
JAddresses
JNumber of
elements
This manual suits for next models
1
Table of contents
Other Omron Timer manuals

Omron
Omron H5F-B User manual

Omron
Omron H5AN Series User manual

Omron
Omron H5CZ User manual

Omron
Omron H3CR-AP User manual

Omron
Omron H2A - User manual

Omron
Omron H3CR-AS User manual

Omron
Omron H3CR User manual

Omron
Omron H3CR-A8E User manual

Omron
Omron H3DE-M2 User manual

Omron
Omron Ateg H3DT Series User manual