IDEC FC6A Series MICRO Smart User Guide
- June 1, 2024
- IDEC
Table of Contents
- FC6A Series MICRO Smart
- Product Information
- Specifications:
- Product Usage Instructions:
- Chapter 1: Operation Basics
- Chapter 2: Devices
- Chapter 3: Instructions Reference
- Chapter 4: Basic Instructions
- Chapter 5 through Chapter 28:
- Appendix
- Index
- Q: What precautions should be taken before using the
- Q: Where can I find more detailed information about device
- Q: How can I program the controller using WindLDR on a
FC6A Series MICRO Smart
Product Information
Specifications:
- Product Name: SmartAXIS FT2J Series FC6A Series MICROSmart
- Programming Compatibility: Programmable by ladder
programming
Product Usage Instructions:
Chapter 1: Operation Basics
General information about setting up the basic controller system
for programming, starting and stopping the controller operation,
and simple operating procedures. Includes creating a user program
using WindLDR on a computer and monitoring the controller
operation.
Chapter 2: Devices
Descriptions of the allocations of devices such as inputs,
outputs, internal relays, registers, timers, and counters that are
used in the basic and advanced instructions. Includes details about
special internal relays and data registers.
Chapter 3: Instructions Reference
List of basic and advanced instructions to program the
controller and general rules for using advanced instructions.
Chapter 4: Basic Instructions
Programming of basic instructions, available devices, and sample
programs.
Chapter 5 through Chapter 28:
Detailed descriptions for advanced instructions.
Appendix
Additional information about execution times and byte sizes for
instructions.
Index
Alphabetical listing of key words for quick reference.
FAQ:
Q: What precautions should be taken before using the
controller?
A: Read the safety precautions described in the
user’s manual to ensure safe use. Special expertise is required to
create ladder programs and operate the controller. People without
such expertise should not use the controller.
Q: Where can I find more detailed information about device
allocations?
A: Refer to Chapter 2 of the manual for
detailed descriptions of device allocations including inputs,
outputs, internal relays, registers, timers, and counters.
Q: How can I program the controller using WindLDR on a
computer?
A: Chapter 1 provides information on setting up
the basic controller system for programming, including creating a
user program using WindLDR and monitoring the controller
operation.
B-2342(0)
Ladder Programming Manual
SmartAXIS FT2J Series FC6A Series MICROSmart
programmable by
SAFETY PRECAUTIONS
Read the safety precautions described in the user’s manual of each product
before using the product to ensure the safe use of our products. Improper
operation may cause severe personal injury or death. In this manual, safety
precautions are categorized in order of importance:
Warning Warning notices are used to emphasize that improper operation may
cause severe personal injury or death.
Special expertise is required to create ladder programs and operate the
controller. People without such expertise must not use the controller.
Caution Caution notices are used where inattention might cause personal injury
or damage to equipment.
Make sure of safety before running and stopping the ladder program. Incorrect
operation of the controller may cause machine damage or accidents.
Preface-1
LADDER PROGRAMMING MANUAL
ABOUT THIS M ANUAL
This manual describes the basic operations, various instructions, and
precautions for programming ladder programs. Read this manual to ensure the
correct understanding of the functions and performance of the controller.
This manual describes device allocations, specifications of basic and advanced
instructions, and operation basics of the controller.
Chapter 1: Operation Basics
General information about setting up the basic controller system for
programming, starting and stopping the controller operation, and simple
operating procedures. Everything from creating a user program using WindLDR on
a computer to monitoring the controller operation.
Chapter 2: Devices
Descriptions of the allocations of devices such as inputs, outputs, internal
relays, registers, timers, and counters that are used in the basic and
advanced instructions, as well as details about the allocations of special
internal relays and special data registers.
Chapter 3: Instructions Reference
List of basic and advanced instructions to program the controller and general
rules of using advanced instructions.
Chapter 4: Basic Instructions
Programming of the basic instructions, available devices, and sample programs.
Chapter 5 through Chapter 28:
Detailed descriptions for advanced instructions.
Appendix
Additional information about execution times and byte sizes for instructions.
Index
Alphabetical listing of key words.
Related Manuals Refer to the following manuals according to your purpose.
Manual Name
FC6A Series MICROSmart User’s Manual
FC6A Series MICROSmart Communication Manual FC6A Series MICROSmart PID Module
User’s Manual Ladder Programming Manual (this manual) WindO/I-NV4 User’s
Manual
Description Describes product specifications, installation and wiring
instructions, instructions for basic programming operations and special
functions, device and instruction lists, and troubleshooting procedures for
the FC6A MICROSmart. Describes specifications related to FC6A MICROSmart
communication, descriptions of functions, configuration methods, and usage
examples.
Describes PID module specifications and functions.
Describes basic operations for programming with ladders, monitoring methods,
device and instruction lists, and details of each instruction. Describes basic
operation of the SmartAXIS FT2J, how to create the project for the RUN
operation, and the various drawings and components for the project.
IDEC Corporation makes the latest product manual PDFs available on our website at no additional cost. Please download the latest product manual PDFs from our website.
Publication history November 2023: First Edition
Caution
All rights in this document belong to IDEC Corporation. It may not be
reproduced, reprinted, sold, transferred or rented without our permission. The
contents of this manual are subject to change without notice. Every effort has
been made to ensure the content of the product, but if you find any suspicious
points or mistakes, please contact the store
where you purchased the product or our sales office or branch office.
Trademarks WindO/I, WindLDR, SmartAXIS and MICROSmart are registered
trademarks of IDEC CORPORATION in JAPAN. All other company names and product
names used in this manual are trademarks of their respective owners.
LADDER PROGRAMMING MANUAL
Preface-2
IMPORTANT INFORMATION Under no circumstances shall IDEC Corporation be held liable or responsible for indirect or consequential damages resulting from the use of or the application of IDEC controller components, individually or in combination with other equipment. All persons using these components must be willing to accept responsibility for choosing the correct component to suit their application and for choosing an application appropriate for the component, individually or in combination with other equipment. All diagrams and examples in this manual are for illustrative purposes only. In no way does including these diagrams and examples in this manual constitute a guarantee as to their suitability for any specific application. To test and approve all programs, prior to installation, is the responsibility of the end user.
Preface-3
LADDER PROGRAMMING MANUAL
NAMES AND ABBREVIATIONS USED IN THIS M ANUAL
Controller FT2J
FC6A
Item
CPU module All-in-One CPU module
16-I/O type
24-I/O type
CAN J1939 All-in-One CPU module Plus CPU module
Plus 16-I/O type
Plus 32-I/O type
40-I/O type AC power type DC power type
24V DC power type 12V DC power type Relay output type Transistor output type
Transistor sink output type Transistor protection source output type Expansion
module I/O module Digital I/O module
Digital input module Digital output module Digital mixed I/O module Analog I/O
module Analog input module Analog output module Analog mixed I/O module
Communication module
Description Generic term used to refer to FT2J and FC6A. The name is short for
SmartAXIS FT2J. Generic term used to refer to CPU module, expansion module,
expansion interface module, HMI module, cartridge base module, cartridge.
Generic term used to refer to All-in-One CPU module, CAN J1939 All-in-One CPU
module, Plus CPU module.
Generic term used to refer to FC6A-C*E CPU modules. Generic term used to
refer to All-in-One CPU modules with a total number of 16 inputs/outputs.
(FC6A-C16**)
Generic term used to refer to All-in-One CPU modules with a total number of 24
inputs/outputs. (FC6A-C24***) Generic term used to refer to FC6A-C40EJ CPU
modules. Generic term used to refer to FC6A-DCEE CPU modules. Generic term
used to refer to Plus CPU modules with a total number of 16 inputs/ outputs.
(FC6A-D16****) Generic term used to refer to Plus CPU modules with a total
number of 32 inputs/ outputs. (FC6A-D32) Generic term used to refer to
CPU modules with a total number of 40 inputs/outputs. (FC6A-C40) Generic
term used to refer to CPU modules with AC power supply. (FC6A-CAE,
FC6A-CAEJ) Generic term used to refer to CPU modules with 24VDC power
supply or 12VDC power supply. Generic term used to refer to CPU modules with
24VDC power supply. (FC6A-CCE, FC6A-CCEJ, FC6A-DCEE)
Generic term used to refer to CPU modules with 12VDC power supply.
(FC6A-CDE, FC6A-CDEJ) Generic term used to refer to CPU modules with
relay outputs. (FC6A-CRE, FC6A-CRE) Generic term used to refer to CPU
modules with transistor sink outputs or transistor protection source outputs.
Generic term used to refer to CPU modules with transistor sink outputs.
(FC6A-CKE, FC6A-CKE, FC6A-DKCEE) Generic term used to refer to CPU
modules with transistor protection source outputs. (FC6A-CPE,
FC6A-CPE, FC6A-DP*CEE) Generic term used to refer to I/O module,
communication module, PID module. Generic term used to refer to digital I/O
module, analog I/O module. Generic term used to refer to digital input module,
digital output module, digital mixed I/O module. Generic term used to refer to
digital I/O modules with input terminals. (FC6A-N) Generic term used to
refer to digital I/O modules with output terminals. (FC6A-R*, FC6A-T**)
Generic term used to refer to digital I/O modules with input and output
terminals. (FC6A-M*) Generic term used to refer to analog input module,
analog output module, analog mixed I/O module. Generic term used to refer to
analog I/O modules with input terminals. (FC6A-J, FC6A-J4CN, FC6A-J4CH,
FC6A-J8CU*) Generic term used to refer to analog I/O modules with output
terminals. (FC6A-K**) Generic term used to refer to analog I/O modules with
input and output terminals. (FC6A-L03CN, FC6A-L06A*) Generic term used to
refer to serial communication modules.
LADDER PROGRAMMING MANUAL
Preface-4
Item Serial communication module PID module
Expansion interface module
Expansion interface module (Expander) Expansion interface module (remote
master) Expansion interface module (remote slave) HMI module Cartridge base
module Cartridge I/O cartridge
Digital I/O cartridge
Analog I/O cartridge
Communication cartridge
WindO/I-NV4
RS232C communication cartridge RS485 communication cartridge Bluetooth communication cartridge
WindLDR
USB cable
User program
Function area settings
Ladder program
Main program
Subroutine program
User-defined macros
Source device
Destination device Timer instruction Off-delay timer instruction Counter
instruction Double-word counter instruction Shift register instruction Shot
instruction Counter compare instruction
Compare instruction
Description Generic term used to refer to FC6A-SIF52, FC6A-SIF524.
Generic term used to refer to FC6A-F2M, FC6A-F2MR. Generic term used to
refer to expansion interface module (Expander), expansion interface module
(remote master), expansion interface module (remote slave). Generic term used
to refer to FC6A-EXM2, FC6A-EXM24.
FC6A-EXM1M
Generic term used to refer to FC6A-EXM1S, FC6A-EXM1S4. FC6A-PH1 FC6A-HPH1
Generic term used to refer to I/O cartridge, communication cartridge. Generic
term used to refer to digital I/O cartridge, analog I/O cartridge Generic term
used to refer to I/O cartridges that extend digital inputs or outputs. (FC6A-
PN4, FC6A-PT4) Generic term used to refer to I/O cartridges that extend
analog inputs or outputs. (FC6A-PJ2A, FC6A-P2**) Generic term used to refer
to RS232C communication cartridge, RS485 communication cartridge, Bluetooth
communication cartridge. FC6A-PC1 FC6A-PC3 FC6A-PC4 Integrated configuration
software application for creating projects of the FT2J. This is an editor for
setting the control function of the FT2J. This software is also used to create
ladder programs for the FC6A. Generic term used to refer to USB maintenance
cable (HG9Z-XCM42), USB Mini-B extension cable (HG9Z-XCE21). It refers to the
data that combines function area settings and ladder programs configured by
the ladder programming software WindLDR. These are various settings for
controller. These are the settings to be configured in the Settings tab and
the module configuration editor. Generic term used to refer to main program,
subroutine program, user-defined macros. This is a program whose first row is
the entry point of the ladder program. The entry point is the starting point
where the ladder program is executed. It is created in the Main Program tab of
the ladder program editor. It refers to one of the following programs.
Programs from the LABEL instruction to the LRET instruction
Programs created using WindLDR subroutine function (In the ladder program
editor tab, it is indicated by [# Subroutine] (#: subroutine number).)
It is a program created using WindLDR user-defined macro function. (In the
ladder program editor tab, it is indicated by [# User-defined macro name] (#:
user-defined macro number). It is a device (the place where data is stored to
execute an advanced instruction) on which the operation is performed. It is a
device that stores the operation result. Generic term used to refer to TML,
TIM, TMH, TMS instruction. Generic term used to refer to TMLO, TIMO, TMHO,
TMSO instruction. Generic term used to refer to CNT, CDP, CUD instruction.
Generic term used to refer to CNTD, CDPD, CUDD instruction. Generic term used
to refer to SFR, SFRN instruction. Generic term used to refer to SOTU, SOTD
instruction. Generic term used to refer to CC=, CC>= instruction. Generic term
used to refer to CMP=, CMP<>, CMP<, CMP>, CMP<=, CMP>= instruction.
Preface-5
LADDER PROGRAMMING MANUAL
Item Pulse output instruction Dual/teaching timer instruction
Name of WindLDR Name Used in this Manual
Function area settings Monitors PLC status Communication settings
Modbus master request table
Application button
Description Generic term used to refer to PULS, PWM, RAMP, RAMPL, ARAMP, ABS,
JOG instruction. Generic term used to refer to DTIM, DTML, DTMH, DTMS, TTIM
instruction.
WindLDR Operating Procedure Configuration tab > Function Area Settings group
Select Online > Monitor > Start Monitor. Select Online > PLC > Status. Select
Online > Communication > Set Up. On the Configuration tab, in Function Area
Settings, click Communication Ports, and in the displayed Function Area
Settings dialog box, for Communication Mode under Communication Ports, select
Modbus RTU Master or Modbus TCP Client The button displayed on the left side
of the menu bar. Click to display the menu with New, Save, and Save As, recent
projects, WindLDR Options, and Exit WindLDR.
LADDER PROGRAMMING MANUAL
Preface-6
Preface-7
LADDER PROGRAMMING MANUAL
TABLE OF CONTENTS
CHAPTER 1:
CHAPTER 2: CHAPTER 3: CHAPTER 4:
Safety Precautions…………………………………………………………………………………………………………….. Preface-1 About
This Manual…………………………………………………………………………………………………………….. Preface-2 Names and
Abbreviations Used in this Manual …………………………………………………………………………. Preface-4
Operation Basics
Start WindLDR ………………………………………………………………………………………………………………………….. 1-1 Create
Ladder Program ……………………………………………………………………………………………………………….. 1-4 Save
Project……………………………………………………………………………………………………………………………… 1-8 Simulate
Operation…………………………………………………………………………………………………………………….. 1-9 Download User
Program ……………………………………………………………………………………………………………. 1-10 Monitor Operation
……………………………………………………………………………………………………………………. 1-12 Exit WindLDR
………………………………………………………………………………………………………………………….. 1-13 Windows Displayed in the
Workspace …………………………………………………………………………………………… 1-14 Checking the WindLDR
Version Number ………………………………………………………………………………………… 1-17 Ladder Program
Operation …………………………………………………………………………………………………………. 1-18 Run/Stop the User
Program ……………………………………………………………………………………………………….. 1-19
Devices
FT2J ……………………………………………………………………………………………………………………………………….. 2-1 FC6A
…………………………………………………………………………………………………………………………………….. 2-11 Device Names and
Symbols………………………………………………………………………………………………………… 2-60 List of Type IDs and
Status ………………………………………………………………………………………………………… 2-61
Instructions Reference
Basic Instruction List…………………………………………………………………………………………………………………… 3-1
Advanced Instruction List …………………………………………………………………………………………………………….. 3-3
Advanced Instructions ………………………………………………………………………………………………………………… 3-6 Device
Addressing for Instruction Execution …………………………………………………………………………………… 3-12
Basic Instructions
LOD (Load) ………………………………………………………………………………………………………………………………. 4-1 LODN (Load
Not)……………………………………………………………………………………………………………………….. 4-1 OUT
(Output)……………………………………………………………………………………………………………………………. 4-1 OUTN (Output Not)
……………………………………………………………………………………………………………………. 4-1 SET
………………………………………………………………………………………………………………………………………… 4-3 RST (Reset)
……………………………………………………………………………………………………………………………… 4-3 AND
……………………………………………………………………………………………………………………………………….. 4-3 ANDN (And
Not)………………………………………………………………………………………………………………………… 4-3 OR
…………………………………………………………………………………………………………………………………………. 4-4 ORN (Or Not)
……………………………………………………………………………………………………………………………. 4-4 AND LOD (Load)
……………………………………………………………………………………………………………………….. 4-5 OR LOD (Load)
…………………………………………………………………………………………………………………………. 4-5 BPS (Bit
Push)…………………………………………………………………………………………………………………………… 4-6 BRD (Bit
Read)………………………………………………………………………………………………………………………….. 4-6 BPP (Bit Pop)
……………………………………………………………………………………………………………………………. 4-6 TML (1-s Timer)
………………………………………………………………………………………………………………………… 4-7 TIM (100-ms Timer)
…………………………………………………………………………………………………………………… 4-7 TMH (10-ms Timer)
……………………………………………………………………………………………………………………. 4-7 TMS (1-ms Timer)
……………………………………………………………………………………………………………………… 4-7 TMLO (1-s off-delay
timer)…………………………………………………………………………………………………………… 4-9 TIMO (100-ms off-delay
timer)……………………………………………………………………………………………………… 4-9 TMHO (10-ms off-delay
timer)………………………………………………………………………………………………………. 4-9 TMSO (1-ms off-delay
timer)………………………………………………………………………………………………………… 4-9 CNT (Adding Counter)
………………………………………………………………………………………………………………. 4-13 CDP (Dual-Pulse Reversible
Counter) ……………………………………………………………………………………………. 4-13 CUD (Up/Down Selection
Reversible Counter)…………………………………………………………………………………. 4-13 CNTD (Double-Word
Adding Counter) …………………………………………………………………………………………… 4-17 CDPD (Double-Word
Dual-Pulse Reversible Counter)………………………………………………………………………… 4-17 CUDD (Double-
Word Up/Down Selection Reversible Counter) …………………………………………………………….. 4-17 CC=
(Counter Comparison =)……………………………………………………………………………………………………… 4-22
FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y-B1726
Preface-8
TABLE OF CONTENTS
CHAPTER 5:
CHAPTER 6:
CHAPTER 7: CHAPTER 8: CHAPTER 9:
Preface-9
CC>= (Counter Comparison >=) ………………………………………………………………………………………………….4-22 DC=
(Data Register Comparison =)……………………………………………………………………………………………….4-23 DC>=
(Data Register Comparison >=) …………………………………………………………………………………………..4-24 SFR
(Forward Shift Register)………………………………………………………………………………………………………..4-26 SFRN
(Reverse Shift Register)………………………………………………………………………………………………………4-26 SOTU
(Single Output Up)…………………………………………………………………………………………………………….4-30 SOTD (Single
Output Down) ………………………………………………………………………………………………………..4-30 MCS (Master Control
Set) ……………………………………………………………………………………………………………4-32 MCR (Master Control
Reset)…………………………………………………………………………………………………………4-32 JMP (Jump)
……………………………………………………………………………………………………………………………..4-34 JEND (Jump
End)………………………………………………………………………………………………………………………4-34 END
……………………………………………………………………………………………………………………………………….4-36 Restriction on Ladder
Programming……………………………………………………………………………………………….4-37
Move Instructions
MOV (Move) …………………………………………………………………………………………………………………………….. 5-1 MOVN (Move
Not)……………………………………………………………………………………………………………………… 5-5 IMOV (Indirect
Move)…………………………………………………………………………………………………………………. 5-6 IMOVN (Indirect Move
Not) …………………………………………………………………………………………………………. 5-8 MOVC (Move
Characters)…………………………………………………………………………………………………………….. 5-9 BMOV (Block Move)
…………………………………………………………………………………………………………………..5-12 IBMV (Indirect Bit Move)
…………………………………………………………………………………………………………….5-13 IBMVN (Indirect Bit Move
Not)……………………………………………………………………………………………………..5-15 NSET (N Data Set)
…………………………………………………………………………………………………………………….5-16 NRS (N Data Repeat
Set)…………………………………………………………………………………………………………….5-17 XCHG (Exchange)
……………………………………………………………………………………………………………………..5-19 TCCST (Timer/Counter
Current Value Store) ……………………………………………………………………………………5-20
Data Comparison Instructions
CMP= (Compare Equal To) ………………………………………………………………………………………………………….. 6-1 CMP<>
(Compare Unequal To)…………………………………………………………………………………………………….. 6-1 CMP< (Compare
Less Than) ………………………………………………………………………………………………………… 6-1 CMP> (Compare Greater
Than)…………………………………………………………………………………………………….. 6-1 CMP<= (Compare Less Than or
Equal To) ………………………………………………………………………………………. 6-1 CMP>= (Compare Greater Than
or Equal To) ………………………………………………………………………………….. 6-2 ICMP>= (Interval Compare
Greater Than or Equal To) ………………………………………………………………………. 6-6 LC= (Load Compare
Equal To)……………………………………………………………………………………………………… 6-8 LC<> (Load Compare
Unequal To) ……………………………………………………………………………………………….. 6-8 LC< (Load Compare Less
Than)……………………………………………………………………………………………………. 6-8 LC> (Load Compare Greater
Than) ……………………………………………………………………………………………….. 6-8 LC<= (Load Compare Less Than
or Equal To)………………………………………………………………………………….. 6-8 LC>= (Load Compare Greater
Than or Equal To) ……………………………………………………………………………… 6-8
Binary Arithmetic Instructions
ADD (Addition) …………………………………………………………………………………………………………………………. 7-1 SUB
(Subtraction) ……………………………………………………………………………………………………………………… 7-1 MUL
(Multiplication) …………………………………………………………………………………………………………………… 7-1 DIV
(Division) …………………………………………………………………………………………………………………………… 7-1 INC (Increment)
……………………………………………………………………………………………………………………….7-14 DEC
(Decrement)………………………………………………………………………………………………………………………7-14 ROOT (Root)
……………………………………………………………………………………………………………………………7-15 SUM
(Sum)………………………………………………………………………………………………………………………………7-16 RNDM
(Random)……………………………………………………………………………………………………………………….7-19
Boolean Computation Instructions
ANDW (AND Word) ……………………………………………………………………………………………………………………. 8-1 ORW (OR
Word) ……………………………………………………………………………………………………………………….. 8-1 XORW (Exclusive OR
Word) …………………………………………………………………………………………………………. 8-1
Shift / Rotate Instructions
SFTL (Shift Left) ……………………………………………………………………………………………………………………….. 9-1 SFTR
(Shift Right) ……………………………………………………………………………………………………………………… 9-3 BCDLS (BCD
Left Shift)……………………………………………………………………………………………………………….. 9-5
FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y-B1726
CHAPTER 10:
CHAPTER 11: CHAPTER 12: CHAPTER 13: CHAPTER 14: CHAPTER 15: CHAPTER 16:
CHAPTER 17: CHAPTER 18:
TABLE OF CONTENTS
WSFT (Word Shift) …………………………………………………………………………………………………………………….. 9-7 ROTL
(Rotate Left) …………………………………………………………………………………………………………………….. 9-8 ROTR (Rotate
Right)…………………………………………………………………………………………………………………. 9-10
Data Conversion Instructions
HTOB (Hex to BCD) ………………………………………………………………………………………………………………….. 10-1 BTOH (BCD
to Hex) ………………………………………………………………………………………………………………….. 10-3 HTOA (Hex to
ASCII)………………………………………………………………………………………………………………… 10-5 ATOH (ASCII to
Hex)………………………………………………………………………………………………………………… 10-7 BTOA (BCD to
ASCII)………………………………………………………………………………………………………………… 10-9 ATOB (ASCII to
BCD)………………………………………………………………………………………………………………. 10-12 ENCO (Encode)
……………………………………………………………………………………………………………………… 10-15 DECO (Decode)
……………………………………………………………………………………………………………………… 10-16 BCNT (Bit
Count)……………………………………………………………………………………………………………………. 10-17 ALT (Alternate
Output) ……………………………………………………………………………………………………………. 10-18 CVDT (Convert Data
Type)……………………………………………………………………………………………………….. 10-19 DTDV (Data Divide)
………………………………………………………………………………………………………………… 10-21 DTCB (Data Combine)
…………………………………………………………………………………………………………….. 10-22 SWAP (Data
Swap)…………………………………………………………………………………………………………………. 10-23
Week Programmer Instructions
WEEK (Weekly Timer)……………………………………………………………………………………………………………….. 11-3 YEAR
(Yearly Timer) ……………………………………………………………………………………………………………….. 11-16
Display Instructions
MSG (Message) ……………………………………………………………………………………………………………………….. 12-1 DISP
(Display)……………………………………………………………………………………………………………………….. 12-20 DGRD (Digital
Read) ……………………………………………………………………………………………………………….. 12-22
Program Branching Instructions
LABEL (Label) …………………………………………………………………………………………………………………………. 13-1 LJMP (Label
Jump) …………………………………………………………………………………………………………………… 13-2 LCAL (Label Call)
……………………………………………………………………………………………………………………… 13-4 LRET (Label Return)
…………………………………………………………………………………………………………………. 13-5 DJNZ (Decrement Jump Non-
zero) ………………………………………………………………………………………………. 13-7
Refresh Instructions
IOREF (I/O Refresh) …………………………………………………………………………………………………………………. 14-1 HSCRF
(High-speed Counter Refresh) …………………………………………………………………………………………… 14-3 FRQRF
(Frequency Measurement Refresh) …………………………………………………………………………………….. 14-4
Interrupt Control Instructions
DI (Disable Interrupt) ……………………………………………………………………………………………………………….. 15-1 EI
(Enable Interrupt) ………………………………………………………………………………………………………………… 15-1
Coordinate Conversion Instructions
XYFS (XY Format Set) ……………………………………………………………………………………………………………….. 16-1 CVXTY
(Convert X to Y) …………………………………………………………………………………………………………….. 16-3 CVYTX
(Convert Y to X) …………………………………………………………………………………………………………….. 16-4
Average Instructions
AVRG (Average) ………………………………………………………………………………………………………………………. 17-1
Pulse Output Instructions
PULS (Pulse Output) …………………………………………………………………………………………………………………. 18-1 PWM
(Variable Duty Cycle Pulse Output)……………………………………………………………………………………….. 18-9
RAMP (Trapezoidal Control) ……………………………………………………………………………………………………… 18-17 RAMPL
(Linear Interpolation Control) ………………………………………………………………………………………….. 18-29 ZRN
(Zero Return)………………………………………………………………………………………………………………….. 18-38 ARAMP (RAMP
with Table) ……………………………………………………………………………………………………….. 18-48 ABS (Set Absolute
Position)………………………………………………………………………………………………………. 18-70 JOG (JOG Operation)
………………………………………………………………………………………………………………. 18-73 Pulse Monitor
………………………………………………………………………………………………………………………… 18-80 Positioning Control
…………………………………………………………………………………………………………………. 18-83
FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y-B1726
Preface-10
TABLE OF CONTENTS
CHAPTER 19:
CHAPTER 20: CHAPTER 21:
CHAPTER 22: CHAPTER 23: CHAPTER 24: CHAPTER 25: CHAPTER 26:
CHAPTER 27: CHAPTER 28:
PID Control Instruction
PID (PID Control)………………………………………………………………………………………………………………………19-1 PIDA (PID
Control)…………………………………………………………………………………………………………………….19-1 PIDD (PID with
Derivative Decay) …………………………………………………………………………………………………19-1 PIDA (PID
Control)…………………………………………………………………………………………………………………….19-4 PIDD (PID with
Derivative Decay) ……………………………………………………………………………………………….19-28 PID Monitor
……………………………………………………………………………………………………………………………19-44 Application Example
…………………………………………………………………………………………………………………19-50
Dual / Teaching Timer Instructions
DTML (1-s Dual Timer)……………………………………………………………………………………………………………….20-1 DTIM
(100-ms Dual Timer)………………………………………………………………………………………………………….20-1 DTMH (10-ms
Dual Timer)…………………………………………………………………………………………………………..20-1 DTMS (1-ms Dual
Timer)…………………………………………………………………………………………………………….20-1 TTIM (Teaching Timer)
………………………………………………………………………………………………………………20-3
Trigonometric Function Instructions
RAD (Degree to Radian) ……………………………………………………………………………………………………………..21-1 DEG
(Radian to Degree) ……………………………………………………………………………………………………………..21-2 SIN (Sine)
……………………………………………………………………………………………………………………………….21-3 COS (Cosine)
……………………………………………………………………………………………………………………………21-4 TAN
(Tangent)………………………………………………………………………………………………………………………….21-5 ASIN (Arc Sine)
………………………………………………………………………………………………………………………..21-6 ACOS (Arc Cosine)
…………………………………………………………………………………………………………………….21-7 ATAN (Arc
Tangent)…………………………………………………………………………………………………………………..21-8
Logarithm / Power Instructions
LOGE (Natural Logarithm) …………………………………………………………………………………………………………..22-1 LOG10
(Common Logarithm) ……………………………………………………………………………………………………….22-2 EXP (Exponent)
………………………………………………………………………………………………………………………..22-3 POW
(Power)……………………………………………………………………………………………………………………………22-4
File Data Processing Instructions
FIFOF (FIFO Format)………………………………………………………………………………………………………………….23-1 FIEX
(First-In Execute) ……………………………………………………………………………………………………………….23-3 FOEX
(First-Out Execute)…………………………………………………………………………………………………………….23-4 NDSRC (N
Data Search) ……………………………………………………………………………………………………………..23-6
Clock Instructions
TADD (Time Addition) ………………………………………………………………………………………………………………..24-1 TSUB
(Time Subtraction) …………………………………………………………………………………………………………….24-5 HOUR (Hour
Meter) …………………………………………………………………………………………………………………..24-9 HTOS (HMS to
Sec)………………………………………………………………………………………………………………….24-11 STOH (S to HMS)
…………………………………………………………………………………………………………………….24-12
Data Log Instructions
DLOG (Data Log) ………………………………………………………………………………………………………………………25-1 TRACE (Data
Trace)…………………………………………………………………………………………………………………25-16
Script
SCRPT (Script)………………………………………………………………………………………………………………………….26-1 Script
Function Overview …………………………………………………………………………………………………………….26-3 Script
Programming and Management ……………………………………………………………………………………………26-5 Programming
Scripts ………………………………………………………………………………………………………………..26-12 Script Programming
Examples…………………………………………………………………………………………………….26-19 Important Notes
……………………………………………………………………………………………………………………..26-42 About the Priority of the
Operator ……………………………………………………………………………………………….26-43
Flow Calculation Instructions
SCALE (Convert Analog Input) ……………………………………………………………………………………………………..27-1 FLWA
(Analog Flow Totalizer) …………………………………………………………………………………………………….27-10 FLWP
(Pulse Flow Totalizer)……………………………………………………………………………………………………….27-19
User-defined Macro Instruction
Preface-11
FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y-B1726
A PPENDIX I NDEX
TABLE OF CONTENTS
UMACRO (User-defined Macro)……………………………………………………………………………………………………. 28-1
Breakdown of END Processing Time………………………………………………………………………………………………..A-1
………………………………………………………………………………………………………………………………………………A-1 Differences between
User-defined Macros and Subroutines ………………………………………………………………….A-2 Execution
Times for Instructions…………………………………………………………………………………………………….A-4 Instruction
Size (Bytes)……………………………………………………………………………………………………………… A-12 User Program
Execution Error and Ladder Program Execution Error …………………………………………………….. A-20
User Program Execution Error History …………………………………………………………………………………………… A-22
About the Warranty of the Products………………………………………………………………………………………. Preface-1
FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y-B1726
Preface-12
TABLE OF CONTENTS
Preface-13
FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y-B1726
1: OPERATION BASICS
Introduction
This chapter describes basic procedures for operating WindLDR, programming and
maintenance software.
Start WindLDR
FT2J FC6A
This section describes the operational steps to start WindLDR and create a
ladder program. FT2J WindLDR starts from WindO/I-NV4. On the WindO/I-NV4 View
tab, in the Workspace group, click Control Function. WindLDR starts.
The following ladder editor (a window for editing ladder programs) opens.
Next, create a ladder program. For details, see “Create Ladder Program” on
page 1-4.
LADDER PROGRAMMING MANUAL
1-1
1: OPERATION BASICS
FC6A 1. Start WindLDR in the following steps. Windows 11/10
Click Start button and then > All Apps > IDEC Automation Organizer > WindLDR.
Windows 8
Click WindLDR in the tiles on the Start screen. Windows 7
Click Start and then Programs > IDEC Automation Organizer > WindLDR.
2. Select Configuration from the WindLDR menu bar, then select PLC Type. The
PLC Selection dialog box appears.
3. Select a PLC type in the selection box and click OK.
Select the PLC type from the list and click Use as Default to set the selected PLC type as the default type when WindLDR starts.
1-2
LADDER PROGRAMMING MANUAL
1: OPERATION BASICS
PLC Selection Option
FC6A-C16XXXE
FC6A-C24XXXE
FC6A-C40XXXE
FC6A-C40XXXEJ FC6A-D16XXCEE FC6A-D32XXCEE
Type No.
FC6A-C16R1AE, FC6A-C16R1CE, FC6A-C16K1CE, F6A-C16P1CE, FC6A-C16R1DE, FC6A-
C16K1DE, FC6A-C16P1DE FC6A-C16R4AE, FC6A-C16R4CE, FC6A-C16K4CE, F6A-C16P4CE,
FC6A-C16R4DE, FC6A-C16K4DE, FC6A-C16P4DE FC6A-C24R1AE, FC6A-C24R1CE, FC6A-
C24P1CE, FC6A-C24K1CE FC6A-C24R4AE, FC6A-C24R4CE, FC6A-C24P4CE, FC6A-C24K4CE
FC6A-C40R1AE, FC6A-C40R1CE, FC6A-C40P1CE, FC6A-C40K1CE, FC6A-C40R1DE, FC6A-
C40P1DE, FC6A-C40K1DE FC6A-C40R4AE, FC6A-C40R4CE, FC6A-C40P4CE, FC6A-C40K4CE,
FC6A-C40R4DE, FC6A-C40P4DE, FC6A-C40K4DE FC6A-C40R1AEJ, FC6A-C40R1CEJ, FC6A-
C40P1CEJ, FC6A-C40K1CEJ, FC6A-C40R1DEJ, FC6A-C40P1DEJ, FC6A-C40K1DEJ FC6A-
C40R4AEJ, FC6A-C40R4CEJ, FC6A-C40P4CEJ, FC6A-C40K4CEJ, FC6A-C40R4DEJ, FC6A-
C40P4DEJ, FC6A-C40K4DEJ FC6A-D16R1CEE, FC6A-D16R4CEE, FC6A-D16K1CEE, FC6A-
D16K4CEE, FC6A-D16P1CEE, FC6A-D16P4CEE FC6A-D32K3CEE, FC6A-D32K4CEE, FC6A-
D32P3CEE, FC6A-D32P4CEE
The following ladder editor (a window for editing ladder programs) opens.
Next, create a ladder program. For details, see “Create Ladder Program” on page 1-4.
LADDER PROGRAMMING MANUAL
1-3
1: OPERATION BASICS
Create Ladder Program
This section describes the operating procedure to create a ladder program in
WindLDR. Note: For details about devices, see Chapter 2 “Devices” on page 2-1.
Sample User Program
Create a simple program using WindLDR. The sample program performs the
following operation: When only input I0 is turned on, output Q0 is turned on.
When only input I1 is turned on, output Q1 is turned on. When both inputs I0
and I1 are turned on, output Q2 flashes in 1-s increments.
FT2J FC6A
Rung No. 1 2 3
Input I0 ON OFF ON
Input I1 OFF ON ON
Output Operation Output Q0 is turned ON. Output Q1 is turned ON. Output Q2 flashes in 1-s increments.
Note: One collection of a group of instructions that control output or advanced instructions is called a rung. WindLDR manages programs in rung units. Function descriptions can be configured as rung comments for individual rungs.
Edit User Program Rung by Rung Start the user program with the LOD instruction by inserting a NO contact of input I0. 1. From the WindLDR menu bar, select Home > Basic > A (Normally Open).
2. Move the mouse pointer to the first column of the first line where you want to insert a NO contact, and click the left mouse button.
1-4
LADDER PROGRAMMING MANUAL
3. Double-click Normally Open. The A (Normally Open) dialog box is displayed.
4. Enter I0 in the Tag Name field, and click OK.
1: OPERATION BASICS
Notes: · To enter an NO contact from the right-click menu, right-click at the
location to insert the NO contact, and on the right-click menu, click Basic
Instructions (B), then A (Normally Open). · To enter an NO contact from the
keyboard, press ” (A) to display the Coil Selection dialog box. Select A
(Normally Open), and then press &OUFS (Enter).
A NO contact of input I0 is programmed in the first column of the first ladder
line. Next, program the ANDN instruction by inserting a NC contact of input
I1.
5. From the WindLDR menu bar, select Home > Basic > B (Normally Closed).
6. Move the mouse pointer to the second column of the first ladder line where
you want to insert a NC contact, and click the left mouse button.
LADDER PROGRAMMING MANUAL
1-5
1: OPERATION BASICS
7. Double-click Normally Closed. The B (Normally Closed) dialog box is
displayed.
8. Enter I1 in the Tag Name field, and click OK. An NC contact of input I1 is
programmed in the second column of the first ladder line. At the end of the
first ladder line, program the OUT instruction by inserting a NO coil of
output Q0. 9. From the WindLDR menu bar, select Home > Basic > OUT (Output).
10. Move the mouse pointer to the third column of the first ladder line where
you want to insert an output coil, and click the left
mouse button. Note: Another method to insert an instruction (either basic or
advanced) is to type the instruction symbol, OUT, where you want to insert the
instruction. 11. Double-click Output.
The Out (Output) dialog box is displayed.
12. Enter Q0 in the Tag Name field, and click OK.
A NO output coil of output Q0 is programmed in the right-most column of the first ladder line. This completes programming for rung 1.
1-6
LADDER PROGRAMMING MANUAL
1: OPERATION BASICS
Continue programming for rungs 2 and 3 by repeating similar procedures. A new
rung is inserted by pressing the Enter key while the cursor is on the
preceding rung. A new rung can also be inserted by selecting Home > Append >
Append a Rung. When completed, the ladder program looks like below.
To insert a new ladder line without creating a new rung, press the down arrow
key when the cursor is on the last line or press the right arrow key when the
cursor is at the right-most column of the last line.
Convert Program The program can be checked whether it contains any user
program syntax error. From the menu bar, select Home > Convert (Program
group). When the instruction/FB symbols are connected correctly, the program
conversion is completed successfully. If any error is found, the errors are
listed on the Info Window. Then, make corrections as necessary.
Info Window
LADDER PROGRAMMING MANUAL
1-7
1: OPERATION BASICS Save Project
This section describes the operating procedure to save the created ladder program as a project file. Note: To save the FT2J project, refer to Chapter 4 “1.3 Saving Project Data” in the WindO/I-NV4 User’s Manual.
1. Save the current project with a new name.
Click
(application) button > Save As > WindLDR Project.
FT2J FC6A
2. Enter the file name in File name, specify the folder to save to, and click Save.
This completes the procedure to save a project to a file. Note: The saved file is called a project file. The extension is “.pjw”.
1-8
LADDER PROGRAMMING MANUAL
1: OPERATION BASICS Simulate Operation
FT2J FC6A
This section describes the operating procedure to check the operation of the
user program before transferring it to the controller. From the WindLDR menu
bar, select Online > Simulation. The Simulation screen appears.
Select and right-click the input contact you want to change, and on the right-
click menu, click Set or Reset. To quit simulation, from the WindLDR menu bar,
select Online > Simulation. Notes:
· You can also change the status of an input contact by double-clicking it. ·
To quit simulation, from the WindLDR menu bar, once more select Online >
Simulation > Simulation.
LADDER PROGRAMMING MANUAL
1-9
1: OPERATION BASICS
Download User Program
FT2J FC6A
User program refers to the data that combines function area settings and
ladder programs configured by WindLDR. User programs can be downloaded to the
FC6A from WindLDR using USB or Ethernet. This section describes the operating
procedure from configuring communication settings to downloading the user
program using a USB connection as an example.
Note: To download the FT2J project data to the FT2J, see Chapter 29 “2.1
Downloading Project Data to the unit” in the WindO/I-NV4 User’s Manual.
FC6A
Windows Computer
USB Port
USB Cable HG9Z-XCM42 USB Maintenance Cable
Type A Plug
Mini-B Plug
USB Port (USB 2.0 Mini-B Connector)
Note: In order for WindLDR to communicate with the FC6A via USB, a dedicated
USB driver must be installed on the computer. See Appendix “USB Driver
Installation Procedure” in the FC6A Series MICROSmart User’s Manual.
1. From the WindLDR menu bar, select Online > Set Up. The Communication
Settings dialog box is displayed.
2. Click the USB tab and then click OK.
The communication method is now set to USB. Next, download a user program.
1-10
LADDER PROGRAMMING MANUAL
1: OPERATION BASICS
3. From the WindLDR menu bar, select Online > Download. The Download dialog
box appears, then click OK. The user program is downloaded to the FC6A. Note:
The Download dialog box can also be opened by selecting Home > Download.
Note: When downloading a user program, all values and selections in the
Function Area Settings are also downloaded to the FC6A. For details on
function settings, see Chapter 5 “Functions and Settings” in the FC6A Series
MICROSmart User’s Manual.
When the following message appears, the download has completed successfully.
Click OK.
Notes: · The FC6A will not run if the function switch is 0 when Run/Stop PLC
by Function Switch is enabled in WindLDR and a program is downloaded with
Automatic start after download enabled. To run the FC6A, the function switch
must be set to 1. · Enabled is the default setting for Run/Stop PLC by
Function Switch in WindLDR.
LADDER PROGRAMMING MANUAL
1-11
1: OPERATION BASICS
Monitor Operation
FT2J FC6A
Another powerful function of WindLDR is to monitor the controller operation on
the computer. The input and output statuses of the sample program can be
monitored in the ladder diagram. From the WindLDR menu bar, select Online >
Monitor > Monitor. When both inputs I0 and I1 are on, the ladder diagram on
the monitor screen looks as follows:
Rung 1: When both inputs I0 and I1 are on, output Q0 is turned off.
Rung 2: When both inputs I0 and I1 are on, output Q1 is turned off.
Rung 3: When both input I0 and I1 are on, internal relay M10 is turned on.
M8121 is the 1-s clock special internal relay. While M10 is on, output Q2
flashes in 1-s increments.
1-12
LADDER PROGRAMMING MANUAL
1: OPERATION BASICS Exit WindLDR
FT2J FC6A
This section describes the operating procedure to exit WindLDR. When you have
completed monitoring, you can exit WindLDR either directly from the monitor
screen or from the editing screen. In both cases, from the WindLDR application
button, click Exit WindLDR.
Note: To exit WindLDR of the FT2J, exit WindO/I-NV4. For details, see Chapter
2 “2.2 Exiting WindO/I-NV4” in the WindO/I-NV4 User’s Manual.
LADDER PROGRAMMING MANUAL
1-13
1: OPERATION BASICS Windows Displayed in the Workspace
FT2J FC6A
This section describes how to change the position and display method of
windows. Changing the position of windows
You can change the display position of the window by dragging and dropping the
title bar of the window or its tab to disable docking. Windows that are not
docked are called floating windows. Disabling docking This section describes
how to disable the docking of a title bar or tab of a window. · If you drag
the title bar of the workspace window, you can move all the docked windows
together.
Title bar
Drag and drop
· If you drag the tab of a workspace window, you can move just the selected
window.
Drag and drop
Tabs
Docking windows This section describes how to dock a floating window to
another window or the frame at the top, bottom, left, and right sides of
WindLDR. 1. Drag the window’s title bar or tab. The (Docking) icon is
displayed.
1-14
LADDER PROGRAMMING MANUAL
1: OPERATION BASICS
Note: When the mouse cursor gets close to a (Docking) icon while dragging the
title bar or tab, the location to dock the window is displayed.
Window docking location
2. Drop the title bar or tab on the separate window.
(Docking) icon to dock that window to WinidLDR’s left, right, top, or bottom frame or a
· If the workspace window is dropped on the (Docking) icon, it is docked to WindLDR’s left, right, top, or bottom frame.
· If a floating window is dropped on the docked window.
(Docking) icon, it is docked to WindLDR’s left, right, top, or bottom frame or a
· If you put the mouse cursor on another window while dragging a floating
windows title bar, the (Docking) icon is displayed. Drop the title bar on the
(Docking) icon to dock the floating window to that window. Change the
displayed
window with the tabs.
LADDER PROGRAMMING MANUAL
1-15
1: OPERATION BASICS
Changing the display method of windows If the workspace window is docked, you can change the widow to automatically hide and show only its tabs. · Click the (Auto Hide) icon to change the window to show only its tabs.
Auto Hide icon
Tabs
· The window is displayed when you bring the mouse cursor close to the tabs. Mouse cursor
Notes: · Click
· Click
(Auto Hide) to secure the window in place. (Close) to close the window.
1-16
LADDER PROGRAMMING MANUAL
Checking the WindLDR Version Number
This section describes how to check the WindLDR version.
1. Click
(application) button > WindLDR Options.
The WindLDR Options dialog box appears.
1: OPERATION BASICS
FT2J FC6A
2. Click the Resources tab, and then click About. The About WindLDR dialog box appears.
You can check the WindLDR version. When finished, click OK.
This concludes the procedure for checking the WindLDR version.
LADDER PROGRAMMING MANUAL
1-17
1: OPERATION BASICS Ladder Program Operation
The controller performs the following operations to process ladder programs.
FT2J FC6A
The input device values are applied to the ladder program.
Input Device
I0: ON I1: OFF I2: ON
The ON/OFF status of the input terminal (external input) is applied to the input circuit. The input refresh loads the external input status into the input devices (I) by way of the input circuit. A delay occurs until the ON/OFF status of the input circuit is applied to the input devices (I). The delay time is equal to filter time + 1 scan time.
Input Refresh
Input Terminals
0: ON 1: OFF 2: ON
Input Circuit
Repeat operations One sequence of operations is set as one scan, and the time required is set as the scan time.
Processing other than the ladder processing is called the END processing.
Ladder Processing
Output Terminals
Output Circuit
Q0: ON Q1: OFF Q2: ON
Other Processing Output Refresh
0: ON 1: OFF 2: ON
Output Device The output devices are updated according to the ladder program.
The output refresh applies the status of the output devices (Q) to the output circuit, and then the ON/OFF status of the output terminals (external input) is updated. A delay occurs until the values of the output devices (Q) are applied to the output circuit. The delay time is at maximum 1 scan time.
Notes: · Processing other than ladder processing is called END processing. · The delay time of the hardware is added to the actual input and output delay times. For details on the hardware input/output delay times, see the following manuals. FT2J: Chapter 1 “Main Unit Specifications” in the SmartAXIS Hardware Manual FC6A: Chapter 2 “Product Specifications” in the FC6A Series MICROSmart User’s Manual · The filter time differs depending on the input used. · When the input is a controller input See the input filter time configured in the WindLDR Function Area Settings. The initial value is 3 ms. · When the input (expansion input) is an expansion module input There is no filter time. · When the input (expansion input) is a cartridge input See the input filter time in the Digital I/O Cartridge Settings dialog box.The initial value is 3 ms. · The range of controller inputs and expansion inputs depends on the controller type. For details, see the following pages. FT2J: Chapter 2 “FT2J” on page 2-1 FC6A: Chapter 2 “FC6A” on page 2-11
1-18
LADDER PROGRAMMING MANUAL
1: OPERATION BASICS
Run/Stop the User Program
This section describes how to run and stop a user program.
FT2J FC6A
Caution Make sure of safety before starting and stopping the controller.
Incorrect operation of the controller may cause machine
damage or accidents.
You can run and stop the user program by turning the controller on or off, by using WindLDR, Data File Manager and the stop/ reset input function. In addition, FT2J can run and stop the user program by operating the controller unit. FC6A can run and stop the user program by using function switch operations, menu operations using an HMI module.
When the controller is turned on
Run/Stop Operation Using the controller power supply The user program can be
run and stopped by turning power on and off.
1. Power up the controller to run operation.
2. When the power is turned on, the user program runs or stops according to
the setting of Run/Stop Selection at Power Up in the Function Area Settings
dialog box. When the power is turned off, the user program stops.
Note: For details of Run/Stop Selection at Power Up, see the following
manuals. FT2J: Chapter 28 “2.3 Run/Stop Selection at Power Up” in the
WindO/I-NV4 User’s Manual FC6A: Chapter 5 “Run/Stop Selection at Power Up” in
the FC6A Series MICROSmart User’s Manual
When the controller power is on
The switch to run or stop is performed during the END processing of the user
program. For details on END processing, see the “Breakdown of END Processing
Time” on page A-1. For run/stop of the user program, see the following
manuals.
How to run or stop Operations using WindLDR Controller operations1 Data File
Manager operations Stop input function Reset input function Function switch
operations2 Menu operations using an HMI module2
1 Only FT2J type *2 Only FC6A type
Reference “Run/Stop Operation Using WindLDR” on page 1-20 Chapter 36 “1.1
Maintenance Screen Overview” in the WindO/I-NV4 User’s Manual Chapter 2 “3
Changing the PLC status” in the Data File Manager User’s Manual
“Run/Stop Operation Using the controller power supply” on page 1-19
Chapter 7 “HMI Function” in the FC6A Series MICROSmart User’s Manual
Notes: · Turning on or off Start Control (M8000) runs or stops user program. For details of Start Control (M8000), see the following manuals. FT2J: Chapter 2 “Special Internal Relay” on page 2-2 FC6A: Chapter 2 “Special Internal Relay” on page 2-13 · For details of the stop/reset input function and the function switch, see the following manuals.
Function
Reference
Stop input
FT2J: Chapter 28 “3.3 Stop input” in the WindO/I-NV4 User’s Manual FC6A: Chapter 5 “Stop Input and Reset Input” in the FC6A Series MICROSmart User’s Manual
Reset input
FT2J: Chapter 28 “3.4 Reset input” in the WindO/I-NV4 User’s Manual FC6A: Chapter 5 “Stop Input and Reset Input” in the FC6A Series MICROSmart User’s Manual
Function switch*1
Chapter 5 “Function Switch Configuration” in the FC6A Series MICROSmart User’s Manual
*1 Only FC6A type
LADDER PROGRAMMING MANUAL
1-19
1: OPERATION BASICS
Run/Stop Operation Using WindLDR The user program can be run and stopped using
WindLDR. 1. Select Online from the WindLDR menu bar. The Online tab appears.
2. Click the Start button to run the user program. 3. When the confirmation
message appears, click Yes button.
4. Click the Stop button to stop the user program.
5. When the confirmation message appears, click Yes button.
Run/Stop Operation by Using Stop input, Reset input or Function Switch
Operations
When using the stop/reset input or the function switch, you can run and stop
the user program by the on/off status of these functions and Start Control
(M8000).
Switching to Run
FT2J
Stop input
Reset input
Any one of these inputs is configured
Not configured
Switching to Run When the reset and stop inputs are off and the Start Control (M8000) is on, the user program is run. When the Start Control (M8000) is on, the user program is run.
FC6A Stop input
Reset input
Any one of these inputs is configured
Not configured
Function switch Disabled
Enabled Disabled Enabled
Switching to Run
When the reset and stop inputs are off and the Start Control (M8000) is on,
the user program is run.
When the reset and stop inputs are off, the user program is run by the start
control (M8000) and by using function switch operations1.
When the Start Control (M8000) is on, the user program is run.
The user program is run by the start control (M8000) and by using function
switch operations1.
*1 For details, see Chapter 5 “Function Switch Configuration” in the FC6A Series MICROSmart User’s Manual.
Notes: · When you switch from stop to run, the device status is cleared or
kept depending on Memory Backup in the Function Area Settings. For details,
see the following manuals. FT2J: Chapter 28 “2.4 Memory Backup” in the
WindO/I-NV4 User’s Manual FC6A: Chapter 5 “Memory Backup” in the FC6A Series
MICROSmart User’s Manual · When you switch from stop to run, the current
values of the timer and off-delay timer instructions are reset. For details on
timer instructions, see Chapter 4 “TML (1-s Timer)” on page 4-7. For details
on off-delay instructions, see Chapter 4 “TMLO (1-s Off-delay Timer)” on page
4-9. · When a general error occurs, the user program is run or stop according
to the operating status during the error. For details, see the following
manuals. FT2J: Chapter 37 “2.3 General Error Codes” in the WindO/I-NV4 User’s
Manual FC6A: Chapter 13 “General Error Codes” in the FC6A Series MICROSmart
User’s Manual
1-20
LADDER PROGRAMMING MANUAL
1: OPERATION BASICS
Switching to Stop When the user program is stopped, High-speed counter/frequency measurement/user interrupt/catch input/timer interrupt/user communication/pulse output are stopped.
FT2J Stop input
Reset input
Any one of these inputs is configured
Not configured
Switching to Stop When the reset and stop inputs are on, the user program is stopped. When the reset and stop inputs are off and the Start Control (M8000) is off, the user program is stopped. When the Start Control (M8000) is off, the user program is stopped.
FC6A Stop input
Reset input
Any one of these inputs is configured
Not configured
Function switch Disabled
Enabled Disabled Enabled
Switching to Run
When the reset and stop inputs are on, the user program is stopped. When the
reset and stop inputs are off and the Start Control (M8000) is off, the user
program is stopped.
When the reset and stop inputs are on, the user program is stopped. When the
reset and stop inputs are off, the user program is stopped by the start
control (M8000) and by using function switch operations1.
When the Start Control (M8000) is off, the user program is stopped.
The user program is stopped by the start control (M8000) and by using function
switch operations1.
*1 For details, see Chapter 5 “Function Switch Configuration” in the FC6A Series MICROSmart User’s Manual.
Note: You can use Maintain Outputs While Stopped (M8025) to select whether to
maintain or clear the outputs while the user program is stopped. For details
on Maintain Outputs While Stopped (M8025), see the following manuals. FT2J:
Chapter 2 “Maintain Outputs While Stopped (M8025)” FC6A: Chapter 2 “Maintain
Outputs While Stopped (M8025)”
LADDER PROGRAMMING MANUAL
1-21
1: OPERATION BASICS
1-22
LADDER PROGRAMMING MANUAL
2: DEVICES
This chapter provides detailed descriptions of the allocations of devices such
as inputs, outputs, internal relays, registers, timers, and counters that are
used in the basic and advanced instructions, as well as details about the
allocations of special internal relays and special data registers. Please use
this chapter as a reference for the devices.
Note: The programing and operation of controller ladder programs requires
specialist knowledge. Take the time to develop a thorough understanding of the
contents and programs in this manual before using the controller.
FT2J
Device List
Device Inputs12 Expansion Inputs13 Output12 Expansion Outputs13
Internal Relay1 Special Internal Relay1 Shift Register Timer Counter Data
Register Special Data Register Index Register*4
Symbol I I Q Q M M R T C D D P
Unit Bit Bit Bit Bit Bit Bit Bit Bit/Word Bit/Word Bit/Word Bit/Word 2 words
Range (Points) I0 – I15
(14 points) I20 – I27 (8 points) Q0 – Q7 (8 points) Q10 – Q17 (8 points) M0 –
M7997 (6,400 points) M8000 – M8177 (144 points) R0 – R127 (128 points) T0 –
T199 (200 points) C0 – C199 (200 points) D0000 – D3999 (4,000 points) D8000 –
D8199 (200 points) P0 – P15 (16 points)
1 The least significant digit of the device address is an octal number (0 to 7). 2 Inputs and outputs are devices of the FT2J unit. 3 Expansion inputs and expansion outputs are devices that can be used only when digital I/O cartridges are connected. 4 The available data type is L (Long) only.
LADDER PROGRAMMING MANUAL
2-1
2: DEVICES
Special Internal Relay
Warning Do not write to data in the area marked as reserved in the special
internal relays list. Otherwise the system may not operate
correctly.
Note: R/W is an abbreviation for read/write. The notation for the R/W field is as follows. R/W: The device can be both read from and written to R: Read-only W: Write-only
Device Address
M8000 M8001 M8002 M8003 M8004 M8005 M8007 M8010 M8011 to M8021 M8022 M8023
M8024 M8025 M8026 M8027 M8030 M8031 M8032 M8033 M8034 M8035 M8036 M8037 M8040
M8041 M8042 M8043 M8044 M8045 to M8054 M8055 M8056 M8057 M8060 M8061 M8062 to
M8067 M8070 M8071 M8072 M8073 M8074 M8075 to M8077
Description
Start Control 1-sec Clock Reset All Outputs OFF Carry (Cy) and Borrow (Bw) Ladder Program Execution Error
— Reserved —
Daylight Saving Time Correction
— Reserved —
HMI Function Startup Completion Flag Clock Data Initialization Flag BMOV/WSFT Instruction Executing Flag Maintain Outputs While Ladder Program Operation Stopped
— Reserved —
High-speed Counter (Group 1) High-speed Counter (Group 2)
Comparison Output Reset Gate Input Reset Input Reset Status Comparison Status Overflow Underflow Count Direction Flag Comparison Output Reset Gate Input Reset Input Comparison Status Overflow
— Reserved —
High-speed Counter (Group 3)
Comparison Output Reset Gate Input Reset Input Comparison Status Overflow
— Reserved —
Interrupt Input Status
Group 1 Group 2 Group 3 Group 4 Group 5
— Reserved —
When Stopped Maintained Cleared Cleared Cleared Cleared
—
Operating
—
Operating Operating Maintained Maintained
—
Cleared Maintained Maintained Maintained Maintained Maintained Maintained
Maintained
Cleared Maintained Maintained Maintained Maintained
—
Cleared Maintained Maintained Maintained Maintained
—
Cleared Cleared Cleared Cleared Cleared
—
Power OFF
Maintained Cleared Cleared Cleared Cleared
—
Cleared
—
Cleared Cleared Maintained Cleared
—
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared Cleared
—
R/W
R/W R/W R/W
R R
—
R
—
R R R R/W
—
R/W R/W R/W
R R R R R R/W R/W R/W R R
—
R/W R/W R/W
R R
—
R R R R R
—
2-2
LADDER PROGRAMMING MANUAL
2: DEVICES
Device Address
M8080 M8081 M8082 M8083 M8084 M8085 to M8087 M8090 M8091 M8092 M8093 M8094
M8095 to M8117 M8120 M8121 M8122 M8123 M8124 M8125 M8126 to M8143 M8144 M8145
to M8147 M8150 M8151 M8152 M8153 to M8165 M8166 M8167 M8170 M8171 M8172 M8173
M8174 M8175 M8176 M8177
Description
Interrupt Input Edge
Group 1 Group 2 Group 3 Group 4 Group 5
— Reserved —
Catch Input Status
Group 1 Group 2 Group 3 Group 4 Group 5
— Reserved —
Initialize Pulse 1-sec Clock 100-ms Clock 10-ms Clock Timer/Counter Preset Value Changed Ladder Program Execution Status
— Reserved —
Timer Interrupt Status
— Reserved —
Comparison Result
Result 1 Result 2 Result 3
— Reserved —
High-speed Counter (Group 4) High-speed Counter (Group 5)
Comparison Output Reset Gate Input Reset Input Comparison Status Overflow Comparison Output Reset Gate Input Reset Input Comparison Status Overflow
When Stopped Cleared Cleared Cleared Cleared Cleared
—
Maintained Maintained Maintained Maintained Maintained
—
Cleared Operating Operating Operating Maintained
Cleared
—
Cleared
—
Maintained Maintained Maintained
—
Cleared Maintained Maintained Maintained Maintained
Cleared Maintained Maintained Maintained Maintained
Power OFF
Cleared Cleared Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared Cleared Cleared
—
Cleared
—
Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared
R/W
R R R R R
—
R R R R R
—
R R R R R R
—
R
—
R R R
—
R/W R/W R/W
R R R/W R/W R/W R R
Descriptions of the Special Internal Relays
M8000: Start Control M8000 controls the run/stop status of the ladder program.
When M8000 is on, the user program is run. When M8000 is off, the user program
is stopped. The run/stop status is determined by M8000 and by using the
stop/reset input function. For details, see Chapter 1 “Run/Stop the User
Program” on page 1-19. M8000 maintains its status when the FT2J is powered
down. When data to be maintained during a power failure disappears, the ladder
program restarts operation as selected in Function Area Settings > Run/Stop
Control > Run/Stop Selection at Keep Data Error or Watchdog Timer Error. For
details, see Chapter 28 “Run/Stop Selection at Keep Data Error or Watchdog
Timer Error” in the WindO/I-NV4 User’s Manual.
M8001: 1-sec Clock Reset While M8001 is on, M8121 (1-sec clock) is always off.
M8002: All Outputs OFF While M8002 is on, all outputs are off. The self-
holding circuit created in the ladder program is also off.
LADDER PROGRAMMING MANUAL
2-3
2: DEVICES
M8003: Carry (Cy) and Borrow (Bw) When a carry (Cy) or borrow (Bw) results from executing an addition or subtraction instruction, M8003 is turned on. For details, see Chapter 3 “Carry and Borrow” on page 3-10″.
M8004: Ladder Program Execution Error When an error occurs while executing a user program, M8004 is turned on. For details on user program execution errors, see “User Program Execution Error and Ladder Program Execution Error” on page A-20.
M8010: Daylight Saving Time Correction M8010 is on while the time is being corrected to daylight saving time. When the daylight saving time function is disabled or when the time is not corrected to daylight saving time, M8010 is off.
M8022: HMI Function Startup Completion Flag When the HMI function startup has been completed, M8022 is turned on. When the FT2J power is turned off and on, M8022 is turned off.
M8023: Clock Data Initialization Flag When a clock data initialization error occurs, M8023 is turned on. When clock data is reconfigured, M8023 is turned off.
M8024: BMOV/WSFT Instruction Executing Flag While the WSFT instruction or the BMOV instruction is executing, M8024 is turned on. When completed, M8024 is turned off.
M8025: Maintain Outputs While Ladder Program Operation Stopped When the FT2J is stopped while running with M8025 turned on, the outputs maintain their runtime status. When set to run again, M8025 is automatically turned off.
M8030 to M8037: High-speed Counter (Group 1) Special internal relays used for the high-speed counter. For details, see Chapter 28 “2.5 High-Speed Counter” in the WindO/INV4 User’s Manual.
M8040 to M8044: High-speed Counter (Group 2) Special internal relays used for the high-speed counter. For details, see Chapter 28 “2.5 High-Speed Counter” in the WindO/INV4 User’s Manual.
M8055 to M8061: High-speed Counter (Group 3) Special internal relays used for the high-speed counter. For details, see Chapter 28 “2.5 High-Speed Counter” in the WindO/INV4 User’s Manual.
M8070 to M8074: Interrupt Input Status These relays are turned on when the corresponding user interrupt is allowed. These relays are turned off when the user interrupt is prohibited. For details, see Chapter 28 “2.7 Interrupt Input” in the WindO/I-NV4 User’s Manual.
M8080 to M8084: Interrupt Input Edge These relays turn on when an interrupt occurs with the rising edge of an interrupt input. They turn off when an interrupt occurs with the falling edge of an interrupt input. For details, see Chapter 28 “2.7 Interrupt Input” in the WindO/I-NV4 User’s Manual.
M8090 to M8094: Catch Input Status When the rising or falling input edge of the input contact specified as the catch input is detected during a scan, the input contact status is captured. The detectable edges are once per scan. For details, see Chapter 28 “2.6 Catch Input” in the WindO/I-NV4 User’s Manual.
M8120: Initialize Pulse When operation (RUN) starts, M8120 is turned on for a period of one scan.
1 scan time
M8120
Start
M8121: 1-sec Clock
While M8001 is off, M8121 generates clock pulses in a 1 s cycle, with a duty
500 ms
ratio of 1:1 (500 ms on and 500 ms off).
M8121
1 s
500 ms
2-4
LADDER PROGRAMMING MANUAL
2: DEVICES
M8122: 100-ms Clock
M8122 generates clock pulses in a 100 ms cycle, with a duty ratio of 1:1
50 ms 50 ms
(50 ms on and 50 ms off).
M8122
100 ms
M8123: 10-ms Clock
M8123 generates clock pulses in a 10 ms cycle, with a duty ratio of 1:1
5 ms
5 ms
(5 ms on and 5 ms off).
M8123
10 ms
M8124: Timer/Counter Preset Value Changed When timer or counter preset values
are changed, M8124 is turned on. M8124 is turned off in the following cases. ·
A project data is transferred into FT2J. · The changed data is cleared. · The
FT2J is powered on. · The FT2J transitions from the system menu.
M8125: Ladder Program Execution Status M8125 is on while a ladder program is running. M8125 is off while the ladder program is stopped.
M8144: Timer Interrupt Status When the timer interrupt is allowed, M8144 is turned on. When the timer interrupt is prohibited, M8144 is turned off.
M8150 to M8152: Comparison Result M8150 to M8152 turn on according to the comparison results of the CMP= (Compare(=)) instruction and the ICMP>= (Interval Compare) instruction. For details, see Chapter 6 “Special Internal Relays M8150, M8151, and M8152 in ICMP>=” on page 6-6.
M8166 to M8172: High-speed Counter (Group 4) Special internal relays used for the high-speed counter. For details, see Chapter 28 “2.5 High-Speed Counter” in the WindO/INV4 User’s Manual.
M8173 to M8177: High-speed Counter (Group 5) Special internal relays used for the high-speed counter. For details, see Chapter 28 “2.5 High-Speed Counter” in the WindO/INV4 User’s Manual.
LADDER PROGRAMMING MANUAL
2-5
2: DEVICES
Special Data Register
Warning Do not write to data in the area marked as reserved in the special
data registers list. Otherwise the system may not operate
correctly.
Note: R/W is an abbreviation for read/write. The notation for the R/W field is as follows. R/W: The device can be both read from and written to R: Read-only W: Write-only
Device Address
D8000 D8001 D8002 D8003 D8004 D8005 D8006 D8007 D8008 D8009 D8010
D8011
D8012 D8013 D8014 D8015 to D8021 D8022 D8023 D8024 D8025 D8026 to D8030 D8031
D8032 D8033 D8034 D8035 D8036
D8037
D8038 D8039 D8040 D8041 D8042 D8043 D8044 D8045 D8046 D8047 D8048 D8049
Description
— Reserved —
Model Information
— Reserved —
General Error Code Program Execution Error Code — Reserved —
Internal Clock Data (Current Data)
Year Month Day Day of the Week 0: Sunday, 1: Monday, 2:Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday Hour Minute Second
— Reserved —
Scan Time Data
Constant Scan Time Preset Value Scan Time Current Value Scan Time Maximum Value Scan Time Minimum Value
— Reserved —
Optional Device Connection Information
Interrupt Input Jump Destination Label No.
Timer Interrupt Jump Destination Label No. Interrupt Input Jump Destination
Label No.
Group 1 Group 2 Group 3 Group 4
Group 5
— Reserved —
Analog Input Value
AI0 AI1
Analog Input Status
AI0 AI1
Analog Output Value
AQ0 AQ1
Analog Output Status
AQ0 AQ1
— Reserved —
Update Timing
Power-up
When error occurred When error occurred
Every 500 ms Every 500 ms Every 500 ms
R/W
R
R/W R R R R
Every 500 ms
R
Every 500 ms
R
Every 500 ms
R
Every 500 ms
R
R/W
Every scan
R
At occurrence
R
At occurrence
R
Power-up
R
R/W
R/W
R/W
R/W
R/W
R/W
Every scan
R
Every scan
R
Every scan
R
Every scan
R
Every scan
R/W
Every scan
R/W
Every scan
R
Every scan
R
2-6
LADDER PROGRAMMING MANUAL
Device Address
D8050 D8051 D8052 D8053 D8054 D8055 D8056 D8057 D8058 D8059 D8060 D8061 D8062
to D8067 D8068 D8069 D8070 D8071 D8072 D8073 D8074 to D8076 D8077 D8078 to
D8121 D8122 D8123 D8124 D8125 D8126 to D8133 D8134 D8135 D8136 D8137 D8138
D8139 D8140 D8141 D8142 D8143 D8144 D8145 D8146 to D8171 D8172 D8173 D8174
D8175 D8176 D8177 D8178 D8179 D8180 to D8185
Description
High-speed Counter (Group 1)
High-speed Counter/ Frequency Measurement (Group 2)
Upper Word Lower Word Upper Word Lower Word Upper Word Lower Word Upper Word Lower Word Upper Word Lower Word Upper Word Lower Word
Current Value
Preset Value
Reset Value Current Value/ Frequency Measurement Current Value Preset Value
Reset Value
— Reserved —
High-speed Counter/ Frequency Measurement (Group 3)
Upper Word Lower Word Upper Word Lower Word Upper Word Lower Word
Current Value/ Frequency Measurement Current Value Preset Value
Reset Value
— Reserved —
Out-of-range Error Status of Analog Input
— Reserved —
Cartridge Slot Information (Slot 1) Cartridge Slot Information (Slot 2)
Type ID/Status System Software Version Type ID/Status System Software Version
— Reserved —
High-speed Counter/ Frequency Measurement (Group 4)
High-speed Counter (Group 5)
Upper Word Lower Word Upper Word Lower Word Upper Word Lower Word Upper Word Lower Word Upper Word Lower Word Upper Word Lower Word
Current Value/ Frequency Measurement Current Value Preset Value
Reset Value
Current Value
Preset Value
Reset Value
— Reserved —
Analog Input Value Analog Input Status Analog I/O Cartridge Data (Slot 1) Analog I/O Cartridge Status (Slot 1)
AI2 AI3 AI2 AI3 AI4/AQ2 AI5/AQ3 AI4/AQ2 AI5/AQ3
— Reserved —
LADDER PROGRAMMING MANUAL
2: DEVICES
Update Timing
Every scan Every scan
Every scan Every scan
Every scan Every scan
Every scan
Power-up Power-up Power-up Power-up
Every scan Every scan
Every scan Every scan
Every scan Every scan Every scan Every scan Every scan Every scan Every scan Every scan
R/W
R R R/W R/W R/W R/W R R R/W R/W R/W R/W
R R R/W R/W R/W R/W
R
R R R R
R R R/W R/W R/W R/W R R R/W R/W R/W R/W
R R R R R/W R/W R R
2-7
2: DEVICES
Device Address
D8186 D8187 D8188 D8189 D8190 to D8199
Analog I/O Cartridge Data (Slot 2) Analog I/O Cartridge Status (Slot 2) — Reserved —
Description
AI6/AQ4 AI7/AQ5 AI6/AQ4 AI7/AQ5
Update Timing
Every scan Every scan Every scan Every scan
R/W
R/W R/W
R R
Descriptions of the Special Data Registers
D8002: Model Information Controller model information is written this register. 3 (03h): FT2J
D8005: General Error Code The general error information is written to this register. For details, see Chapter 37 “General Error” in the WindO/I-NV4 User’s Manual.
D8006: Program Execution Error Code The ladder program execution error information is written to this register. For details, see “User Program Execution Error and Ladder Program Execution Error” on page A-20.
D8008 to D8014: Internal Clock Data (Current Data) The date and time data for the internal clock of the FT2J is stored.
D8022 to D8025: Scan Time Data D8022 through D8025 are special data registers for checking the scan time and configuring the constant scan time. For details on the scan time, see Chapter 28 “3 Constant Scan Time” in the WindO/I-NV4 User’s Manual.
D8031: Optional Device Connection Information Optional device connection information is written to this register. The allocation of bits in the device (bit assignment) is as follows.
Bit
Bit Bit
Bit
15
8 7
3210
0: No optional device 1: Optional device is connected
Reserved=0
Cartridge Slot 1 Cartridge Slot 2
D8032 to D8035, D8037: Interrupt Input Jump Destination Label No. Jump
destination label numbers for interrupt inputs are written to these registers.
For details, see Chapter 28 “2.7 Interrupt Input” in the WindO/I-NV4 User’s
Manual.
D8036: Timer Interrupt Jump Destination Label No. The jump destination label
number when the timer interrupt occurs is written to this register. For
details, see Chapter 28 “2.12 Timer Interrupt” in the WindO/I-NV4 User’s
Manual.
D8040, D8041: Analog Input Value The analog value of the analog input terminal
of the FT2J is converted to a digital value and written to this register. For
details, see Chapter 28 “2.10 Analog/Digital Inputs” in the WindO/I-NV4 User’s
Manual.
D8042, D8043: Analog Input Status The analog input status of the analog input terminal of the FT2J is written to this register. For details, see Chapter 28 “2.10 Analog/Digital Inputs” in the WindO/I-NV4 User’s Manual.
D8044, D8045: Analog Output Value The digital value stored in the special data register is converted to an analog value and output from the analog output terminal of the FT2J. For details, see Chapter 28 “2.11 Analog Outputs” in the WindO/I-NV4 User’s Manual.
2-8
LADDER PROGRAMMING MANUAL
2: DEVICES
D8046, D8047: Analog Output Status The analog output status of the analog output terminal of the FT2J is written to this register. For details, see Chapter 28 “2.11 Analog Outputs” in the WindO/I-NV4 User’s Manual.
D8050 to D8055: High-speed Counter (Group 1) These special data registers are used with the high-speed counter function. For details, see Chapter 28 “2.5 High-Speed Counter” in the WindO/I-NV4 User’s Manual.
D8056 to D8061: High-speed Counter/ Frequency Measurement (Group 2) These special data registers are used with the high-speed counter function and the frequency measurement function. For details, see Chapter 28 “2.5 High-Speed Counter” and “2.8 Frequency Measurement” in the WindO/I-NV4 User’s Manual.
D8068 to D8073: High-speed Counter/ Frequency Measurement (Group 3) These special data registers are used with the high-speed counter function and the frequency measurement function. For details, see Chapter 28 “2.5 High-Speed Counter” and “2.8 Frequency Measurement” in the WindO/I-NV4 User’s Manual.
D8077: Out-of-range Error Status of Analog Input If the analog input signal
exceeds 11 V or 21 mA, the corresponding bits of D8077 (bit 0, 1) become 1. If
the signal falls below 11 V or 21 mA, the bits become 0. If the analog input
signal falls below 2 mA, the corresponding bits of D8077 (bit 2, 3) become 1.
If the signal exceeds 2 mA, the bits become 0.
The assignment of each analog input is as follows.
CJU
CJU CJU
CJU
“OBMPHJOQVU” 0VUPGSBOHFFSSPSNBYJNVN
“OBMPHJOQVU” 0VUPGSBOHFFSSPSNBYJNVN
“OBMPHJOQVU” 0VUPGSBOHFFSSPSNJOJNVN
“OBMPHJOQVU” 0VUPGSBOHFFSSPSNJOJNVN
“OBMPHJOQVU” 0VUPGSBOHFFSSPSNBYJNVN
“OBMPHJOQVU” 0VUPGSBOHFFSSPSNBYJNVN
“OBMPHJOQVU” 0VUPGSBOHFFSSPSNJOJNVN
“OBMPHJOQVU” 0VUPGSBOHFFSSPSNJOJNVN
D8122 to D8125: Cartridge Slot Information Cartridge Slot 1 and Slot 2 information is written to these registers. The allocation of information (bit assignment) is as follows.
Bit
Bit Bit
Bit
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D8122, D8124
Status
Type ID
D8123, D8125
Reserved
System Software Version
D8122, D8123 = Cartridge Slot 1 Information D8124, D8125 = Cartridge Slot 2
Information For details on the type IDs and statuses, see “List of Type IDs
and Status” on page 2-61.
D8134 to D8139: High-speed Counter/ Frequency Measurement (Group 4) These
special data registers are used with the high-speed counter function and the
frequency measurement function. For details, see Chapter 28 “2.5 High-Speed
Counter” and “2.8 Frequency Measurement” in the WindO/I-NV4 User’s Manual.
D8140 to D8145: High-speed Counter (Group 5) These special data registers are
used with the high-speed counter function. For details, see Chapter 28 “2.5
High-Speed Counter” in the WindO/I-NV4 User’s Manual.
D8172, D8173: Analog Input Value The analog value of the analog input terminal
of the FT2J is converted to a digital value and written to this register. For
details, see Chapter 28 “2.10 Analog/Digital Inputs” in the WindO/I-NV4 User’s
Manual.
D8174, D8175: Analog Input Status The analog input status of the analog input
terminal of the FT2J is written to this register. For details, see Chapter 28
“2.10 Analog/Digital Inputs” in the WindO/I-NV4 User’s Manual.
LADDER PROGRAMMING MANUAL
2-9
2: DEVICES
D8176, D8177: Analog I/O Cartridge Data (Slot 1) Analog I/O values for the
analog I/O cartridges are written to these registers. For the analog input
type : The analog values input to the analog I/O cartridge are converted to
digital values and written to the registers. For the analog output type : The
digital values stored as digital values are converted to analog values and
output from the analog I/O cartridges.
For details, see Chapter 2 “2 Analog I/O Cartridge” in the SmartAXIS Hardware
Manual.
D8178, D8179: Analog I/O Cartridge Status (Slot 1) The analog status of analog
I/O cartridges is written to these registers. For details, see Chapter 4
“Status” in the SmartAXIS Hardware Manual.
D8186, D8187: Analog I/O Cartridge Data (Slot 2) Analog I/O values for the
analog I/O cartridges are written to these registers. For the analog input
type : The analog values input to the analog I/O cartridge are converted to
digital values and written to the registers. For the analog output type : The
digital values stored as digital values are converted to analog values and
output from the analog I/O cartridges.
For details, see Chapter 2 “2 Analog I/O Cartridge” in the SmartAXIS Hardware
Manual.
D8188, D8189: Analog I/O Cartridge Status (Slot 2) The analog status of analog
I/O cartridges is written to these registers. For details, see Chapter 4
“Status” in the SmartAXIS Hardware Manual.
2-10
LADDER PROGRAMMING MANUAL
2: DEVICES
FC6A
Device List
All-in-One CPU Module/J1939 All-in-One CPU Module
Device Inputs1 Expansion Inputs1 Output1 Expansion Outputs1
Symbol I I Q Q
Unit Bit Bit Bit Bit
Internal Relay*1
M
Special Internal Relay*1
M
Shift Register
R
Timer
T
Counter
C
Data Register
D
Special Data Register
D
Bit
Bit Bit Bit/Word Bit/Word
Bit/Word
Bit/Word
16-I/O Type
I0 – I10 (9 points)
I30 – I187 (128 points) I190 – I5072 (256 points) I630 – I6334
(4 points)
Q0 – Q6 (7 points)
Q30 – Q187 (128 points) Q190 – Q5072 (256 points) Q630 – Q6334
(4 points)
Range (Points)
24-I/O Type
I0 – I15 (14 points)
I30 – I307 (224 points) I310 – I6273 (256 points) I630 – I6334
(4 points)
Q0 – Q11 (10 points)
Q30 – Q307 (224 points) Q310 – Q6273 (256 points) Q630 – Q6334
(4 points)
M0 – M7997 (6,400 points) M10000 – M17497 (6,000 points)
M8000 – M8317 (256 points)
R0 – R255 (256 points)
T0 – T1023 (1,024 points)
C0 – C511 (512 points)
D0000 – D7999 (8,000 points) D10000 to D55999 (46,000 points)
D8000 – D8499 (500 points)
40-I/O Type
I0 – I27 (24 points)
I30 – I307 (224 points) I310 – I6273 (256 points) I630 – I6374
(8 points)
Q0 – Q17 (16 points)
Q30 – Q307 (224 points) Q310 – Q6273 (256 points) Q630 – Q6374
(8 points)
1 The least significant digit of the device address is an octal number (0 to 7). 2 I190 to I507 and Q190 to Q507 are devices that can only be used when expansion modules are connected at the expansion interface side using
the expansion interface module (expander). 3 I310 to I627 and Q310 to Q627
are devices that can only be used when expansion modules are connected at the
expansion interface side using
the expansion interface module (expander). 4 I630 to I637 and Q630 to Q637
are devices that can be used only when I/O cartridges are connected.
LADDER PROGRAMMING MANUAL
2-11
2: DEVICES
Plus CPU module
Device Inputs*1
Symbol I
Unit Bit
Expansion Inputs*1
I
Bit
Output*1
Q
Bit
Expansion Outputs*1
Q
Bit
Internal Relay*1
M
Special Internal Relay*1
M
Shift Register
R
Timer
T
Counter
C
Data Register
D
Non-retentive Data Register
D
Special Data Register
D
Index Register*6
P
Bit
Bit Bit Bit/Word Bit/Word
Bit/Word
Bit*7/Word Bit/Word 2 words
Range (Points)
Plus 16-I/O Type
Plus 32-I/O Type
I0 – I7
I0 – I17
(8 points)
(16 points)
I30 – I307
(224 points) I310 – I627*2
(256 points) I630 – I643*3
(12 points) I1000 – I10597*4
(2,016 points)
Q0 – Q7
Q0 – Q17
(8 points)
(16 points)
Q30 – Q307
(224 points) Q310 – Q627*2
(256 points) Q630 – Q643*3
(12 points) Q1000 – Q10597*4
(2,016 points)
M0 – M7997
(6,400 points)
M10000 – M21247
(9,000 points)
M8000 – M9997
(1,600 points)
R0 – R255
(256 points)
T0 – T1999
(2,000 points)
C0 – C511
(512 points)
D0000 – D7999
(8,000 points)
D10000 – D61999
(52,000 points) D70000 – D269999*5
(200,000 points)
D8000 – D8899
(900 points)
P0 – P15
(16 points)
1 The least significant digit of the device address is an octal number (0 to 7). 2 I1310 to I627 and Q310 to Q627 are devices that can only be used when expansion modules are connected at the expansion interface side
using the expansion interface module (expander). (Node 0) 3 I630 to I643 and
Q630 to Q643 are devices that can be used only when I/O cartridges are
connected. 4 I1000 to I10597 and Q1000 to Q10597 are devices that can be used
only when expansion modules are connected using the expansion interface
modules (remote master and slaves) and the expansion interface modules
(expander). (Node 1 to 10) 5 D70000 to D269999 cannot be designated as
“Keep.” Data register values are kept when you switch the PLC from Stop to
Run, but those values
are cleared at power up. 6 The data type that can be used is L (Long) only.
*7 Usable only in scripts executed by the SCRPT instruction and as argument
devices used in UMACRO instructions.
2-12
LADDER PROGRAMMING MANUAL
2: DEVICES
Special Internal Relay
Warning Do not write to data in the area marked as reserved in the special
internal relays list. Otherwise the system may not operate
correctly.
Note: R/W is an abbreviation for read/write. The notation for the R/W field is as follows. R/W: The device can be both read from and written to R: Read-only W: Write-only
Device Address
M8000 M8001 M8002 M8003 M8004 M8005 M8006
M8007
M8010 M8011 M8012 M8013 M8014 M8015 M8016 M8017 M8020 M8021 M8022 M8023 M8024
M8025 M8026 M8027 M8030 M8031 M8032 M8033 M8034 M8035 M8036 M8037 M8040 M8041
M8042 M8043 M8044 M8045 M8046 M8047 M8050
Description
Start Control 1-s Clock Reset All Outputs OFF Carry (Cy) or Borrow (Bw) User Program Execution Error Communication Error Communication Prohibited Flag (When Data Link Master) Initialization Flag (When Data Link Master)/Stop Communication Flag (When Data Link Slave) Status LED Operation
— Reserved —
Calendar/Clock Data Write/Adjust Error Flag
Calendar/Clock Data Read Error Flag
— Reserved —
Calendar Data Write Flag
Clock Data Write Flag
Calendar/Clock Data Write Flag
Clock Data Adjust Flag
User Communication Receive Instruction Cancel Flag (Port 1)
User Communication Receive Instruction Cancel Flag (Port 2)
BMOV/WSFT Executing Flag
Maintain Outputs While Stopped
User Communication Receive Instruction Cancel Flag (Port 3)
Count Direction Flag
High-speed Counter (Group 1/I0)
Comparison Output Reset Gate Input
Reset Input
User Communication Receive Instruction Cancel Flag (Port 4)
Comparison Output Reset
High-speed Counter (Group 3/I3)
Gate Input
Reset Input
— Reserved —
Comparison Output Reset
High-speed Counter (Group 4/I4)
Gate Input
Reset Input
Count Direction Flag
High-speed Counter (Group 5/I6)
Comparison Output Reset Gate Input
Reset Input
— Reserved —
When Stopped Maintained Cleared Cleared Cleared Cleared Maintained Maintained
Cleared
Operating
—
Operating Operating
— Operating Operating Operating Operating
Cleared Cleared Maintained Maintained Cleared Maintained Cleared Maintained
Maintained Cleared Cleared Maintained Maintained
— Cleared Maintained Maintained Maintained Cleared Maintained Maintained
—
Power OFF
Maintained Cleared Cleared Cleared Cleared Cleared
Maintained
Cleared
Cleared
—
Cleared Cleared
— Cleared Cleared Cleared Cleared Cleared Cleared Maintained Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
— Cleared Cleared Cleared Cleared Cleared Cleared Cleared
—
R/W
R/W R/W R/W R/W R/W R/W R/W
R/W
R/W
—
R/W R/W — R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
— R/W R/W R/W R/W R/W R/W R/W
—
LADDER PROGRAMMING MANUAL
2-13
2: DEVICES
Device Address
M8051 M8052 M8053 M8054 M8055 M8056 M8057 M8060 M8061 M8062 M8063 M8064 to
M8067 M8070 M8071 M8072 M8073 M8074 M8075 to M8077 M8080 M8081 M8082 M8083
M8084 M8085 M8086 M8087 M8090 M8091 M8092 M8093 M8094 M8095 M8096 M8097 M8100
M8101 M8102 M8103 M8104 M8105 M8106 M8107 M8110 M8111 M8112 M8113 M8114 M8115
M8116 M8117 M8120 M8121 M8122
Description
High-speed Counter (Group 2/I1) — Reserved — High-speed Counter (Group 6/I7)
Comparison Output Reset Gate Input Reset Input Comparison ON Status Overflow
Comparison Output Reset Gate Input Reset Input Comparison ON Status Overflow
— Reserved —
SD Memory Card Mount Status Accessing SD Memory Card Unmount SD Memory Card Function Switch Status Battery Voltage Measurement Flag
— Reserved —
Data Link Slave 1 Communication Completed Relay (When Data Link Master) Data Link Slave 2 Communication Completed Relay Data Link Slave 3 Communication Completed Relay Data Link Slave 4 Communication Completed Relay Data Link Slave 5 Communication Completed Relay Data Link Slave 6 Communication Completed Relay Data Link Slave 7 Communication Completed Relay Data Link Slave 8 Communication Completed Relay Data Link Slave 9 Communication Completed Relay Data Link Slave 10 Communication Completed Relay Data Link Slave 11 Communication Completed Relay Data Link Slave 12 Communication Completed Relay Data Link Slave 13 Communication Completed Relay Data Link Slave 14 Communication Completed Relay Data Link Slave 15 Communication Completed Relay Data Link Slave 16 Communication Completed Relay Data Link Slave 17 Communication Completed Relay Data Link Slave 18 Communication Completed Relay Data Link Slave 19 Communication Completed Relay Data Link Slave 20 Communication Completed Relay Data Link Slave 21 Communication Completed Relay Data Link Slave 22 Communication Completed Relay Data Link Slave 23 Communication Completed Relay Data Link Slave 24 Communication Completed Relay Data Link Slave 25 Communication Completed Relay Data Link Slave 26 Communication Completed Relay Data Link Slave 27 Communication Completed Relay Data Link Slave 28 Communication Completed Relay Data Link Slave 29 Communication Completed Relay Data Link Slave 30 Communication Completed Relay Data Link Slave 31 Communication Completed Relay Data Link All Slaves Communication Completed Relay Initialize Pulse 1-s Clock 100-ms Clock
When Stopped Cleared Maintained Maintained Maintained Maintained
— Cleared Maintained Maintained Maintained Maintained
—
Maintained Maintained Operating Operating Operating
—
Operating Operating Operating Operating Operating Operating Operating
Operating Operating Operating Operating Operating Operating Operating
Operating Operating Operating Operating Operating Operating Operating
Operating Operating Operating Operating Operating Operating Operating
Operating Operating Operating Operating
Cleared Operating Operating
Power OFF
Cleared Cleared Cleared Cleared Cleared
— Cleared Cleared Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
2-14
LADDER PROGRAMMING MANUAL
R/W
R/W R/W R/W
R R — R/W R/W R/W R R
—
R R R/W R R/W
—
R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R
Device Address
M8123 M8124 M8125 M8126 M8127 M8130 M8131 M8132 M8133 M8134 M8135 M8136 M8137
M8140 M8141 M8142 M8143 M8144 M8145 M8146 M8147 M8150 M8151 M8152 M8153 M8154
M8155 M8156 M8157 M8160 M8161 M8162 M8163 M8164 M8165 M8166 M8167 M8170 M8171
M8172 M8173 M8174 M8175 M8176 M8177 to M8183 M8184 M8185 M8186 M8187 M8190
M8191
Description
10-ms Clock
Timer/Counter Preset Value Changed
In-operation Output
1 Scan ON After Run-Time Download Completes
— Reserved —
High-speed Counter (Group 1/I0)
Reset Status Comparison ON Status
— Reserved —
High-speed Counter (Group 3/I3)
Comparison ON Status
High-speed Counter (Group 4/I4)
Comparison ON Status
High-speed Counter (Group 5/I6)
Reset Status Comparison ON Status
Interrupt Input I0 Status (Group 1/I0)
Interrupt Input I1 Status (Group 2/I1)
Interrupt Input I3 Status (Group 3/I3) (ON: Allowed, OFF: Prohibited)
Interrupt Input I4 Status (Group 4/I4)
Interrupt Input I6 Status (Group 5/I6)
Timer Interrupt Status
User Communication Receive Instruction Cancel Flag (Port 5)
User Communication Receive Instruction Cancel Flag (Port 6)
User Communication Receive Instruction Cancel Flag (Port 7)
Comparison Result 1
Comparison Result 2
Comparison Result 3
Group 1/I0
Group 2/I1
Catch Input ON/OFF Status
Group 3/I3 Group 4/I4
Group 5/I6
Group 6/I7
High-speed Counter (Group 1/I0)
Overflow Underflow
High-speed Counter (Group 5/I6)
Overflow Underflow
High-speed Counter (Group 3/I3)
Overflow
High-speed Counter (Group 4/I4)
Overflow
Interrupt Input I7 Status (Group 6/I7) (ON: Allowed, OFF: Prohibited)
User Communication Receive Instruction Cancel Flag (Port 8)
— Reserved —
Group 1
Transistor Source Output Overcurrent Group 2
Detection
Group 3
Group 4
User Communication Receive Instruction Cancel Flag (Port 9)
— Reserved —
Change HMI Module Network Settings Trigger In Daylight Saving Time Period Ethernet Port 1 Executing Auto Ping Ethernet Port 1 Auto Ping Stop Flag Change CPU Module Ethernet Port 1 Network Settings Trigger SNTP Acquisition Flag
2: DEVICES
When Stopped Operating Maintained Cleared Cleared
— Maintained Maintained
— Maintained Maintained Maintained Maintained
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Maintained Maintained Maintained Maintained Maintained Maintained Maintained
Maintained Maintained Maintained Maintained Maintained Maintained Maintained
Maintained Maintained Cleared
— Operating Operating Operating Operating
Cleared
—
Operating Operating Operating Operating Operating Operating
Power OFF
Cleared Cleared Cleared Cleared
— Cleared Cleared
— Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleread Cleared
— Cleared Cleared Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared Cleared Cleared
R/W
R R R R — R R — R R R R R R R R R R R/W R/W R/W R R R R R R R R R R R R R R R
R R/W — R R R R R/W
—
R/W R R
R/W R/W R/W
LADDER PROGRAMMING MANUAL
2-15
2: DEVICES
Device Address
M8192 M8193 M8194 M8195 M8196 M8197 M8200 M8201 M8202 M8203 M8204 M8205 M8206
M8207 M8210 M8211 M8212 M8213 M8214 M8215 M8216 M8217 M8220 M8221 M8222 M8223
M8224 M8225 M8226 M8227 M8230 M8231 M8232 M8233 to M8247 M8250 M8251 M8252
M8253 M8254 M8255 M8256 M8257 M8260 M8261 M8262 M8263 M8264 M8265 M8266 M8267
M8270 M8271
M8272
Description
Interrupt Input I0 Edge
Interrupt Input I3 Edge
Interrupt Input I4 Edge
On: Rising Edge
Interrupt Input I6 Edge
Off: Falling Edge
Interrupt Input I7 Edge
Interrupt Input I1 Edge
Connection 1
Connection 2
Connection 3
User Communication Receive
Connection 4
Instruction Cancel Flag
Connection 5
Connection 6
Connection 7
Connection 8
— Reserved —
HMI Module Send E-mail Server Settings Initialization
Connection 1
Connection 2
Connection 3
Connection Status
Connection 4
(ON: Connected, OFF: Not Connected) Connection 5
Connection 6
Connection 7
Connection 8
Connection 1
Connection 2
Connection 3
Disconnect User Communication
Connection 4
Connection
Connection 5
Connection 6
Connection 7
Connection 8
HMI Module Connection Information Reference Connection Status
— Reserved —
Download from SD Memory Card Execution Flag Upload to SD Memory Card Execution Flag Executing SD Memory Card Download Executing SD Memory Card Upload SD Memory Card Download/Upload Execution Completion Output SD Memory Card Download/Upload Execution Error Output
— Reserved —
Write Recipe Execution Flag Read Recipe Execution Flag Executing Write Recipe Executing Read Recipe Recipe Channe Execution Completed Output Recipe Execution Error Output Recipe Block Execution Completed Output Read Restriction for Recipe Internal Memory (ROM-Range) — Reserved — Download MQTT Basic Settings from SD Memory Card Execution Flag Download MQTT Basic Settings from SD Memory Card Execution Completed Output
2-16
LADDER PROGRAMMING MANUAL
When Stopped Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared
— Operating Operating Operating Operating Operating Operating Operating
Operating Operating Operating Operating Operating Operating Operating
Operating Operating Operating Operating
—
Operating Operating Operating Operating Operating Operating
—
Operating Operating Operating Operating Operating Operating Operating
Operating
— Operating
Operating
Power OFF
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared
— Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
— Cleared
Cleared
R/W
R R R R R R R/W R/W R/W R/W R/W R/W R/W R/W — R/W R R R R R R R R R/W R/W R/W
R/W R/W R/W R/W R/W R
—
R/W R/W
R R R R
—
R/W R/W R/W R/W R/W R/W R/W
R — R/W
R
Device Address
M8273 M8274 to
M8297 M8300 M8301 M8302 M8303 M8304 M8305 to M8310 M8311 M8312 M8313 M8314
M8315 to M8319 M8320 M8321 to M8330 M8331 M8332 M8333 M8334 M8335 M8336 M8337
M8340 M8341 M8342 M8343 M8344 M8345 M8346 M8347 M8350 M8351 M8352 M8353 M8354
M8355 M8356 M8357 M8360 M8361 M8362 M8363 M8364 M8365 M8366 M8367 M8370 M8371
M8372 M8373 M8374
Description
Download MQTT Basic Settings from SD Memory Card Error Output
— Reserved —
J1939 Communication Permitted Flag J1939 Online Status J1939 Local Station Address Confirmation Status J1939 Communication Error Output J1939 Communication Bus Off Occurrence Output
— Reserved —
ESC+Key Input (Up) ESC+Key Input (Down) ESC+Key Input (Left) ESC+Key Input (Right)
ESC+Key Input ( ) ESC+Key Input ( ) ESC+Key Input ( ) ESC+Key Input ( )
— Reserved —
Initialize Expansion Interface Remote Master/Slave
— Reserved —
Ethernet Port 2 Executing Auto Ping
Ethernet Port 2 Auto Ping Stop Flag
Change CPU Module Ethernet Port 2 Network Settings Trigger
Connection 9
Connection 10
Connection 11
User Communication Receive
Connection 12
Instruction Cancel Flag
Connection 13
Connection 14
Connection 15
Connection 16
Ethernet Port 1 Send E-mail Server Settings Initialization
Connection 9
Connection 10
Connection 11
Connection Status
Connection 12
(ON: Connected, OFF: Not Connected) Connection 13
Connection 14
Connection 15
Connection 16
Connection 9
Connection 10
Connection 11
Disconnect User Communication
Connection 12
Connection
Connection 13
Connection 14
Connection 15
Connection 16
User Communication Receive Instruction Cancel Flag (Port 10)
User Communication Receive Instruction Cancel Flag (Port 11)
User Communication Receive Instruction Cancel Flag (Port 12)
User Communication Receive Instruction Cancel Flag (Port 13)
User Communication Receive Instruction Cancel Flag (Port 14)
User Communication Receive Instruction Cancel Flag (Port 15)
User Communication Receive Instruction Cancel Flag (Port 16)
User Communication Receive Instruction Cancel Flag (Port 17)
LADDER PROGRAMMING MANUAL
2: DEVICES
When Stopped Operating
—
Cleared Cleared Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared
—
Operating
—
Operating Operating Operating
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Operating
Operating Operating Operating Operating Operating Operating Operating
Operating Operating Operating Operating Operating Operating Operating
Operating Operating Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared
Power OFF
Cleared
—
Cleared Cleared Cleared Cleared Cleared
—
Cleared Cleared Cleared Cleared
—
Cleared
—
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
R/W
R
—
R/W R R R R
—
R R R R
—
R/W
—
R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
R R R R R R R R R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
R/W
2-17
2: DEVICES
Device Address
M8375 M8376 M8377 M8380 M8381 M8382 M8383 M8384 M8385 M8386 M8387 M8390 M8391
M8392 M8393 M8394 M8395 to M8400 M8401
M8402
M8403 M8404 M8405 to M8447 M8450 M8451 to M8457 M8460 M8461 to M8597 M8600
M8601 M8602 M8603 to M8997
Description
User Communication Receive Instruction Cancel Flag (Port 18) User Communication Receive Instruction Cancel Flag (Port 19) User Communication Receive Instruction Cancel Flag (Port 20) User Communication Receive Instruction Cancel Flag (Port 21) User Communication Receive Instruction Cancel Flag (Port 22) User Communication Receive Instruction Cancel Flag (Port 23) User Communication Receive Instruction Cancel Flag (Port 24) User Communication Receive Instruction Cancel Flag (Port 25) User Communication Receive Instruction Cancel Flag (Port 26) User Communication Receive Instruction Cancel Flag (Port 27) User Communication Receive Instruction Cancel Flag (Port 28) User Communication Receive Instruction Cancel Flag (Port 29) User Communication Receive Instruction Cancel Flag (Port 30) User Communication Receive Instruction Cancel Flag (Port 31) User Communication Receive Instruction Cancel Flag (Port 32) User Communication Receive Instruction Cancel Flag (Port 33)
— Reserved —
Download Files for Server Functions from SD Memory Card Execution Flag Download Files for Server Functions from SD Memory Card Execution Completed Output Download Files for Server Functions from SD Memory Card Error Output Plus CPU module Web Server Operation Status
— Reserved —
BACnet Communication Bit
— Reserved —
EtherNet/IP Communication Bit
— Reserved —
High-speed Counter (Group 3/I3)
Reset Status Underflow Count Direction Flag
— Reserved —
Descriptions of the Special Internal Relays
When Stopped Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
—
Operating
Operating
Operating Operating
—
Operating
—
Cleared
—
Maintained Maintained Maintained
—
Power OFF
Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared Cleared
Cleared Cleared Cleared Cleared Cleared Cleared Cleared
—
Cleared
Cleared
Cleared Cleared
—
Cleared
—
Cleared
—
Cleared Cleared Cleared
—
R/W
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
—
R/W
R
R R
—
R/W
—
R/W
—
R R R
—
M8000: Start Control M8000 controls the run/stop status of the FC6A. The CPU is set to run when M8000 is turned on, and the CPU is set to off when M8000 is turned off. See Chapter 1 “Run/Stop the User Program” on page 1-19. However, the function switch, stop input, and reset input have precedence over start control. M8000 maintains its status when the CPU is powered down. When data to be maintained during a power failure disappears after the CPU has been off for a period longer than the battery backup duration, the CPU restarts operation as selected in Configuration > Run/Stop Control > Run/Stop Selection at Keep Data Error. For details, see Chapter 5 “Run/Stop Selection at Keep Data Error” in the “FC6A Series MICROSmart User’s Manual”.
M8001: 1-s Clock Reset While M8001 is on, M8121 (1-s clock) is always off.
M8002: All Outputs OFF While M8002 is on, all outputs are off. The self- holding circuit created in the ladder program is also off.
M8003: Carry/Borrow When a carry (Cy) or borrow (Bw) results from executing an addition or subtraction instruction, M8003 is turned on. For details, see Chapter 3 “Carry and Borrow” on page 3-10″.
2-18
LADDER PROGRAMMING MANUAL
2: DEVICES
M8004: User Program Execution Error When an error occurs while executing a
user program, M8004 is turned on. For details on user program execution
errors, see “User Program Execution Error and Ladder Program Execution Error”
on page A-20.
M8005: Communication Error When an error occurs during data link
communication, M8005 is turned on. The state is retained even when the error
is cleared.
M8006: Communication Prohibited Flag (When Data Link Master) During data link
communication, communication is stopped while M8006 is on.
M8007: Initialization Flag (When Data Link Master)/Stop Communication Flag
(When Data Link Slave)
When data link master: When this flag is turned on in the run status, the data
link is initialized just once to check the connection status. Use this when
the slave configured in the data link is powered at a timing slower than the
master.
When data link slave : This flag is turned on when communication from the
master is interrupted for 10 s or longer. This flag is turned off when
communication can be normally received.
M8010: Status LED Operation While M8010 is on, the status LED [STAT] is turned
on. While off, the status LED [STAT] is turned off.
M8013: Calendar/Clock Data Write/Adjust Error Flag When the clock writing or
clock adjustment processing could not be executed normally, M8013 is turned
on. It is turned off when the processing completes normally.
M8014: Calendar/Clock Data Read Error Flag When an error occurs while
calendar/clock data is read from the internal clock to the special data
registers (D8008 to D8021), M8014 is turned on. It is turned off when reading
completes normally.
M8016: Calendar Data Write Flag When M8016 is turned on after writing data to
the calendar data (write-only) special data registers (D8015 to D8018), the
calendar data (year, month, day, day of the week) is written to the internal
clock.
M8017: Clock Data Write Flag When M8017 is turned on after writing data to the
clock data (write-only) special data registers (D8019 to D8021), the clock
data (hours, minutes, seconds) is written to the internal clock.
M8020: Calendar/Clock Data Write Flag When M8020 is turned on after writing
data to the calendar/clock data (write-only) special data registers (D8015 to
D8021), the calendar data (year, month, day, day of the week) and the clock
data (hours, minutes, seconds) is written to the internal clock.
M8021: Clock Data Adjust Flag When M8021 is turned on, the clock is adjusted
with respect to seconds. When M8021 is turned on, if the seconds are between 0
and 29, the seconds will be set to 0 and the minutes remain the same. When
M8021 is turned on, if the seconds are between 30 and 59, the seconds will be
set to 0 and 1 will be added to the minutes.
M8022: User Communication Receive Instruction Cancel Flag (Port 1) While M8022
is on, user communication (receive instruction) executing on Port 1 is
canceled.
M8023: User Communication Receive Instruction Cancel Flag (Port 2) While M8023
is on, user communication (receive instruction) executing on Port 2 is
canceled.
M8024: BMOV/WSFT Executing Flag While the WSFT (word shift) instruction or the
BMOV (block move) instruction is executing, M8024 is turned on. When
completed, M8024 is turned off.
M8025: Maintain Outputs While Stopped When the FC6A is stopped while running
with M8025 turned on, the outputs maintain their runtime status. When set to
run again, M8025 is automatically turned off.
M8026: User Communication Receive Instruction Cancel Flag (Port 3) While M8026
is on, user communication (receive instruction) executing on Port 3 is
canceled.
LADDER PROGRAMMING MANUAL
2-19
2: DEVICES
M8033, M8145 to M8147, M8170, M8176, M8365 to M8394: User Communication
Receive Instruction Cancel Flag (Port 4 to 33) While these flags are on, user
communication (receive instruction) being executed on the corresponding port
is canceled. M8033 = User Communication Receive Instruction Cancel Flag (Port
4) M8145 = User Communication Receive Instruction Cancel Flag (Port 5) M8146 =
User Communication Receive Instruction Cancel Flag (Port 6) M8147 = User
Communication Receive Instruction Cancel Flag (Port 7) M8170 = User
Communication Receive Instruction Cancel Flag (Port 8) M8176 = User
Communication Receive Instruction Cancel Flag (Port 9) M8365 = User
Communication Receive Instruction Cancel Flag (Port 10) M8366 = User
Communication Receive Instruction Cancel Flag (Port 11) M8367 = User
Communication Receive Instruction Cancel Flag (Port 12) M8370 = User
Communication Receive Instruction Cancel Flag (Port 13) M8371 = User
Communication Receive Instruction Cancel Flag (Port 14) M8372 = User
Communication Receive Instruction Cancel Flag (Port 15) M8373 = User
Communication Receive Instruction Cancel Flag (Port 16) M8374 = User
Communication Receive Instruction Cancel Flag (Port 17) M8375 = User
Communication Receive Instruction Cancel Flag (Port 18) M8376 = User
Communication Receive Instruction Cancel Flag (Port 19) M8377 = User
Communication Receive Instruction Cancel Flag (Port 20) M8380 = User
Communication Receive Instruction Cancel Flag (Port 21) M8381 = User
Communication Receive Instruction Cancel Flag (Port 22) M8382 = User
Communication Receive Instruction Cancel Flag (Port 23) M8383 = User
Communication Receive Instruction Cancel Flag (Port 24) M8384 = User
Communication Receive Instruction Cancel Flag (Port 25) M8385 = User
Communication Receive Instruction Cancel Flag (Port 26) M8386 = User
Communication Receive Instruction Cancel Flag (Port 27) M8387 = User
Communication Receive Instruction Cancel Flag (Port 28) M8390 = User
Communication Receive Instruction Cancel Flag (Port 29) M8391 = User
Communication Receive Instruction Cancel Flag (Port 30) M8392 = User
Communication Receive Instruction Cancel Flag (Port 31) M8393 = User
Communication Receive Instruction Cancel Flag (Port 32) M8394 = User
Communication Receive Instruction Cancel Flag (Port 33)
M8027 to M8032, M8034 to M8036, M8040 to M8046, M8051 to M8055, M8057 to
M8063, M8130, M8131, M8133 to M8136, M8161 to M8167, M8600 to M8602: Special
Internal Relays for High-speed Counter Special internal relays used for the
high-speed counter. For details, see Chapter 5 “High-Speed Counter” in the
“FC6A Series MICROSmart User’s Manual”. M8027 to M8032, M8130, M8131, M8161,
M8162 = High-speed counter (group 1/I0) M8034 to M8036, M8133, M8165, M8600 to
M8602 = High-speed counter (group 3/I3) M8040 to M8042, M8134, M8166 = High-
speed counter (group 4/I4) M8043 to M8046, M8135, M8136, M8163, M8164 = High-
speed counter (group 5/I6) M8051 to M8055 = High-speed counter (group 2/I1)
M8057 to M8063 = High-speed counter (group 6/I7)
M8070: SD Memory Card Mount Status When an SD memory card is inserted in the
FC6A and it has been recognized and can be used, M8070 is turned on. M8070 is
turned off if no SD memory card has been inserted or if it is not recognized.
M8071: Accessing SD Memory Card M8071 is turned on while the SD memory card is
being accessed. It is turned off when access has finished.
M8072: Unmount SD Memory Card When M8072 is turned on, access to the SD memory
card is stopped. To make an SD memory card accessible that has had access to
it stopped, insert the card once again.
M8073: Function Switch Status This relay indicates the status of the function
switch on the front of the CPU module. M8073 is on when the function switch is
- M8073 is off when the function switch is 0.
2-20
LADDER PROGRAMMING MANUAL
2: DEVICES
M8074: Battery Voltage Measurement Flag This relay indicates the battery voltage measurement status of the backup battery. When M8074 is turned on, the battery voltage starts being measured, and it is turned off when the measurement has finished.
M8080 to M8117: Data Link Communication Completed Relay Special internal relays used for data link communication. For details, see Chapter 7 “Data Link Communication” in the “FC6A Series MICROSmart Communication Manual”.
M8120: Initialize Pulse When operation (RUN) starts, M8120 is turned on for a period of one scan.
1 scan time
M8120
Start
M8121: 1-s Clock
While M8001 is off, M8121 generates clock pulses in a 1 s cycle, with a duty
500 ms
ratio of 1:1 (500 ms on and 500 ms off).
M8121
1 s
500 ms
M8122: 100-ms Clock
M8122 generates clock pulses in a 100 ms cycle, with a duty ratio of 1:1
50 ms 50 ms
(50 ms on and 50 ms off).
M8122
100 ms
M8123: 10-ms Clock
M8123 generates clock pulses in a 10 ms cycle, with a duty ratio of 1:1
5 ms
5 ms
(5 ms on and 5 ms off).
M8123
10 ms
M8124: Timer/Counter Preset Value Changed When timer or counter preset values
are changed, M8124 is turned on. When a user program is transferred or when
the changed data is cleared, M8124 is turned off.
M8125: In-operation Output M8125 is on during the run status.
M8126: Scan ON After Run-Time Download Completes When the user program is changed during the run status (run-time download), after the download completes, M8126 is turned on for one scan only when the user program starts operation.
M8137 to M8143, M8167: Interrupt Input Status These relays are turned on when
the corresponding user interrupt is allowed. These relays are turned off when
the user
interrupt is prohibited.
M8137 = Interrupt input I0 status M8140 = Interrupt input I1 status M8141 =
Interrupt input I3 status M8142 = Interrupt input I4 status M8143 = Interrupt
input I6 status M8167 = Interrupt input I7 status
M8144: Timer Interrupt Status When the timer interrupt is allowed, M8144 is turned on. When the timer interrupt is prohibited, M8144 is turned off.
M8150 to M8152: Comparison Result M8150 to M8152 turn on according to the comparison results of the CMP= (Compare(=)) instruction and the ICMP>= (Interval Compare) instruction. For details, see Chapter 6 “Special Internal Relays M8150, M8151, and M8152 in ICMP>=” on page 6-6.
LADDER PROGRAMMING MANUAL
2-21
2: DEVICES
M8153 to M8160: Catch Input ON/OFF Status When the rising or falling input
edge of the input contact specified as the catch input is detected during a
scan, the input contact status is captured. The detectable edges are once per
scan. M8153 = Group 1/I0 status M8154 = Group 2/I1 status M8155 = Group 3/I3
status M8156 = Group 4/I4 status M8157 = Group 5/I6 status M8160 = Group 6/I7
status
M8172 to M8175: Transistor Source Output Overcurrent Detection When
overcurrent output occurs in a transistor protection source output on the CPU
module, a special internal relay (M8172 to M8175) is turned on. The following
special internal relays have been allocated with four outputs set as one
group. If overcurrent output occurs in any of the special internal relays, it
is turned on. Even if the overcurrent output has been cleared, these special
internal relays are not reset to off. To reset a special internal relay to
off, create programming to do so in the ladder program. M8172 = Group 1 (Q0 to
Q3) status M8173 = Group 2 (Q4 to Q7) status M8174 = Group 3 (Q10 to Q13)
status M8175 = Group 4 (Q14 to Q17) status
M8184: Change HMI Module Network Settings Trigger When M8184 is turned on, the
values stored in D8437 to D8456 are set as the HMI module IP address. The IP
address is not set just by changing the values of D8437 to D8456. For details
on changing the HMI module network settings, see Chapter 3 “Network settings
by HMI module special data registers” in the “FC6A Series MICROSmart
Communication Manual”.
M8185: In Daylight Saving Time Period When the daylight saving time function
is enabled, M8185 is on during the daylight saving time period. When outside
of the daylight saving time period, M8185 is off.
When the daylight saving time function is disabled, M8185 is off.
M8186: Ethernet Port 1 Executing Auto Ping M8186 is on when the auto ping on
Ethernet port 1 is operating. M8186 is off when auto ping is stopped. For
details on auto ping, see Chapter 3 “Auto Ping Function” in the “FC6A Series
MICROSmart Communication Manual”.
M8187: Ethernet Port 1 Auto Ping Stop Flag While M8187 is on, the auto ping on
Ethernet port 1 is stopped. While M8187 is off, auto ping is executed. At that
time, auto ping is executed from the smallest remote host number specified in
the remote host list, regardless of the previous end status.
M8190: Change CPU Module Ethernet Port 1 Network Settings Trigger When M8190
is turned on, the values stored in D8303 to D8323 are set as the IP
Settings/DNS Settings of Ethernet port 1 on the CPU module. The IP address is
not set just by changing the values of D8303 to D8323. For details on changing
the IP Settings/DNS Settings of Ethernet port 1 on the CPU module, see Chapter
3 “Network settings by special data registers” in the “FC6A Series MICROSmart
Communication Manual”.
M8191: SNTP Acquisition Flag When M8191 is turned on, the time information is
acquired from the SNTP server.
M8192 to M8197: Interrupt Input Edge These relays turn on when an interrupt
occurs with the rising edge of an interrupt input. They turn off when an
interrupt occurs with the falling edge of an interrupt input. M8192 =
Interrupt input I0 edge M8193 = Interrupt input I3 edge M8194 = Interrupt
input I4 edge M8195 = Interrupt input I6 edge M8196 = Interrupt input I7 edge
M8197 = Interrupt input I1 edge
2-22
LADDER PROGRAMMING MANUAL
2: DEVICES
M8200 to M8207, M8334 to M8343: User Communication Receive Instruction Cancel
Flag When M8200 to M8207 or M8334 to M8343 are turned on, the user
communication receive instruction being executed is stopped. M8200 = User
communication receive instruction being executed on client connection 1 M8201
= User communication receive instruction being executed on client connection 2
M8202 = User communication receive instruction being executed on client
connection 3 M8203 = User communication receive instruction being executed on
client connection 4 M8204 = User communication receive instruction being
executed on client connection 5 M8205 = User communication receive instruction
being executed on client connection 6 M8206 = User communication receive
instruction being executed on client connection 7 M8207 = User communication
receive instruction being executed on client connection 8 M8334 = User
communication receive instruction being executed on client connection 9 M8335
= User communication receive instruction being executed on client connection
10 M8336 = User communication receive instruction being executed on client
connection 11 M8337 = User communication receive instruction being executed on
client connection 12 M8340 = User communication receive instruction being
executed on client connection 13 M8341 = User communication receive
instruction being executed on client connection 14 M8342 = User communication
receive instruction being executed on client connection 15 M8343 = User
communication receive instruction being executed on client connection 16
M8211: HMI Module Send E-mail Server Settings Initialization When M8211 is
turned on, the settings for the send E-mail server on the HMI-Ethernet port
are initialized.
M8212 to M8221, M8345 to M8354: Connection Status While connected to a network
devic
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>