FC9Y-B812 FC4A SERIES Micro Programmable Logic Controller User’s Manual
TABLE OF CONTENTSiv « FC4A MICROSMART USER’S MANUAL »CHAPTER 14: DATA CONVERSION INSTRUCTIONSHTOB (Hex to BCD) . . . . . . . . . . . . . . . . . . .
3: INSTALLATION AND WIRING3-6 « FC4A MICROSMART USER’S MANUAL »Removing the Communication Connector CoverBefore mounting a communication module or HMI
3: INSTALLATION AND WIRING« FC4A MICROSMART USER’S MANUAL » 3-7Mounting on DIN Rail1. Fasten the DIN rail to a panel using screws firmly.2. Pull out th
3: INSTALLATION AND WIRING3-8 « FC4A MICROSMART USER’S MANUAL »Removing the Direct Mounting Strip1. Insert a flat screwdriver under the latch of the di
3: INSTALLATION AND WIRING« FC4A MICROSMART USER’S MANUAL » 3-9• I/O ModulesFC4A-N08B1, FC4A-N16B1, FC4A-N08A11, FC4A-R081, FC4A-N16B3, FC4A-T16K3, F
3: INSTALLATION AND WIRING3-10 « FC4A MICROSMART USER’S MANUAL »Example 1: Mounting hole layout for FC4A-C24R2 and 23.5-mm-wide I/O modulesExample 2:
3: INSTALLATION AND WIRING« FC4A MICROSMART USER’S MANUAL » 3-11Installation in Control PanelThe MicroSmart modules are designed for installation in a
3: INSTALLATION AND WIRING3-12 « FC4A MICROSMART USER’S MANUAL »Mounting DirectionMount the MicroSmart modules horizontally on a vertical plane as sho
3: INSTALLATION AND WIRING« FC4A MICROSMART USER’S MANUAL » 3-13Input WiringDC Source Input DC Sink InputCaution• Separate the input wiring from the o
3: INSTALLATION AND WIRING3-14 « FC4A MICROSMART USER’S MANUAL »Output WiringRelay OutputTransistor Sink Output Transistor Source OutputCaution• If ou
3: INSTALLATION AND WIRING« FC4A MICROSMART USER’S MANUAL » 3-15Contact Protection Circuit for Relay and Transistor OutputsDepending on the load, a pr
TABLE OF CONTENTS« FC4A MICROSMART USER’S MANUAL »vCHAPTER 19: COORDINATE CONVERSION INSTRUCTIONSXYFS (XY Format Set) . . . . . . . . . . . . . . . .
3: INSTALLATION AND WIRING3-16 « FC4A MICROSMART USER’S MANUAL »Power SupplyAll-in-One Type CPU Module (AC and DC Power)Power Supply VoltageThe allowa
3: INSTALLATION AND WIRING« FC4A MICROSMART USER’S MANUAL » 3-17Slim Type CPU Module (DC Power)Power Supply VoltageThe allowable power voltage range f
3: INSTALLATION AND WIRING3-18 « FC4A MICROSMART USER’S MANUAL »Terminal ConnectionFerrules, Crimping Tool, and Screwdriver for Phoenix Terminal Block
« FC4A MICROSMART USER’S MANUAL » 4-14: OPERATION BASICSIntroductionThis chapter describes general information about setting up the basic MicroSmart s
4: OPERATION BASICS4-2 « FC4A MICROSMART USER’S MANUAL »Computer Link through Port 2 (RS485)When connecting a Windows computer to port 2 on the all-in
4: OPERATION BASICS« FC4A MICROSMART USER’S MANUAL » 4-3Start/Stop OperationThis section describes operations to start and stop the MicroSmart and to
4: OPERATION BASICS4-4 « FC4A MICROSMART USER’S MANUAL »Start/Stop Operation Using the Power SupplyThe MicroSmart can be started and stopped by turnin
4: OPERATION BASICS« FC4A MICROSMART USER’S MANUAL » 4-5Simple OperationThis section describes how to edit a simple program using WindLDR on a compute
4: OPERATION BASICS4-6 « FC4A MICROSMART USER’S MANUAL »Edit User Program Rung by RungStart the user program with the LOD instruction by inserting a N
4: OPERATION BASICS« FC4A MICROSMART USER’S MANUAL » 4-76. Enter I1 in the Allocation Number field, and click OK.A NC contact of input I1 is programmed
TABLE OF CONTENTSvi « FC4A MICROSMART USER’S MANUAL »CHAPTER 26: COMPUTER LINK COMMUNICATIONComputer Link System Setup (1:N Computer Link System) . .
4: OPERATION BASICS4-8 « FC4A MICROSMART USER’S MANUAL »Download ProgramYou can download the user program from WindLDR running on a computer to the Mi
« FC4A MICROSMART USER’S MANUAL » 5-15: SPECIAL FUNCTIONSIntroductionThe MicroSmart features special functions such as stop/reset inputs, run/stop sel
5: SPECIAL FUNCTIONS5-2 « FC4A MICROSMART USER’S MANUAL »Stop Input and Reset InputAs described on page 4-3, the MicroSmart can be started and stopped
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-3Run/Stop Selection at Memory Backup ErrorStart control special internal relay M8000 maintains
5: SPECIAL FUNCTIONS5-4 « FC4A MICROSMART USER’S MANUAL »Keep Designation for Internal Relays, Shift Registers, Counters, and Data RegistersThe status
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-5Internal Relay ‘Keep’ DesignationAll Internal Relays Clear: All internal relay statuses are c
5: SPECIAL FUNCTIONS5-6 « FC4A MICROSMART USER’S MANUAL »High-speed CounterThis section describes the high-speed counter function to count many pulse
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-7Special Data Registers for Two-phase High-speed Counter (All-in-One Type CPU Modules)Two-phas
5: SPECIAL FUNCTIONS5-8 « FC4A MICROSMART USER’S MANUAL »Special Data Registers for Single-phase High-speed Counters (All-in-One Type CPU Modules)Sing
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-9Special Internal Relays for Two-phase High-speed Counter (Slim Type CPU Modules)Note: Special
« FC4A MICROSMART USER’S MANUAL » 1-11: GENERAL INFORMATIONIntroductionThis chapter describes general information for understanding the MicroSmart’s p
5: SPECIAL FUNCTIONS5-10 « FC4A MICROSMART USER’S MANUAL »Special Internal Relays for Single-phase High-speed Counters (Slim Type CPU Modules)Note: Sp
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-11Programming WindLDR (All-in-One Type CPU Modules)1. From the WindLDR menu bar, select Configu
5: SPECIAL FUNCTIONS5-12 « FC4A MICROSMART USER’S MANUAL »Programming WindLDR (Slim Type CPU Modules)1. From the WindLDR menu bar, select Configure >
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-13Two-phase High-speed Counter Timing ChartExample: Reset input I2 is used. Q1 is designated a
5: SPECIAL FUNCTIONS5-14 « FC4A MICROSMART USER’S MANUAL »Single-phase High-speed Counter Timing ChartExample: Single--phase high-speed counter HSC2Pr
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-15Example: Two-phase High-speed Counter for Counting Input Pulses from Rotary EncoderThis exam
5: SPECIAL FUNCTIONS5-16 « FC4A MICROSMART USER’S MANUAL »Ladder DiagramWhen the MicroSmart starts operation, reset value 62836 is stored to reset val
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-17Example: Single-phase High-speed CounterThis example demonstrates a program for single-phase
5: SPECIAL FUNCTIONS5-18 « FC4A MICROSMART USER’S MANUAL »Catch InputThe catch input function is used to receive short pulses from sensor outputs rega
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-19Catching Rising Edge of Input PulseCatching Falling Edge of Input PulseNote: When two or mor
1: GENERAL INFORMATION1-2 « FC4A MICROSMART USER’S MANUAL »HMI Module (all CPU modules)An optional HMI module can be installed on any all-in-one type
5: SPECIAL FUNCTIONS5-20 « FC4A MICROSMART USER’S MANUAL »Interrupt InputAll MicroSmart CPU modules have an interrupt input function. When a quick res
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-21Example: Interrupt InputThe following example demonstrates a program of using the interrupt
5: SPECIAL FUNCTIONS5-22 « FC4A MICROSMART USER’S MANUAL »Timer InterruptIn addition to the interrupt input as described in the preceding section, sli
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-23Example: Timer InterruptThe following example demonstrates a program of using the timer inte
5: SPECIAL FUNCTIONS5-24 « FC4A MICROSMART USER’S MANUAL »Input FilterThe input filter function is used to reject input noises. The catch input functio
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-25User Program ProtectionThe user program in the MicroSmart CPU module can be protected from r
5: SPECIAL FUNCTIONS5-26 « FC4A MICROSMART USER’S MANUAL »4. When a password protect mode is selected, the Password Setting dialog box appears.Enter a
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-27Constant Scan TimeThe scan time may vary whether basic and advanced instructions are execute
5: SPECIAL FUNCTIONS5-28 « FC4A MICROSMART USER’S MANUAL »Partial Program DownloadNormally, the CPU module has to be stopped before downloading a user
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-29Using Partial Program DownloadThe partial program download function can download a maximum o
1: GENERAL INFORMATION« FC4A MICROSMART USER’S MANUAL » 1-3Catch InputFour inputs can be used as catch inputs. The catch input makes sure to receive s
5: SPECIAL FUNCTIONS5-30 « FC4A MICROSMART USER’S MANUAL »Analog PotentiometersThe all-in-one 10- and 16-I/O type CPU modules and every slim type CPU
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-31Analog Voltage InputEvery slim type CPU module has an analog voltage input connector. When a
5: SPECIAL FUNCTIONS5-32 « FC4A MICROSMART USER’S MANUAL »HMI ModuleThis section describes the functions and operation of the optional HMI module (FC4
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-33Key Operation for Scrolling Menus after Power-upThe chart below shows the sequence of scroll
5: SPECIAL FUNCTIONS5-34 « FC4A MICROSMART USER’S MANUAL »Selection of HMI Module Initial ScreenSpecial data register D8068 is available on upgraded C
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-35Displaying Timer/Counter Current Values and Changing Timer/Counter Preset ValuesThis section
5: SPECIAL FUNCTIONS5-36 « FC4A MICROSMART USER’S MANUAL »Example: When timer T28 preset value is designated using a data register1. Select the Timer
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-37Displaying and Changing Data Register ValuesThis section describes the procedure for display
5: SPECIAL FUNCTIONS5-38 « FC4A MICROSMART USER’S MANUAL »Setting and Resetting Bit Operand StatusBit operand statuses, such as inputs, outputs, inter
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-39Displaying and Clearing Error DataThis section describes the procedure for displaying genera
1: GENERAL INFORMATION1-4 « FC4A MICROSMART USER’S MANUAL »System SetupThis section illustrates system setup configurations for using powerful communic
5: SPECIAL FUNCTIONS5-40 « FC4A MICROSMART USER’S MANUAL »Displaying and Changing Calendar Data (only when using the clock cartridge)When an optional
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-41Displaying and Changing Clock Data (only when using the clock cartridge)When an optional clo
5: SPECIAL FUNCTIONS5-42 « FC4A MICROSMART USER’S MANUAL »Expansion Data RegistersSlim type CPU modules FC4A-D20RK1, FC4A-D20RS1, FC4A-D40K3, and FC4A
5: SPECIAL FUNCTIONS« FC4A MICROSMART USER’S MANUAL » 5-433. Click the Edit button. The Edit Expansion Data Registers screen appears.The specified quan
5: SPECIAL FUNCTIONS5-44 « FC4A MICROSMART USER’S MANUAL »Data Movement of Preset Data RegistersLike preset values for timers and counters (page 7-13)
« FC4A MICROSMART USER’S MANUAL » 6-16: ALLOCATION NUMBERSIntroductionThis chapter describes allocation numbers available for the MicroSmart to progra
6: ALLOCATION NUMBERS6-2 « FC4A MICROSMART USER’S MANUAL »Slim Type CPU ModulesNotes:•The least significant digit of input, output, internal relay, and
6: ALLOCATION NUMBERS« FC4A MICROSMART USER’S MANUAL » 6-3I/O, Internal Relay, and Special Internal Relay Operand Allocation NumbersOperand Allocation
6: ALLOCATION NUMBERS6-4 « FC4A MICROSMART USER’S MANUAL »Internal Relay (M)M0-M7 M10-M17 M20-M27 M30-M37M40-M47 M50-M57 M60-M67 M70-M77M80-M87 M90-M9
6: ALLOCATION NUMBERS« FC4A MICROSMART USER’S MANUAL » 6-5Operand Allocation Numbers for END Refresh Type Analog I/O ModulesNote: Each analog I/O modu
1: GENERAL INFORMATION« FC4A MICROSMART USER’S MANUAL » 1-5Computer Link SystemWhen the MicroSmart is connected to a computer, operating status and I/
6: ALLOCATION NUMBERS6-6 « FC4A MICROSMART USER’S MANUAL »Operand Allocation Numbers for Data Link Master StationNote: When any slave stations are not
6: ALLOCATION NUMBERS« FC4A MICROSMART USER’S MANUAL » 6-7Special Internal RelaysSpecial internal relays M8000 through M8077 are read/write internal r
6: ALLOCATION NUMBERS6-8 « FC4A MICROSMART USER’S MANUAL »Special Internal Relay Allocation Numbers (Read Only)M8045 High-speed Counter 4 (I5-I7) Gate
6: ALLOCATION NUMBERS« FC4A MICROSMART USER’S MANUAL » 6-9M8100 Data Link Slave Station 17 Communication Completion Relay Operating ClearedM8101 Data
6: ALLOCATION NUMBERS6-10 « FC4A MICROSMART USER’S MANUAL »M8000 Start ControlM8000 is used to control the operation of the CPU. The CPU stops operat
6: ALLOCATION NUMBERS« FC4A MICROSMART USER’S MANUAL » 6-11M8013 Calendar/Clock Data Write/Adjust Error FlagWhen an error occurs while calendar/clock
6: ALLOCATION NUMBERS6-12 « FC4A MICROSMART USER’S MANUAL »M8032, M8036, M8042, M8046 High-speed Counter Reset InputWhen M8032 or M8046 is turned on
6: ALLOCATION NUMBERS« FC4A MICROSMART USER’S MANUAL » 6-13M8132 High-speed Counter 1 (I0-I2) Current Value Underflow (ON for 1 scan)When the current
6: ALLOCATION NUMBERS6-14 « FC4A MICROSMART USER’S MANUAL »Special Data RegistersSpecial Data Register Allocation Numbers• Do not change the data of r
6: ALLOCATION NUMBERS« FC4A MICROSMART USER’S MANUAL » 6-15Special Data Registers for High-speed CountersSpecial Data Register for Pulse Outputs (upgr
1: GENERAL INFORMATION1-6 « FC4A MICROSMART USER’S MANUAL »Data Link SystemWith an optional RS485 communication adapter installed on the port 2 connec
6: ALLOCATION NUMBERS6-16 « FC4A MICROSMART USER’S MANUAL »Special Data Registers for Port 2Note: D8100 through D8199 are not available on the all-in-
6: ALLOCATION NUMBERS« FC4A MICROSMART USER’S MANUAL » 6-17D8002 CPU Module Type InformationInformation about the CPU module type is stored to D8002.
6: ALLOCATION NUMBERS6-18 « FC4A MICROSMART USER’S MANUAL »Expansion I/O Module OperandsExpansion I/O modules are available in digital I/O modules and
6: ALLOCATION NUMBERS« FC4A MICROSMART USER’S MANUAL » 6-19I/O Expansion for Slim Type CPU ModulesAll slim type CPU modules can connect a maximum of s
6: ALLOCATION NUMBERS6-20 « FC4A MICROSMART USER’S MANUAL »
« FC4A MICROSMART USER’S MANUAL » 7-17: BASIC INSTRUCTIONSIntroductionThis chapter describes programming of the basic instructions, available operands
7: BASIC INSTRUCTIONS7-2 « FC4A MICROSMART USER’S MANUAL »LOD (Load) and LODN (Load Not)The LOD instruction starts the logical operation with a NO (n
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-3Examples: LOD (Load), OUT (Output), and NOTSET and RST (Reset)The SET and RST (reset) instr
7: BASIC INSTRUCTIONS7-4 « FC4A MICROSMART USER’S MANUAL »AND and ANDN (And Not)The AND instruction is used for programming a NO contact in series. T
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-5AND LOD (Load)The AND LOD instruction is used to connect, in series, two or more circuits st
1: GENERAL INFORMATION« FC4A MICROSMART USER’S MANUAL » 1-7Operator Interface Communication SystemThe MicroSmart can communicate with IDEC’s HG series
7: BASIC INSTRUCTIONS7-6 « FC4A MICROSMART USER’S MANUAL »BPS (Bit Push), BRD (Bit Read), and BPP (Bit Pop)The BPS (bit push) instruction is used to s
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-7TML, TIM, TMH, and TMS (Timer)Four types of timedown timers are available; 1-sec timer TML,
7: BASIC INSTRUCTIONS7-8 « FC4A MICROSMART USER’S MANUAL »Timer CircuitThe preset value 0 through 65535 can be designated using a data register D0 thr
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-9Timer Accuracy, continuedTimer Counting ErrorEvery timer instruction operation is individual
7: BASIC INSTRUCTIONS7-10 « FC4A MICROSMART USER’S MANUAL »CNT, CDP, and CUD (Counter)Three types of counters are available; adding (up) counter CNT,
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-11CDP (Dual-Pulse Reversible Counter)The dual-pulse reversible counter CDP has up and down pu
7: BASIC INSTRUCTIONS7-12 « FC4A MICROSMART USER’S MANUAL »CUD (Up/Down Selection Reversible Counter)The up/down selection reversible counter CUD has
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-13Changing, Confirming, and Clearing Preset Values for Timers and CountersPreset values for ti
7: BASIC INSTRUCTIONS7-14 « FC4A MICROSMART USER’S MANUAL »CC= and CC≥ (Counter Comparison)The CC= instruction is an equivalent comparison instruction
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-15Examples: CC= and CC≥ (Counter Comparison)Ladder Diagram 1Timing ChartCC=5C2CNT C210I1Reset
U PDATE I NFO « FC4A M ICRO S MART U SER ’ S M ANUAL » M ICRO S MART U SER ’ S M ANUAL U PDATE Introduction This manual includes additional des
1: GENERAL INFORMATION1-8 « FC4A MICROSMART USER’S MANUAL »AS-Interface NetworkThe MicroSmart can be connected to the AS-Interface network using the A
7: BASIC INSTRUCTIONS7-16 « FC4A MICROSMART USER’S MANUAL »DC= and DC≥ (Data Register Comparison)The DC= instruction is an equivalent comparison instr
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-17Examples: DC= and DC≥ (Data Register Comparison)Ladder Diagram 1Timing ChartDC=5D2DC>=3D
7: BASIC INSTRUCTIONS7-18 « FC4A MICROSMART USER’S MANUAL »SFR and SFRN (Forward and Reverse Shift Register)The shift register consists of a total of
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-19Forward Shift Register (SFR), continuedSetting and Resetting Shift Register BitsReset Input
7: BASIC INSTRUCTIONS7-20 « FC4A MICROSMART USER’S MANUAL »Reverse Shift Register (SFRN)For reverse shifting, use the SFRN instruction. When SFRN inst
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-21Bidirectional Shift RegisterA bidirectional shift register can be created by first programmi
7: BASIC INSTRUCTIONS7-22 « FC4A MICROSMART USER’S MANUAL »SOTU and SOTD (Single Output Up and Down)The SOTU instruction “looks for” the transition
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-23MCS and MCR (Master Control Set and Reset)The MCS (master control set) instruction is usu
7: BASIC INSTRUCTIONS7-24 « FC4A MICROSMART USER’S MANUAL »MCS and MCR (Master Control Set and Reset), continuedMultiple Usage of MCS instructionsCoun
7: BASIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 7-25JMP (Jump) and JEND (Jump End)The JMP (jump) instruction is usually used in combination wi
« FC4A MICROSMART USER’S MANUAL » 2-12: MODULE SPECIFICATIONSIntroductionThis chapter describes MicroSmart modules, parts names, and specifications of
7: BASIC INSTRUCTIONS7-26 « FC4A MICROSMART USER’S MANUAL »JMP (Jump) and JEND (Jump End), continuedENDThe END instruction is always required at the e
« FC4A MICROSMART USER’S MANUAL » 8-18: ADVANCED INSTRUCTIONSIntroductionThis chapter describes general rules of using advanced instructions, terms, d
8: ADVANCED INSTRUCTIONS8-2 « FC4A MICROSMART USER’S MANUAL »Data ConversionHTOB Hex to BCD X 14 14-1BTOH BCD to Hex X 14 14-2HTOA Hex to ASCII X 18 1
8: ADVANCED INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 8-3Advanced Instruction Applicable CPU ModulesApplicable advanced instructions depend on the
8: ADVANCED INSTRUCTIONS8-4 « FC4A MICROSMART USER’S MANUAL »Advanced instructions marked with ▲ can be used on the CPU modules with system program ve
8: ADVANCED INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 8-5Structure of an Advanced InstructionInput Condition for Advanced InstructionsAlmost all a
8: ADVANCED INSTRUCTIONS8-6 « FC4A MICROSMART USER’S MANUAL »Data Types for Advanced InstructionsWhen using the move, data comparison, and binary arit
8: ADVANCED INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 8-7NOP (No Operation)Details of all other advanced instructions are described in the followi
8: ADVANCED INSTRUCTIONS8-8 « FC4A MICROSMART USER’S MANUAL »
« FC4A MICROSMART USER’S MANUAL » 9-19: MOVE INSTRUCTIONSIntroductionData can be moved using the MOV (move), MOVN (move not), IMOV (indirect move), or
2: MODULE SPECIFICATIONS2-2 « FC4A MICROSMART USER’S MANUAL »(1) Power Supply TerminalsConnect power supply to these terminals. Power voltage 100-240V
9: MOVE INSTRUCTIONS9-2 « FC4A MICROSMART USER’S MANUAL »Examples: MOVThe following examples are described using the word data type. Data move operati
9: MOVE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 9-3Repeat Bit OperandsThe MOV (move) instruction moves 16-bit data. When a bit operand such as i
9: MOVE INSTRUCTIONS9-4 « FC4A MICROSMART USER’S MANUAL »MOVN (Move Not)Applicable CPU ModulesValid OperandsFor the valid operand number range, see pa
9: MOVE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 9-5IMOV (Indirect Move)Applicable CPU ModulesValid OperandsFor the valid operand number range, s
9: MOVE INSTRUCTIONS9-6 « FC4A MICROSMART USER’S MANUAL »IMOVN (Indirect Move Not)Applicable CPU ModulesValid OperandsFor the valid operand number ran
9: MOVE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 9-7BMOV (Block Move)Applicable CPU ModulesValid OperandsFor the valid operand number range, see
9: MOVE INSTRUCTIONS9-8 « FC4A MICROSMART USER’S MANUAL »IBMV (Indirect Bit Move)Applicable CPU ModulesValid OperandsFor the valid operand number rang
9: MOVE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 9-9Repeat Operation in the Indirect Bit Move InstructionsRepeat Bit Operands (Source and Destina
9: MOVE INSTRUCTIONS9-10 « FC4A MICROSMART USER’S MANUAL »IBMVN (Indirect Bit Move Not)Applicable CPU ModulesValid OperandsFor the valid operand numbe
« FC4A MICROSMART USER’S MANUAL » 10-110: DATA COMPARISON INSTRUCTIONSIntroductionData can be compared using data comparison instructions, such as equ
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-3General Specifications (All-in-One Type CPU Module)Normal Operating ConditionsPower Supply
10: DATA COMPARISON INSTRUCTIONS10-2 « FC4A MICROSMART USER’S MANUAL »Applicable CPU ModulesValid OperandsFor the valid operand number range, see page
10: DATA COMPARISON INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 10-3Repeat Operation in the Data Comparison InstructionsThe following examples are d
10: DATA COMPARISON INSTRUCTIONS10-4 « FC4A MICROSMART USER’S MANUAL »ICMP>= (Interval Compare Greater Than or Equal To)Applicable CPU ModulesValid
« FC4A MICROSMART USER’S MANUAL » 11-111: BINARY ARITHMETIC INSTRUCTIONSIntroductionThe binary arithmetic instructions make it possible for the user t
11: BINARY ARITHMETIC INSTRUCTIONS11-2 « FC4A MICROSMART USER’S MANUAL »Valid OperandsFor the valid operand number range, see pages 6-1 and 6-2.▲ Inte
11: BINARY ARITHMETIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 11-3Example: SUB• Data Type: WordThe following example demonstrates the use of spe
11: BINARY ARITHMETIC INSTRUCTIONS11-4 « FC4A MICROSMART USER’S MANUAL »Repeat Operation in the ADD and SUB InstructionsSource operands S1 and S2 and
11: BINARY ARITHMETIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 11-5Repeat Operation in the MUL InstructionSince the MUL (multiplication) instruct
11: BINARY ARITHMETIC INSTRUCTIONS11-6 « FC4A MICROSMART USER’S MANUAL »Repeat Operation in the DIV InstructionSince the DIV (division) instruction us
11: BINARY ARITHMETIC INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 11-7ROOT (Root)Applicable CPU ModulesValid OperandsFor the valid operand number ra
2: MODULE SPECIFICATIONS2-4 « FC4A MICROSMART USER’S MANUAL »Function Specifications (All-in-One Type CPU Module)CPU Module SpecificationsSystem Statuse
11: BINARY ARITHMETIC INSTRUCTIONS11-8 « FC4A MICROSMART USER’S MANUAL »
« FC4A MICROSMART USER’S MANUAL » 12-112: BOOLEAN COMPUTATION INSTRUCTIONSIntroductionBoolean computations use the AND, OR, and exclusive OR statement
12: BOOLEAN COMPUTATION INSTRUCTIONS12-2 « FC4A MICROSMART USER’S MANUAL »Valid OperandsFor the valid operand number range, see pages 6-1 and 6-2.▲ In
12: BOOLEAN COMPUTATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 12-3Repeat Operation in the ANDW, ORW, and XORW InstructionsSource operands S1 a
12: BOOLEAN COMPUTATION INSTRUCTIONS12-4 « FC4A MICROSMART USER’S MANUAL »
« FC4A MICROSMART USER’S MANUAL » 13-113: SHIFT / ROTATE INSTRUCTIONSIntroductionBit shift and rotate instructions are used to shift the 16-bit data i
13: SHIFT / ROTATE INSTRUCTIONS13-2 « FC4A MICROSMART USER’S MANUAL »Example: SFTLM8120REPM8120 is the initialize pulse special internal relay.When th
13: SHIFT / ROTATE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 13-3SFTR (Shift Right)Applicable CPU ModulesValid OperandsFor the valid operand numbe
13: SHIFT / ROTATE INSTRUCTIONS13-4 « FC4A MICROSMART USER’S MANUAL »BCDLS (BCD Left Shift)Applicable CPU ModulesValid OperandsFor the valid operand n
13: SHIFT / ROTATE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 13-5WSFT (Word Shift)Applicable CPU ModulesValid OperandsFor the valid operand number
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-5Communication Function* Recommended cable for RS485: Twisted-pair shielded cable with a m
13: SHIFT / ROTATE INSTRUCTIONS13-6 « FC4A MICROSMART USER’S MANUAL »ROTL (Rotate Left)Applicable CPU ModulesValid OperandsFor the valid operand numbe
13: SHIFT / ROTATE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 13-7ROTR (Rotate Right)Applicable CPU ModulesValid OperandsFor the valid operand numb
13: SHIFT / ROTATE INSTRUCTIONS13-8 « FC4A MICROSMART USER’S MANUAL »
« FC4A MICROSMART USER’S MANUAL » 14-114: DATA CONVERSION INSTRUCTIONSIntroductionData conversion instructions convert data format among binary, BCD,
14: DATA CONVERSION INSTRUCTIONS14-2 « FC4A MICROSMART USER’S MANUAL »BTOH (BCD to Hex)Applicable CPU ModulesValid OperandsFor the valid operand numbe
14: DATA CONVERSION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 14-3HTOA (Hex to ASCII)Applicable CPU ModulesValid OperandsFor the valid operand num
14: DATA CONVERSION INSTRUCTIONS14-4 « FC4A MICROSMART USER’S MANUAL »Examples: HTOA• Quantity of Digits: 4• Quantity of Digits: 3• Quantity of Digits
14: DATA CONVERSION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 14-5ATOH (ASCII to Hex)Applicable CPU ModulesValid OperandsFor the valid operand num
14: DATA CONVERSION INSTRUCTIONS14-6 « FC4A MICROSMART USER’S MANUAL »Examples: ATOH• Quantity of Digits: 4• Quantity of Digits: 3• Quantity of Digits
14: DATA CONVERSION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 14-7BTOA (BCD to ASCII)Applicable CPU ModulesValid OperandsFor the valid operand num
2: MODULE SPECIFICATIONS2-6 « FC4A MICROSMART USER’S MANUAL »DC Input Specifications (All-in-One Type CPU Module)Input Operating Range Input Internal C
14: DATA CONVERSION INSTRUCTIONS14-8 « FC4A MICROSMART USER’S MANUAL »Examples: BTOA• Quantity of Digits: 5• Quantity of Digits: 4• Quantity of Digits
14: DATA CONVERSION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 14-9ATOB (ASCII to BCD)Applicable CPU ModulesValid OperandsFor the valid operand num
14: DATA CONVERSION INSTRUCTIONS14-10 « FC4A MICROSMART USER’S MANUAL »Examples: ATOB• Quantity of Digits: 5• Quantity of Digits: 4• Quantity of Digit
14: DATA CONVERSION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 14-11ENCO (Encode)Applicable CPU ModulesValid OperandsFor the valid operand number r
14: DATA CONVERSION INSTRUCTIONS14-12 « FC4A MICROSMART USER’S MANUAL »DECO (Decode)Applicable CPU ModulesValid OperandsFor the valid operand number r
14: DATA CONVERSION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 14-13BCNT (Bit Count)Applicable CPU ModulesValid OperandsFor the valid operand numbe
14: DATA CONVERSION INSTRUCTIONS14-14 « FC4A MICROSMART USER’S MANUAL »ALT (Alternate Output)Applicable CPU ModulesValid OperandsFor the valid operand
« FC4A MICROSMART USER’S MANUAL » 15-115: WEEK PROGRAMMER INSTRUCTIONSIntroductionWKTIM instructions can be used as many as required to turn on and of
15: WEEK PROGRAMMER INSTRUCTIONS15-2 « FC4A MICROSMART USER’S MANUAL »S1 — Day of week comparison data (0 through 127)Specify the days of week to turn
15: WEEK PROGRAMMER INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 15-3S1 through SN — Special month/day dataSpecify the months and days to add or skip
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-7Relay Output Specifications (All-in-One Type CPU Module)Output DelayCPU ModuleFC4A-C10R2FC
15: WEEK PROGRAMMER INSTRUCTIONS15-4 « FC4A MICROSMART USER’S MANUAL »• Keep Output ON across 0 a.m.When the hour/minute comparison data to turn on (S
15: WEEK PROGRAMMER INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 15-5Setting Calendar/Clock Using WindLDRBefore using the clock cartridge for the firs
15: WEEK PROGRAMMER INSTRUCTIONS15-6 « FC4A MICROSMART USER’S MANUAL »Special Internal Relays for Calendar/Clock DataExample: Setting Calendar/Clock D
15: WEEK PROGRAMMER INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 15-7Adjusting Clock Cartridge AccuracyThe optional clock cartridge (FC4A-PT1) has an
15: WEEK PROGRAMMER INSTRUCTIONS15-8 « FC4A MICROSMART USER’S MANUAL »
« FC4A MICROSMART USER’S MANUAL » 16-116: INTERFACE INSTRUCTIONSIntroductionThe DISP (display) instruction is used to display 1 through 5 digits of ti
16: INTERFACE INSTRUCTIONS16-2 « FC4A MICROSMART USER’S MANUAL »Example: DISPThe following example demonstrates a program to display the 4-digit curre
16: INTERFACE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 16-3DGRD (Digital Read)Applicable CPU ModulesNote: The DGRD instruction requires transisto
16: INTERFACE INSTRUCTIONS16-4 « FC4A MICROSMART USER’S MANUAL »Adjusting Scan TimeThe DGRD instruction requires a scan time longer than the filter tim
« FC4A MICROSMART USER’S MANUAL » 17-117: USER COMMUNICATION INSTRUCTIONSIntroductionThis chapter describes the user communication function for commun
2: MODULE SPECIFICATIONS2-8 « FC4A MICROSMART USER’S MANUAL »CPU Module Terminal Arrangement (All-in-One Type)The input and output terminal arrangemen
17: USER COMMUNICATION INSTRUCTIONS17-2 « FC4A MICROSMART USER’S MANUAL »User Communication Mode SpecificationsNote *: WindLDR 4.0 or higher is needed
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-3RS232C User Communication System SetupUser Communication Cable 1CFC2A-KP1C2.4
17: USER COMMUNICATION INSTRUCTIONS17-4 « FC4A MICROSMART USER’S MANUAL »Connecting RS485 Equipment through RS485 Port 2Upgraded slim type CPU modules
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-5Programming WindLDRWhen using the user communication function to communicate
17: USER COMMUNICATION INSTRUCTIONS17-6 « FC4A MICROSMART USER’S MANUAL »TXD1 (Transmit 1)Applicable CPU ModulesTXD2 (Transmit 2)Applicable CPU Module
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-7User Communication Transmit Instruction Dialog Box in WindLDRSelections and O
17: USER COMMUNICATION INSTRUCTIONS17-8 « FC4A MICROSMART USER’S MANUAL »Example:The following example shows two methods to enter 3-byte ASCII data “1
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-9Transmit Digits (Bytes)After conversion, the transmit data is taken out in sp
17: USER COMMUNICATION INSTRUCTIONS17-10 « FC4A MICROSMART USER’S MANUAL »BCC (Block Check Character)Block check characters can be appended to the tra
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-11Conversion TypeThe BCC calculation result can be converted or not according
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-9DC Power Type CPU ModuleFC4A-C10R2CFC4A-C16R2CFC4A-C24R2CRy.OUT Ry.OUTCOM0 COM1 30 1 2COM
17: USER COMMUNICATION INSTRUCTIONS17-12 « FC4A MICROSMART USER’S MANUAL »Transmit Data Byte CountThe data register next to the operand designated for
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-132. Check that TXD is selected in the Type box and click Port 1 in the Port b
17: USER COMMUNICATION INSTRUCTIONS17-14 « FC4A MICROSMART USER’S MANUAL »6. Once again in the Data Type Selection dialog box, click Constant (Hexadec
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-15RXD1 (Receive 1)Applicable CPU ModulesRXD2 (Receive 2)Applicable CPU Modules
17: USER COMMUNICATION INSTRUCTIONS17-16 « FC4A MICROSMART USER’S MANUAL »User Communication Receive Instruction Dialog Box in WindLDRSelections and O
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-17Receive DigitsThe received data is divided into a block of specified receive
17: USER COMMUNICATION INSTRUCTIONS17-18 « FC4A MICROSMART USER’S MANUAL »(2) Repeat cycles = 3Designating Constant as Start DelimiterA start delimite
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-19(2) When RXD1/RXD2 instructions with start delimiters STX (02h) and ENQ (05h
17: USER COMMUNICATION INSTRUCTIONS17-20 « FC4A MICROSMART USER’S MANUAL »Example:(1) When a RXD instruction without an end delimiter is executed(2) W
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-21BCC (Block Check Character)The MicroSmart has an automatic BCC calculation f
« FC4A M ICRO S MART U SER ’ S M ANUAL »P REFACE -1 S AFETY P RECAUTIONS • Read this user’s manual to make sure of correct operation before start
2: MODULE SPECIFICATIONS2-10 « FC4A MICROSMART USER’S MANUAL »I/O Wiring Diagrams (All-in-One Type CPU Module)The input and output wiring examples of
17: USER COMMUNICATION INSTRUCTIONS17-22 « FC4A MICROSMART USER’S MANUAL »Conversion TypeThe BCC calculation result can be converted or not according
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-23Example 2: BCC is calculated for the first byte through the sixth byte using
17: USER COMMUNICATION INSTRUCTIONS17-24 « FC4A MICROSMART USER’S MANUAL »Receive Data Byte CountThe data register next to the operand designated for
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-252. Check that RXD is selected in the Type box and click Port 1 in the Port b
17: USER COMMUNICATION INSTRUCTIONS17-26 « FC4A MICROSMART USER’S MANUAL »6. Again in the Data Type Selection dialog box, click BCC and click OK. Next
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-27User Communication ErrorWhen a user communication error occurs, a user commu
17: USER COMMUNICATION INSTRUCTIONS17-28 « FC4A MICROSMART USER’S MANUAL »ASCII Character Code TableUpperBit0123456789ABCDEFLowerBit0NULDLESP 0 @ P `
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-29RS232C Line Control SignalsWhile the MicroSmart is in the user communication
17: USER COMMUNICATION INSTRUCTIONS17-30 « FC4A MICROSMART USER’S MANUAL »DSR Input Control Signal Option D8105Special data register D8105 is used to
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-31D8106 = 1: Whether the MicroSmart is running or stopped, DTR remains off.D8
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-11CPU Modules (Slim Type)Slim type CPU modules are available in 20- and 40-I/O types. The
17: USER COMMUNICATION INSTRUCTIONS17-32 « FC4A MICROSMART USER’S MANUAL »Sample Program – User Communication TXDThis example demonstrates a program t
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-33Setting User Communication Mode in WindLDR Function Area SettingsSince this
17: USER COMMUNICATION INSTRUCTIONS17-34 « FC4A MICROSMART USER’S MANUAL »Sample Program – User Communication RXDThis example demonstrates a program t
17: USER COMMUNICATION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 17-35Configuring Barcode ReaderThe values shown below are an example of configuring
17: U SER C OMMUNICATION I NSTRUCTIONS 17-36 « FC4A M ICRO S MART U SER ’ S M ANUAL » New BCC Calculation Examples The upgraded CPU modules can
« FC4A M ICRO S MART U SER ’ S M ANUAL » 18-1 18: P ROGRAM B RANCHING I NSTRUCTIONS Introduction The program branching instructions reduce execu
18: P ROGRAM B RANCHING I NSTRUCTIONS 18-2 « FC4A M ICRO S MART U SER ’ S M ANUAL » Example: LJMP and LABEL The following example demonstrates a
18: P ROGRAM B RANCHING I NSTRUCTIONS « FC4A M ICRO SMART USER’S MANUAL » 18-3LCAL (Label Call)Applicable CPU ModulesValid OperandsFor the valid op
18: PROGRAM BRANCHING INSTRUCTIONS18-4 « FC4A MICROSMART USER’S MANUAL »Correct Structure for Calling SubroutineWhen a LCAL instruction is executed, t
18: PROGRAM BRANCHING INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 18-5IOREF (I/O Refresh)Applicable CPU ModulesValid OperandsOnly input or output nu
2: MODULE SPECIFICATIONS2-12 « FC4A MICROSMART USER’S MANUAL »(1) Power Supply TerminalsConnect power supply to these terminals. Power voltage 24V DC.
18: PROGRAM BRANCHING INSTRUCTIONS18-6 « FC4A MICROSMART USER’S MANUAL »Example: IOREFThe following example demonstrates a program to transfer the inp
18: PROGRAM BRANCHING INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 18-7DI (Disable Interrupt)EI (Enable Interrupt)Applicable CPU ModulesValid Operand
18: PROGRAM BRANCHING INSTRUCTIONS18-8 « FC4A MICROSMART USER’S MANUAL »Example: DI and EIThe following example demonstrates a program to disable and
« FC4A MICROSMART USER’S MANUAL » 19-119: COORDINATE CONVERSION INSTRUCTIONSIntroductionThe coordinate conversion instructions convert one data point
19: COORDINATE CONVERSION INSTRUCTIONS19-2 « FC4A MICROSMART USER’S MANUAL »Xn (X value), Yn (Y value)Enter values for the X and Y coordinates. Three
19: COORDINATE CONVERSION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 19-3S1 (Format number)Select a format number 0 through 5 which have been set u
19: COORDINATE CONVERSION INSTRUCTIONS19-4 « FC4A MICROSMART USER’S MANUAL »Valid OperandsFor the valid operand number range, see pages 6-1 and 6-2.▲
19: COORDINATE CONVERSION INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 19-5Example: Linear ConversionThe following example demonstrates setting up tw
19: COORDINATE CONVERSION INSTRUCTIONS19-6 « FC4A MICROSMART USER’S MANUAL »Example: Overlapping CoordinatesIn this example, the XYFS instruction sets
« FC4A MICROSMART USER’S MANUAL » 20-120: PULSE INSTRUCTIONSIntroductionThe PULS (pulse output) instruction is used to generate pulse outputs of 10 Hz
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-13General Specifications (Slim Type CPU Module)Normal Operating ConditionsPower SupplyNote:
20: PULSE INSTRUCTIONS20-2 « FC4A MICROSMART USER’S MANUAL »Valid OperandsSource operand S1 (control register) uses 8 data registers starting with the
20: PULSE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 20-3S1+2 Pulse CountingPulse counting can be enabled for the PULS1 instruction only. With pul
20: PULSE INSTRUCTIONS20-4 « FC4A MICROSMART USER’S MANUAL »D1+1 Pulse Output CompleteThe internal relay designated by operand D1+1 turns on when the
20: PULSE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 20-5Timing Chart for Disable Pulse CountingThis program demonstrates a timing chart of the PUL
20: PULSE INSTRUCTIONS20-6 « FC4A MICROSMART USER’S MANUAL »Sample Program: PULS1This program demonstrates a user program of the PULS1 instruction to
20: PULSE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 20-7PWM1 (Pulse Width Modulation 1)PWM2 (Pulse Width Modulation 2)Note: The PWM1 and PWM2 inst
20: PULSE INSTRUCTIONS20-8 « FC4A MICROSMART USER’S MANUAL »S1+0 Output Pulse FrequencyThe value stored in the data register designated by operand S1
20: P ULSE I NSTRUCTIONS « FC4A M ICRO S MART U SER ’ S M ANUAL » 20-9 Destination Operand D1 (Status Relay) Three internal relays starting with
20: P ULSE I NSTRUCTIONS 20-10 « FC4A M ICRO S MART U SER ’ S M ANUAL » Timing Chart for Enable Pulse Counting This program demonstrates a timing
20: P ULSE I NSTRUCTIONS « FC4A M ICRO S MART U SER ’ S M ANUAL » 20-11 Timing Chart for Disable Pulse Counting This program demonstrates a timin
2: MODULE SPECIFICATIONS2-14 « FC4A MICROSMART USER’S MANUAL »Function Specifications (Slim Type CPU Module)CPU Module SpecificationsNote 1: When using
20: P ULSE I NSTRUCTIONS 20-12 « FC4A M ICRO S MART U SER ’ S M ANUAL » Sample Program: PWM1 This program demonstrates a user program of the PWM1
20: P ULSE I NSTRUCTIONS « FC4A M ICRO S MART U SER ’ S M ANUAL » 20-13 RAMP (Ramp Control) Note: The RAMP instruction can be used only once in
20: PULSE INSTRUCTIONS20-14 « FC4A MICROSMART USER’S MANUAL »S1+0 Operation ModeThe value stored in the data register designated by operand S1+0 dete
20: PULSE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 20-15S1+3 Frequency Change Rate / Frequency Change TimeWhen S1+0 is set to 0 through 2, the v
20: PULSE INSTRUCTIONS20-16 « FC4A MICROSMART USER’S MANUAL »S1+5 Control DirectionWhen S1+4 is set to 1 or 2 to enable reversible control, the value
20: PULSE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 20-17Destination Operand D1 (Status Relay)Four internal relays starting with the operand desig
20: PULSE INSTRUCTIONS20-18 « FC4A MICROSMART USER’S MANUAL »Timing Chart for Reversible Control DisabledThis program demonstrates a timing chart of t
20: PULSE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 20-19Timing Chart for Reversible Control with Single Pulse OutputThis program demonstrates a t
20: PULSE INSTRUCTIONS20-20 « FC4A MICROSMART USER’S MANUAL »Timing Chart for Reversible Control with Dual Pulse OutputThis program demonstrates a tim
20: PULSE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 20-21Sample Program: RAMP — Reversible Control DisabledThis program demonstrates a user progra
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-15Communication FunctionNote 1: RS485 user communication is available on upgraded CPU modu
20: PULSE INSTRUCTIONS20-22 « FC4A MICROSMART USER’S MANUAL »Sample Program: RAMP — Reversible Control with Single Pulse OutputThis program demonstrat
20: PULSE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 20-23Sample Program: RAMP — Reversible Control with Dual Pulse OutputThis program demonstrates
20: PULSE INSTRUCTIONS20-24 « FC4A MICROSMART USER’S MANUAL »ZRN1 (Zero Return 1)ZRN2 (Zero Return 2)Note: The ZRN1 and ZRN2 instructions can be used
20: PULSE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 20-25S1+0 Initial Operation ModeThe value stored in the data register designated by operand S
20: PULSE INSTRUCTIONS20-26 « FC4A MICROSMART USER’S MANUAL »Source Operand S2 (Deceleration Input)When the deceleration input turns on while the ZRN
20: PULSE INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 20-27Timing Chart for Zero-return OperationThis program demonstrates a timing chart of the ZRN
20: PULSE INSTRUCTIONS20-28 « FC4A MICROSMART USER’S MANUAL »Sample Program: ZRN1This program demonstrates a user program of the ZRN1 instruction used
« FC4A MICROSMART USER’S MANUAL » 21-121: PID INSTRUCTIONIntroductionThe PID instruction implements a PID (proportional, integral, and derivative) alg
21: PID INSTRUCTION21-2 « FC4A MICROSMART USER’S MANUAL »PID (PID Control)Applicable CPU Modules and Quantity of PID InstructionsA maximum of 8 or 14
21: PID INSTRUCTION« FC4A MICROSMART USER’S MANUAL » 21-3Source Operand S1 (Control Register)Store appropriate values to data registers starting with
2: MODULE SPECIFICATIONS2-16 « FC4A MICROSMART USER’S MANUAL »DC Input Specifications (Slim Type CPU Module)CPU ModuleFC4A-D20K3FC4A-D20S3FC4A-D20RK1FC
21: PID INSTRUCTION21-4 « FC4A MICROSMART USER’S MANUAL »S1+0 Process Variable (after conversion)When the linear conversion is enabled (S1+4 set to 1
21: PID INSTRUCTION« FC4A MICROSMART USER’S MANUAL » 21-5S1+3 Operation ModeWhen the start input for the PID instruction is turned on, the CPU module
21: PID INSTRUCTION21-6 « FC4A MICROSMART USER’S MANUAL »Example:When type K thermocouple is connected, the analog input data ranges from 0 through 40
21: PID INSTRUCTION« FC4A MICROSMART USER’S MANUAL » 21-7When the derivative time is set to a large value, the derivative action becomes large. When t
21: PID INSTRUCTION21-8 « FC4A MICROSMART USER’S MANUAL »Example – Sampling period: 80 ms, Scan time: 60 ms (Sampling period > Scan time)S1+13 Con
21: PID INSTRUCTION« FC4A MICROSMART USER’S MANUAL » 21-9S1+16 Output Manipulated Variable Upper LimitThe value contained in the data register design
21: PID INSTRUCTION21-10 « FC4A MICROSMART USER’S MANUAL »Set the AT sampling period to a long value to make sure that the current process variable is
21: PID INSTRUCTION« FC4A MICROSMART USER’S MANUAL » 21-11Source Operand S2 (Control Relay)Turn on or off appropriate outputs or internal relays start
21: PID INSTRUCTION21-12 « FC4A MICROSMART USER’S MANUAL »S2+2 Output Manipulated Variable Limit EnableThe output manipulated variable upper limit (S
21: PID INSTRUCTION« FC4A MICROSMART USER’S MANUAL » 21-13Source Operand S4 (Process Variable before Conversion)The PID instruction is designed to use
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-17Transistor Sink and Source Output Specifications (Slim Type CPU Module)Output Internal Ci
21: PID INSTRUCTION21-14 « FC4A MICROSMART USER’S MANUAL »Application ExampleThis application example demonstrates a PID control for a heater to keep
21: PID INSTRUCTION« FC4A MICROSMART USER’S MANUAL » 21-15System SetupAnalog Input Data vs. Process Variable after ConversionTemperature Control by Au
21: PID INSTRUCTION21-16 « FC4A MICROSMART USER’S MANUAL »Ladder ProgramThe ladder diagram shown below describes an example of using the PID instructi
21: PID INSTRUCTION« FC4A MICROSMART USER’S MANUAL » 21-17Set PID Parameters (PIDST) Dialog BoxPlace the cursor where to insert the PIDST instruction,
21: PID INSTRUCTION21-18 « FC4A MICROSMART USER’S MANUAL »Notes for Using the PID Instruction:• Since the PID instruction requires continuous operatio
« FC4A MICROSMART USER’S MANUAL » 22-122: DUAL / TEACHING TIMER INSTRUCTIONSIntroductionDual timer instructions generate ON/OFF pulses of required dur
22: DUAL / TEACHING TIMER INSTRUCTIONS22-2 « FC4A MICROSMART USER’S MANUAL »Valid OperandsFor the valid operand number range, see page 6-2.▲ Internal
22: DUAL / TEACHING TIMER INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 22-3TTIM (Teaching Timer)Applicable CPU ModulesValid OperandsFor the valid ope
22: DUAL / TEACHING TIMER INSTRUCTIONS22-4 « FC4A MICROSMART USER’S MANUAL »
« FC4A MICROSMART USER’S MANUAL » 23-123: INTELLIGENT MODULE ACCESS INSTRUCTIONSIntroductionIntelligent module access instructions are used to read or
2: MODULE SPECIFICATIONS2-18 « FC4A MICROSMART USER’S MANUAL »Relay Output Specifications (Slim Type CPU Module)Output DelayCPU Module FC4A-D20RK1 FC4A
23: INTELLIGENT MODULE ACCESS INSTRUCTIONS23-2 « FC4A MICROSMART USER’S MANUAL »RUNA READ (Run Access Read)Applicable CPU ModulesValid Operands (Run A
23: INTELLIGENT MODULE ACCESS INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 23-3RUNA WRITE (Run Access Write)Applicable CPU ModulesValid Operands (Run
23: INTELLIGENT MODULE ACCESS INSTRUCTIONS23-4 « FC4A MICROSMART USER’S MANUAL »STPA READ (Stop Access Read)Note: STPA READ and STPA WRITE instruction
23: INTELLIGENT MODULE ACCESS INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 23-5STPA WRITE (Stop Access Write)Note: STPA READ and STPA WRITE instructi
23: INTELLIGENT MODULE ACCESS INSTRUCTIONS23-6 « FC4A MICROSMART USER’S MANUAL »Intelligent Module Access Status CodeThe data register designated as S
23: INTELLIGENT MODULE ACCESS INSTRUCTIONS« FC4A MICROSMART USER’S MANUAL » 23-7Example: RUNA READThe following example illustrates the data movement
23: INTELLIGENT MODULE ACCESS INSTRUCTIONS23-8 « FC4A MICROSMART USER’S MANUAL »
« FC4A MICROSMART USER’S MANUAL » 24-124: ANALOG I/O CONTROLIntroductionThe MicroSmart provides analog I/O control capabilities of 12- through 16-bit
24: ANALOG I/O CONTROL24-2 « FC4A MICROSMART USER’S MANUAL »Programming WindLDRUse WindLDR ver. 5.0 or later which has the ANST (Set Analog Module Par
24: ANALOG I/O CONTROL« FC4A MICROSMART USER’S MANUAL » 24-33. Click the Configure button under the selected slots.The Configure Parameters dialog box a
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-19CPU Module Terminal Arrangement and I/O Wiring Diagrams (Slim Type)FC4A-D20K3 (20-I/O Tr
24: ANALOG I/O CONTROL24-4 « FC4A MICROSMART USER’S MANUAL »5. Select a DR allocation number (Ladder refresh type only).6. Enter a filter value (Ladder
24: ANALOG I/O CONTROL« FC4A MICROSMART USER’S MANUAL » 24-58. Select a data type for each channel.Click on the right of the Data Type field, then a pu
24: ANALOG I/O CONTROL24-6 « FC4A MICROSMART USER’S MANUAL »10. Select maximum and minimum values.For analog input values, when Optional range is sele
24: ANALOG I/O CONTROL« FC4A MICROSMART USER’S MANUAL » 24-7Analog I/O Control ParametersAvailable parameters for analog I/O control depend on the typ
24: ANALOG I/O CONTROL24-8 « FC4A MICROSMART USER’S MANUAL »Data Register Allocation Numbers for Analog I/O Modules Analog I/O modules are numbered fr
24: ANALOG I/O CONTROL« FC4A MICROSMART USER’S MANUAL » 24-9Ladder Refresh Type Analog I/O ModulesWhen using a ladder refresh type analog input or out
24: ANALOG I/O CONTROL24-10 « FC4A MICROSMART USER’S MANUAL »Ladder Refresh Type Analog Output Module Data Register Allocation (FC4A-K2C1)Data Registe
24: ANALOG I/O CONTROL« FC4A MICROSMART USER’S MANUAL » 24-11Analog Input ParametersAnalog input parameters include the analog input signal type, anal
24: ANALOG I/O CONTROL24-12 « FC4A MICROSMART USER’S MANUAL »Optional RangeWhen Optional range is selected as an analog input data type, the analog in
24: ANALOG I/O CONTROL« FC4A MICROSMART USER’S MANUAL » 24-13Analog Input Minimum/Maximum ValuesFor analog input values, when Optional range is select
P REFACE -2 « FC4A M ICRO S MART U SER ’ S M ANUAL » About This Manual This user’s manual primarily describes entire functions, installation, and
2: MODULE SPECIFICATIONS2-20 « FC4A MICROSMART USER’S MANUAL »FC4A-D20RK1 (20-I/O Relay and Transistor Sink High-speed Output Type CPU Module)Applicab
24: ANALOG I/O CONTROL24-14 « FC4A MICROSMART USER’S MANUAL »END Refresh TypeThe operating status of each analog input channel is stored to a data reg
24: ANALOG I/O CONTROL« FC4A MICROSMART USER’S MANUAL » 24-15Analog Output ParametersAnalog output parameters include the analog output signal type, a
24: ANALOG I/O CONTROL24-16 « FC4A MICROSMART USER’S MANUAL »Ladder Refresh TypeThe operating status of each analog output channel is stored to a data
24: ANALOG I/O CONTROL« FC4A MICROSMART USER’S MANUAL » 24-17Example: Analog I/OThe following example demonstrates a program of analog I/O control usi
24: ANALOG I/O CONTROL24-18 « FC4A MICROSMART USER’S MANUAL »Wiring DiagramFC4A-J8AT1 (Analog Input Module)FC4A-T08S1 (8-point Transistor Source Outpu
24: ANALOG I/O CONTROL« FC4A MICROSMART USER’S MANUAL » 24-19WindLDR ProgrammingAnalog I/O modules are programmed using the ANST macro in WindLDR. Pro
24: ANALOG I/O CONTROL24-20 « FC4A MICROSMART USER’S MANUAL »• Analog Output Module FC4A-K1A1 on Slot 3Ladder DiagramAs shown in the ladder diagram be
24: ANALOG I/O CONTROL« FC4A MICROSMART USER’S MANUAL » 24-21Changing Analog Output While CPU is StoppedWhen using the FC4A-K2C1 analog output module,
24: ANALOG I/O CONTROL24-22 « FC4A MICROSMART USER’S MANUAL »
« FC4A MICROSMART USER’S MANUAL » 25-125: DATA LINK COMMUNICATIONIntroductionThis chapter describes the data link communication function used to set u
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-21FC4A-D40K3 (40-I/O Transistor Sink Output Type CPU Module)Applicable Connector: FC4A-PMC
25: DATA LINK COMMUNICATION25-2 « FC4A MICROSMART USER’S MANUAL »Data Link System SetupTo set up a data link system, install the RS485 communication a
25: DATA LINK COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 25-3Data Register Allocation for Transmit/Receive DataThe master station has 12 data regi
25: DATA LINK COMMUNICATION25-4 « FC4A MICROSMART USER’S MANUAL »Special Data Registers for Data Link Communication ErrorIn addition to data registers
25: DATA LINK COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 25-5Data Link Communication between Master and Slave StationsThe master station has 6 dat
25: DATA LINK COMMUNICATION25-6 « FC4A MICROSMART USER’S MANUAL »Special Internal Relays for Data Link CommunicationSpecial internal relays M8005 thro
25: DATA LINK COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 25-7Programming WindLDRThe Communication page in the Function Area Settings is used to pr
25: DATA LINK COMMUNICATION25-8 « FC4A MICROSMART USER’S MANUAL »Data Link Slave Station1. From the WindLDR menu bar, select Configure > Function Ar
25: DATA LINK COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 25-9Refresh ModeIn the data link communication, the master station sends data to a slave
25: DATA LINK COMMUNICATION25-10 « FC4A MICROSMART USER’S MANUAL »The communication sequence in the separate refresh mode is shown below:Refresh Time
25: DATA LINK COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 25-11Operating Procedure for Data Link SystemTo set up and use a data link system, comple
2: MODULE SPECIFICATIONS2-22 « FC4A MICROSMART USER’S MANUAL »FC4A-D40S3 (40-I/O Transistor Source Output Type CPU Module)Applicable Connector: FC4A-P
25: DATA LINK COMMUNICATION25-12 « FC4A MICROSMART USER’S MANUAL »Data Link with Other PLCsThe data link communication system can include IDEC’s OpenN
« FC4A MICROSMART USER’S MANUAL » 26-126: COMPUTER LINK COMMUNICATIONIntroductionWhen the MicroSmart CPU module is connected to a computer, operating
26: COMPUTER LINK COMMUNICATION26-2 « FC4A MICROSMART USER’S MANUAL »Programming WindLDRIn the 1:1 computer link system, a computer can be connected t
26: COMPUTER LINK COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 26-3Assigning Device NumbersWhen assigning a unique device number of 0 through 31 to
26: COMPUTER LINK COMMUNICATION26-4 « FC4A MICROSMART USER’S MANUAL »RS232C/RS485 Converter FC2A-MD1The RS232C/RS485 converter FC2A-MD1 is used to con
26: COMPUTER LINK COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 26-5RS232C Connector PinoutsDimensionsRS232C Cable HD9Z-C52AC AdapterThe RS232C/RS485
26: COMPUTER LINK COMMUNICATION26-6 « FC4A MICROSMART USER’S MANUAL »
« FC4A MICROSMART USER’S MANUAL » 27-127: MODEM MODEIntroduction This chapter describes the modem mode designed for communication between the MicroSma
27: MODEM MODE27-2 « FC4A MICROSMART USER’S MANUAL »Applicable ModemsAny Hayes compatible modem can be used. Modems with a communications rate of 9600
27: MODEM MODE« FC4A MICROSMART USER’S MANUAL » 27-3Special Data Registers for Modem ModeSpecial data registers D8103 and D8109-D8199 are allocated to
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-23Input ModulesDigital input modules are available in 8-, 16-, and 32-point DC input modul
27: MODEM MODE27-4 « FC4A MICROSMART USER’S MANUAL »AT and are appended at the beginning and end of the initialization string automatically by the s
27: MODEM MODE« FC4A MICROSMART USER’S MANUAL » 27-5As described above, when start internal relay M8050 is turned on, the initialization string is sen
27: MODEM MODE27-6 « FC4A MICROSMART USER’S MANUAL »Example of AT Command: ATE0Q0V1AT and are appended at the beginning and end of the AT general co
27: MODEM MODE« FC4A MICROSMART USER’S MANUAL » 27-7Modem Mode Status Data RegisterWhen the modem mode is enabled, data register D8111 stores a modem
27: MODEM MODE27-8 « FC4A MICROSMART USER’S MANUAL »Initialization String CommandsThe built-in initialization string (see page 27-3) include the comma
27: MODEM MODE« FC4A MICROSMART USER’S MANUAL » 27-9Preparation for Using ModemBefore using a modem, read the user’s manual for your modem.The require
27: MODEM MODE27-10 « FC4A MICROSMART USER’S MANUAL »Programming WindLDRThe Communication page in the Function Area Settings must be programmed to ena
27: MODEM MODE« FC4A MICROSMART USER’S MANUAL » 27-11Operating Procedure for Modem Mode1. After completing the user program including the Function Are
27: MODEM MODE27-12 « FC4A MICROSMART USER’S MANUAL »Sample Program for Modem Originate ModeThis program demonstrates a user program for the modem ori
27: MODEM MODE« FC4A MICROSMART USER’S MANUAL » 27-13Sample Program for Modem Answer ModeThis program demonstrates a user program for the modem answer
2: MODULE SPECIFICATIONS2-24 « FC4A MICROSMART USER’S MANUAL »DC Input Module SpecificationsType No. FC4A-N08B1 FC4A-N16B1 FC4A-N16B3 FC4A-N32B3Input P
27: MODEM MODE27-14 « FC4A MICROSMART USER’S MANUAL »Troubleshooting in Modem CommunicationWhen a start internal relay is turned on, the data of D8111
« FC4A MICROSMART USER’S MANUAL » 28-128: AS-INTERFACE MASTER COMMUNICATIONIntroductionThis chapter describes general information about the Actuator-S
28: AS-INTERFACE MASTER COMMUNICATION28-2 « FC4A MICROSMART USER’S MANUAL »AS-Interface System RequirementsMasterThe AS-Interface master controls and
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-3AS-Interface Power SupplyThe AS-Interface bus uses a dedicated 30V DC power
28: AS-INTERFACE MASTER COMMUNICATION28-4 « FC4A MICROSMART USER’S MANUAL »Main Features of AS-Interface V2 with Slave Expansion CapabilityThe AS-Inte
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-5Quantities of Slaves and I/O PointsThe quantity of slaves that can be conne
28: AS-INTERFACE MASTER COMMUNICATION28-6 « FC4A MICROSMART USER’S MANUAL »Operation BasicsThis section describes simple operating procedures for the
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-7Power SupplyPower Supply Wiring DiagramA recommended power supply wiring di
28: AS-INTERFACE MASTER COMMUNICATION28-8 « FC4A MICROSMART USER’S MANUAL »Selecting the PLC TypeStart WindLDR on a computer. 1. From the WindLDR menu
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-9Assigning a Slave AddressAS-Interface compatible slave devices are set to a
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-25AC Input Module SpecificationsType No. FC4A-N08A11Input Points and Common Lines 8 points
28: AS-INTERFACE MASTER COMMUNICATION28-10 « FC4A MICROSMART USER’S MANUAL »Configuring a SlaveNext, you have to set the slave configuration in the AS-I
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-11Configuration Using WindLDRSlave configuration can be set using WindLDR in t
28: AS-INTERFACE MASTER COMMUNICATION28-12 « FC4A MICROSMART USER’S MANUAL »Monitoring Digital I/O, and Changing Output Status and ParametersWhile the
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-13Troubles at System Start-upThe following table summarizes possible trouble
28: AS-INTERFACE MASTER COMMUNICATION28-14 « FC4A MICROSMART USER’S MANUAL »Pushbuttons and LED IndicatorsThis section describes the operation of push
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-15AS-Interface Master Module Operation ModesThe AS-Interface master module h
28: AS-INTERFACE MASTER COMMUNICATION28-16 « FC4A MICROSMART USER’S MANUAL »LED IndicatorsThe LED indicators on the AS-Interface master module consist
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-17Status LEDsThe operation modes of the AS-Interface master module can be ch
28: AS-INTERFACE MASTER COMMUNICATION28-18 « FC4A MICROSMART USER’S MANUAL »AS-Interface OperandsThis chapter describes AS-Interface operands, or inte
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-19I/O Data for AS-Interface Master ModuleThe AS-Interface master module can
2: MODULE SPECIFICATIONS2-26 « FC4A MICROSMART USER’S MANUAL »DC Input Module Terminal Arrangement and Wiring DiagramsFC4A-N08B1 (8-point DC Input Mod
28: AS-INTERFACE MASTER COMMUNICATION28-20 « FC4A MICROSMART USER’S MANUAL »• Digital Output Data ImageOutput Data Image (ODI)Data Format7(DO3)6(DO2)5
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-21Analog I/O Data of Analog SlavesThe I/O data for a maximum of seven analog
28: AS-INTERFACE MASTER COMMUNICATION28-22 « FC4A MICROSMART USER’S MANUAL »• Analog Output DataFor example, when analog input slaves 1, 13 and 20, an
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-23Status InformationThe status information is allocated to AS-Interface inte
28: AS-INTERFACE MASTER COMMUNICATION28-24 « FC4A MICROSMART USER’S MANUAL »M1943 Auto_Address_AvailableM1943 indicates whether or not the conditions
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-25Slave List InformationData registers D1764 through D1779 are assigned to s
28: AS-INTERFACE MASTER COMMUNICATION28-26 « FC4A MICROSMART USER’S MANUAL »Slave Identification Information (Slave Profile)Data registers D1780 through
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-27Parameter Image (PI)Data registers D1908 through D1923 are allocated to re
28: AS-INTERFACE MASTER COMMUNICATION28-28 « FC4A MICROSMART USER’S MANUAL »ASI CommandsThe ASI commands are used to update AS-Interface operands in t
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-29Request and Result CodesSample Program: Change Slave PIThis sample program
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-27FC4A-N16B3 (16-point DC Input Module) — Connector TypeApplicable Connector: FC4A-PMC20P
28: AS-INTERFACE MASTER COMMUNICATION28-30 « FC4A MICROSMART USER’S MANUAL »Using WindLDRThis section describes the procedures to use WindLDR for the
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-31Slave Address Shading ColorsOperating status of the slave can be confirmed
28: AS-INTERFACE MASTER COMMUNICATION28-32 « FC4A MICROSMART USER’S MANUAL »ConfigurationBefore commissioning the AS-Interface master module, configurat
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-33Monitor AS-Interface SlaveWhile the MicroSmart is communicating with AS-In
28: AS-INTERFACE MASTER COMMUNICATION28-34 « FC4A MICROSMART USER’S MANUAL »Error MessagesWhen an error is returned from the AS-Interface master modul
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-35SwitchNet Data I/O PortSwitchNet control units can be used as slaves in th
28: AS-INTERFACE MASTER COMMUNICATION28-36 « FC4A MICROSMART USER’S MANUAL »HW Series Digital I/O Data AllocationInput data is sent from slaves to the
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-37• Internal Relays for SwitchNet SlavesL6 SeriesSlave NumberPushbutton Pilo
28: AS-INTERFACE MASTER COMMUNICATION28-38 « FC4A MICROSMART USER’S MANUAL »L6 Series (continued)Slave NumberSelector, Key selector, Lever: 3-position
28: AS-INTERFACE MASTER COMMUNICATION« FC4A MICROSMART USER’S MANUAL » 28-39HW SeriesSlave NumberPushbutton Pilot Light Illuminated PushbuttonSelector
2: MODULE SPECIFICATIONS2-28 « FC4A MICROSMART USER’S MANUAL »FC4A-N32B3 (32-point DC Input Module) — Connector TypeApplicable Connector: FC4A-PMC20P
28: AS-INTERFACE MASTER COMMUNICATION28-40 « FC4A MICROSMART USER’S MANUAL »HW Series (continued)Note: Three-position selector, key selector, and illu
« FC4A MICROSMART USER’S MANUAL » 29-129: TROUBLESHOOTINGIntroductionThis chapter describes the procedures to determine the cause of trouble and actio
29: TROUBLESHOOTING29-2 « FC4A MICROSMART USER’S MANUAL »3. Under the Error Status in the PLC Status dialog box, click the Details button. The PLC Err
29: TROUBLESHOOTING« FC4A MICROSMART USER’S MANUAL » 29-3Special Data Registers for Error InformationTwo data registers are assigned to store informat
29: TROUBLESHOOTING29-4 « FC4A MICROSMART USER’S MANUAL »CPU Module Operating Status, Output, and ERR LED during Errors*1: When a program RAM sum chec
29: TROUBLESHOOTING« FC4A MICROSMART USER’S MANUAL » 29-50020h: User Program RAM Sum Check ErrorThe data of the user program compile area in the Micro
29: TROUBLESHOOTING29-6 « FC4A MICROSMART USER’S MANUAL »User Program Execution ErrorThis error indicates that invalid data is found during execution
29: TROUBLESHOOTING« FC4A MICROSMART USER’S MANUAL » 29-7Troubleshooting DiagramsWhen one of the following problems is encountered, see the trouble sh
29: TROUBLESHOOTING29-8 « FC4A MICROSMART USER’S MANUAL »Troubleshooting Diagram 1Is power supplied?Is the power voltage correct?The PWR LED does not
29: TROUBLESHOOTING« FC4A MICROSMART USER’S MANUAL » 29-9Troubleshooting Diagram 2Is stop or reset input designated using Function Area Settings?The R
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-29AC Input Module Terminal Arrangement and Wiring DiagramsFC4A-N08A11 (8-point AC Input Mo
29: TROUBLESHOOTING29-10 « FC4A MICROSMART USER’S MANUAL »Troubleshooting Diagram 3The ERR LED is on.Clear error codes using WindLDR.See Note below.EN
29: TROUBLESHOOTING« FC4A MICROSMART USER’S MANUAL » 29-11Troubleshooting Diagram 4Are wiring and operation of external devices correct?Is the input t
29: TROUBLESHOOTING29-12 « FC4A MICROSMART USER’S MANUAL »Troubleshooting Diagram 5Does the monitored output turn on and off?YESNOYESNOYESCall IDEC fo
29: TROUBLESHOOTING« FC4A MICROSMART USER’S MANUAL » 29-13Troubleshooting Diagram 6Correct the Communication Set-tings using WindLDR. See page 26-3.Di
29: TROUBLESHOOTING29-14 « FC4A MICROSMART USER’S MANUAL »Troubleshooting Diagram 7Does the monitored input turn on and off?NOYESNOYESYESCall IDEC for
29: TROUBLESHOOTING« FC4A MICROSMART USER’S MANUAL » 29-15Troubleshooting Diagram 8Turn off the power to the master station, and turn on the power aft
29: TROUBLESHOOTING29-16 « FC4A MICROSMART USER’S MANUAL »Troubleshooting Diagram 9See Troubleshooting Diagram 1“The PWR LED does not go on.” Is the P
29: TROUBLESHOOTING« FC4A MICROSMART USER’S MANUAL » 29-17Troubleshooting Diagram 10Did you make sure of source 1 operand of the TXD instruction?Call
29: TROUBLESHOOTING29-18 « FC4A MICROSMART USER’S MANUAL »Troubleshooting Diagram 11See Troubleshooting Diagram 1“The PWR LED does not go on.” Is the
29: TROUBLESHOOTING« FC4A MICROSMART USER’S MANUAL » 29-19Troubleshooting Diagram 12Did you make sure of source 1 operand of the RXD instruction?Call
« FC4A MICROSMART USER’S MANUAL »PREFACE-3Revision RecordThe table below summarizes the changes to this manual since last printing of FC9Y-B812-0A in
2: MODULE SPECIFICATIONS2-30 « FC4A MICROSMART USER’S MANUAL »Output ModulesDigital output modules are available in 8- and 16-point relay output modul
29: TROUBLESHOOTING29-20 « FC4A MICROSMART USER’S MANUAL »Troubleshooting Diagram 13Are the input ON/OFF voltage levels correct?Call IDEC for assistan
29: TROUBLESHOOTING« FC4A MICROSMART USER’S MANUAL » 29-21Troubleshooting Diagram 14NOCall IDEC for assistance.YESIs the ERR LED on?Is “Calendar/clock
29: TROUBLESHOOTING29-22 « FC4A MICROSMART USER’S MANUAL »Restriction on Ladder ProgrammingDue to the structure of WindLDR, the following ladder diagr
« FC4A MICROSMART USER’S MANUAL » A-1APPENDIXExecution Times for InstructionsExecution times for main instructions of the MicroSmart are listed below:
APPENDIXA-2 « FC4A MICROSMART USER’S MANUAL »Note: Operands M, D, I, and Q represent internal relay, data register, input, and output, respectively.Br
APPENDIX« FC4A MICROSMART USER’S MANUAL » A-3Instruction Steps and Applicability in Interrupt ProgramsThe steps and bytes of basic and advanced instru
APPENDIXA-4 « FC4A MICROSMART USER’S MANUAL »CablesCommunication cables and their connector pinouts are described in this section.Modem Cable 1C (FC2A
APPENDIX« FC4A MICROSMART USER’S MANUAL » A-5User Communication Cable 1C (FC2A-KP1C)Cable Length: 2.4m (7.87 feet)O/I Communication Cable 1C (FC4A-KC1
APPENDIXA-6 « FC4A MICROSMART USER’S MANUAL »O/I Communication Cable 2C (FC4A-KC2C)Cable Length: 5m (16.4 feet)Mini DIN Connector PinoutsDescription P
APPENDIX« FC4A MICROSMART USER’S MANUAL » A-7Type ListCPU Modules (All-in-One Type)CPU Modules (Slim Type)Note *: Two points are transistor outputs, a
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-31Relay Output Module SpecificationsNote: When relay output modules are connected to the al
APPENDIXA-8 « FC4A MICROSMART USER’S MANUAL »Mixed I/O ModulesAnalog I/O ModulesAS-Interface Master ModuleOptional Modules, Adapters, and CartridgesNo
APPENDIX« FC4A MICROSMART USER’S MANUAL » A-9AccessoriesBX Series I/O Terminals and Applicable CablesSpecify required designation codes in place of ➀,
APPENDIXA-10 « FC4A MICROSMART USER’S MANUAL »CablesName Function Type No.Modem Cable 1C(3m/9.84 ft. long)Used to connect a modem to the MicroSmart RS
« FC4A MICROSMART USER’S MANUAL »i# 1:1 computer link 4-11:N computer link 26-1100-msclock M8122 6-12dual timer 22-110-msclock M8123 6-12dua
ii « FC4A MICROSMART USER’S MANUAL »INDEXXYFS 19-1ZRN1 20-24ZRN2 20-24all outputs OFF M8002 6-10allocation numbers 6-1, 6-5, 28-18ALT 14-1
« FC4A MICROSMART USER’S MANUAL » iiiINDEXread error flag M8014 6-11read prohibit flag M8015 6-11write flag M8020 6-11write/adjust error flag M8
iv « FC4A MICROSMART USER’S MANUAL »INDEXcomparison instructions 7-14dual-pulse reversible 7-11high-speed 5-6keep designation 5-4up/down selec
« FC4A MICROSMART USER’S MANUAL »vINDEXDTMH 22-1DTML 22-1DTMS 22-1DTRcontrol signal status 17-29output control signal option D8106 17-30dual
vi « FC4A MICROSMART USER’S MANUAL »INDEXICMP>= 10-4ID code 28-4ID1 code 28-4of slave 0 28-27ID2 code 28-4identification 28-4IDI 28-1
« FC4A MICROSMART USER’S MANUAL » viiINDEXLPS 28-25LRC 17-36LRET 18-3M maintain outputs while CPU stopped M8025 6-11maintaining catch input
2: MODULE SPECIFICATIONS2-32 « FC4A MICROSMART USER’S MANUAL »Relay Output Module Terminal Arrangement and Wiring DiagramsFC4A-R081 (8-point Relay Out
viii « FC4A MICROSMART USER’S MANUAL »INDEXP parameter 28-4image (PI) 28-27partial program download 5-28password 5-26PCD 28-26Periphery_OK
« FC4A MICROSMART USER’S MANUAL »ixINDEXremovingclock cartridge 2-68communication adapter 2-64communication connector cover 3-6communication mod
x« FC4A MICROSMART USER’S MANUAL »INDEXcommunication completion relayM8080-M8116 25-6M8117 25-6number 25-7, 25-8SOTU and SOTD instructions 7-2
« FC4A MICROSMART USER’S MANUAL »xiINDEXsetup 1-4, 28-6data link 25-2ID quantity of inputs D8000 6-16ID quantity of outputs D8001 6-16modem mo
xii « FC4A MICROSMART USER’S MANUAL »INDEXclock cartridge accuracy 15-7computer link 26-2data link 25-7DI or EI 18-7expansion data register
www.idec.com©2008 IDEC CORPORATION. All Rights Reserved.Manual No. FC9Y-B812-03 06/2008UNITED STATESIDEC CORPORATION1175 Elko Drive, Sunnyvale, CA 940
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-33Transistor Sink Output Module SpecificationsOutput Internal CircuitType No. FC4A-T08K1 FC
2: MODULE SPECIFICATIONS2-34 « FC4A MICROSMART USER’S MANUAL »Transistor Sink Output Module Terminal Arrangement and Wiring DiagramsFC4A-T08K1 (8-poin
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-35FC4A-T32K3 (32-point Transistor Sink Output Module) — Connector TypeApplicable Connector
2: MODULE SPECIFICATIONS2-36 « FC4A MICROSMART USER’S MANUAL »Transistor Source Output Module SpecificationsOutput Internal CircuitType No. FC4A-T08S1
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-37Transistor Source Output Module Terminal Arrangement and Wiring DiagramsFC4A-T08S1 (8-po
2: MODULE SPECIFICATIONS2-38 « FC4A MICROSMART USER’S MANUAL »FC4A-T32S3 (32-point Transistor Source Output Module) — Connector TypeApplicable Connect
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-39Mixed I/O ModulesThe 4-in/4-out mixed I/O module has 4-point DC sink/source inputs and 4
PREFACE-4 « FC4A MICROSMART USER’S MANUAL »
2: MODULE SPECIFICATIONS2-40 « FC4A MICROSMART USER’S MANUAL »Mixed I/O Module SpecificationsDC Input Specifications (Mixed I/O Module)Type No. FC4A-M08
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-41Relay Output Specifications (Mixed I/O Module)Output DelayMixed I/O Module Terminal Arran
2: MODULE SPECIFICATIONS2-42 « FC4A MICROSMART USER’S MANUAL »FC4A-M24BR2 (Mixed I/O Module) — Wire-clamp Terminal TypeTerminal No. Input1I02I13I24I35
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-43Analog I/O ModulesAnalog I/O modules are available in 3-I/O types, 2-, 4-, and 8-input t
2: MODULE SPECIFICATIONS2-44 « FC4A MICROSMART USER’S MANUAL »Parts Description(1) Expansion Connector Connects to the CPU and other I/O modules.(The
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-45Analog I/O Module SpecificationsGeneral Specifications (END Refresh Type)Note 1: The exter
2: MODULE SPECIFICATIONS2-46 « FC4A MICROSMART USER’S MANUAL »Analog Input Specifications (END Refresh Type)Type No. FC4A-L03A1 / FC4A-J2A1 FC4A-L03AP1
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-47Note 1: Values in ( ) represent analog I/O modules earlier than version 200. For analog
2: MODULE SPECIFICATIONS2-48 « FC4A MICROSMART USER’S MANUAL »Analog Input Specifications (Ladder Refresh Type)Type No. FC4A-J4CN1 / FC4A-J8C1 FC4A-J4C
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-49Note 1: Total input system transfer time = Sample repetition time + Internal processing
« FC4A MICROSMART USER’S MANUAL »iTABLE OF CONTENTSCHAPTER 1: GENERAL INFORMATIONAbout the MicroSmart . . . . . . . . . . . . . . . . . . . . . . . .
2: MODULE SPECIFICATIONS2-50 « FC4A MICROSMART USER’S MANUAL »Analog Input Specifications (Ladder Refresh Type)Note 1: Total input system transfer time
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-51Analog Output SpecificationsNote 1: Values in ( ) represent analog I/O modules earlier t
2: MODULE SPECIFICATIONS2-52 « FC4A MICROSMART USER’S MANUAL »Analog I/O Module Terminal Arrangement and Wiring DiagramsFC4A-L03A1 (Analog I/O Module)
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-53FC4A-J2A1 (Analog Input Module) — Screw Terminal TypeApplicable Terminal Block: FC4A-PMT
2: MODULE SPECIFICATIONS2-54 « FC4A MICROSMART USER’S MANUAL »FC4A-J8C1 (Analog Input Module) — Screw Terminal TypeApplicable Terminal Block: FC4A-PMT
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-55FC4A-K1A1 (Analog Output Module) — Screw Terminal TypeApplicable Terminal Block: FC4A-PM
2: MODULE SPECIFICATIONS2-56 « FC4A MICROSMART USER’S MANUAL »Type of ProtectionInput CircuitsOutput Circuits1 kΩNC (A)Multiplexer+ (B’)FC4A-L03A1, FC
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-57Power Supply for Analog I/O ModulesWhen supplying power to the analog I/O modules, take
2: MODULE SPECIFICATIONS2-58 « FC4A MICROSMART USER’S MANUAL »AS-Interface Master ModuleThe AS-Interface master module can be used with FC4A-D20RK1, F
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-59General Specifications (AS-Interface Module)Communication Specifications (AS-Interface Mod
TABLE OF CONTENTSii « FC4A MICROSMART USER’S MANUAL »CHAPTER 5: SPECIAL FUNCTIONSFunction Area Settings . . . . . . . . . . . . . . . . . . . . . . .
2: MODULE SPECIFICATIONS2-60 « FC4A MICROSMART USER’S MANUAL »HMI ModuleThe optional HMI module can mount on any all-in-one type CPU module, and also
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-61HMI Base ModuleThe HMI base module is used to install the HMI module when using the slim
2: MODULE SPECIFICATIONS2-62 « FC4A MICROSMART USER’S MANUAL »Communication Adapters and Communication ModulesAll MicroSmart CPU modules have communic
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-63Communication Adapter and Communication Module SpecificationsNote 1: RS485 user communica
2: MODULE SPECIFICATIONS2-64 « FC4A MICROSMART USER’S MANUAL »After installing the communication adapter on an all-in-one type CPU module, view the co
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-65Memory CartridgeA user program can be stored on an optional memory cartridge installed o
2: MODULE SPECIFICATIONS2-66 « FC4A MICROSMART USER’S MANUAL »Downloading and Uploading User Program to and from Memory CartridgeWhen a memory cartrid
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-67Installing and Removing the Memory CartridgeAll-in-One Type CPU ModuleThe cartridge conn
2: MODULE SPECIFICATIONS2-68 « FC4A MICROSMART USER’S MANUAL »Clock CartridgeWith the optional clock cartridge installed on any type of MicroSmart CPU
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-69DimensionsAll MicroSmart modules have the same profile for consistent mounting on a DIN r
TABLE OF CONTENTS« FC4A MICROSMART USER’S MANUAL » iiiCHAPTER 8: ADVANCED INSTRUCTIONSAdvanced Instruction List . . . . . . . . . . . . . . . . . . .
2: MODULE SPECIFICATIONS2-70 « FC4A MICROSMART USER’S MANUAL »FC4A-D20K3, FC4A-D20S3FC4A-D20RK1, FC4A-D20RS1FC4A-D40K3, FC4A-D40S335.4 11.3 70.090.04.
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-71I/O ModulesFC4A-N08B1, FC4A-N08A11, FC4A-R081, FC4A-T08K1, FC4A-T08S1, FC4A-M08BR1, FC4A
2: MODULE SPECIFICATIONS2-72 « FC4A MICROSMART USER’S MANUAL »FC4A-N16B3, FC4A-T16K3, FC4A-T16S3FC4A-N32B3, FC4A-T32K3, FC4A-T32S317.6 11.3 70.090.04.
2: MODULE SPECIFICATIONS« FC4A MICROSMART USER’S MANUAL » 2-73AS-Interface Module FC4A-AS62MHMI Module FC4A-PH1HMI Base Module FC4A-HPH11017.737.523.5
2: MODULE SPECIFICATIONS2-74 « FC4A MICROSMART USER’S MANUAL »Communication Modules FC4A-HPC1, FC4A-HPC2, FC4A-HPC3Example: The following figure illust
« FC4A MICROSMART USER’S MANUAL » 3-13: INSTALLATION AND WIRINGIntroductionThis chapter describes the methods and precautions for installing and wirin
3: INSTALLATION AND WIRING3-2 « FC4A MICROSMART USER’S MANUAL »Assembling ModulesThe following example demonstrates the procedure for assembling the a
3: INSTALLATION AND WIRING« FC4A MICROSMART USER’S MANUAL » 3-3Installing the HMI ModuleThe optional HMI module (FC4A-PH1) can mount on any all-in-one
3: INSTALLATION AND WIRING3-4 « FC4A MICROSMART USER’S MANUAL »Removing the HMI ModuleThis section describes the procedures for removing the HMI modul
3: INSTALLATION AND WIRING« FC4A MICROSMART USER’S MANUAL » 3-5Removing the Terminal BlocksThis section describes the procedures for removing the term
Comentarios a estos manuales