IDEC FC4A-D20RS1 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

FC9Y-B812
FC4A SERIES
Micro Programmable
Logic Controller
User's Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FC4A-D20RS1 and is the answer not in the manual?

Questions and answers

Summarization of Contents

MICROSMART USER’S MANUAL UPDATE
Introduction
Overview of the manual's content regarding new modules and upgraded functionality of FC4A MicroSmart CPU modules.
New Modules
Details on newly introduced analog I/O modules for the FC4A MicroSmart.
Upgraded Functionality
Information on twelve new functions implemented in FC4A MicroSmart CPU modules and their availability.
CHAPTER 1: GENERAL INFORMATION
About the MicroSmart
General information about the MicroSmart family of programmable logic controllers.
Features
Overview of the MicroSmart's key features, including powerful communication functions.
Special Functions
Description of various special functions integrated into the MicroSmart's compact housing.
System Setup
System setup configurations for utilizing the MicroSmart's communication functions.
CHAPTER 2: MODULE SPECIFICATIONS
CPU Modules (All-in-One Type)
Specifications for all-in-one type CPU modules including 10-, 16-, and 24-I/O models.
CPU Modules (Slim Type)
Specifications for slim type CPU modules available in 20- and 40-I/O types.
Input Modules
Details on available digital input modules: 8-, 16-, and 32-point DC and 8-point AC modules.
Output Modules
Overview of available digital output modules: 8- and 16-point relay, and 8-, 16-, and 32-point transistor modules.
Mixed I/O Modules
Specifications for mixed I/O modules, including 4-in/4-out and 16-in/8-out types.
Analog I/O Modules
Details on available analog I/O modules, including input and output types and categories.
AS-Interface Master Module
Information on the AS-Interface master module for connecting sensors and actuators.
HMI Module
Specifications and functions of the optional HMI module.
Clock Cartridge
Details on the optional clock cartridge for real-time calendar/clock data.
Memory Cartridge
Information on the optional memory cartridge for storing user programs.
Special Functions
Overview of special functions like high-speed counters, catch input, and interrupt input.
CHAPTER 3: INSTALLATION AND WIRING
Installation Location
Guidelines for correctly installing the MicroSmart for optimal performance and environmental considerations.
Assembling Modules
Procedure for assembling MicroSmart modules together before mounting.
Disassembling Modules
Procedure for safely disassembling MicroSmart modules.
Installing the HMI Module
Steps for installing the HMI module onto the CPU module or HMI base module.
Removing the HMI Module
Procedure for removing the HMI module from the HMI base module.
Removing the Terminal Blocks
Instructions for removing terminal blocks from slim type CPU modules.
Removing the Communication Connector Cover
Procedure for removing the communication connector cover from the slim type CPU module.
Mounting on DIN Rail
Instructions for mounting MicroSmart modules on a 35-mm-wide DIN rail or panel surface.
Removing from DIN Rail
Steps to remove MicroSmart modules from the DIN rail.
Direct Mounting on Panel Surface
Methods for mounting MicroSmart modules directly onto a panel surface.
Installation in Control Panel
Considerations for installing MicroSmart modules within a control panel.
Mounting Direction
Guidelines for proper mounting orientation of MicroSmart modules.
Input Wiring
Precautions and methods for correct input wiring.
Output Wiring
Guidance on proper wiring for output modules, including fuse selection.
Contact Protection Circuit for Relay and Transistor Outputs
Selection of protection circuits for relay and transistor outputs.
Power Supply
Information on power supply requirements and wiring for all-in-one type CPU modules.
Grounding
Precautions for grounding to prevent electrical shocks and noise.
Terminal Connection
Guidelines for terminal connection, including ferrule usage and tightening torque.
CHAPTER 4: OPERATION BASICS
Connecting MicroSmart to PC (1:1 Computer Link System)
Procedures for connecting MicroSmart to a PC for 1:1 computer link.
Computer Link through Port 1 or Port 2 (RS232C)
Details on establishing a 1:1 computer link using RS232C port 1 or port 2.
Computer Link through Port 2 (RS485)
Steps to establish a 1:1 computer link system using RS485 port 2.
Data Link System
System setup for data link communication between master and slave stations.
Basic System
Overview of the basic system configuration for MicroSmart CPU modules.
Operator Interface Communication System
Information on communicating with IDEC's HG series operator interfaces.
AS-Interface Network
Description of the AS-Interface network and its components.
Actuator-Sensor-Interface, abbreviated AS-Interface
Explanation of the AS-Interface as a field bus for sensors and actuators.
CHAPTER 5: SPECIAL FUNCTIONS
Function Area Settings
Programming special functions via the Function Area Settings dialog box.
Stop and Reset Inputs
Designating inputs for stop or reset control of MicroSmart operation.
RUN/STOP Selection at Startup when “Keep” Data is Broken
Selecting whether the CPU starts or stops when 'keep' data is broken after power down.
“Keep” or “Clear” Designation of CPU Data
Designating internal relays, shift registers, counters, and data registers to be kept or cleared.
High-speed Counter
Details on the high-speed counter function for counting pulses and comparison.
Catch Input
Function to receive short pulses from sensor outputs regardless of scan time.
Interrupt Input
Using interrupt inputs for quick response to external signals and calling subroutines.
Timer Interrupt
Using timer interrupt to call subroutines repeatedly at predetermined intervals.
Input Filter
Adjusting input filter values to reject input noises and eliminate chatter.
User Program Read/Write Protection
Protecting the user program against reading and/or writing using a password.
Constant Scan Time
Making the scan time constant by entering a required scan time value.
Partial Program Download
Downloading small changes to the user program while the CPU is running.
Analog Potentiometer
Using analog potentiometers to change timer or counter preset values.
Analog Voltage Input
Connecting an analog voltage source to the analog voltage input connector.
Pulse Output
Generating high-speed pulse outputs from transistor output terminals.
PID Control
Implementing PID control with built-in auto tuning for temperature control.
Expansion Data Register
Using expansion data registers for storing numerical data and preset values.
CHAPTER 6: ALLOCATION NUMBERS
Operand Allocation Numbers
Overview of available operand numbers for basic and advanced instructions.
I/O, Internal Relay, and Special Internal Relay Operand Allocation Numbers
Detailed allocation numbers for I/O, internal relays, and special internal relays.
Operand Allocation Numbers for END Refresh Type Analog I/O Modules
Allocation numbers for END refresh type analog I/O modules.
Operand Allocation Numbers for AS-Interface Master Module 1
Allocation numbers for AS-Interface master module.
Operand Allocation Numbers for Data Link Master Station
Allocation numbers for data link master station communication.
Operand Allocation Numbers for Data Link Slave Station
Allocation numbers for data link slave station communication.
Special Internal Relays
List and description of special internal relays for various functions.
Special Data Registers
List and description of special data registers for various functions.
Expansion I/O Module Operands
Operand allocation numbers for expansion I/O modules.
CHAPTER 7: BASIC INSTRUCTIONS
Basic Instruction List
List of basic instructions with their symbols, functions, quantity of bytes, and see pages.
LOD (Load) and LODN (Load Not)
Starts logical operation with NO or NC contact, and stores intermediate results.
OUT (Output) and OUTN (Output Not)
Outputs the result of bit logical operation to the specified operand.
SET and RST (Reset)
Sets (on) or resets (off) outputs, internal relays, and shift register bits.
AND and ANDN (And Not)
Programs a NO contact (AND) or NC contact (ANDN) in series.
OR and ORN (Or Not)
Programs a NO contact (OR) or NC contact (ORN) in parallel.
AND LOD (Load)
Connects two or more circuits starting with LOD instruction in series.
OR LOD (Load)
Connects two or more circuits starting with LOD instruction in parallel.
BPS (Bit Push), BRD (Bit Read), and BPP (Bit Pop)
Instructions to save, read, and restore the result of bit logical operations temporarily.
TML, TIM, TMH, and TMS (Timer)
Four types of timedown timers available: 1-sec, 100-ms, 10-ms, and 1-ms.
CNT, CDP, and CUD (Counter)
Three types of counters available: adding, dual-pulse reversible, and up/down selection.
CC= and CC≥ (Counter Comparison)
Instructions to compare counter current values with a programmed value.
DC= and DC≥ (Data Register Comparison)
Instructions to compare data register values with a programmed value.
SFR and SFRN (Forward and Reverse Shift Register)
Instructions to shift 16-bit data in the designated source operand to the left or right.
SOTU and SOTD (Single Output Up and Down)
Instructions to convert an input signal to a one-shot pulse signal.
MCS and MCR (Master Control Set and Reset)
Instructions used to control the operation of a program block.
JMP (Jump) and JEND (Jump End)
Instructions to proceed through a portion of the program without processing.
END
Instruction that is always required at the end of a program.
CHAPTER 8: ADVANCED INSTRUCTIONS
Advanced Instruction List
List of advanced instructions with group, symbol, name, data type, and byte quantity.
Advanced Instruction Applicable CPU Modules
Table showing which CPU modules support specific advanced instructions.
Structure of an Advanced Instruction
Explanation of the components of an advanced instruction: opcode, data type, operands, repeat.
Input Condition for Advanced Instructions
Conditions required to precede most advanced instructions.
Source and Destination Operands
Explanation of source and destination operands for advanced instructions.
Using Timer or Counter as Source Operand
How to use timers or counters as source operands in advanced instructions.
Using Timer or Counter as Destination Operand
How to use timers or counters as destination operands in advanced instructions.
Data Types for Advanced Instructions
Selection of data types (word or integer) for advanced instructions.
Discontinuity of Operand Areas
Explanation of discrete operand areas and potential user program syntax errors.
NOP (No Operation)
Description of the NOP instruction, used as a placeholder or for scan time delay.
CHAPTER 9: MOVE INSTRUCTIONS
MOV (Move)
Instruction to move 16-bit data from a source operand to a destination operand.
MOVN (Move Not)
Instruction to move 16-bit data from a source operand to a destination operand after inverting it.
IMOV (Indirect Move)
Instruction to move 16-bit data indirectly using offset values.
IMOVN (Indirect Move Not)
Instruction to move 16-bit data indirectly after inverting it.
BMOV (Block Move)
Instruction to move consecutive blocks of timer, counter, and data register values.
IBMV (Indirect Bit Move)
Instruction to move one bit of data from a source operand to a destination operand indirectly.
IBMVN (Indirect Bit Move Not)
Instruction to move one bit of data from a source operand to a destination operand indirectly after inverting.
CHAPTER 10: DATA COMPARISON INSTRUCTIONS
CMP= (Compare Equal To)
Compares source operands S1 and S2 for equality.
CMP<> (Compare Unequal To)
Compares source operands S1 and S2 for inequality.
CMP< (Compare Less Than)
Compares source operands S1 and S2 to check if S1 is less than S2.
CMP> (Compare Greater Than)
Compares source operands S1 and S2 to check if S1 is greater than S2.
CMP<= (Compare Less Than or Equal To)
Compares source operands S1 and S2 to check if S1 is less than or equal to S2.
CMP>= (Compare Greater Than or Equal To)
Compares source operands S1 and S2 to check if S1 is greater than or equal to S2.
ICMP>= (Interval Compare Greater Than or Equal To)
Compares three values (S1, S2, S3) for interval comparison.
CHAPTER 11: BINARY ARITHMETIC INSTRUCTIONS
ADD (Addition)
Instruction to add two 16-bit data.
SUB (Subtraction)
Instruction to subtract two 16-bit data.
MUL (Multiplication)
Instruction to multiply two 16-bit data.
DIV (Division)
Instruction to divide two 16-bit data.
ROOT (Root)
Instruction to calculate the square root of a value.
CHAPTER 12: BOOLEAN COMPUTATION INSTRUCTIONS
ANDW (AND Word)
Performs a bit-by-bit AND operation on two word data.
ORW (OR Word)
Performs a bit-by-bit OR operation on two word data.
XORW (Exclusive OR Word)
Performs a bit-by-bit exclusive OR operation on two word data.
CHAPTER 13: SHIFT / ROTATE INSTRUCTIONS
SFTL (Shift Left)
Shifts 16-bit data to the left by a specified quantity of bits.
SFTR (Shift Right)
Shifts 16-bit data to the right by a specified quantity of bits.
BCDLS (BCD Left Shift)
Shifts BCD digits in two consecutive data registers to the left.
WSFT (Word Shift)
Moves 16-bit data to a destination data register and shifts down subsequent data.
ROTL (Rotate Left)
Rotates 16-bit data to the left by a specified quantity of bits.
ROTR (Rotate Right)
Rotates 16-bit data to the right by a specified quantity of bits.
CHAPTER 14: DATA CONVERSION INSTRUCTIONS
HTOB (Hex to BCD)
Converts 16-bit binary data to BCD.
BTOH (BCD to Hex)
Converts BCD data to 16-bit binary data.
HTOA (Hex to ASCII)
Converts 16-bit binary data to ASCII data.
ATOH (ASCII to Hex)
Converts ASCII data to 16-bit binary data.
BTOA (BCD to ASCII)
Converts BCD data to ASCII data.
ATOB (ASCII to BCD)
Converts ASCII data to BCD data.
ENCO (Encode)
Processes bit operand data.
DECO (Decode)
Processes bit operand data.
BCNT (Bit Count)
Processes bit operand data.
ALT (Alternate Output)
Turns on and off an output each time an input button is pressed.
CHAPTER 15: WEEK PROGRAMMER INSTRUCTIONS
WKTIM (Week Timer)
Turns designated outputs and internal relays ON/OFF at predetermined times and days.
WKTBL (Week Table)
Sets special month/day data to add or skip days for comparison outputs.
Setting Calendar/Clock Using WindLDR
Procedure to set calendar/clock data using WindLDR.
Setting Calendar/Clock Using a User Program
Method to set calendar/clock data by storing values in data registers and turning on internal relays.
Adjusting Clock Cartridge Accuracy
Improving the accuracy of the clock cartridge using Function Area Settings.
CHAPTER 16: INTERFACE INSTRUCTIONS
DISP (Display)
Displays timer/counter current values and data register data on 7-segment display units.
DGRD (Digital Read)
Reads digital switch settings to a data register to change timer/counter preset values.
CHAPTER 17: USER COMMUNICATION INSTRUCTIONS
User Communication Overview
Overview of user communication mode for linking MicroSmart to RS232C devices.
User Communication Mode Specifications
Specifications for RS232C and RS485 user communication modes.
Connecting RS232C Equipment through RS232C Port 1 or 2
Steps for connecting RS232C equipment to port 1 or port 2.
Connecting RS485 Equipment through RS485 Port 2
Steps for connecting RS485 equipment to port 2.
RS485 User Communication System Setup
System setup for RS485 user communication.
Programming WindLDR
Setting communication parameters in WindLDR for external devices.
TXD1 (Transmit 1)
Instruction for transmitting data through port 1.
TXD2 (Transmit 2)
Instruction for transmitting data through port 2.
RXD1 (Receive 1)
Instruction for receiving data through port 1.
RXD2 (Receive 2)
Instruction for receiving data through port 2.
User Communication Error
Information on error codes and causes for user communication.
ASCII Character Code Table
Table showing ASCII character codes.
RS232C Line Control Signals
Explanation of RS232C line control signals for port 2.
DSR Input Control Signal Option D8105
Controlling data flow based on the DSR signal.
DTR Output Control Signal Option D8106
Controlling the DTR signal to indicate MicroSmart operating status.
Sample Program – User Communication TXD
Example program for sending data to a printer using TXD2.
Sample Program – User Communication RXD
Example program for receiving data from a barcode reader using RXD1.
Configuring Barcode Reader
Settings for configuring a barcode reader for communication.
Designating Constant as Start Delimiter
Programming a constant value as a start delimiter for RXD instructions.
Designating Constant as End Delimiter
Programming a constant value as an end delimiter for RXD instructions.
CHAPTER 18: PROGRAM BRANCHING INSTRUCTIONS
LABEL (Label)
Tagging an address for program branching.
LJMP (Label Jump)
Jumping to an address with a designated label.
LCAL (Label Call)
Calling a subroutine and returning to the main program after branch execution.
LRET (Label Return)
Returning to the main program from a subroutine.
IOREF (I/O Refresh)
Reading or writing I/O data immediately, regardless of scan time.
DI (Disable Interrupt)
Disabling interrupt inputs and timer interrupt.
EI (Enable Interrupt)
Enabling interrupt inputs and timer interrupt.
Example: DI and EI
Program demonstrating selective disabling and enabling of interrupt inputs and timer interrupt.
CHAPTER 19: COORDINATE CONVERSION INSTRUCTIONS
XYFS (XY Format Set)
Setting the format for XY conversion.
Xn (X value), Yn (Y value)
Entering values for X and Y coordinates for linear conversion.
CVXTY (Convert X to Y)
Converting X value to corresponding Y value based on linear relationship.
CVYTX (Convert Y to X)
Converting Y value to corresponding X value based on linear relationship.
Example: Linear Conversion
Example demonstrating setup of coordinate points for linear relationship.
Example: Overlapping Coordinates
Example defining two linear relationships with overlapping coordinates.
CHAPTER 20: PULSE INSTRUCTIONS
PULS1 (Pulse Output 1)
Generates pulse outputs of 10 Hz to 20,000 Hz for pulse motor control.
PULS2 (Pulse Output 2)
Generates pulse outputs of 10 Hz to 20,000 Hz for pulse motor control.
PWM1 (Pulse Width Modulation 1)
Generates pulse outputs with variable pulse width ratio for illumination control.
PWM2 (Pulse Width Modulation 2)
Generates pulse outputs with variable pulse width ratio for illumination control.
RAMP (Ramp Control)
Generates output pulses with a trapezoidal frequency pattern.
ZRN1 (Zero Return 1)
Sends out a pulse output of high frequency, decreasing to creep frequency.
ZRN2 (Zero Return 2)
Sends out a pulse output of high frequency, decreasing to creep frequency.
Sample Program: PULS1
Demonstrates PULS1 instruction for generating 1,000 pulses at 3 kHz.
Sample Program: PWM1
Demonstrates PWM1 instruction for generating pulses with ON/OFF ratio.
Timing Chart for Enable Pulse Counting
Timing chart for PWM1 instruction with pulse counting enabled.
Timing Chart for Disable Pulse Counting
Timing chart for PWM2 instruction without pulse counting.
Timing Chart for Reversible Control with Single Pulse Output
Timing chart for RAMP instruction with reversible control and single pulse output.
Timing Chart for Reversible Control with Dual Pulse Output
Timing chart for RAMP instruction with reversible control and dual pulse output.
Sample Program: RAMP — Reversible Control Disabled
Program to generate 10,000 pulses from output Q0 with reversible control disabled.
Sample Program: RAMP — Reversible Control with Single Pulse Output
Program to generate 30,000 pulses from output Q0 with reversible control enabled.
Sample Program: RAMP — Reversible Control with Dual Pulse Output
Program to generate 30,000 pulses from output Q0/Q1 with reversible control enabled.
CHAPTER 21: PID INSTRUCTION
PID (PID Control)
Implements PID control algorithm with built-in auto tuning.
Example: Application Example
Example demonstrating PID control for a heater.
S1+0 Process Variable (after conversion)
Stores the linear conversion result of the process variable.
S1+1 Output Manipulated Variable
Stores the output manipulated variable in percent.
S1+2 Operating Status
Stores the operating or error status of the PID instruction.
S1+3 Operation Mode
Selects the operation mode: PID action, AT+PID action, or AT action.
S1+4 Linear Conversion
Enables or disables linear conversion for scaling process variable.
S1+5 Linear Conversion Maximum Value
Sets the linear conversion maximum value for the output manipulated variable.
S1+6 Linear Conversion Minimum Value
Sets the linear conversion minimum value for the output manipulated variable.
S1+7 Proportional Gain
Determines the amount of proportional action in the proportional band.
S1+8 Integral Time
Determines the amount of integral action to reduce process variable offset.
S1+9 Derivative Time
Determines the amount of derivative action to adjust process variable.
S1+10 Integral Start Coefficient
Determines the point to start integral action in the proportional term.
S1+11 Input Filter Coefficient
Smooths out fluctuations of the process variable.
S1+12 Sampling Period
Determines the interval to execute the PID instruction.
S1+13 Control Period
Determines the duration of ON/OFF cycle of the control output.
S1+14 High Alarm Value
Upper limit of the process variable to generate a high alarm.
S1+15 Low Alarm Value
Lower limit of the process variable to generate a low alarm.
S1+16 Output Manipulated Variable Upper Limit
Specifies the upper limit of the output manipulated variable.
S1+17 Output Manipulated Variable Lower Limit
Specifies the lower limit of the output manipulated variable.
S1+18 Manual Mode Output Manipulated Variable
Specifies the output manipulated variable for manual mode.
S1+19 AT Sampling Period
Determines the interval of sampling during auto tuning.
Auto Tuning (AT)
Executes auto tuning to determine PID parameters.
Step Response Method
Method used by MicroSmart to execute auto tuning.
Source Operand S2 (Control Relay)
Controls action, auto/manual mode, limit enable, and integral start coefficient.
Source Operand S3 (Set Point)
Specifies the target value for the process variable adjustment.
Source Operand S4 (Process Variable before Conversion)
Uses analog input data as the process variable.
Destination Operand D1 (Manipulated Variable)
Stores the manipulated variable calculated by the PID action.
Examples of Output Manipulated Variable Values
Examples showing output manipulated variable values.
CHAPTER 22: DUAL / TEACHING TIMER INSTRUCTIONS
DTML (1-sec Dual Timer)
Generates ON/OFF pulses with 1-sec duration.
DTIM (100-ms Dual Timer)
Generates ON/OFF pulses with 100-ms duration.
DTMH (10-ms Dual Timer)
Generates ON/OFF pulses with 10-ms duration.
DTMS (1-ms Dual Timer)
Generates ON/OFF pulses with 1-ms duration.
TTIM (Teaching Timer)
Measures ON duration of start input and stores it as preset value.
Examples: DTML, DTIM, DTMH, DTMS
Examples demonstrating the use of dual timer instructions.
TTIM (Teaching Timer)
Example program for measuring ON duration and using it as preset value.
CHAPTER 23: INTELLIGENT MODULE ACCESS INSTRUCTIONS
Intelligent Module Access Overview
Overview of reading/writing data to intelligent modules while CPU is running or stopped.
Data movement while the CPU module is running
Illustrates data movement during CPU module operation.
Data movement when the CPU module is stopped
Illustrates data movement when the CPU module is stopped.
RUNA READ (Run Access Read)
Reads data from an intelligent module while CPU is running.
RUNA WRITE (Run Access Write)
Writes data to an intelligent module while CPU is running.
STPA READ (Stop Access Read)
Reads data from an intelligent module while CPU is stopped.
STPA WRITE (Stop Access Write)
Writes data to an intelligent module while CPU is stopped.
Intelligent Module Access Status Code
Status codes indicating operating status and errors of intelligent module access.
STPA Execution during Program Download
Behavior of STPA instructions during program download.
Example: RUNA READ
Illustrates data movement using the RUNA READ instruction.
Example: RUNA WRITE without Repeat
Illustrates data movement using RUNA WRITE without repeat designation.
Example: RUNA WRITE with Repeat
Illustrates data movement using RUNA WRITE with repeat designation.
CHAPTER 24: ANALOG I/O CONTROL
Analog I/O Control Parameters
Available parameters for analog I/O control based on module type.
Analog Input Parameters
Parameters for analog input, including signal type, data type, and min/max values.
Analog Input Signal Type
Selection of analog input signal types for each channel.
Analog Input Data Type
Selection of analog input data types for each channel.
Binary Data
Linear conversion of analog input to digital data for binary data type.
Optional Range
Designating analog input data minimum and maximum values for optional range.
Celsius and Fahrenheit
Analog input data range based on signal type and scale for Celsius/Fahrenheit.
Resistance
Linear conversion of analog input data for resistance type thermistors.
Analog Input Minimum/Maximum Values
Designating minimum and maximum values for analog input.
Filter Value
Setting input filter values to smooth analog data input.
Thermistor Parameter
Parameters for NTC thermistor selection.
Analog Input Data
Storing converted analog input data to a data register.
Analog Input Operating Status
Storing operating status of each analog input channel.
Analog Output Parameters
Parameters for analog output: signal type, data type, min/max values, data, status.
Analog Output Signal Type
Selection of analog output signal types for each channel.
Analog Output Data Type
Selection of analog output data types for each channel.
Analog Output Minimum/Maximum Values
Designating minimum and maximum values for analog output.
Analog Output Data
Converting data to analog output signal.
Analog Output Operating Status
Storing operating status of each analog output channel.
Example: Analog I/O
Example program for analog I/O control using an NTC thermistor.
Wiring Diagram
Wiring diagrams for analog I/O modules.
Changing Analog Output While CPU is Stopped
Procedure to change analog output value while CPU module is stopped.
Precautions for Programming ANST Macro
Important notes when programming the ANST macro.
CHAPTER 25: DATA LINK COMMUNICATION
Data Link Specifications
Specifications for data link communication system.
Data Link System Setup
Steps to set up a data link system.
Data Link Communication between Master and Slave Stations
Illustrates data exchange between master and slave stations.
Special Data Registers for Data Link Communication Error
Special data registers for storing data link communication error codes.
Data Link Communication Error Code
Table of error codes and their descriptions for data link communication.
Refresh Mode
Explanation of the separate refresh mode for data synchronization.
Separate Refresh Mode Communication Sequence
Illustrates the communication sequence in separate refresh mode.
Refresh Time at Master Station for Communication with One Slave Station (Trf)
Calculates refresh time for master station communicating with one slave station.
Total Refresh Time at Master Station for Communication with All Slave Stations (Trfn)
Calculates total refresh time for master station communicating with all slave stations.
Example: Refresh Time
Example calculation of refresh time based on specified parameters.
Operating Procedure for Data Link System
Steps to set up and use the data link system.
Data Link Initialization Program
User program for initializing data link communication.
Data Link with Other PLCs
Connecting MicroSmart to other PLCs like OpenNet Controller and FA-3S.
Data Link with OpenNet Controller
System setup for data link communication with OpenNet Controller.
Data Link with FA-3S High-performance CPU using Serial Interface Module PF3S-SIF4
System setup for data link communication with FA-3S CPU using serial interface module.
CHAPTER 26: COMPUTER LINK COMMUNICATION
Introduction
Overview of computer link system for monitoring, updating, and downloading programs.
Computer Link System Setup (1:N Computer Link System)
Procedure to set up a 1:N communication computer link system.
RS232C/RS485 Converter FC2A-MD1
Details on the RS232C/RS485 converter for data signal conversion.
RS232C Connector Pinouts
Pinout description for RS232C connector.
Dimensions
Mechanical dimensions of the RS232C/RS485 converter.
RS232C Cable HD9Z-C52
Specifications and pinouts for the RS232C cable.
Programming WindLDR
Setting communication parameters in WindLDR for computer link.
Assigning Device Numbers
Procedure for assigning unique device numbers to CPU modules in 1:N system.
Communication Settings
Ensuring matching communication settings between CPU module and WindLDR.
Monitoring PLC Status
Procedures to monitor MicroSmart operating status in 1:N system.
CHAPTER 27: MODEM MODE
Introduction
Describes modem mode for communication via telephone lines.
System Setup
Connecting a modem to the MicroSmart CPU module.
Applicable Modems
Recommendations for compatible modems.
Special Internal Relays for Modem Mode
Allocation of special internal relays for modem mode control.
Start and Result Internal Relays
Internal relays used for modem command execution and results.
Status Internal Relays
Internal relays indicating modem mode status.
Special Data Registers for Modem Mode
Data registers allocated for modem mode settings.
Originate Mode
Mode for sending initialization string, ATZ command, and dialing.
Initialization String in Originate Mode
Storing and sending default or modified initialization strings.
ATZ (Resetting the Modem) in Originate Mode
Issuing the ATZ command to reset the modem.
Dialing the Telephone Number
Programming telephone numbers into data registers for dialing.
Answer Mode
Mode for sending initialization string and ATZ command to answer incoming calls.
Initialization String in Answer Mode
Storing default initialization string in modem memory.
ATZ (Resetting the Modem) in Answer Mode
Issuing the ATZ command in answer mode.
Troubleshooting in Modem Communication
Common issues and solutions for modem communication problems.
Programming WindLDR
Setting modem communication parameters using WindLDR.
Operating Procedure for Modem Mode
Steps to operate the MicroSmart in modem mode.
Sample Program for Modem Originate Mode
Example program for modem originate mode operations.
Sample Program for Modem Answer Mode
Example program for modem answer mode operations.
CHAPTER 28: AS-INTERFACE MASTER COMMUNICATION
Introduction
General information about AS-Interface and the AS-Interface master module.
About AS-Interface
Explanation of AS-Interface as a field bus system.
Applicable Sensors and Actuators for AS-Interface
Information on AS-Interface compatible and non-compatible devices.
AS-Interface Cable Wiring
Procedures for wiring the AS-Interface cable.
AS-Interface Power Supply
Details on the dedicated 30V DC AS-Interface power supply.
Recommended IDEC AS-Interface Power Supplies
List of recommended power supplies for AS-Interface.
Cables
Information on AS-Interface cable types and specifications.
AS-Interface System Requirements
Requirements for setting up the AS-Interface system.
Master
Role of the AS-Interface master module in controlling slave devices.
Slaves
Types of slave devices connectable to the AS-Interface bus.
Slave Addresses
Distinguishing slaves using ID codes, I/O codes, and changing slave addresses.
Slave Identification
Four identification codes (ID, I/O, ID2, ID1) used to determine slave type.
ID Code
Indicates the slave type using 4 bits.
I/O Code
Indicates the quantity and allocation of I/O points on a slave.
ID2 Code
Indicates the internal function of the slave using 4 bits.
ID1 Code
Indicates additional identification of the slave using 4 bits.
Quantities of Slaves and I/O Points
Maximum number of slaves and I/O points supported by the master module.
AS-Interface Bus Topology and Maximum Length
Information on AS-Interface bus topology and maximum cable length.
AS-Interface Bus Cycle Time
Amount of time required for the master to cycle through each slave on the bus.
Maximum AS-Interface Bus Cycle Time
Maximum bus cycle time based on the number of connected slaves.
High Reliability and Security
AS-Interface employs a transfer process of high reliability and security.
Operation Basics
Simple operating procedures for the AS-Interface system.
AS-Interface System Setup
Sample AS-Interface system configuration.
AS-Interface Cable Wiring
Procedure for wiring the AS-Interface cable to the master module.
Configuration Using Pushbuttons PB1 and PB2
Setting slave configuration using pushbuttons on the AS-Interface master module.
Configuration Using WindLDR
Setting slave configuration using WindLDR's Auto or Manual Configuration.
Assigning a Slave Address
Procedure for assigning unique slave addresses.
Slave Address Shading Colors
Explanation of shading colors indicating slave status.
Change Slave Address
Procedure to change a slave's address using WindLDR.
Monitoring Digital I/O, and Changing Output Status and Parameters
Monitoring slave I/O status and changing output status/parameters via WindLDR.
Slave Operating Status
Determining slave operating status using address and I/O LEDs.
Slave I/O Status
Monitoring slave I/O status using address and I/O LEDs.
Error Messages
Error codes and meanings displayed by WindLDR.
Troubles at System Start-up
Summary of possible troubles at system start-up and actions to take.
Pushbuttons and LED Indicators
Operation of pushbuttons and functions of LED indicators on the AS-Interface master module.
Pushbutton Operation
Operations performed by pushbuttons PB1 and PB2.
Long Press
Effect of pressing pushbuttons for 3 seconds or more.
Short Press
Effect of pressing pushbuttons for 0.5 second or less.
Transition of AS-Interface Master Module Modes Using Pushbuttons
Diagram illustrating mode transitions using pushbuttons.
AS-Interface Master Module Operation Modes
Explanation of AS-Interface master module operation modes: connected and local.
Connected Mode
Mode for actual operation, comprising Normal Protected, Offline, and Data Exchange Off.
Normal Protected Mode
Default mode for data communication with connected slaves.
Normal Protected Offline
Stops communication and enables offline operation.
Normal Protected Data Exchange Off
Prohibits data communication with all slaves.
Local Mode
Mode for maintenance operations, not for data communication.
Protected Mode
Operates slaves according to stored configuration data.
Configuration Mode
Switches slaves to active, regardless of configuration data.
LED Indicators
Explanation of status LEDs, I/O LEDs, and address LEDs.
Status LEDs
Indicates status of power supply, configuration, and operation mode.
Input LEDs
Indicates operating status of inputs.
Output LEDs
Indicates operating status of outputs.
Address LEDs
Indicates slave address and existence.
Status LED Indication
Table showing status LED indications for different modes.
Address LEDs and I/O LEDs
Monitoring slave status using address and I/O LEDs.
Slave Operating Status
Determining slave operating status via address and I/O LEDs.
Slave I/O Status
Monitoring slave I/O status using LEDs and changing slave address.
AS-Interface Operands
Describes AS-Interface operands for controlling and monitoring the bus.
AS-Interface Operand Allocation Numbers
Allocation numbers for AS-Interface operands (internal relays and data registers).
Processing Time
Information on processing times for AS-Interface operands and ASI commands.
I/O Data for AS-Interface Master Module
I/O data allocation for AS-Interface master module.
Digital I/O Data of Standard Slaves and Expansion Slaves
Digital I/O data allocation for standard and expansion slaves.
Digital Input Data Image
Mapping of input data from slaves to internal relays.
Digital Output Data Image
Mapping of output data from master to slaves using internal relays.
CHAPTER 29: TROUBLESHOOTING
Introduction
Procedures to determine causes of trouble and actions to take.
ERR LED
Information on the ERR LED indicator and its meaning.
Reading Error Data
Procedures to read error codes and messages using WindLDR.
Monitoring WindLDR
Steps to enter monitor mode and view PLC status.
Clearing Error Codes from WindLDR
Procedure to clear error codes from special data register D8005.
Special Data Registers for Error Information
Data registers assigned to store error information.
General Error Codes
Table of general error codes and their hexadecimal representation.
Troubleshooting Diagrams
Diagrams illustrating troubleshooting steps for common problems.
Diagram 1
Troubleshooting steps when the PWR LED does not go on.
Diagram 2
Troubleshooting steps when the RUN LED does not go on.
Diagram 3
Troubleshooting steps when the ERR LED is on.
Diagram 4
Troubleshooting steps when input does not operate normally.
Diagram 5
Troubleshooting steps when output does not operate normally.
Diagram 6
Troubleshooting steps for communication failure between WindLDR and MicroSmart.
Diagram 7
Troubleshooting steps when cannot stop or reset operation.
Diagram 8
Troubleshooting steps when data link communication is impossible.
Diagram 9
Troubleshooting steps when data is not transmitted in user communication mode.
Diagram 10
Troubleshooting steps when data is not transmitted correctly in user communication mode.
Diagram 11
Troubleshooting steps when data is not received at all in user communication mode.
Diagram 12
Troubleshooting steps when data is not received correctly in user communication mode.
Diagram 13
Troubleshooting steps when interrupt/catch input cannot receive short pulses.
Diagram 14
Troubleshooting steps when calendar/clock does not operate correctly.
Restriction on Ladder Programming
Limitations and warnings regarding ladder programming.
APPENDIX
Execution Times for Instructions
Lists execution times in microseconds for various instructions.
Breakdown of END Processing Time
Details END processing time based on system configuration.
I/O Delay Time
Explains system processing including interrupt processing and I/O delay.
Instruction Steps and Applicability in Interrupt Programs
Lists instruction steps, bytes, and interrupt applicability.
Cables
Description of communication cables and their connector pinouts.
Modem Cable 1C (FC2A-KM1C)
Specifications and pinouts for the modem cable.
Computer Link Cable 4C (FC2A-KC4C)
Specifications and pinouts for the computer link cable.
User Communication Cable 1C (FC2A-KP1C)
Specifications and pinouts for the user communication cable.
O/I Communication Cable 1C (FC4A-KC1C)
Specifications and pinouts for the O/I communication cable.
O/I Communication Cable 2C (FC4A-KC2C)
Specifications and pinouts for the O/I communication cable.
Analog Voltage Input Cable (FC4A-PMAC2P)
Specifications for the analog voltage input cable.
Shielded CPU Flat Cable
Specifications for shielded CPU flat cables.
Non-shielded CPU Flat Cable
Specifications for non-shielded CPU flat cables.
Shielded I/O Flat Cable
Specifications for shielded I/O flat cables.
Non-shielded I/O Flat Cable
Specifications for non-shielded I/O flat cables.
BX Series I/O Terminals and Applicable Cables
Overview of BX Series I/O terminals and compatible cables.
CPU Modules (All-in-One Type)
List of all-in-one type CPU modules with their specifications.
CPU Modules (Slim Type)
List of slim type CPU modules with their specifications.
Input Modules
List of input modules with their specifications.
Output Modules
List of output modules with their specifications.
Mixed I/O Modules
List of mixed I/O modules with their specifications.
Analog I/O Modules
List of analog I/O modules with their specifications.
AS-Interface Master Module
Specifications for the AS-Interface master module.
Optional Modules, Adapters, and Cartridges
List of optional modules, adapters, and cartridges with their types.
HMI Module
Specifications for the optional HMI module.
HMI Base Module
Specifications for the HMI base module.
RS232C Communication Adapter
Specifications for RS232C communication adapters.
RS485 Communication Adapter
Specifications for RS485 communication adapters.
RS232C Communication Module
Specifications for RS232C communication modules.
RS485 Communication Module
Specifications for RS485 communication modules.
Memory Cartridge
Specifications for memory cartridges.
Clock Cartridge
Specifications for clock cartridges.
Type List
List of CPU modules, input modules, output modules, and mixed I/O modules.

Table of Contents