- Document No. IM 34M6H33-01E - Document Model Code DOCIM Media No. IM 34M6H33-01 E (CD) 1st Edition : July 1, 2004 (AR) IM 34M6H33-01E 1st Edition : July 1.2004-00 All Rights Reserved Copyright 2004, Yokogawa Electric Corporation...
- Every effort has been made to ensure accuracy in the preparation of this manual. However, should any errors or omissions come to the attention of the user, please contact the nearest Yokogawa Electric representative or sales office. Safety Precautions when Using/Maintaining the Product - The following safety symbols are used on the product as well as in this manual.
Page 5
WARRANTY that is provided separately. - Yokogawa Electric assumes no liability to any party for any loss or damage, direct or indirect, caused by the use or any unpredictable defect of the product.
Page 6
- Reverse engineering, such as decompiling of the software, is strictly prohibited. - No portion of the software supplied by Yokogawa Electric may be transferred, exchanged, or sublet or leased for use by any third party without prior permission by Yokogawa Electric.
Page 7
Interlock with emergency-stop circuitry using external relays: - Equipment incorporating the FA-M3 controller must be furnished with emergency- stop circuitry that uses external relays. This circuitry should be set up to interlock correctly with controller status (stop/run).
Page 8
Never use solvents such as paint thinner for cleaning: - Gently clean the surfaces of the FA-M3 controller with a cloth that has been soaked in water or a neutral detergent and wringed.
For information on sequence CPU instructions, refer to: - Sequence CPU Instruction Manual - Instructions (IM34M6P12-03E) For information on creating ladder programs, refer to: - FA-M3 Programming Tool WideField2 (IM34M6Q15-01E) F3SP21, F3SP25, F3SP35, F3SP05, F3SP08 For information on sequence CPU functions, refer to:...
Registering or recording onto videotapes and other media is also prohibited without expressed permission of Yokogawa Electric Corporation. Trademarks - The trade and company names that are referred to in this document are either trademarks or registered trademarks of their respective companies.
TOC-1 FA-M3 ASi Master Module IM 34M6H33-01E 1st Edition CONTENTS Applicable Product ..................i Important ....................ii Introduction.....................vii Copyrights and Trademarks ..............viii Overview ..................1-1 Specifications ................2-1 General Specifications................2-1 AS-interface Communications Specifications ........2-1 Operating Environment ................2-1 Model and Suffix Codes................2-1 Components and Functions..............
Page 12
TOC-2 Startup Preparation ..............6-1 Command Execution..............7-1 How to Execute a Command..............7-1 Command Setup..................7-3 Command Response................. 7-5 Programming ................8-1 Programming ..................... 8-1 Sample Circuits ..................8-6 Monitor Port Function ..............9-1 Monitor Port ....................9-1 Monitoring Function.................. 9-2 Setup Function ..................
Overview The ASi Master Module is an ASi communications module to be installed in the base module of an FA-M3 system. Its ASi (Actuator Sensor interface) provides the following functions: - AS-interface V2.1 compliant (including V2.0) - Bit-level open bus system...
Page 14
How to Read This Manual We recommend reading this manual in the following sequence: Chapter 2 Specifications Chapter 3 Function Overview Chapter 4 Registers Chapter 5 Input/output Relays Chapter 6 Startup Preparation Section 8.1 Programming Section 8.2 Sample Circuits The other chapters can then be read as required. For information on individual ASi slaves, refer to documentation provided by their respective manufacturers.
Specifications General Specifications Table 2.1 General Specifications Item Specifications Ambient temperature 0°C to +45°C Storage temperature -20°C to +75°C Operating temperature range 10% to 90% RH (with no condensation) Ambient atmosphere No presence of corrosive gases or flammable gases Number of slots 1 slot Internal current consumption 330 mA...
Components and Functions Operating status LED indicators (For details, see Chapter 3) MONITOR Monitor port MODE PRO- TECT Mode switch CONFIG (for details, see Chapter 3) ASi+ ASi- Transmission line ASi+ connection port ASi- Figure 2.1 Front View External Dimensions MONITOR MODE PRO-...
External Connections ASi Ports Two ASi connector ports that allow easy cable attachment and detachment are provided. Terminals with identical marking (ASi+ or ASi-) are connected internally. ASi+ ASi- ASi+ Transmission Line ASi- Connection Port (ASi port) Figure 2.3 ASi Port Diagram ASi + Connects to transmission cable (+, brown) or ASi power supply (+, brown).
Page 18
Monitor Port (for display purposes) The monitor port of this module can be connected to a PC using an RS-232C cable for display purposes to perform mode changes, listing of slaves, registration, etc. For details, see Chapter 9. MONITOR Monitor port MODE Figure 2.5 Monitor Port CAUTION...
Attaching/Detaching the Module Attaching a Module Figure 2.6 shows how to attach this module to the base module. First hook the anchor slot at the bottom of the module to be attached onto the anchor pin on the bottom of the base module.
Page 20
Attaching Modules in Intense Vibration Environments If the module is used in intense vibration environments, fasten the module with a screw. Use screws of type listed in the table below. Insert these screws into the screw holes on top of the module and tighten them with a Phillips screwdriver. Screw Required M4-size Binder screw 12 to 15 mm long (or 14 to 15 mm if fitted with a washer)
Functional Overview Functions The ASi Master Module is compliant to AS-interface V2.1 (including V2.0). It allows the use of V2.1 functions shown in Table 3.1, provided the connected slaves are AS- interface V2.1-compliant and support the respective functions. If V2.0-compliant slaves are connected, only V2.0 functions are available.
Page 22
Table 3.2 I/O Codes I/O Code I/O Code ID Code Each ASi slave also has an ID code. In AS-interface V2.1, both the I/O code and ID code are used to identify a slave type. A slave with ID code $A has Extended Code ID1 and Extended Code ID2.
Indicates that the module is operating normally in Protected mode. The ASI Master Module should normally be in online mode. If it stays in offline mode for whatever reason, please contact Yokogawa. The following table shows the LED display for each mode.
Page 24
Configuration Mode (MST LED blinks) MODE PRO- TECT Mode switch CONFIG ASi+ ASi- Figure 3.2 Mode Selector Switch The Configuration mode is used during startup preparation, when slave information (address, I/O code, ID code) are read over the ASi line, and registered to the list of projected slaves in the F3LA01-0N module.
Page 25
Lock Function The Lock function is used to prevent inadvertent switching from Protected mode to Configuration mode. If the MODE switch is accidentally turned from the PROTECT position to the CONFIG position in locked state, the module remains in Protected mode. At the same time, both the MST and NST lamps enter fast-blinking state to indicate an invalid switch position.
Registers Register List Table 4.1 Register List Data For details, Position see: Number Command response area Section 7.3 Subsection LPS area 4.1.1 Subsection LAS area 4.1.2 Subsection LDS area 4.1.3 Subsection LPF area 4.1.4 Subsection NODE STATUS area 4.1.5 Subsection NODE I/O CONFIG CODE area 4.1.6 Subsection...
4.1.1 LPS (List of Projected Slaves) The LPS contains information on slaves registered to the module in Configuration mode. It is stored on the internal EEPROM of the module. Table 4.2 LPS Area Data Position Bit Number Number 15A 14A 13A 12A 11A 10A 9A –...
4.1.5 NODE STATUS The NODE STATUS area stores information on individual slaves on the ASi line. Table 4.6 NODE STATUS Area Bits Description 0, 4, 8, 12 Slave is registered in the module (in LPS) 1, 5, 9, 13 Slave is registered in LPS and allows communications (in LAS) 2, 6, 10, 14 Slave is detected (in LDS) Data Position...
4.1.6 NODE I/O CONFIG CODE The NODE I/O CONFIG CODE area stores the I/O Code of each slave on the ASi line. I/O codes are set by individual slave manufacturers. Table 4.7 NODE I/O CONFIG CODE Area Data Position Bit Number Number –...
4.1.7 NODE ID CODE The NODE ID CODE area stores the ID code of individual slaves on the ASi line. ID codes are set by individual slave manufacturers. Table 4.8 NODE ID CODE Area Data Position Bit Number Number – NODE –...
4.1.8 NODE PARAMETER The NODE PARAMETER area stores parameter data of each slave on the ASi line. Node parameters are set by individual slave manufacturers. Table 4.9 NODE PARAMETER Area Data Position Bit Number Number – NODE PARA- – METER Access the information in the above area as required.
4.1.9 Contact Input Data The following table shows the mapping of slave addresses to the contact input data area. Table 4.10 Contact Input Data Area Data Position Bit Number Number Slave 3A Slave 2A Slave 1A – Slave 7A Slave 6A Slave 5A Slave 4A Slave 11A...
4.1.10 Contact Output Data The following table shows the mapping of slave addresses to the contact output data area. Table 4.11 Contact Output Data Area Data Position Bit Number Number Slave 3A Slave 2A Slave 1A – Slave 7A Slave 6A Slave 5A Slave 4A Slave 11A...
Input/output Relays Input Relays Table 5.1 Input Relays Relay Number Description □□□ Turns on during command execution. X□□□01 Executing command Turns off when command execution completes. X□□□02 Reserved X□□□03 Turns on when command execution exits with error. X□□□04 Command error Turning off Y□□□33 also turns off this relay.
Output Relays Table 5.2 Output Relays Output Relay Name Description Number Turn on this relay to request for command execution. During execution of the requested command, relay Y□□□33 Start Command X□□□01 turns on. If execution exits without error, Command relay X□□□08 turns on. If execution exits with error, execution X□□□04 turns on.
Startup Preparation Startup The following flowchart shows the procedure for startup preparation. Start configuration Start address setup Connect addressing device to a slave Mount F3LA01-0N Set address of slave to Module to base unit required value Perform ASi cabling Setup done for all slaves? Turn on PLC power supply (Configuration mode)
Command Execution The ASi Master module provides commands to support the following functions: - Enable/disable the automatic address assignment function - Set slave address - Receive analog data - Send analog data How to Execute a Command Command Setup Area The Command Setup Area is used to store a command to be executed for performing ASi master operations.
Page 40
Command Execution Sequence Set the Command Setting and Data Settings 1-10 in the Command Setup Area appropriately by referring to Section 7.2, "Command Setup". Turn on the Start Command output relay. The Executing Command input relay turns on. While the input relay is on, no new command will be accepted.
Command Setup Command Setting Data position number: 119 Bit address Bit address Command To be set to command code according to the table below. Table 7.2 Command Setting Table 7.2 Command Codes Command Code Enable/disable automatic address assignment function $0005 Set slave address $000B Receive analog data (for v2.1 only)
Page 42
The received analog data will be stored in the Command Response Area described in Section 7.3. When reading from the command response area, take into consideration ASi communications delay (10 ms for 62 slaves). - Send Analog Data command (command code: $0019) Data position number: 120 Data Setting 1 Data Setting 2...
Command Response The command response area stores the response returned by a command execution. Table 7.4 Command Response Area Data Position Bit Number Number Returned Command Response 2 Response 1 Command Response 4 Response 3 Response Response 6 Response 5 Area Response 8 Response 7...
Programming After performing address setup for a slave, and registering the address to the LPS (List of Projected Slaves), the contact input/outputs of the slave then become addressable by a user program. Programming ASi Statuses You may check the following ASi statuses from a user program. Table 8.1 ASi Statuses Input Relay Name...
Page 46
Reading Contact Input of Slaves To read contact inputs of a slave, use a READ instruction in a user program to access registers of the ASi Master module. Data is read in word (16-bit) units. Special Module Read READ : Slot number where F3LA01-0N is installed. : First data position number for reading data (n1=87-102) : First device number for storing slave contact input value that is read.
Page 47
By storing slave contact input data into internal relays as shown below, we can then use the internal relays as substitutes for the slave contact input relays. The following program stores slave contact input data into internal relays of the ASi Master module installed in slot 4.
Page 48
Writing to Contact Outputs of Slaves To output to slave contacts, use a WRITE instruction (Special Module Write). Data is written in (16-bit) word units. Special Module Write WRITE : First device number storing data to be written to slave contact outputs. : Slot number where F3LA01-0N is installed.
Page 49
By writing to slave contact output data from internal relays as shown below, we can use the internal relays as substitutes for the slave contact output relays. The following program outputs to slave contacts using internal relays of the ASi Master module installed in slot 4.
Sample Circuits This section describes four sample circuits: Sample circuit for accessing slave contact inputs and outputs; Sample circuit for disabling automatic address assignment function; Sample circuit for detecting invalid slaves and checking ASi system error alarms; Sample circuit for changing slave address The sample programs assume that the ASi Master module is mounted in slot 4, and 62 slaves are connected.
Page 51
Sample Circuit for Accessing Slave Contact Inputs and Outputs Initialization After Powering On Slot position Transfer Slave Inputs to Internal Relays Read slave input If error, clear data Transfer Data from Internal Relays to Slave Outputs Write to slave output Table 8.1 Sample Circuit for Accessing Slave Contact Inputs and Outputs Internal relays that map to no devices contain invalid bits.
Page 52
Sample Circuit for Detecting Invalid Slaves and Checking ASi System Error Alarms Read LPS and LDS; Detect invalid slaves Read LPS Read LDS Positions of invalid slaves Bit shift right 1 Positions of invalid slaves Bit shift right 1 All slaves invalid All slaves invalid ASi System Error Alarm Alarm indicator...
Page 53
Sample Circuit for Changing Slave Address Change Slave address; Forced set AdrsSet New and current address Set up slave address Start command Change completed Figure 8.4 Sample Circuit for Changing Slave Address - Although the above circuit can be used to change or set slave addresses, we recommend using an addressing device instead for improved ease of use and maintainability.
Monitor Port Function Monitor Port Connecting the monitor port on the ASi Master module to a PC using an RS-232C cable allows a user to change the operating mode of the module, as well as display and register slaves to the list of projected list on the module. MONITOR Monitor Port MODE...
Monitoring Function After connecting the RS-232C cable, power on the module. The following message will be displayed. ------------------------------------- Enable terminal interface menu ------------------------------------- Yes - Enter ------------------------------------- If you have connected the RS-232C cable with the module already switched on, then press the <ESC>...
Page 57
The following commands are available for selection from the main menu. Command Name Description 1 - View scan-lists Display all ASi lists. ------------------------------------- AnyBus M ASI Scanlists ------------------------------------- ------------------------------------- Detected Nodes 9 10 11 12 13 14 15 × × 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63...
Page 58
Command Name Description 3- View all detected nodes Display and change information of all detected slaves. ------------------------------------- AnyBus M ASI Detected Nodes ------------------------------------- Select node to view Back - Esc ------------------------------------- Node Param > Display and change information of a specified slave. 4 - View single node Specify the slave to be changed by entering the address and pressing <Enter>.
Page 59
Command Name Description 5- Toggle Protected/Configuration Display and change operating mode. ------------------------------------- AnyBus M ASI Toggle mode ------------------------------------- Configuration Protected ------------------------------------- Module in configuration mode 1 or 2<Enter> Display and change online/offline information of specified slave. 6 - Toggle online/offline Specify the slave to be changed by entering: Address <Enter>.
Setup Function Slave address setup and configuration registration can be performed via the monitor port. Connect the monitor port of the module to the serial port of a PC using an RS-232C cross cable. Slave Address Setup You can perform slave address setup without using an addressing device, but you can only proceed with one slave at a time by connecting one blank slave (slave with address 0), and changing its address from 0 to the required address.
Page 61
------------------------------------- Select value to change ------------------------------------- 1 - Change Parameter 2 - Change NV Parameter 3 - Change NV I/O Select “7 – Change Node address”. 4 - Change NV ID 5 - Change NV Ext ID1 6 - Change NV Ext ID2 Enter the address number for the change and 7 - Change Node address press <Enter>.
This chapter describes cabling precautions for ensuring proper operation of the FA-M3 ASi Master Module. When connecting slaves to the FA-M3 ASi Master Module (F3LA01), observe the recommended conditions on cable length and connection mode, as well as precautions described in this chapter.
11-1 Troubleshooting 11.1 Troubleshooting This chapter provides information and flowchart for troubleshooting purposes when using the ASi Master Module. Error has occurred Is RDY LED lit? Go to Section 11.2, “Flowchart for Troubleshooting When RDY LED Is Not Lit” Rectify cause of sequence CPU Sequence CPU error? error.
11-2 11.2 Flowchart for Troubleshooting When RDY LED Is Not LIT RDY LED Is Not Lit Is power supply module Apply proper power voltage supplied with proper power voltage? Replace power supply module or Are RDY LEDs of other base module. modules unlit too? Is the module Push the module until it locks in place.
The ASi Master module is normally in online mode. If it is in offline 11.1-3 Contact and check with Yokogawa. mode for whatever reason, contact Yokogawa. The mode switch was turned from PROTECT position to CONFIG position. In this case, the module remains in Protected mode, 11.1-4...
11-4 11.4 Checking ASi Status Table 11.3 Checking ASi Status Trouble- Relay Number Description shooting X□□□** Number : offline X□□□17 OFFLINE_READY 11.3-1 OFF : online : ASi power supply error 11.3-2 X□□□18 POWER_FAIL OFF : ASi power supply normal : operating normally X□□□19 NORMAL_OPERATION 11.3-3...
Page 69
If the OFFLINE relay is on, the module is in offline mode. 11.3-8 The ASi Master module is normally in online mode. If it is in offline Contact Yokogawa. mode for whatever reason, contact Yokogawa. If the EEPROM_OK relay is off, 11.3-9 Replace the module.
12-1 Information on Third-party Products Obtaining Information on Third-party Products The AS-interface is an open, multi-vendor network. AS-interface compatible slave equipment, power supplies, addressing devices and cables are available from many vendors. Enquiries about AS-interface compatible equipment can be directed to the AS- International Association or the Japan AS-I Association.
July 2004 New publication Written by Product Marketing Department, Open Control Solutions Div. Yokogawa Electric Corporation Published by Yokogawa Electric Corporation 2-9-32 Nakacho, Musashino-shi, Tokyo, 180-8750, JAPAN Printed by Yokogawa Graphic Arts Co., Ltd. IM 34M6H33-01E 1st Edition : July 1.2004-00...
Need help?
Do you have a question about the FA-M3 and is the answer not in the manual?
Questions and answers