- Account
- Join for Free
- Sign In
- Help & Info
- Privacy Notice
- DMCA
- Contact Us
- Terms Of Use
MICRO 3 C PLC User 9s Manual U SER 9 S M ANUAL P REFACE -1 S AFETY P RECAUTIONS "Read this user 9s manual to make sure of correct operation before starting installation, wiring, operation, maintenance, and inspection of the MICRO 3 C. "All MICRO 3 C 9s are manufactured under IDEC 9s rigorous quality control system, but users must add a backup or failsafe provision to the control system using the MICRO 3 C in applications where heavy damage or personal injury may be caused in case the MICRO 3 C should fail. "In this user 9s manual, safety precautions are categorized in order of importance to Warning and Caution: "Turn power off to the MICRO 3 C before starting installation, removal, wiring, maintenance, and inspection on the MICRO 3 C .
Failure to turn power off may cause electrical shocks or dre hazard. "Special expertise is required to install, wire, program, and operate the MICRO 3 C . People without such expertise must not use the MICRO 3 C .
"Emergency and interlocking circuits must be condgured outside the MICRO 3 C . If such a circuit is condgured inside the MICRO 3 C , failure of the MICRO ... more.
less.
3 C may cause disorder of the control system, damage, or accidents. "Install the MICRO 3 C according to instructions described in this user 9s manual and the MICRO 3 user 9s manual.<br><br> Improper installation will result in falling, failure, or malfunction of the MICRO 3 C . " MICRO 3 C is designed for installation in equipment. Do not install the MICRO 3 C outside of equipment.<br><br> "Install the MICRO 3 C in environments described in this user 9s manual and the MICRO 3 user 9s manual. If the MICRO 3 C is used in places where the MICRO 3 C is subjected to high-temperature, high-humidity, condensation, corrosive gases, excessive vibrations, and excessive shocks, then electrical shocks, dre hazard, or malfunction will result. " MICRO 3 C is designed for use in cPollution degree 2. d Use the MICRO 3 C in environments of pollution degree 2 (according to IEC664-1).<br><br> "All DC power type MICRO 3 C units are cPS2 d type (according to EN61131). "Prevent the MICRO 3 C from falling while moving or transporting the MICRO 3 C , otherwise damage or malfunction of the MICRO 3 C will result. "Prevent metal fragments and pieces of wire from dropping inside the MICRO 3 C housing.<br><br> Put a cover on the MICRO 3 C during installation and wiring. Ingress of such fragments and chips may cause dre hazard, damage, or malfunction. "Use a power supply of the rated value.<br><br> Use of a wrong power supply may cause dre hazard. "Use wires of a proper size to meet voltage and current requirements. Tighten M3 terminal screws to a proper tightening torque of 0.3 to 0.5 N-m.<br><br> "Use an IEC127-approved fuse (2A maximum) on the power line outside the MICRO 3 C . This is required when exporting equipment containing MICRO 3 C to Europe. "Use an IEC127-approved fuse on the output circuit.<br><br> This is required when exporting equipment containing MICRO 3 C to Europe. "Use an EU-approved circuit breaker. This is required when exporting equipment containing MICRO 3 C to Europe.<br><br> "Make sure of safety before starting and stopping the MICRO 3 C or when operating the MICRO 3 C to force outputs on or off. Incorrect operation on the MICRO 3 C may cause machine damage or accidents. "If relays in the MICRO 3 C output circuit fail, outputs may remain on or off.<br><br> For output signals which may cause heavy acci- dents, provide a monitor circuit outside of the MICRO 3 C . "Do not connect to the ground directly from the MICRO 3 C . Connect a protective ground to the equipment containing MICRO 3 C using an M4 or larger screw.<br><br> This is required when exporting equipment containing MICRO 3 C to Europe. "Do not disassemble, repair, or modify the MICRO 3 C . "When the battery in the MICRO 3 C is dead, dispose of the battery in accordance with pertaining regulations.<br><br> When taking back the dead battery to the store or disposing of the dead battery, use a proper container installed for that purpose. This is required when exporting equipment containing MICRO 3 C to Europe. "When disposing of the MICRO 3 C , do so as an industrial waste.<br><br> "When the battery in the memory card is dead, dispose of the battery in accordance with pertaining regulations. Warning Caution Warning notices are used to emphasize that improper operation may cause severe personal injury or death. Caution notices are used where inattention might cause personal injury or damage to equipment.<br><br> Warning Caution P REFACE -2U SER 9 S M ANUAL MICRO 3 C USER 9S MANUAL This user 9s manual primarily describes MICRO 3 C 9s additional functions not included in the MICRO 3 programmable control- lers. For installation instructions, general specidcations, and common functions shared with the MICRO 3 such as basic and advanced instructions, allocation numbers, and FUN settings, see the MICRO 3 user 9s manual. MICRO 3 C and MICRO 3 Comparison Program Loader for MICRO 3 C To use the expanded capabilities of the MICRO 3 C such as new advanced instructions for communication and comparison and increased data registers, use an upgraded program loader of version 2.00 or later.<br><br> To check the program loader version, read FUN31 (program loader version readout/hardware check) using the FUN31 and keys on the program loader. To edit user programs for MICRO 3 C , read FUN11 (program capacity and PLC type selection) on the program loader, and set the fourth line in the FUN11 screen to 1 to select MICRO 3 C as the PLC type, using the FUN11, , , , 1, and keys. Since the loader port on the MICRO 3 C uses RS232C communication while the loader port on the MICRO 3 uses RS485, a dif- ferent loader cable is needed to connect the program loader to MICRO 3 C or MICRO 3 .<br><br> Use loader cable 3C (FC2A-KL3C) to connect a program loader to the MICRO 3 C loader port. A program loader can also be connected to the data link terminals on the MICRO 3 C using loader cable 4C (FC2A-KL4C). In either case, loader protocol must be selected for the loader port or data link terminals using the protocol selector switch.<br><br> For selection of the protocol selector switch, see page 1-2. Note: The upgraded program loader of version 2.00 or later can also be connected to the MICRO 3 using MICRO 3 loader cable FC2A-KL1 or FC2A-KL2. PLC MICRO 3 CMICRO 3 Advanced Instructions 40 (TXD, RXD, CMP2 added; ANR1 deleted) 38 Data Registers Standard Processing500 points100 points High-speed Processing32 points32 points Analog Potentiometers1 point 1 point (10 I/O type) 2 points (16/24 I/O types) Communication SpeciWcations Loader PortStandardsEIA RS232CEIA RS485 Data Link Terminal StandardsEIA RS485EIA RS485 Baud Rate Expansion/data link communication: 19,200 bps (Wxed) Loader protocol communication: 9,600 bps (Wxed) Expansion/data link communication: 19,200 bps (Wxed) Weight (approx.) 380g (16 I/O type) 430g (24 I/O type) 290g (10 I/O type) 350g (16 I/O type) 390g (16 I/O AC input type) 400g (24 I/O type) Standards EN55011 Group 1, Class A EN50082-2 UL508, CSA C22.2, No.<br><br> 142 EN61131-1, EN61131-2, EN60204-1 EN61131-1, EN61131-2, EN60204-1 IEC801-2, -3, -4 PrEN50082-2, EN55011 UL508, CSA C22.2, No. 142 CertiWcation File No. TÜV Product Service B950913332 UL E102542 CSA LR66809 TÜV Product Service E9 95 09 13332 313 UL E102542 CSA LR66809 IMPORTANT INFORMATION Under no circumstances shall IDEC Corporation be held liable or responsible for indirect or consequential damages resulting from the use of or the application of IDEC PLC components, individually or in combination with other equipment.<br><br> All persons using these components must be willing to accept responsibility for choosing the correct component to suit their ap pli- cation and for choosing an application appropriate for the component, individually or in combination with other equipment. All diagrams and examples in this manual are for illustrative purposes only. In no way does including these diagrams and examples in this manual constitute a guarantee as to their suitability for any specific application.<br><br> To test and approve all pr o- grams, prior to installation, is the responsibility of the end user. U SER 9 S M ANUAL i T ABLE OF C ONTENTS C H APTER 1: G ENERAL I NFORMATION Features . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 1-1 Parts Description .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 1-1 System Setup . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 1-3 Communication Specifications . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 1-8 Dimensions . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 1-10 C H APTER 2: A LLOCATION N UMBERS Allocation Numbers . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 2-1 I/O Allocation Numbers for Expansion Link System .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 2-2 Special Internal Relays .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 2-3 Data Register Allocation Numbers . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 2-4 Expansion Control Data Registers . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 2-4 C H APTER 3: C OMMUNICATION M ONITOR System Setup .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 3-1 FUN29: User Communication Status Readout .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 3-1 FUN50: User Communication Data Monitor . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 3-2 C H APTER 4: M ODEM M ODE System Setup . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 4-1 Applicable Modems . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 4-1 Internal Relays for Modem Mode .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 4-2 Data Registers for Modem Mode . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 4-2 Originate Mode . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 4-3 Disconnect Mode . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 4-5 AT General Command Mode . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 4-5 Answer Mode .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 4-6 Initialization String Commands .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 4-7 Preparation before Using Modem .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 4-8 Setting Communication Parameters . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 4-8 Programming Data Registers and Internal Relays .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 4-8 Operating Procedure . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 4-9 Sample Program for Modem Originate Mode .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 4-9 Checking Modem Operation . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 4-10 C H APTER 5: U SER C OMMUNICATION I NSTRUCTIONS B1 TXD (Transmit) .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 5-1 B2 RXD (Receive) . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 5-8 C H APTER 6: C OMPARISON I NSTRUCTION B3 CMP2 (Double-word Comparison) . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 6-1 C H APTER 7: C OMPUTER L INK Computer Link 1:N Communication . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 7-1 Computer Link 1:N Communication Using Modems . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 7-2 RS232C/RS485 Converter FC2A-MD1 . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 7-3 RS232C Cable HD9Z-C52 . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 7-4 AC Adapter . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 7-4 T ABLE OF C ONTENTS iiU SER 9 S M ANUAL C H APTER 8: S AMPLE P ROGRAM 3 U SER C OMMUNICATION TXD System Setup . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 8-1 Description of Operation . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 8-1 Programming Expansion Control Data Registers .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 8-1 Setting Communication Parameters .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 8-2 Ladder Diagram . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 8-2 C H APTER 9: S AMPLE P ROGRAM 3 U SER C OMMUNICATION TXD & RXD System Setup . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 9-1 Description of Operation . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 9-1 Setting Communication Parameters .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 9-2 BASIC Program Display Example . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 9-2 BASIC Program . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 9-3 Ladder Diagram .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 9-4 C H APTER 10: S AMPLE P ROGRAM 3 M ODEM C OMMUNICATION System Setup . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 10-1 Allocation Numbers (Remote Station) . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 10-2 Allocation Numbers (Local Station) . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 10-3 Description of Operation .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 10-3 Ladder Diagram (Remote Station) . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 10-4 Ladder Diagram (Local Station) . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 10-6 C H APTER 11: T ROUBLESHOOTING Error Causes and Actions .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . 11-1 User Communication Error .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . 11-2 Troubleshooting Diagrams . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> 11-3 A PPENDIX Type List . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . A-1 ASCII Character Code Table . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> . . .<br><br> A-2 I NDEX U SER 9 S M ANUAL 1-1 1: G ENERAL I NFORMATION Introduction This chapter describes general information about additional functions and specidcations incorporated in the MICRO 3 C . For general information, functions, and specidcations inherited from the MICRO 3 , see the MICRO 3 User 9s Manual. Features MICRO 3 C has upgraded functions for communications.<br><br> The new functions are particularly useful for modem communica- tion, user communication, and monitoring data communication. User Communication Function MICRO 3 C has an RS232C loader port in place of the RS485 loader port on the MICRO 3 . The more widely applicable RS232C loader port can be directly connected to any equipment with an RS232C communication port.<br><br> New advanced instructions for transmitting and receiving data make it possible to set up a communication system using various communication formats. The user communication function can be used only in the standard processing mode, not in the high-speed processing mode. Increased Data Registers Since data communication requires more data registers, MICRO 3 C has 500 data registers (D0 through D499) expanded from 100 data registers in the MICRO 3 .<br><br> All expanded data registers except D499 can be used to program instructions. In the high-speed processing mode, available data registers are limited to 32 (D0 through D31) as with the MICRO 3 . Double-word Comparison of Data Registers Double-word comparison instruction is added to compare data in data registers.<br><br> Two consecutive data registers designated by a source operand are compared with two consecutive data registers designated by another source operand. When used with a repeat designation, one double-word comparison instruction can execute a maximum of 31 double-word compari- son operations. With a repeat designation, the results of all double-word comparisons can not only be available individu- ally but also be ANDed; so the comparison results can be easily determined even when comparing a large quantity of data.<br><br> Parts Description The dgure above illustrates the 16-I/O type MICRO 3 C base unit. Function Selector Switch Selects the station function in the expansion or data link system. Analog Potentiometer Sets the analog value for the analog timer, frequency, or pulse width of pulse outputs.<br><br> MICRO 3 C has only one potentiometer while 16- and 24-I/O type MICRO 3 base units have two potentiometers. Loader Port For connecting the program loader or computer. The loader port can also be used as a user communication port when user protocol is selected with the protocol selector switch.<br><br> 01 3 7 0 1 2 6 5 4 DATA LINK ASG B 56710 3 7 0 1 2 6 5 4 Protocol Selector Switch Selects the communication protocol for the loader port (loader proto- col or user protocol) and the data link terminals (data link/expansion link or loader protocol). Data Link Terminals For connecting the data link line in the expansion link or data link system. The data link terminals can also be used for connecting the program loader or computer when loader protocol is selected with the protocol selector switch.<br><br> Communication Enable Button Enables the communication mode selected with the protocol selector switch. When the protocol selector switch setting is changed while the MICRO 3 C is powered up, press this button to enable the new com- munication mode for the loader port and data link terminals. 1: G ENERAL I NFORMATION 1-2U SER 9 S M ANUAL Protocol Selector Switch The protocol selector switch is used to select communication modes for the RS232C loader port and the RS485 data link terminals.<br><br> When the MICRO 3 C is powered up, the selected communication modes are enabled automatically. If the protocol selector switch setting is changed after the MICRO 3 C is powered up, the new setting does not take effect until the commu- nication enable button is depressed. Communication Protocols for Loader Port and Data Link Terminals Loader protocol: The protocol used for communication between MICRO 3 C and program loader or CUBIQ on computer.<br><br> User protocol: The protocol used for user communication instructions (RS232C) Data link protocol: The protocol used for communication in the expansion link or data link (RS485). Note 1: When the protocol selector switch is set to 4, the communication parameters for the loader port are arbitrarily set to the default values of FUN8 (loader port communication mode setting); baud rate 9,600 bps, terminator code 0D, 7 data bits, even parity, 1 stop bit, and receive timeout 500 msec. Any change in FUN8 values does not take effect.<br><br> The communi- cation parameters for the data link terminals using the loader protocol are dxed and the same as the FUN8 default values. Note 2: When the protocol selector switch is set to 5 through 7, the ERR1 indicator on the MICRO 3 C blinks and the MICRO 3 C does not start to run. Communication Enable Button While the MICRO 3 C is powered up, pressing the communication enable button for more than 4 seconds until the ERR1 indicator blinks once makes the MICRO 3 C read the settings on the protocol selector switch and function selector switch.<br><br> Then the MICRO 3 C updates the communication modes for the loader port and data link terminals. This button is useful when you want to change the communication mode without turning power off. Function Selector Switch When the protocol selector switch is set to 0 or 1, the data link terminals can be used for expansion link or data link com- munication.<br><br> Then the function selector switch selects the station function for each MICRO 3 C in the expansion link or data link system. The function of the function selector switch on the MICRO 3 C is the same as that on the MICRO 3 . When the pro- tocol selector switch is set to 2 through 4 to select loader protocol for the data link terminals, the function selector switch setting has no effect.<br><br> MICRO 3 C Station Function by Function Selector Switch Position Protocol Selector Switch PositionLoader Port ProtocolData Link Terminal ProtocolRemarks 0 Loader protocolData link protocol 1 User protocolData link protocol 2 Loader protocolLoader protocol 3 User protocolLoader protocol 4 Loader protocolLoader protocolFor maintenance (Note 1) 5 through 7 ReservedReserved(Note 2) Function Selector Switch Position MICRO 3 C Station Function 0 Base or master station 1 Slave station 1 2 Slave station 2 3 Slave station 3 4 Slave station 4 5 Slave station 5 6 Slave station 6 7 Expansion station Warning If the communication enable button is pressed while the MICRO 3 C is in operation, the user program execution is stopped and all outputs are forced off. 1: G ENERAL I NFORMATION U SER 9 S M ANUAL 1-3 System Setup This section describes various system condgurations using the MICRO 3 C and required settings. Selecting Communication Mode Set the function selector switch and the protocol selector switch to select a desired communication mode for the loader port and data link terminals.<br><br> After changing the settings of the function selector switch and protocol selector switch while the MICRO 3 C is powered up, press the communication enable button for more than 4 seconds until the ERR1 indicator blinks once; then the new communication mode takes effect. When the MICRO 3 C is powered up, the MICRO 3 C checks the settings of the function selector switch and protocol selector switch and enables the selected communication mode auto- matically. You have to press the communication enable button only when you change the communication mode while the MICRO 3 C is powered up.<br><br> Connecting Program Loader to the Loader Port When connecting a program loader to the loader port on the MICRO 3 C , set the protocol selector switch to 0, 2, or 4 to select loader protocol for the loader port. Use the loader cable 3C to connect the program loader to the MICRO 3 C loader port. Connecting the Cable The program loader has a cover on the top to select the loader cable connection port or AC adapter jack.<br><br> Slide the cover to the right to open the loader cable connection port. Connect the connector of the loader cable to the loader cable connec- tion port on the program loader and the other connector of the cable to the loader port on the MICRO 3 C as indicated on the direction labels. Warning If the communication enable button is pressed while the MICRO 3 C is in operation, the user program execution is stopped and all outputs are forced off.<br><br> Caution Special cables are needed to connect to the loader port on the MICRO 3 C . Loader cables for the MICRO 3 such as FC2A-KL1 (2m/6.56 ft. long) and FC2A-KL2 (5m/16.4 ft.<br><br> long) cannot be used for the MICRO 3 C . Cables used for connecting to the loader port on the MICRO 3 C cannot be used for the MICRO 3 . If a wrong cable is used, machine damage may result.<br><br> When connecting and disconnecting the loader cable, be sure to hold the connec- tor. Since the connector has a latch, the cable cannot be removed holding the cable. Make sure of correct direction of the cable as indicated on the direction labels attached near the connectors on the cable.<br><br> Loader Cable 3C FC2A-KL3C (2m/6.56 ft. long) The loader cable 3C has an RS232C/RS485 converter in the middle. Slide the cover to the right Loader Cable Connection Port 1: G ENERAL I NFORMATION 1-4U SER 9 S M ANUAL Connecting Program Loader to the Data Link Terminals A program loader can also be connected to the data link terminals on the MICRO 3 C when the protocol selector switch is set to 2, 3, or 4 to select loader protocol for the data link terminals.<br><br> This capability is particularly useful to monitor the com- munication data transmitted through the loader port while user communication or modem communication is performed with the protocol selector switch set to 3. Connecting the Cable The program loader has a cover on the top to select the loader cable connection port or AC adapter jack. Slide the cover to the right to open the loader cable connection port.<br><br> Connect the connector of the loader cable to the loader cable con- nection port on the program loader and the three spade terminals on the other end of the cable to the data link terminals on the MICRO 3 C as indicated on the marker tubes. Connecting an AC Adapter Connect an AC adapter to the power supply box in the middle of the loader cable 4C to supply power to the program loader. Applicable output plug of the AC adapter is shown on the right.<br><br> Loader Cable 4C FC2A-KL4C (2m/6.56 ft. long) The loader cable 4C has a power supply box in the middle. AC Adapter (Output: 5V DC) The loader cable 4C is not supplied with an AC adapter, which must be prepared by the user.<br><br> Note: AC adapters for IDEC 9s FA series PLCs cannot be used. (RS485) (RS485) Slide the cover to the right Loader Cable Connection Port 9.5 ø2.1 ø5.5 Polarity + 3 Dimensions in mm. Caution When a program loader or computer running CUBIQ is connected to the data link terminals and a communication device is connected to the loader port at the same time to perform communications shown below, multi-stage comparison instruction HSC1 cannot be used.<br><br> Data link terminals:Used for loader protocol communication Loader port:Used for loader protocol communication at 19,200 bps 1: G ENERAL I NFORMATION U SER 9 S M ANUAL 1-5 Computer Link through Loader Port To set up a 1:1 computer link system, connect an IBM PC or compatible to the MICRO 3 C using the computer link cable 4C (FC2A-KC4C). Set the protocol selector switch to 0, 2, or 4 to select loader protocol for the loader port. Computer Link through Data Link Terminals A 1:1 computer link system can also be set up through the data link terminals on the MICRO 3 C using the computer link cable 6C (FC2A-KC6C).<br><br> Set the protocol selector switch to 2, 3, or 4 to select loader protocol for the data link terminals. Computer Link Cable 4C FC2A-KC4C 3m (9.84 ft.) long To RS232C Port To Loader Port (RS232C) D-sub 9-pin Female Connector Cable Connector Pinouts PinDescription 1 DCDData Carrier Detect 2 RXDReceive Data 3 TXDTransmit Data 4 DTRData Terminal Ready 5 GNDSignal Ground 6 DSRData Set Ready 7 4 4 8 CTSClear to Send 9 4 4 Computer Link Cable 6C FC2A-KC6C 2m (6.56 ft.) long To RS232C Port RS232C/RS485 Converter D-sub 9-pin Female Connector Cable Connector Pinouts PinDescription 1 4 4 2 RXDReceive Data 3 TXDTransmit Data 4 4 4 5 GNDSignal Ground 6 4 4 7 RTSRequest to Send 8 CTSClear to Send 9 4 4 Connect the three spade ter- minals on the computer link cable 6C to data link termi- nals A, B, and SG as indi- cated on the maker tubes. A B SG AC Adapter Output: 5V DC Connect an AC adapter to the RS232C/RS485 converter in the middle of the computer link cable 6C.<br><br> The computer link cable 6C is not supplied with an AC adapter, which must be prepared by the user. For applicable output plug of the AC adapter, see page 1-4. Note: AC adapters for IDEC 9s FA series PLCs cannot be used.<br><br> (RS485) ABSG 1: G ENERAL I NFORMATION 1-6U SER 9 S M ANUAL Connecting Modem through Loader Port To connect a modem to the loader port on the MICRO 3 C , use the modem cable 1C (FC2A-KM1C). Set the protocol selector switch to 1 or 3 to select user protocol for the loader port. Connecting RS232C Equipment through Loader Port To connect equipment with an RS232C communication port to the loader port on the MICRO 3 C , use the user communica- tion cable 1C (FC2A-KP1C).<br><br> One end of the user communication cable 1C is not provided with a connector, and it can be terminated with a proper connector to plug in to communicate with the RS232C port. When the protocol selector switch is set to 1 or 3, MICRO 3 C can communicate with RS232C equipment through the loader port using the user protocol. When the protocol selector switch is set to 0, 2, or 4, MICRO 3 C can communicate through the loader port using the loader protocol.<br><br> Modem Cable 1C FC2A-KM1C 3m (9.84 ft.) long To RS232C Port To Loader Port (RS232C) D-sub 25-pin Male Connector Cable Connector Pinouts PinDescription 1 FGFrame Ground 2 TXDTransmit Data 3 RXDReceive Data 4 RTSRequest to Send 5 4 4 6 4 4 7 SGSignal Ground 8 DCDData Carrier Detect 20 DTRData Terminal Ready Modem User Communication Cable 1C FC2A-KP1C 2.4m (7.87 ft.) long To RS232C Port To Loader Port (RS232C) Attach a proper connector to the open end referring to the cable connector pinouts shown below. Cable Connector Pinouts PinDescriptionAWG#Color 1 RTSRequest to Send28 Twisted Black 2 DTRData Terminal Ready28Yellow 3 TXDTransmit Data28Blue 4 RXDReceive Data28Green 5 DSRData Set Ready28Brown 6 SGSignal Ground28Gray 7 SGSignal Ground26 Twisted Red 8 NCNo Connection26White Cover 4Shield 4 4 RS232C Equipment Signal Direction 1: G ENERAL I NFORMATION U SER 9 S M ANUAL 1-7 Link Systems MICRO 3 C has three link functions; expansion link, data link, and computer link. When using a link function, the function selector switch and protocol selector switch have to be set and the FUN settings may be required.<br><br> For details of these set- tings, see Expansion Link Function and Data Link Function in the MICRO 3 User 9s Manual and Computer Link 1:N Com- munication on page 7-1 in this manual. The expansion link cannot be used in the data link system. Expansion Link System The expansion link system consists of two MICRO 3 C or MICRO 3 base units connected through the data link terminals using the optional expansion cable FC2A-KE1 (250 mm/9.84" long) or a shielded twisted pair cable as shown below.<br><br> The cable for the expansion link system can be extended up to 200 meters (656 feet). Every MICRO 3 C or MICRO 3 base unit can be used as an expansion station. Data Link System The data link system consists of one master station connected to a maximum of six slave stations to communicate control data for distributed control.<br><br> Every MICRO 3 C or MICRO 3 base unit can be used as a master or slave station. When a slave sta- tion performs communication at 19,200 bps through the loader port, multi-stage comparison instruction HSC1 cannot be used at the slave station. Computer Link System In the computer link system, a personal computer is connected to one or a maximum of 32 MICRO 3 C base units to control the operation of all MICRO 3 C base units.<br><br> The 1:1 computer link system requires the computer link cable 4C (FC2A-KC4C) or computer link cable 6C (FC2A-KC6C). The 1:N computer link system using MICRO 3 C base units requires RS232C/ RS485 converter FC2A-MD1 and cables; computer link interface unit FC2A-LC1 is not required. Base Station Function selector switch: 0 Protocol selector switch: 0 or 1 Expansion Station Function selector switch: 7 Protocol selector switch: 0 or 1 The RUN indicator on the expan- sion station remains off whether the base station is running or stopped.<br><br> Master Station Function selector switch: 0 Protocol selector switch: 0 or 1 Slave Station 6 Function selector switch: 6 Protocol selector switch: 0 or 1 Slave Station 2 Function selector switch: 2 Protocol selector switch: 0 or 1 Slave Station 1 Function selector switch: 1 Protocol selector switch: 0 or 1 RS232C/RS485 Converter FC2A-MD1 1st Unit Function selector switch: 0 Protocol selector switch: 2, 3, or4 FUN9: 0 2nd Unit Function selector switch: 0 Protocol selector switch: 2, 3, or 4 FUN9: 1 Nth Unit (N d 32) Function selector switch: 0 Protocol selector switch: 2, 3, or 4 FUN9: N 31 The figure above illustrates a 1:N computer link system for MICRO 3 C . 1: G ENERAL I NFORMATION 1-8U SER 9 S M ANUAL Communication SpeciKcations This section describes the MICRO 3 C communication specidcations. For general specidcations, function specidcations, I/O specidcations, and program loader specidcations, see the MICRO 3 User 9s Manual.<br><br> Loader Port Communication SpeciKcations User Communication Mode SpeciKcations When the protocol selector switch is set to 1 or 3 to select user protocol for the loader port, the MICRO 3 C can communicate through the loader port with external equipment which has an RS232C port, such as a computer, modem, printer, or bar- code reader. Using transmit and receive instructions for user communication, user programs can be created to match the communica- tion protocol of the equipment to communicate with. Determine the possibility of communication referring to the user communication mode specidcations described below: Standards EIA RS232C Maximum Cable Length 15m (49.2 ft.) Communication Parameters Baud Rate 1200, 2400, 4800, 9600, 19200 bps Data Bits 7 or 8 bits Parity Odd, Even, None Stop Bits 1 or 2 bits Receive Timeout 10 to 2550 msec (In the user communication, receive timeout is disabled when 2550 msec is selected.) Connection to Program Loader Using optional loader cable 3C (FC2A-KL3C) Connection to RS232C Equipment Using optional user communication cable 1C (FC2A-KP1C) or other cables Standards EIA RS232C Control Signal TXD, RXD, DTR, RTS, DSR Baud Rate 1200, 2400, 4800, 9600, 19200 bps Data Bits 7 or 8 bits Parity Odd, Even, None Stop Bits 1 or 2 bits Receive Timeout 10 to 2550 msec (10-msec increments) or none (Receive timeout is disabled when 2550 msec is selected.) Communication Method Start-stop synchronization system half-duplex Maximum Transmit Data 200 bytes Maximum Receive Data 200 bytes 1: G ENERAL I NFORMATION U SER 9 S M ANUAL 1-9 Data Link Terminal Communication SpeciKcations Data Link Terminal Communication with Program Loader When the protocol selector switch is set to 2, 3, or 4 to select loader protocol for the data link terminals, the MICRO 3 C can communicate through the data link terminals with the program loader or computer to monitor the MICRO 3 C operation, transfer user programs, and perform other communications.<br><br> The communication parameters using the loader protocol for the data link terminals are dxed to the same values as the FUN8 (loader port communication mode setting) default shown below and cannot be selected unlike the communication through the loader port. Data Link Terminal Communication Parameters (Loader Protocol) When the protocol selector switch is set to 2 or 4, the MICRO 3 C can perform loader communication through both the loader port and data link terminals at the same time. If data write operation (write N bytes or write 1 bit) is attempted to the same operand through both the loader port and data link terminals at the same time, the command through the data link termi- nals has priority although communication error does not occur at both ports.<br><br> 1.While a user program is written through either the loader port or data link terminals, a user program cannot be written through the other port. The prior write user program operation is executed normally, but the subsequent write user program operation results in a protect error. 2.While a user program is written through either the loader port or data link terminals, a user program cannot be read through the other port.<br><br> The prior write user program operation is executed normally, but the subsequent read user program operation results in a protect error. 3.A user program cannot be read through either the loader port or data link terminals if a user program is written through the other port before the read user program operation is completed. The subsequent write user program operation is executed normally, but the prior read user program operation may fail to read the complete user program and result in a CRC error.<br><br> Standards EIA RS485 (termination resistor is not required) Recommended Cable ø0.9 mm shielded twisted cable Conductor Resistance 85 & /km maximum Shield Resistance 12 & /km maximum Maximum Cable Length 200m (656 ft.) Isolation Between data link terminals of multiple MICRO 3 C units: Not isolated Baud Rate Expansion or data link communication: 19200 bps (Wxed) Loader protocol communication: 9600 bps (Wxed) Communication Delay Expansion link: Master station normal scan time + approx. 9 to 10 msec Data link: Master station normal scan time + approx. 12.5 to 13 msec + Slave station scan time Connection to Program Loader Using optional loader cable 4C (FC2A-KL4C) Baud Rate 9600 bps Terminator Code 0D (CR) Data Bits 7 bits Parity Even Stop Bit 1 bit Receive Timeout 500 msec Caution Some of the program transfer operation cannot be performed as described below: 1: G ENERAL I NFORMATION 1-10U SER 9 S M ANUAL Dimensions 85 mm (3.346") 16-I/O Type: 135 mm (5.315") 24-I/O Type: 165 mm (6.496") 60 mm (2.362") 95 mm (3.740") 30 mm (1.181") 185 mm (7.283") 80 mm (3.150") 25 mm (0.984") 16-I/O Type: 116 mm (4.567") 24-I/O Type: 146 mm (5.748") M4 tapped holes or ø4.5 (0.177" dia.) drilled holes 77 mm Minimum center to center Minimum 29 mm (1.142") (3.031") center to center 58 mm (2.283") Mounting Hole Layout MICRO 3 C Base Unit Program Loader U SER 9 S M ANUAL 2-1 2: A LLOCATION N UMBERS Introduction This chapter describes allocation numbers available only for the MICRO 3 C .<br><br> For details about allocation numbers shared with the MICRO 3 , see the MICRO 3 User 9s Manual. Expanded functions in the MICRO 3 C include: MICRO 3 C has 500 data registers D0 through D499 while MICRO 3 has 100 data registers D0 through D99. D499 is used to enable or disable expansion control data registers D484 through D498 and cannot be used as an ordinary data register to store data.<br><br> Special internal relay M307 has different functions when used as a base or expansion station in the expansion link system or when used as a master station or slave station in the data link system. Allocation Numbers Available I/O numbers depend on the type and combination of the MICRO 3 C base units used in the expansion link system. For details of available I/O numbers in the expansion link system, see the next page.<br><br> Notes: Input and output allocation numbers for the expansion station start with I20 and Q20. For the I/O allocation num- bers in the expansion link system, see the next page. The maximum points shown in ( ) are values for the high-speed processing mode.<br><br> The same number cannot be used for a counter and a timer in a user program. Internal relays M260 through M287 have special functions in the modem mode. See page 4-2.<br><br> Data register D499 is reserved to enable or disable expansion control data registers D484 through D498 and cannot be used as an ordinary data register to store data. For details, see page 2-4. OperandProcessing ModeAllocation NumberMaximum Points Input Standard and High-speed I0 - I7I10 - I15 14 points (Base) + 14 points (Expansion) Standard onlyI20 - I27I30 - I35 Output Standard and High-speed Q0 - Q7Q10 - Q11 10 points (Base) + 10 points (Expansion) Standard onlyQ20 - Q27Q30 - Q31 Internal Relay Standard and High-speed M0 - M7M10 - M17M20 - M27 M30 - M37M40 - M47 232 points (40 points) Standard only M50 - M57M60 - M67M70 - M77 M80 - M87M90 - M97M100 - M107 M110 - M117M120 - M127M130 - M137 M140 - M147M150 - M157M160 - M167 M170 - M177M180 - M187M190 - M197 M200 - M207M210 - M217M220 - M227 M230 - M237M240 - M247M250 - M257 M260 - M267M270 - M277M280 - M287 Catch Input Relay Standard and High-speed M290 - M297 8 points (8 points) Special Internal Relay Standard and High-speed M300 - M307M310 - M317 16 points (16 points) Timer Standard and High-speed T0 - T15 32 points total (16 points total) Standard onlyT16 - T31 Counter Standard and High-speed C0 - C15 Standard onlyC16 - C31 Shift Register Standard and High-speed R0 - R31 64 points (32 points) Standard onlyR32 - R63 Data Register Standard and High-speed D0 - D31 500 points (32 points) Standard onlyD32 - D499 2: A LLOCATION N UMBERS 2-2U SER 9 S M ANUAL I/O Allocation Numbers for Expansion Link System Input and output allocation numbers do not continue from the base station to the expansion station.<br><br> At the expansion sta- tion, inputs start at I20 and outputs start at Q20. Inputs and outputs are allocated depending on the MICRO 3 C base units used in the expansion link system as shown below: I/O Points MICRO 3 C Base Station I/O Allocation Numbers MICRO 3 C Expansion Station I/O Allocation Numbers TotalIN/OUT 169/7 16-I/O Type 4 4 4 I0 - I7 I10 Q0 - Q6 2414/10 24-I/O Type 4 4 4 I0 - I7 I10 - I15 Q0 - Q7 Q10 - Q11 3218/14 16-I/O Type16-I/O Type I0 - I7 I10 Q0 - Q6 I20 - I27 I30 Q20 - Q26 4023/17 16-I/O Type24-I/O Type I0 - I7 I10 Q0 - Q6 I20 - I27 I30 - I35 Q20 - Q27 Q30 - Q31 24-I/O Type16-I/O Type I0 - I7 I10 - I15 Q0 - Q7 Q10 - Q11 I20 - I27 I30 Q20 - Q26 4828/20 24-I/O Type24-I/O Type I0 - I7 I10 - I15 Q0 - Q7 Q10 - Q11 I20 - I27 I30 - I35 Q20 - Q27 Q30 - Q31 2: A LLOCATION N UMBERS U SER 9 S M ANUAL 2-3 Special Internal Relays Internal relays M290 through M317 are special internal relays with the following functions: Note: M290 through M297 and M301 are used only for reading in the user program, but can be directly set or reset using the program loader or optional software CUBIQ on a computer. M307 Link Communication Initialize Flag (Master Station)/Link Communication Stop Flag (Slave Station) Special internal relay M307 has different functions when used as a base or expansion station in the expansion link system or when used as a master station or slave station in the data link system.<br><br> Base or master station: Link communication initialize Lag When M307 at the base or master station is turned on during operation, the link condguration is checked to initialize the expansion or data link system. When an expansion station or slave station is powered up after the base or master station, turn M307 on to initialize the link system. After an expansion link or data link setup is changed, M307 must also be turned on to ensure correct communication.<br><br> Slave station: Link communication stop Lag When a slave station does not receive communication data from the master station for 800 msec or more in the data link system, M307 turns on. When the slave station receives correct communication data, M307 turns off. In the expansion station, M307 has no effect and cannot be monitored using the program loader.<br><br> Allocation NumberDescriptionCPU StoppedPower OFF M290 Catch Input Status Set (See Note below) Input I0OperatingCleared M291 Input I1OperatingCleared M292 Input I2OperatingCleared M293 Input I3OperatingCleared M294 Input I4OperatingCleared M295 Input I5OperatingCleared M296 Input I6OperatingCleared M297 Input I7OperatingCleared M300 Start ControlMaintainedMaintained M301 Initialize Pulse (See Note below)ClearedCleared M302 All Outputs OFFClearedCleared M303 Carry (Cy) or Borrow (Bw)ClearedCleared M304 User Program Execution ErrorClearedCleared M305 Link Communication Error (Expansion mode and data link mode) MaintainedCleared M306 Link Communication Prohibit Flag (Expansion mode and data link mode) MaintainedMaintained M307 Link Communication Initialize Flag (Master Station) (Expansion mode and data link mode) ClearedCleared Link Communication Stop Flag (Slave Station) (Data link mode) M310 1-sec Clock ResetClearedCleared M311 1-sec ClockOperatingCleared M312 100-msec ClockOperatingCleared M313 10-msec ClockOperatingCleared M314 Timer/Counter Preset Value ChangedMaintainedMaintained M315 High-speed Counter Soft ResetMaintainedCleared M316 High-speed Counter (HSC3) OverXowClearedCleared M317 In-operation OutputClearedCleared 2: A LLOCATION N UMBERS 2-4U SER 9 S M ANUAL Data Register Allocation Numbers Available data registers are limited in the high-speed processing mode or in the data link system condguration. Some data registers are allocated to special functions in the data link system as shown below. For the data link function, see the MICRO 3 User 9s Manual.<br><br> D100 through D209, D492, and D493 have special functions in the modem mode. See page 4-2. Note: When FUN10 is set to enable control data registers, selected data registers D90 through D99 work as control data registers; others can be used as ordinary data registers.<br><br> For details of the data link function, see the MICRO 3 User 9s Manual. Expansion Control Data Registers Data registers D484 through D499 are allocated as expansion control data registers. D499 is used to enable or disable expansion control data register service for D484 through D498 divided into group 0 through 3.<br><br> Data registers in the group disabled for expansion control data registers can be used as ordinary data registers. D499 cannot be used as an ordinary data register and must not be programmed to store data of operation results. Data Register Number Standard Processing Mode High-speed Processing Mode Other than Data Link Data Link (Master Station) Data Link (Slave Station) D0 to D31 Available Available Available Available D32 to D59 Not available D60 to D84 For data link D85 to D89 For data link D90 to D99 Can be designated as control data registers using FUN10.<br><br> (Note) D100 to D483 Available D484 to D485 When expansion control data register service is enabled for each group of these data registers using D499, the selected data registers work as expansion con- trol data registers; others can be used as ordinary data registers. When expansion control data register service is disabled using D499, these data registers can be used as ordinary data registers. D486 to D491 D492 to D495 D496 to D498 D499 Reserved to enable or disable expansion control data register service.<br><br> GroupExpansion Control DRDescription 4 D499Expansion control data register service selection 0 D498Day (Calendar) D497Month (Calendar) D496Year (Calendar) 1 D495Modem mode selection D494Reserved D493Modem mode status D492Protocol selection in modem mode 2 D491Control signal status D490DSR control signal option Available only for communication through the loader port using user protocol (protocol selector switch set to 1 or 3) D489DTR control signal option D488RTS control signal option D487Reserved D486RTS control signal ON/OFF timer 3 D485 (Lower byte)Protocol selector switch value D485 (Upper byte)For maintenance D484 (Lower byte)Function selector switch value D484 (Upper byte)For maintenance 2: A LLOCATION N UMBERS U SER 9 S M ANUAL 2-5 D499 Expansion Control Data Register Service Selection D499 is used to enable or disable expansion control data register service for D484 through D498 divided into group 0 through 3. Store a value in D499 to enable or disable expansion control data service for group 0 through 3 as described below: The D499 value marked with indicates that the data registers in the corresponding group are enabled for expansion con- trol data register service. The enable/disable of expansion control data register service is determined by the lower 4 bits in D499.<br><br> Although a value over 15 can be entered to D499, upper 12 bits do not take effect. Group 0 D498 Day (Calendar) D497 Month (Calendar) D496 Year (Calendar) When group 0 is enabled as expansion control data registers, the calendar data are stored to D496 through D498. The year is indicated with the lower 2 digits.<br><br> Group 1 D495 Modem mode selection When group 1 is enabled as expansion control data registers and c1 d is set to D495, the modem mode is enabled. When c0 d is set to D495, the modem mode is disabled. For the modem mode, see page 4-1.<br><br> D494 Reserved D493 Modem mode status When the modem mode is enabled (see above), D493 stores a modem mode status. D492 Protocol selection in modem mode When the modem mode is enabled (see above), the protocol at the loader port is switched from the user protocol depend- ing on the value in D492 after the telephone line is connected. D492 = 1: User protocol is continued at the loader port D492 = 0: Loader protocol is enabled at the loader port Group D499 Value 0123456789101112131415 0 (D496-D498) 1 (D492-D495) 2 (D486-D491) 3 (D484-D485) D493 ValueDescriptionRemarks 30h AT command completed normallyAT command (start IR) is completed normally.<br><br> 31h Issuing AT command 32h AT command execution error See the result code stored in data registers D104 through D119. Check the modem power, modem cable, and the remote modem. 33h Two or more start IRs are onCorrect the program so that only one start IR goes on at a time.<br><br> 34h Modem mode enabled 35h Start IR program error Correct the program so that only the disconnect command is issued while the line is connected. 36h (Reserved) 37h (Reserved) 38h Retrying AT command 39h AT command program errorCorrect the program to include 0Dh in the AT command. Warning D499 cannot be used as an ordinary data register and must not be programmed to store data of oper- ation results.<br><br> If an unexpected value is set to D499, the modem mode may be enabled or disabled during operation. 2: A LLOCATION N UMBERS 2-6U SER 9 S M ANUAL Group 2 D491 Control signal status When group 2 is enabled as expansion control data registers, D491 stores a value to show that RTS, DSR, and DTR are on or off. The data of D491 is updated at every END processing.<br><br> D490 DSR control signal option When group 2 is enabled as expansion control data registers, D490 is used to control data eow between the MICRO 3 C and the remote terminal depending on the DSR (Data Set Ready) signal of the remote terminal. The DSR signal is an input to the MICRO 3 C to determine the status of the remote terminal. The remote terminal informs the MICRO 3 C using DSR whether the remote terminal is ready for receiving data or is sending valid data.<br><br> The DSR control signal option can be used only in the user protocol to communicate through the loader port. D490 = 0 (system default): DSR is not used for data eow control. When DSR control is not needed, set 0 to D490.<br><br> D490 = 1: When DSR is on, MICRO 3 C can transmit and receive data. D490 = 2: When DSR is off, MICRO 3 C can transmit and receive data. D490 = 3: When DSR is on, MICRO 3 C can transmit data.<br><br> This function is usually called cBusy Control d and is used for controlling transmission to a remote terminal with a slow processing speed, such as a printer. When the remote terminal is busy, data input to the remote terminal is restricted. D491 ValueRTSDSRDTRDescription 0 OFFOFFOFFAll RTS, DSR, and DTR are off.<br><br> 1 ONOFFOFFRTS is on. 2 OFFONOFFDSR is on. 3 ONONOFFRTS and DSR are on.<br><br> 4 OFFOFFONDTR is on. 5 ONOFFONRTS and DTR are on. 6 OFFONONDSR and DTR are on.<br><br> 7 ONONONAll RTS, DSR, and DTR are on. DSR signal ON OFF Possible Impossible Impossible Transmit/receive Data Transmit/receive data DSR signal ON OFF Possible Impossible Impossible Transmit/receive Data Transmit/receive data DSR signal ON OFF Possible Impossible Impossible Transmit Data Transmit data 2: A LLOCATION N UMBERS U SER 9 S M ANUAL 2-7 D490 = 4: When DSR is off, MICRO 3 C can transmit data. This function is contrary to cD490 = 3. d D490 = 5: When DSR is on, MICRO 3 C can receive data.<br><br> D490 = 6: When DSR is off, MICRO 3 C can receive data. This function is contrary to cD490 = 5. d D490 = 7 or more: Same as D490 = 0. DSR is not used for data eow control.<br><br> D489 DTR control signal option When group 2 is enabled as expansion control data registers, D489 is used to control the DTR (Data Terminal Ready) sig- nal to indicate the MICRO 3 C operating status or transmitting/receiving status. The DTR control signal option can be used only in the user protocol to communicate through the loader port. D489 = 0 (system default): While MICRO 3 C is running, DTR is on whether MICRO 3 is transmitting or receiving data.<br><br> While MICRO 3 C is stopped, DTR remains off. Use this option to indicate the MICRO 3 C operating status. D489 = 1: While MICRO 3 C is transmitting data, DTR is turned on.<br><br> While MICRO 3 C is not transmitting data, DTR remains off. Use this option when a remote terminal operates in the half-duplex mode since DTR goes on or off according to the transmit data from MICRO 3 C . DSR signal ON OFF Possible Impossible Impossible Transmit Data Transmit data DSR signal ON OFF Data Receive data MICRO 3 C receives data arriving while DSR is on.<br><br> Data out of this range are not received. DSR signal ON OFF Data Receive data MICRO 3 C receives data arriving while DSR is off. Data out of this range are not received.<br><br> MICRO 3 C DTR signal ON OFF StoppedRunningStopped DTR signal ON OFF Transmit data Transmit data 2: A LLOCATION N UMBERS 2-8U SER 9 S M ANUAL D489 = 2: While MICRO 3 C is transmitting data, DTR remains off. While MICRO 3 C is not transmitting data, DTR is turned on. The DTR operation at this option is contrary to the operation at D489 = 1.<br><br> D489 = 3: DTR remains off. D489 = 4: While MICRO 3 C can receive data, DTR is turned on. Use this option when eow control of receive data is required.<br><br> D489 = 5: DTR is turned on or off according to DSR. When DSR is on, DTR is turned on. When DSR is off, DTR remains off.<br><br> Use this option for returning control signal and acknowledgment when data eow control with the remote terminal is required. D489 = 6 or more: Same as D489 = 0. D488 RTS control signal option When group 2 is enabled as expansion control data registers, D488 is used to control the RTS (Request to Send) signal to indicate the MICRO 3 C transmitting/receiving status or operating status.<br><br> The RTS control signal option can be used only in the user protocol to communicate through the loader port. D488 = 0 (system default): While MICRO 3 C is transmitting data, RTS remains off. While MICRO 3 C is not transmitting data, RTS is turned on.<br><br> Use this option when a remote terminal operates in the half-duplex mode since RTS goes on or off accord- ing to the transmit data from MICRO 3 C . D488 = 1: While MICRO 3 C is transmitting data, RTS is turned on. While MICRO 3 C is not transmitting data, RTS remains off.<br><br> Use this option when a remote terminal operates in the half-duplex mode since RTS goes on or off accord- ing to the transmit data from MICRO 3 C . D488 = 2: While MICRO 3 C is running, RTS is on whether MICRO 3 C is transmitting or receiving data. While MICRO 3 C is stopped, RTS remains off.<br><br> Use this option to indicate the MICRO 3 C operating status. D488 = 3: RTS remains off. DTR signal ON OFF Transmit data Transmit data DTR signal ON OFF DSR signal ON OFF RTS signal ON OFF Transmit data Transmit data RTS signal ON OFF Transmit data Transmit data MICRO 3 C RTS signal ON OFF StoppedRunningStopped 2: A LLOCATION N UMBERS U SER 9 S M ANUAL 2-9 D488 = 4: While MICRO 3 C can receive data, RTS is turned on.<br><br> Use this option when eow control of receive data is required. D488 = 5: RTS is turned on or off according to DSR. When DSR is on, RTS is turned on.<br><br> When DSR is off, RTS remains off. Use this option for returning control signal and acknowledgment when data eow control with the remote terminal is required. D488 = 6 or more: Same as D488 = 0.<br><br> D487 Reserved D486 RTS control signal ON/OFF timer When group 2 is enabled as expansion control data registers and D488 is set to 0 or 1 to synchronize the transmit data with the RTS signal, D486 is used to set the amount of time to turn on and off the RTS signal before and after transmitting data. The RTS control signal ON/OFF timer can be used only in the user protocol to communicate through the loader port. D486 = 0 through 249 (Increments 10 msec): Any value over 249 is regarded as 249.<br><br> The maximum timer error is 20 msec + 2 scan time. Example: D488 = 0 (RTS control signal option) and D486 = 5 MICRO 3 C transmits data 50 msec after RTS is turned off and RTS is turned on 50 msec after data transmission is completed. Since a sufdcient amount of time is allowed for the remote terminal after MICRO 3 C has issued RTS, this option is useful when the remote terminal has a slow communication (receiving) speed.<br><br> "Operating Status and Control Signals When DSR control is used with D490 set to 1 through 4, transmit condition must be satisded within 5 seconds after the DSR signal has turned to allow transmission. If transmit condition is not met within 5 seconds, the transmit data is invali- dated. Then, RTS and DTR take the same statuses as if the data were transmitted.<br><br> When group 2 is disabled and user communication is used without control signal options, the communication is performed under the same conditions as expansion control data registers are set D488 = 0, D489 = 0, and D490 = 0. Communication Mode MICRO 3 C StoppedMICRO 3 C Running User Protocol DTR and RTS are on, except DTR is off when D489 = 0 RTS is off when D488 = 2 Control signal statuses depend on D488 through D490 options. Modem Mode DTR and RTS are on as standard.<br><br> Initial settings are: D488 = 2, D489 = 0, D490 = 0 Loader Protocol Control signal options have no effect. Communication is executed with D488 = 0, D489 = 0, D490 = 0. RTS signal ON OFF DSR signal ON OFF RTS signal ON OFF Transmit data Transmit data 50 msec 50 msec 2: A LLOCATION N UMBERS 2-10U SER 9 S M ANUAL Group 3 D485 Protocol selector switch value When group 3 is enabled as expansion control data registers, the lower byte of D485 stores the value set on the protocol selector switch.<br><br> The upper byte of D485 is reserved for maintenance. To view the protocol selector switch value, monitor D485 in hexadecimal notation on the program loader. D484 Function selector switch value When group 3 is enabled as expansion control data registers, the lower byte of D484 stores the value set on the function selector switch.<br><br> The upper byte of D484 is reserved for maintenance. To view the function selector switch value, monitor D484 in hexadecimal notation on the program loader. MON OR E D MON D485 $**03 OUT 16 8 MCS/R 5 CC= 4 Protocol selector switch value For maintenance MON OR E D MON D484 $**01 OUT 16 8 MCS/R 4 Function selector switch value For maintenance 4 U SER 9 S M ANUAL 3-1 3: C OMMUNICATION M ONITOR Introduction This chapter describes FUN29 user communication status readout and FUN50 user communication data monitor.<br><br> The FUN29 and FUN50 communication monitor functions can be used when the protocol selector switch is set to 3 to select user protocol for the loader port and loader protocol for the data link terminals. While the MICRO 3 C is communicating through the loader port using the user protocol, the communication status or com- munication data can be monitored on a program loader or computer connected to the data link terminals. The communica- tion monitor functions are useful for debugging user communication programs.<br><br> System Setup FUN29: User Communication Status Readout User communication error data, execution of transmit/receive instructions, and communication parameters can be read using FUN29 on the program loader. To return to the editor mode, press the CLR key. To RS232C Port A B SG AC Adapter Output: 5V DC RS232C Equipment To Data Link Terminals (RS485) (modem, printer, computer) Power Supply Box Loader Cable 4C FC2A-KL4C 2m (6.56 ft.) long To Loader Port Computer Link Cable 6C FC2A-KC6C 2m (6.56 ft.) long For communication monitor functions using a computer, see the CUBIQ User 9s Manual.<br><br> Protocol Selector Switch Set to 3 to select user protocol for the loader port and loader protocol for the data link terminals 3 7 0 1 2 6 5 4 ABSG FUN FUN29 COM-ERR 0 (TXD) (RXD) 9600 EVEN 7 (1) 9 JMP/E 2 BRD Error code 0:No error 1:Error occurred in received data (parity, framing, overrun error, etc.) Transmit instruction :Not transmitting data :Transmitting data Receive instruction :Not receiving data :Receiving data Baud rate 1200 bps 2400 bps 4800 bps 9600 bps 19200 bps Parity Even Odd None Data bits 7 or 8 bits Stop bits 1 or 2 bits 3: C OMMUNICATION M ONITOR 3-2U SER 9 S M ANUAL FUN50: User Communication Data Monitor Transmit and receive data of user communication between the MICRO 3 C and RS232C equipment can be monitored using FUN50 on the program loader connected to the data link terminals. Before using the FUN50 user communication data monitor, make sure of the correct system setup shown on the preceding page. If the protocol selector switch setting has been changed to 3 after power up, press the communication enable button on the MICRO 3 C until the ERR1 indicator blinks once; then the new communication setting is enabled.<br><br> First bring the FUN50 screen up pressing the keys: To start monitoring, move down the cursor to the asterisk on the second line and set the monitoring ON/OFF to RUN: To move the cursor up or down, press the or key. Pressing the REP key toggles RUN and STOP to start or stop monitoring. When monitoring is started by switching to RUN, monitor data stored in the previous monitoring is cleared from memory.<br><br> Monitor data can be stored up to 30 screens. When the monitor buffer reaches full capacity, cFULL d is displayed in place of the communication data blocks, stopping communication data monitor. Before displaying the monitored data, drst stop monitoring, then move the cursor down to the colon (:) and start to display the monitored data.<br><br> To view the next or preceding screen of monitor data, press the or key. A maximum of 30 screens can be displayed. A communication data block consists of transmit and/or receive data.<br><br> When the interval between communication charac- ters exceeds 20 msec, the communication data block ends at this point and ** are displayed on a new line to mark the beginning of the next communication data block. To return to the FUN50 screen, press the CLR key. To return to the editor screen, press the CLR key again.<br><br> After the FUN50 user communication data monitor is completed, press the communication enable button on the MICRO 3 C for 4 seconds until the ERR1 indicator blinks once; then normal communication using the program loader is enabled. If the communication enable button is pressed while a user transmit or receive instruction is executed, the execution is aborted and all outputs are forced off. FUN FUN50 LINE-MON *STOP :(DATA)--- 0 Monitoring ON/OFF STOP:Monitoring is off RUN:Monitoring is on Communication Data Blocks Indicates the quantity of transmit and receive data blocks communicated during monitoring.<br><br> 5 CC= 0 FUN 50 LINE-MON RUN :(DATA)--- 2 RUN indicates monitoring is on. Increments as MICRO 3 C transmits and receives data during monitoring. REP B **05303132333435 0 1 2 3 4 5 3637383941424344 6 7 8 9 A B C D Hex code ASCII character display REP B ** marks the start of a communication data block U SER 9 S M ANUAL 4-1 4: M ODEM M ODE Introduction This chapter describes the modem mode designed for communication between the MICRO 3 C and another MICRO 3 C or any data terminal equipment through telephone lines.<br><br> Using the modem mode, the MICRO 3 C can initialize a modem, dial a tele- phone number, send an AT command, enable the answer mode to wait for an incoming call, and disconnect the telephone line. All of these operations can be performed simply by turning on a start internal relay dedicated to each operation. System Setup To connect a modem to the loader port on the MICRO 3 C , use the modem cable 1C (FC2A-KM1C).<br><br> To enable the modem mode, make the three settings described below: 1.Set the protocol selector switch to 1 or 3 to select user protocol for the loader port. (See page 1-2.) 2.Enter 6 (7, 14, or 15) to data register D499 to enable expansion control data register service for D486 through D495. (See page 2-5.) 3.Enter 1 to data regis<br><br>