FINS Commands - myOMRON

Cat. No. W227-E1-2

FINS Commands REFERENCE MANUAL

FINS Commands

Reference Manual

Revised June 2001

Notice:

OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual.

The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to head precautions can result in injury to people or damage to the product.

! DANGER

Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.

! WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury.

! Caution

Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury, or property damage.

OMRON Product References

All OMRON products are capitalized in this manual. The word "Unit" is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product. The abbreviation "Ch," which appears in some displays and on some OMRON products, often means "word" and is abbreviated "Wd" in documentation in this sense. The abbreviation "PC" means Programmable Controller and is not used as an abbreviation for anything else.

Visual Aids

The following headings appear in the left column of the manual to help you locate different types of information.

Note Indicates information of particular interest for efficient and convenient operation of the product.

1, 2, 3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.

? OMRON, 1993

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. Nevertheless, 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.

ii

About this Manual:

This manual describes the FINS commands used for communications in OMRON networks and includes the sections described below. These FINS commands can be addressed to CV-Series PCs, C-series PCs, SYSMAC NET Link Units, SYSMAC LINK Units, SYSMAC LINK Support Boards, and CPU Bus Units, such as Personal Computer Units and BASIC Units. They can also be sent to host computers, provided the proper programming is provided at the host computer. Please read this manual carefully and be sure you understand the information provided before attempting to program communications in OMRON networks. WARNING Failure to read and understand the information provided in this manual may result in

personal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given. Section 1 describes the structure and use of FINS commands. Section 2 describes commands that can be addressed to CV-series PCs. Section 3 describes commands that can be addressed to C-series PCs. Section 4 describes commands that can be addressed to SYSMAC NET Link Units. Section 5 describes commands that can be addressed to SYSMAC LINK Units and Support Boards. Section 6 describes commands that can be addressed to Personal Computer Units. Section 7 describes commands that can be addressed to BASIC Units. Section 8 describes response codes, which are returned with responses to FINS commands to indicate the result of FINS command execution. Appendix A provides a list of FINS commands and shows the destinations that support each command.

! WARNING Failure to read and understand the information provided in this manual may result in personal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.

iii

TABLE OF CONTENTS

SECTION 1 ? Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1-1 FINS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

1-1-1 Communications Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2

1-1-2 Destinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3

1-1-3 Destinations and Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

1-1-4 Data Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

1-2 Network Differences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5

1-3 Command/Response Transmission Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6

1-4 Host Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7

1-4-1 Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

8

1-4-2 Response Block Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

9

1-4-3 Frame Checksum Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

1-5 SYSMAC NET and SYSMAC LINK Communications . . . . . . . . . . . . . . . . . . . 11

1-5-1 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

1-5-2 Data Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

SECTION 2 ? Commands for CV-series PCs . . . . . . . . . . . . . . . . . . . . . . . . 13

2-1 Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2-2 Memory Area Designations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

2-2-1 Word/Bit Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2-2-2 Data Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2-3 Volume Labels and File Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2-4 MEMORY AREA READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2-5 MEMORY AREA WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2-6 MEMORY AREA FILL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2-7 MULTIPLE MEMORY AREA READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2-8 MEMORY AREA TRANSFER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 2-9 PARAMETER AREA READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2-10 PARAMETER AREA WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2-11 PARAMETER AREA CLEAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2-12 PROGRAM AREA PROTECT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2-13 PROGRAM AREA PROTECT CLEAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2-14 PROGRAM AREA READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2-15 PROGRAM AREA WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 2-16 PROGRAM AREA CLEAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 2-17 RUN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 2-18 STOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 2-19 CONTROLLER DATA READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 2-20 CONNECTION DATA READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 2-21 CONTROLLER STATUS READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 2-22 CYCLE TIME READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 2-23 CLOCK READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 2-24 CLOCK WRITE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 2-25 MESSAGE READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 2-26 MESSAGE CLEAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 2-27 FAL/FALS READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 2-28 ACCESS RIGHT ACQUIRE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 2-29 ACCESS RIGHT FORCED ACQUIRE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 2-30 ACCESS RIGHT RELEASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 2-31 ERROR CLEAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 2-32 ERROR LOG READ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 2-33 ERROR LOG CLEAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

v

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download