FC9Y-B644-04 FC4A SERIES Micro Programmable Logic Controller FC4A-AS62M AS-Interface Master Module User’s Manual
SAFETY PRECAUTIONS • Read this user’s manual to make sure of correct operation before starting installation, wiring, operation, maintenance, and inspection of the MicroSmart AS-Interface master module.
About This Manual This user’s manual describes brief information about the AS-Interface and the entire functions, installation, and programming of the MicroSmart AS-Interface interface module. Note: WindLDR Ver. 4.21 and higher are compatible with the AS-Interface master module. This manual describes procedures for using WindLDR Ver. 4.30. CHAPTER 1: AS-INTERFACE General information about of the Actuator-Sensor-Interface, abbreviated AS-Interface.
TABLE OF CONTENTS CHAPTER 1: AS-INTERFACE Applicable Sensors and Actuators for AS-Interface . . . . . . . . . . . . . . . . . . . . . . . . . AS-Interface System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Main Features of AS-Interface V2 with Slave Expansion Capability . . . . . . . . . . . . . . Slave Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Slave Identification . . . . . . . . . . . . . . . . . .
TABLE OF CONTENTS CHAPTER 6: AS-INTERFACE OPERANDS AS-Interface Operand Allocation Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1 I/O Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2 Status Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6 Slave List Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1: AS-INTERFACE Introduction This chapter describes general information about the Actuator-Sensor-Interface, abbreviated AS-Interface. AS-Interface is a type of field bus that is primarily intended to be used to control sensors and actuators. AS-Interface is a network system that is compatible with the IEC62026 standard and is not proprietary to any one manufacturer.
1: AS-INTERFACE AS-Interface System Requirements Master The AS-Interface master controls and monitors the status of slave devices connected to the AS-Interface bus. Normally, the AS-Interface master is connected to a PLC (sometimes called ‘host’) or a gateway. For example, the MicroSmart AS-Interface master module is connected to the MicroSmart CPU module.
1: AS-INTERFACE Main Features of AS-Interface V2 with Slave Expansion Capability The AS-Interface is a reliable bus management system in which one master periodically monitors each slave device connected on the AS-Interface bus in sequence. The master manages the I/O data, parameters, and identification codes of each slave in addition to slave addresses.
1: AS-INTERFACE Quantities of Slaves and I/O Points The quantity of slaves that can be connected to one AS-Interface bus is as follows. • Standard slaves: 31 maximum • A/B slaves: 62 maximum The limits for slave quantities given above apply when the slaves are either all standard slaves or are all A/B slaves. When 62 A/B slaves (with four inputs and three outputs) are connected, a maximum of 434 I/O points (248 inputs and 186 outputs) can be controlled over the bus.
2: MODULE SPECIFICATIONS Introduction This chapter describes specifications of the MicroSmart AS-Interface master module and applicable cables. AS-Interface Master Module Type Number Module Name Type No. AS-Interface Master Module FC4A-AS62M The AS-Interface master module can connect a maximum of 62 digital I/O slaves. A maximum of seven analog I/O slaves can also be connected to the AS-Interface master module (compliant with AS-Interface ver. 2.1 and analog slave profile 7.3).
2: MODULE SPECIFICATIONS Parts Description (5) Unlatch Button (6) Expansion Connector (1) LED Indicators (7) Module Label (2) Pushbuttons PB1 PB2 (4) AS-Interface Cable Connector (5) Unlatch Button (3) AS-Interface Cable Terminal Block (supplied with the AS-Interface master module) (1) LED Indicators (2) Pushbuttons Status LEDs: Indicate the AS-Interface bus status. I/O LEDs: Indicate the I/O status of the slave specified by the address LEDs. Address LEDs: Indicate slave addresses.
2: MODULE SPECIFICATIONS Specifications General Specifications Operating Temperature 0 to 55°C (operating ambient temperature, no freezing) Storage Temperature –25 to +70°C (no freezing) Relative Humidity Level RH1, 30 to 95% (non-condensing) Pollution Degree 2 (IEC 60664) Degree of Protection IP20 Corrosion Immunity Free from corrosive gases Altitude Operation: 0 to 2,000m (0 to 6,565 feet) Transport: 0 to 3,000m (0 to 9,840 feet) When mounted on a DIN rail: 10 to 57 Hz amplitude 0.
2: MODULE SPECIFICATIONS Applicable Cables The AS-Interface cable transfers data and supplies power to the sensors and actuators connected to the bus. The following cables can be used with the AS-Interface master module. Applicable Cable Specifications Cable Type Cable Size/Manufacturer Cable sheath color: Conductor cross section: AS-Interface Standard Cable 2-wire Flat Cable or Single Wires (See Note) Cross-sectional View Yellow 1.
3: INSTALLATION AND WIRING Introduction This chapter describes the methods and precautions for installing and wiring the AS-Interface master module. Before starting installation and wiring, be sure to read “Safety Precautions” in the beginning of this manual and understand precautions described under Warning and Caution. Warning • Turn off the power to the AS-Interface master module before starting installation, removal, wiring, maintenance, and inspection of the AS-Interface master module.
3: INSTALLATION AND WIRING Assembling Modules Caution • Assemble MicroSmart modules together before mounting the modules onto a DIN rail. Attempt to assemble modules on a DIN rail may cause damage to the modules. • Turn off the power to the MicroSmart before assembling the modules. Failure to turn power off may cause electrical shocks. The following example demonstrates the procedure for assembling the 40-I/O type CPU module and the AS-Interface master module together.
3: INSTALLATION AND WIRING Mounting on DIN Rail Caution • Install the MicroSmart modules according to instructions described in this user’s manual. Improper installation will result in falling, failure, or malfunction of the MicroSmart. • Mount the MicroSmart modules on a 35-mm-wide DIN rail or a panel surface. Applicable DIN rail: IDEC’s BAA1000NP or BAP1000NP (1000mm/39.4” long) 1. Fasten the DIN rail to a panel using screws firmly. 2.
3: INSTALLATION AND WIRING Removing the Direct Mounting Strip (A) 1. Insert a flat screwdriver under the latch of the direct mounting strip to release the latch (A). (B) 2. Pull out the direct mounting strip (B). Caution • Reusing the Direct Mounting Strip When you attempt to reuse a direct mounting strip, the hook may not catch on the recess sufficiently and may come out easily. When using a direct mounting strip again, be certain to push the hook deeply into the recess.
3: INSTALLATION AND WIRING Terminal Connection Caution • Make sure that the operating conditions and environments are within the specification values. • Be sure to connect the ground terminal on the CPU module to a proper ground, otherwise electrical shocks may be caused. • Do not touch live terminals, otherwise electrical shocks may be caused. • Do not touch terminals immediately after power is turned off, otherwise electrical shocks may be caused.
3: INSTALLATION AND WIRING AS-Interface Cable Wiring Before wiring the AS-Interface cable, remove the AS-Interface cable terminal block from the AS-Interface cable connector on the AS-Interface master module. AS-Interface specifies use of brown cables for the AS-Interface + line, and blue cables for the AS-Interface – line. Connect the cables to match the color labels on the terminal block. Tighten the terminal screws to a torque of 0.5 to 0.6 N·m.
4: OPERATION BASICS Introduction This chapter describes general information about simple operating procedures for the basic AS-Interface system from programming WindLDR on a computer to monitoring the slave operation. AS-Interface System Setup The sample AS-Interface system consists of the following devices: Name Type No. Description MicroSmart Slim Type CPU Module FC4A-D20RK1 System program version 201 or later MicroSmart AS-Interface Master Module FC4A-AS62M — WindLDR FC9Y-LP2CDW Version 4.
4: OPERATION BASICS Selecting the PLC Type Start WindLDR on a computer. 1. From the WindLDR menu bar, select Configure > PLC Selection. The PLC Selection dialog box appears. 2. Select MicroSmart-20Ry. 3. Click OK to save changes and return to the ladder editing screen. Function Area Settings Use of the AS-Interface master module must be selected in the Function Area Settings dialog box. 1. From the WindLDR menu bar, select Configure > Function Area Settings. The Function Area Settings dialog box appears.
4: OPERATION BASICS Assigning a Slave Address AS-Interface compatible slave devices are set to address 0 at factory. Connect the slave to the AS-Interface master module as shown on page 4-1. Do not connect two or more slaves with slave address 0, otherwise the AS-Interface master module cannot recognize slave addresses correctly. 1. Power up the MicroSmart CPU module first. Approximately 5 seconds later, turn on the AS-Interface power supply.
4: OPERATION BASICS Configuring a Slave Next, you have to set the slave configuration in the AS-Interface master module, either by using pushbuttons PB1 and PB2 on the AS-Interface master module or WindLDR. Configuration Using Pushbuttons PB1 and PB2 Shut down and power up again. Press PB1 and PB2. Press PB2. Press PB1. 1. Check that PWR LED and CMO LED on the AS-Interface master module are on (normal protection mode). 2. Press pushbuttons PB1 and PB2 together for 3 seconds.
4: OPERATION BASICS Configuration Using WindLDR Slave configuration can be set using WindLDR in two ways; using the Auto Configuration or Manual Configuration button on the Configure AS-Interface Master dialog box. 1. Click the Auto Configuration button to store the configuration information (LDS, CDI, PI) of the connected slaves to the EEPROM (LPS, PCD, PP) in the AS-Interface master module. For details, see page 7-3.
4: OPERATION BASICS Monitoring Digital I/O, and Changing Output Status and Parameters While the MicroSmart is communicating with AS-Interface slaves through the AS-Interface bus, operating status of ASInterface slaves can be monitored using WindLDR on a PC. Output statuses and parameter image (PI) of slaves connected to the AS-Interface master module can also be changed using WindLDR. 1. From the WindLDR menu bar, select Online > Monitor.
4: OPERATION BASICS Troubles at System Start-up The following table summarizes possible troubles at system start-up, probable causes and actions to be taken. Trouble Cause and Action • AS-Interface power is not supplied to the AS-Interface master module. Check that PWR LED is off. (power) wiring is correct and AS-Interface power is supplied. • Power is not supplied from the CPU module to the AS-Interface master module. Check the connection between the CPU module and the AS-Interface master module.
4: OPERATION BASICS 4-8 MICROSMART AS-INTERFACE MASTER MODULE USER’S MANUAL
5: PUSHBUTTONS AND LED INDICATORS Introduction This chapter describes the operation of pushbuttons PB1 and PB2 on the AS-Interface master module to change operation modes, and also explains the functions of address and I/O LED indicators. Pushbutton Operation The operations performed by pushbuttons PB1 and PB2 on the front of the AS-Interface master module depend on the duration of being pressed.
5: PUSHBUTTONS AND LED INDICATORS AS-Interface Master Module Operation Modes The AS-Interface master module has two modes of operation: connected mode is used for actual operation, and local mode is used for maintenance purposes. Connected Mode In connected mode, the CPU module communicates with the AS-Interface master module to monitor and control each slave. Connected mode is comprised of the following three modes.
5: PUSHBUTTONS AND LED INDICATORS LED Indicators The LED indicators on the AS-Interface master module consist of status LEDs, I/O LEDs, and address LEDs. Address LEDs (0x to 3x) Status LEDs Address LEDs (x0 to x9) Input LEDs Output LEDs Address LEDs (A and B) LED Indicators Description PWR (AS-Interface power supply) Indicates the status of the AS-Interface power supply for the AS-Interface master module. Goes on when the AS-Interface power is supplied sufficiently.
5: PUSHBUTTONS AND LED INDICATORS Status LEDs The operation modes of the AS-Interface master module can be changed by pressing the pushbuttons on the front of the AS-Interface master module or by executing ASI commands. The operation modes can be confirmed on the six status LEDs on the AS-Interface master module. For details about the ASI commands, see page 6-17.
6: AS-INTERFACE OPERANDS Introduction This chapter describes AS-Interface operands, or internal relays M1300 through M1997 and data registers D1700 through D1999, assigned in the CPU module to control and monitor the AS-Interface bus, and provides detailed description about internal relays allocated to SwitchNet™ control units for use as slaves in the AS-Interface network. Also describes ASI commands used to update AS-Interface operands in the CPU module or to control the AS-Interface master module.
6: AS-INTERFACE OPERANDS I/O Data The AS-Interface master module can process digital I/O data and analog I/O data. Digital I/O data can be a maximum of 4 digital inputs and 4 digital outputs per slave. Analog I/O data consists of 4 channels of 16-bit analog input or output data per slave.
6: AS-INTERFACE OPERANDS • Digital Output Data Image Data Format Output Data Image (ODI) 7 (DO3) 6 (DO2) 5 (DO1) 4 (DO0) 3 (DO3) 2 (DO2) 1 (DO1) M1620 Byte 0 Slave 1(A) (Slave 0) M1630 Byte 1 Slave 3(A) Slave 2(A) M1640 Byte 2 Slave 5(A) Slave 4(A) M1650 Byte 3 Slave 7(A) Slave 6(A) M1660 Byte 4 Slave 9(A) Slave 8(A) M1670 Byte 5 Slave 11(A) Slave 10(A) M1680 Byte 6 Slave 13(A) Slave 12(A) M1690 Byte 7 Slave 15(A) Slave 14(A) M1700 Byte 8 Slave 17(A) Slave 16(A) M
6: AS-INTERFACE OPERANDS Analog I/O Data of Analog Slaves The I/O data for a maximum of seven analog slaves (four channels for each slave) on the AS-Interface bus is stored to ASInterface data registers in the CPU module. The analog slave addresses (1 to 31) are in the ascending order. The input data for each analog slave is allocated to data registers D1700 to D1731, and the output data is allocated to D1732 to D1763. The AS-Interface master module is compliant with analog slave profile 7.3.
6: AS-INTERFACE OPERANDS • Analog Output Data Analog Output Channel No.
6: AS-INTERFACE OPERANDS Status Information The status information is allocated to AS-Interface internal relays M1940 through M1997. These internal relays are used to monitor the status of the AS-Interface bus. If an error occurs on the bus, you can also confirm the error with the status LEDs on the front of the AS-Interface master module in addition to these status internal relays.
6: AS-INTERFACE OPERANDS M1943 Auto_Address_Available M1943 indicates whether or not the conditions for the auto addressing function are satisfied. M1943 goes on when the auto addressing function is enabled and there is one faulty slave (a slave which cannot be recognized by the AS-Interface master module) on the AS-Interface bus. M1944 Configuration M1944 indicates whether the AS-Interface master module is in configuration mode (on) or other mode (off).
6: AS-INTERFACE OPERANDS Slave List Information Data registers D1764 through D1779 are assigned to slave list information to determine the operating status of the slaves. The slave list information is grouped into four lists. List of active slaves (LAS) shows the slaves currently in operation. List of detected slaves (LDS) the slaves detected on the AS-Interface bus. List of peripheral fault slaves (LPF) the faulty slaves.
6: AS-INTERFACE OPERANDS Slave Identification Information (Slave Profile) Data registers D1780 through D1940 are assigned to the slave identification information, or the slave profile. The slave profile includes configuration data and parameters to indicate the slave type and slave operation, respectively. Configuration Data Image (CDI) Data registers D1780 through D1843 are allocated to read the CDI of each slave.
6: AS-INTERFACE OPERANDS Parameter Image (PI) Data registers D1908 through D1923 are allocated to read the PI of each slave. The PI is made up of four parameters: the P3, P2, P1, and P0. The PI is the current slave parameter data collected by the AS-Interface master module at power-up and stored in the AS-Interface master module. To change the PI settings, use WindLDR (Slave Status dialog box) or execute the ASI command Change Slave PI.
6: AS-INTERFACE OPERANDS SwitchNet Data I/O Port SwitchNet control units can be used as slaves in the AS-Interface network and are available in ø16mm L6 series and ø22mm HW series. Input signals to the MicroSmart AS-Interface master module are read to internal relays allocated to each input point designated by a slave number and a DI number.
6: AS-INTERFACE OPERANDS HW Series Digital I/O Data Allocation Input data is sent from slaves to the AS-Interface master. Output data is sent from the AS-Interface master to slaves.
6: AS-INTERFACE OPERANDS Internal Relays for SwitchNet Slaves • L6 Series Slave Number (Slave 0) Slave 1(A) Slave 2(A) Slave 3(A) Slave 4(A) Slave 5(A) Slave 6(A) Slave 7(A) Slave 8(A) Slave 9(A) Slave 10(A) Slave 11(A) Slave 12(A) Slave 13(A) Slave 14(A) Slave 15(A) Slave 16(A) Slave 17(A) Slave 18(A) Slave 19(A) Slave 20(A) Slave 21(A) Slave 22(A) Slave 23(A) Slave 24(A) Slave 25(A) Slave 26(A) Slave 27(A) Slave 28(A) Slave 29(A) Slave 30(A) Slave 31(A) Slave 1B Slave 2B Slave 3B Slave 4B Slave 5B Slave
6: AS-INTERFACE OPERANDS • L6 Series (continued) Slave Number (Slave 0) Slave 1(A) Slave 2(A) Slave 3(A) Slave 4(A) Slave 5(A) Slave 6(A) Slave 7(A) Slave 8(A) Slave 9(A) Slave 10(A) Slave 11(A) Slave 12(A) Slave 13(A) Slave 14(A) Slave 15(A) Slave 16(A) Slave 17(A) Slave 18(A) Slave 19(A) Slave 20(A) Slave 21(A) Slave 22(A) Slave 23(A) Slave 24(A) Slave 25(A) Slave 26(A) Slave 27(A) Slave 28(A) Slave 29(A) Slave 30(A) Slave 31(A) Slave 1B Slave 2B Slave 3B Slave 4B Slave 5B Slave 6B Slave 7B Slave 8B Slave
6: AS-INTERFACE OPERANDS • HW Series Slave Number (Slave 0) Slave 1(A) Slave 2(A) Slave 3(A) Slave 4(A) Slave 5(A) Slave 6(A) Slave 7(A) Slave 8(A) Slave 9(A) Slave 10(A) Slave 11(A) Slave 12(A) Slave 13(A) Slave 14(A) Slave 15(A) Slave 16(A) Slave 17(A) Slave 18(A) Slave 19(A) Slave 20(A) Slave 21(A) Slave 22(A) Slave 23(A) Slave 24(A) Slave 25(A) Slave 26(A) Slave 27(A) Slave 28(A) Slave 29(A) Slave 30(A) Slave 31(A) Slave 1B Slave 2B Slave 3B Slave 4B Slave 5B Slave 6B Slave 7B Slave 8B Slave 9B Slave 10
6: AS-INTERFACE OPERANDS • HW Series (continued) Slave Number (Slave 0) Slave 1(A) Slave 2(A) Slave 3(A) Slave 4(A) Slave 5(A) Slave 6(A) Slave 7(A) Slave 8(A) Slave 9(A) Slave 10(A) Slave 11(A) Slave 12(A) Slave 13(A) Slave 14(A) Slave 15(A) Slave 16(A) Slave 17(A) Slave 18(A) Slave 19(A) Slave 20(A) Slave 21(A) Slave 22(A) Slave 23(A) Slave 24(A) Slave 25(A) Slave 26(A) Slave 27(A) Slave 28(A) Slave 29(A) Slave 30(A) Slave 31(A) Slave 1B Slave 2B Slave 3B Slave 4B Slave 5B Slave 6B Slave 7B Slave 8B Slave
6: AS-INTERFACE OPERANDS ASI Commands The ASI commands are used to update AS-Interface operands in the CPU module or to control the AS-Interface master module. Data registers D1941 through D1944 are used to store command data. D1945 is used to store a request code before executing the command. While the command is executed, D1945 stores status and result codes.
6: AS-INTERFACE OPERANDS Request and Result Codes D1945 Value Lower Byte Description Note 00h Initial value at power up 01h Request 02h Processing ASI command 04h Completed normally 08h (Executing configuration) 14h Peripheral device failure 24h ASI command error 74h Impossible to execute 84h Execution resulting in error While D1945 lower byte stores 01h, 02h, or 08h, do not write any value to D1945, otherwise the ASI command is not executed correctly.
7: USING WINDLDR Introduction This chapter describes the procedures to use WindLDR for the AS-Interface system. WindLDR contains the Configure ASInterface Master dialog box to configure slaves and to change slave addresses, and the Monitor AS-Interface Slave dialog box to monitor the slave operation. For the procedures to select the PLC type and Function Area Settings, see page 4-2.
7: USING WINDLDR Slave Address Shading Colors Operating status of the slave can be confirmed by viewing the shading color at the slave address on the Configure ASInterface Master dialog box. The screen display can be updated by clicking the Refresh button. Address Shading Description LAS LDS LPF LPS List of active slaves List of detected slaves List of peripheral fault slaves List of projected slaves No Shade The slave is not recognized by the master.
7: USING WINDLDR Configuration Before commissioning the AS-Interface master module, configuration must be done using either WindLDR or the pushbuttons on the front of the AS-Interface master module. This section describes the method of configuration using WindLDR. Configuration is the procedure to store the following information to the AS-Interface master module EEPROM.
7: USING WINDLDR Monitor AS-Interface Slave While the MicroSmart is communicating with AS-Interface slaves through the AS-Interface bus, operating status of ASInterface slaves can be monitored using WindLDR on a PC. Output statuses and parameter image (PI) can also be changed using WindLDR. To open the Monitor AS-Interface Slaves dialog box, from the WindLDR menu bar, select Online > Monitor. From the WindLDR menu bar, select Online, and select Monitor AS-Interface Slaves in the pull-down menu.
7: USING WINDLDR Error Messages When an error is returned from the AS-Interface master module, WindLDR will display an error message. The error codes and their meanings are given below. Error Code Description 1 • An error was found on the expansion I/O bus. • While the AS-Interface master module was in offline mode, attempt was made to perform auto 2 configuration or manual configuration. • An incorrect command was sent.
7: USING WINDLDR 7-6 MICROSMART AS-INTERFACE MASTER MODULE USER’S MANUAL
INDEX A C D A/B slaves 1-3 address LEDs 5-3 and I/O LEDs 5-4 addressing tool 1-3 allocation numbers 6-1 analog I/O data 6-4 input data 6-4 output data 6-5 slave profile 6-4 APF/not APO 6-7 applicable cables 2-4 sensors and actuators 1-1 ASI commands 6-17 AS-Interface 1-1 bus cycle time 1-4 topology and maximum length 1-4 cable wiring 3-6 operand allocation numbers 6-1 operands 6-1 power supply 1-2 standard cable 2-4 system setup 4-1 assembling modules 3-2 assigning a slave address 4-3 Auto_Address_Assign
INDEX send data 6-11, 6-12 specifications 2-1, 2-3 standard cable 2-4 slaves 1-3 status information 6-6 internal relays 6-6 LEDs 5-3, 5-4 strip direct mounting 3-3 SwitchNet 6-2 data I/O port 6-11 slaves internal relays 6-13 system requirements 1-2 setup 4-1 hole layout for direct mounting 3-4 on DIN rail 3-3 on panel surface 3-3 position communication block 6-12 strip 3-3 N normal protected data exchange off 5-2 mode 5-2 offline 5-2 Normal_Operation_Active 6-7 O ODI 6-3 Off-line 6-7 Offline_Ready 6-7
JAPAN IDEC IZUMI CORPORATION 7-31, Nishi-Miyahara 1-Chome, Yodogawa-ku, Osaka 532-8550, Japan Tel: +81-6-6398-2571 Fax: +81-6-6392-9731 www.idec.com UNITED STATES IDEC CORPORATION 1175 Elko Drive, Sunnyvale, CA 94089-2209, USA Tel: +1-408-747-0550 Toll Free: (800) 262-IDEC Fax: +1-408-744-9055 Fax: +1-800-635-6246 E-mail: opencontact@idec.com www.idec.