IEC 60713 : 1.0
IEC 60713 : 1.0
SUBROUTINES FOR CAMAC
International Electrotechnical Committee
SUBROUTINES FOR CAMAC
International Electrotechnical Committee
FOREWORD
PREFACE
Clause
1 Scope
2 Object
3 General
4 Functional Specifications
4.1 Primary Subroutines
4.1.1 Declare CAMAC Register
4.1.2 Perform Single CAMAC Action
4.2 Single-Action Subroutines
4.2.1 Generate Dataway Initialize
4.2.2 Generate Crate Clear
4.2.3 Set or Clear Dataway Inhibit
4.2.4 Test Dataway Inhibit
4.2.5 Enable or Disable Crate Demand
4.2.6 Test Crate Demand Enabled
4.2.7 Test Crate Demand Present
4.2.8 Declare LAM
4.2.9 Enable or Disable LAM
4.2.10 Clear LAM
4.2.11 Test LAM
4.2.12 Link LAM to Service Procedure
4.3 Block Transfers, Multiple Actions and Inverse
Declarations
4.3.1 General Multiple Action
4.3.2 Address Scan
4.3.3 Controller-Synchronized Block Transfer
4.3.4 LAM-Synchronized Block Transfer
4.3.5 Repeat Mode Block Transfer
4.3.6 Analyze LAM Identifier
4.3.7 Analyze Register Identifier
5 Definitions of Parameters
5.1 ext (external address)
5.2 b (branch number)
5.3 c (crate number)
5.4 n (station number)
5.5 a (subaddress)
5.6 f (function code)
5.7 int (CAMAC data word)
5.8 q (Q response)
5.9 l (logical truth value)
5.10 lam (LAM identifier)
5.11 m (LAM access specifier)
5.12 inta (integer array)
5.13 label (entry point identifier)
5.14 fa (function codes)
5.15 exta (CAMAC external address)
5.16 intc (CAMAC data array)
5.17 qa (Q responses)
5.18 cb (control block)
5.19 extb (external addresses)
APPENDIX A - System-Dependent Subroutines
A1 Introduction
A2 Access to Special Signals
A2.1 Branch Initialize
A2.2 Test Status of Preceding Action
A3 Channel Identifier
A3.1 Declare Channel
A3.2 Analyzer Channel Declaration
A4 Short Data-Word Transfers
A4.1 Perform Single CAMAC Action
A4.2 General Multiple Action
A4.3 Address Scan
A4.4 Controller-Synchronized Block Transfer
A4.5 LAM-Synchronized Block Transfer
A4.6 Repeat Mode Block Transfer
A5 Define Crate Identifier
A6 Definitions of Parameters
A6.1 k (status code)
A6.2 chan (channel identifier)
A6.3 ints (truncated CAMAC data word)
A6.4 intt (truncated CAMAC data array)
A6.5 intb (integer array)
APPENDIX B - FORTRAN Implementation
B1 General
B2 Description of Subroutines
B2.1 Primary Subroutines
B2.1.1 Declare CAMAC Register
B2.1.2 Perform Single CAMAC Action
B2.2 Single Action Subroutines
B2.2.1 Generate Dataway Initialize
B2.2.2 Generate Crate Clear
B2.2.3 Set or Clear Dataway Inhibit
B2.2.4 Test Dataway Inhibit
B2.2.5 Enable or Disable Crate Demands
B2.2.6 Test Crate Demand Enabled
B2.2.7 Test Demand Present
B2.2.8 Declare LAM
B2.2.9 Enable or Disable LAM
B2.2.10 Clear LAM
B2.2.11 Test LAM
B2.2.12 Link LAM to Service Procedure
B2.3 Block Transfers, Multiple Actions, and Inverse
Declarations
B2.3.1 General Multiple Action
B2.3.2 Address-Scan
B2.3.3 Controller-Synchronized Block Transfer
B2.3.4 LAM-Synchronized Block Transfer
B2.3.5 Repeat-Mode Block Transfer
B2.3.6 Analyze LAM Identifier
B2.3.7 Analyze Register Identifier
B3 Parameter Types
B3.1 Single Integers
B3.2 Single Logical Values
B3.3 Integer Arrays
B3.4 Logical Array
B3.5 CAMAC Data Word
B3.6 CAMAC Data Array
B3.7 Label
APPENDIX C - Function-Code Mnemonic Symbols
Presents a set of software subroutines to provide a general capability for communications with CAMAC systems as defined in Publication 516. The subroutines are suitable for use with Fortran although they are not restricted to that language.
Document Type | Standard |
Status | Current |
Publisher | International Electrotechnical Committee |
Committee | TC 45 |