Professional Documents
Culture Documents
Series: Programmable Controller
Series: Programmable Controller
SERIES
OPERATION MANUAL
PC10G-CPU (TCC-6353)
Compatible with Ver 3.00
FOREWORD
Thank you very much for purchasing our Programmable Controller.
i
FOR SAFETY OPERATION
Before installing, operating, maintaining and checking, read carefully this Manual without
fail for proper and safety operation and work. Any operator and any maintenance man
who relate to this product (Programmable Controller) are requested to acquire the
knowledge on devices, safety information and cautions before being engaged in the
operation and maintenance. This Manual classifies the safety caution level into
"WARNING" and "CAUTION" using alert symbols as follows.
Don't touch the terminals with the power switch kept ON.
Failure to observe this instruction could result in electric shock.
ii
Regarding safe-related signals and emergency stop circuit,
etc., handle those signals in external units without
through this system.
iii
The base units that can mount PC10G-CPU or SELECTOR
are as follows. PC10G-CPU and SELECTOR cannot be
mounted in a selector base.
The base units which can mount PC10G-CPU or SELECTOR
Name Type
8-slot base THR-2766
8-slot base2 THR-2872
6-slot base THR-2813
4-slot base THR-2775
2-slot base THR-2814
"CPU/SEL" slot
iv
POUR UN FONCTIONNEMENT EN TOUTE SÉCURITÉ
v
Les signaux de sécurité, les circuits d'arrêt d'urgence et autres
prudence
devront être gérés à partir des unités externes et non pas à
partir du système directement.
avertissement N'attachez pas et ne détachez pas les modules à/de leur support
lorsque le commutateur est sur la position de marche (ON).
vi
REVISION HISTORY OF OPERATION MANUAL
Operation manual revision No. is added as a part of Manual No. described on the cover sheet
of the manual.
T-335 * E
N: Japanese E: English
Series No. Revision symbol
Equivalent
Revision Japanese
Date of revision Content of revision
symbol manual
version
1 April 23, 2007 The First edition printed
Error codes of HL and HU are added.
September 5, "RUN relay" explanation correction
2
2007 Correction of “Connector pins configuration” of OUT-28D and
OUT-29D
November 6,
3 “Table of system components” correction.
2007
October 10, Review overall.
4
2008 Compatible with Ver.3.00
November 7,
5 The explanation is added for directive 2006/66/EC
2008
Revision of notices when using the USB cables.
November 3
6 Review of the recommendable USB cables.
2011
Addition of the power source module, POWER2H.
7 May 2012 TOYODA brand logo added on the front cover
2.2.6 Recommended USB cable. Change of TYPE.
8 January 2013
( conventional or equivalent)
Review of the recommendable USB cables.
9.11 BUILT-IN standard MODBUS-RTU (slave) function is added.
9 April 2013 T-33516N
11 Tool is added.
“IN-22H” (THK-6831) module is added.
Addition of FOR SAFETY OPERATION in French.
1.3 Addition of the modules, I/O-328G, ML10, SC10 and CT10.
2.2.6 Addition of the recommendable USB cables.
10 April 2015 7.1 Pollution degree, Overvoltage category, Altitude and T-33517N
Installation are added.
Review of the Overseas corresponding standard
7.3.3 Addition of the module, I/O-328G.
11 October 2018 7.1 A note on power supply is added.
Added notice about slots to install PC10G-CPU and SELECTOR
(FOR SAFETY OPERATION, 2.1.3 Actual mounting of each
12 January 2019 module).
Added a notice label (1.4 Identification(name) and function,
7.6 Selector Module Specification ATTACHMENT 1-1, 1-3).
EtherCAT function is added.
13 January 2021 T-33520N
EtherNet/IP function is added.
21 March 2022 TOYODA brand logo removed
vi
COMPOSITION OF RELATED INSTRUCTION MANUAL
Instruction manual
Name Overview
number
Describes how to prepare sequence program
PC2J/3J series
T-307*N used by PC2J/3J series and how to use
Programming manual
application command.
Describes the handling, function, and
T-754*N PC2J/3J FL/ET-T-V2H
specification of FL/ET-T-V2H.
Describes the handling, function, and
T-756*N 2PORT-EFR
specification of 2PORT-EFR
Describes the handling, function, and
T-759*N FE-SWH05/08
specification of FE-SWH05/08
Describes the handling, function, and
T-755*N FRMT
specification of FRMT
Describes the handling, function, and
T-326*N EtherCAT function
specification of EtherCAT
viii
Contents
FOREWORD
FOR SAFETY OPERATION
REVISION HISTORY OF OPERATION MANUAL
COMPOSITION OF RELATED INSTRUCTION MANUAL
TOYOPUC-PC10G series is a programmable controller that has high-speed operated CPU function,
mass memory and variegated communication function.
PC10G-CPU
Addition of function
PC10
1. Memory area expansion
2. Program capacity selection mode Ver. 3.00
3. Calculation function expansion
4. Incorporated Ethernet compatible
with 32 ports PC10
standard Ver. 2.**
Equivalent to PC3JG mode
dividing mode
1-1
1.1.1. Principal new functions of PC10G-CPU
Version
No. Function Description Reference
Ver2.** Ver3.**
PC3JG compatible sequence
1 Sequence of PC3JG can be used. 3.2.1
calculation function
Sequence constant cycle Constant cycle interruption settable in milliseconds can
2 8.1.2.3
interruption be set by 4 at the maximum.
Constant scan function Scanning time of program can be made constant.
3 8.1.2.4
(Setting range: 1 - 99ms)
4 Register clearing function Register can be cleared easily by switch operation. 3.1.3
Addition of 0.1ms timer (S025) 0.1ms-timer asynchronous with scan (S025: special
register) was added.
5 8.2.6
Set to 0 when power is turned on, and operates in
0.1ms.
Equipment diagnosis (trouble) Direct monitor
Equipment trouble function of direct monitor can be
6 function operation
used. manual
Program resetting function (test When the circuit is corrected in test mode of PCwin, it PCwin
7 mode) is possible to reset to the original circuit operation
instantaneously. manual
Scan unit trace in high-speed Even if the scan time of CPU is high speed, it is PCwin
8 scanning possible to monitor the time chart per scan by use of operation
(scanning unit time chart monitor) PCwin. manual
PCwin
It is possible to read the output signal data always
9 I/O recorder function operation
sampled by PLC by use of PCwin. manual
Equipment information memory can save information
Equipment information
10 helpful for adjusting and maintenance of equipment 8.5
memory expansion (4 Mbytes)
such as comment, project, SFC, and IO drawing.
Expanding the basic area from each program 8KW to
Basic area expansion
32W (3JG dividing mode ratio)
11 Expands the extended data - 8.2
Expanding the extended data register U from 32KW to
register U.
128KW (3JG dividing mode ratio)
Memory area expansion
1-2
1.1.2. CPU version and trouble correspondence list
CPU version*
No. Description
2.01 2.02 2.03 2.04 2.05 3.00
Response to hardware malfunction of Ethernet of
1 incorporated communication when reset and start are ×
repeated.
Response to malfunction found when library call command
2
[SYS 432] is used.
×
Response to byte number setting error by incorporated
3
FL-remote controller slave
×
Response to communication error when power is turned on
4 in 10Mbps communication setting of incorporated FL-remote ×
controller
Response to phenomenon that the input to slave provided
5 with no breakoff turns off in breakoff by incorporated ×
FL-remote controller.
Response to application command error of JIS code
6
conversion command
× ×
Response to phenomenon that the event monitor does not
7
start when power is turned on
× ×
Response to phenomenon that comparison command
8
directly below FB is not calculated properly
× ×
When read/write command of 1006 or more bytes is sent by
9
Ethernet of incorporated port, error 78/84 occurs.
× × ×
For an opening request after resetting by the other party via
10 Ethernet, resetting is returned and opening is impossible × × ×
sometimes.
When power for the mating parent station turns off on PC
11
link, hardware error 84 may occur.
× × ×
When incorporated FL-net turns off or on, error 84 may
12
occur.
× × ×
RES (reset) and JPI (jump initial) may not operate under
13
process control of SFC.
× × ×
Year and month are exchanged when transferring the time B
14
on the event monitor.
× × × ×
Update timing of V78 (clock per scan) is different between
15
PC3J series and PC10 series.
× × × ×
*CPU version is affixed to the front of CPU module.
1-3
1.2. System components
Example of system
Ethernet
10/100M USB(HS:480Mbps/FS:12Mbps)
FL-Remote
10/100M SN-I/F
TOYOPUC-PCS
FRMT
1-4
1.3. Table of system components
* Motion controller (AF1K-C and MA1K-C) cannot be used for basic rack of this CPU.
Use for additional rack.
Equipment,
Name Type Specification
device
Memory 180K word (60×3)
PC10G-CPU TCC-6353 PC / CMP / SN-I/F 1-port,
PC10G FL-net/Ethernet/FL-remote M 2 ports
Battery TIP-5426 Battery for PC10G backup
Connector for
external connection For 40 pin square shape connector soldering
Connector TIP-5867
for I/O-328G and 40pin resin case (Set of two connectors)
I/O-329G
Selector SELECTOR THU-2765
POWER1 THV-2747 AC85~264V input,DC5V 4A output
Power unit POWER2 THV-2748 DC24V input,DC5V 4A output
POWER2H THV-6374 DC24V input,DC5V 5A output
8-slot base THR-2766
8-slot base2 THR-2872 I/O connector 2 pieces
Base 6-slot base THR-2813
4-slot base THR-2775
2-slot base THR-2814
Selector function internally stored dedicated base for 8
8 slot selector base THR-5643
slots increasing
Selector function internally stored dedicated base for 6
Selector base 6 slot selector base THR-5644
slots increasing
Selector function internally stored dedicated base for 4
4 slot selector base THR-5645
slots increasing
I/O cable 0.5m THY-2770
I/O cable
I/O cable 1m THY-2771
For additional base when other than 8-slot base 2 is
I/O branch module THU-2774
used.
IN-11 THK-2749 16 points AC100V input
IN-12 THK-2750 16 points DC24V input
1-5
OUT-19 THK-2754 16 points, transistor output (+) common, 0.5A/point, 2A/8points
OUT-28D THK-2870 32 points transistor output (-) common , 0.2A/point, 2A/16 points
Output
OUT-29D THK-5025 32 points transistor output (+) common , 0.2A/point, 2A/16 points
Input 32 points (5mA) Output 16 points(-) common (0.3A)
I/O-328G THK-6905
+Output 16 points (-) common (0.05A)
I/O
Input 32 points (5mA) Output 16 points(+) common (0.3A)
I/O-329G THK-6410 +Output 16 points (+) common (0.05A)
Select a function from PC LINK/Computer link/2 PORT
M-NET/MODBUS/SIO
Multi-Link ML10 TCU-6903
PC/CMP-LINK、2 PORT-LINK PC/CMP2-LINK、2 PORT
ML10 is a succeeding model of M-NET
RS-232C 0.3~115.2Kbps 2ch
SC10 TCU-6904
Serial I/O SC10 is a succeeding model of SIO
SIO THK-2782 RS-232C 0.3~19.2Kbps 2ch
PC1 bus
PC1-I/O-I/F THK-2783 For PC1 bus coupling
interface
PC10 mode:subject to DC Input 200kpps,subject to
differential Input 8Mpps 1 and 2 phase
High speed CT10 TCK-6856 Conventional mode:subject to DC Input 50kpps 1 and
counter 2 phase
CT10 is a succeeding model of COUNTER
COUNTER THK-2932 50kpps 1 and 2 phase
Pulse output PULSE OUTPUT THK-5109 245, 730pps forward pulse /reverse pulse
AD-1 THK-7936 1~5V,4~20mA,4 points
AD-2 THK-7937 1~10V,4 points
Analog input
AD-3 THK-7938 0~5V、0~20mA, 4point
-10~+10V,0~+10V,0~+5V,
AD10 TCK-6529
+1~+5V,0~20mA,4~20mA
DA-1 THK-7931 1~5V,4~20mA,2 points
Analog output
DA-2 THK-7932 1~10V,2 points
PC/CMP link PC/CMP-LINK THU-2755 PC link (19.2/57.6 Kbps,16 ST, 512 points) 2 ports
or computer link (selection of 0.3~19.2Kbps
2-port link 2 PORT-LINK THU-2927 32 stations) 2 ports
4-wire communication available , subject to same
PC/CMP2 link PC/CMP2-LINK THU-5139
specification as PC/CMP link.
2-port M-NET 2 PORT M-NET THU-5093 M-NET SPEC.(8 stations, 256 points) 2 ports
High speed PC
link
HPC-LINK THU-2758 625Kbps, 32 stations, 2048 points, 1792 bytes
High speed
remote I/O, host
RMT-I/O M THU-2756 HOST, 625Kbps, 2048 points, max. 31 stations
High speed
remote I/O, slave
RMT-I/O S THU-2757 Slave station
FL-net FL-net, I/F (interface) for Ethernet (Corresponding to
FL/ET-T-V2H THU-6289
Ethernet 100Mbps)
J-DLNK-M THK-5398
D link master Master module conforming to DEVICENET
J-DLNK-M2 THU-6099
Slave module conforming to DEVICENET
J-DLNK-S THU-5441
(It mounts in a CPU slot)
D link slave
Slave module conforming to DEVICENET
J-DLNK-S2 THU-5563
(It mounts in a I/O slot)
S-Link S-LINK THU-5291 I/F for SUNKS S-LINK
B7A-Interface B7A-I/F THU-5297 I/F for OMRON B7A 10 Input Points Type
1-6
Sub CPU SUB-CPU THC-5058 Memory 16K words, SIO function built in
Equipment, device Name Type Specification
2port
2 PORT-EFR TCK-6404 FL-net, Ethernet, FL-remote (2 ports)
FL/ET/RMT
FE-SWH05 TCU-6414 5 ports switching HUB
Switching HUB
FE-SWH08 TCU-6415 8 ports switching HUB
PC10G
greater
PCwin
*1 The connecting cable between an Peripheral equipment connector and a personal computer and
between an EXT connector and PC10G should use the USB(type A, male)-USB(type B, male) based
on USB2.0.
Please refer to "Chapter 2 Installation and wiring" for the connection method.
1-7
1.4. Identification (name) and function
PC10G-CPU
POWER RUN E/A (1) Display
W
P2 P3
L1 L2
L3
(2) Display mode
(9) Battery replacement label BATTERY change-over switch
TIP-5426 MODE
1st./
2nd./ (3) Peripheral I/F
(11) Notice Label I/F
FL
L1 ET (4) L1/L2 communication
RMT
FL
status display LED
L2 ET
RMT
L1 Auto 10M
(5) L1/L2 communication
L2 Auto 10M selector switch
L1 SEL. DM
(10) Version label L3 T-ON T-OFF
SN/PC/CMP
1-8
No. Name Contents
(5) L1/L2 communication Built-in link settings
selector switch a. Switching of baud of port L1
When turned on, the data is communicated by auto negotiation.
a. L1 Auto 10M When turned off, the data is communicated at 10Mbps.
b. L2 Auto 10M
c. L1 SEL. DM b. Switching of baud of port L2
d. L3 T-ON T-OFF
When turned on, the data is communicated by auto negotiation.
ON OFF When turned off, the data is communicated at 10Mbps.
c. When the switch is OFF (DM), the port L1 starts communication
automatically with the direct monitor without the need of setting
parameter. *1
When the switch is on (L1 SEL), it is allowed to set any
parameter on L1.
d. When using SN-I/F, set T-ON.
For PC link and CMP link, set T-OFF.
(6) RESET/START switch When the switch is flipped to the “RESET” side, the CPU enters
the reset status, the external output and internal relay are turned
OFF, and the program operation is stopped. When the switch is
flipped to the “START” side in the program stop status, the
program starts running. When the CPU is stopped by the stop
signal sent from the peripheral device, the program does not start
running.
(7) L3 communication status Flashes while the link 3 is communicating.
display LED (Lit when the communication signal level is “High”.)
(8) Connector for L3 PCS-I/F, computer link, PC link, MODBUS.*2
Recommended crimping terminal: AI0.5-10WH (manufactured by
Phoenix contact.)
(9) Battery replacement label Write the date when the built-in lithium secondary battery is
replaced.
(10) Version label Shows the software versions.
(11) Notice Label This label describes notice on mounting on the base unit (Added
from shipment after February 2019).
It is prohibited to mount PC10G-CPU to other than the CPU/SEL
slot of the base unit.
1-9
(12) L1/L2 communication a. Hardware status is shown.
connector Lit in green: Hardware is correct.
a Lit in red.: Hardware error occurs.
Off: Program is not running.
b b. Communication status is shown.
Ethernet/FL-net
Lit in green: 100Mbps-communication is being established.
Flashing in green. Communicating at 100Mbps.
Lit in orange: 10Mbps-communication is being established.
Flashing in orange. Communicating at 10Mbps.
Lit in red.: Link parameter error
Flashing in red.: Connection error/link communication error
Off: Cable is not connected.
FL-remote
Lit in green. Remote operation is running.
Flashing in green. FL is entering.
Lit in red.: Link parameter error
Flashing in red.: Communication error
Flashing in green and red.: Setting error
Off.: Cable is not connected.
Flashing in red.: Communication error
Off.: Cable is not connected.
*1 When connecting with the direct monitor set the communication switch to "DM".
Can be connected to direct monitor even if link and parameter are not set. (See "9.1 Setting of link
parameter".)
*2 MODBUS-RTU is the function added to PC10G Ver3.30.
1-10
2. INSTALLATION AND WIRING
This Section describes the installing and wiring procedures and related cautions.
2.1. Installation
2.1.1. Environment for installation
(2) Place where ambient humidity exceeds the range of 30 to 85% RH.
2
(3) Place where rapid temperature fluctuation results in dew condensation.
(4) Place where corrosive gas and combustible gas exist inevitably.
(5) Place where conductive powders such as dust, iron powder, etc., oil mist, salt content,
and organic solvent exist much.
(6) Place where strong electric field and strong magnetic field generate.
(8) Place where vibration and impact are transferred to the product (PC).
When use environment is the above, please contain this equipment to the control box sealed in order
to maintain good installation environment. Please do not keep the door of a control box opened wide.
Moreover, when you use a fan etc. within a control box, please install so that a direct wind is not in
charge of this equipment.
Please be careful in order to cause an unexpected situation, when a coarse particulate adheres to the
portion equivalent to which a wind is directly so much.
2-1
2.1.2. Cautions in installing
(1) For smooth drafting or easy module replacement, keep a space of at least 50mm between upper
module/lower module and other structures and parts, as illustrated below.
(2) Absolutely avoid using modules in vertical position and horizontal position.
The use in such positions causes poor drafting in modules.
2-2
2.1.3. Actual mounting of each module
(1) How to mount onto the base
1. Insert module's fixing claw in the lock (receptacle) hole of the base.
Note) It is prohibited to mount PC10G-CPU and SELECTOR to other than the CPU/SEL slot of the
base unit.
2-3
2.2. Wiring
2.2.1. Cautions in wiring TOYOPUC in general
This paragraph describes the cautions to be observed in wiring of power cable or I/O cable, etc.
Please do not do wiring that it suffers stress to the terminal stand and the connector, etc. after it wires
for the power supply line or the I/O line and the communication line, etc. Wiring might cause the gap
and the damage of the equipment.
(1) In wiring, separate the power line to the PC body (power module) from the power line to I/O
devices and main circuit devices respectively.
I/O
PC Power source Main circuit
Power source Power source
Additional rack
PC body Main circuit devices
(POWER1) I/O devices
(2) Select and use low-noise power cables between cables and between cable and ground.
When these lines are very noisy, connect an insulated transformer to these lines.
I/O
PC body devices
Insulated transformer
(3) Isolate the I/O signal line from main circuit line of high voltage and large current as far as possible.
(Keep a space of 100mm min between these two.) Avoid parallel wiring of these if possible.
2-4
(4) Isolate DC24V I/O cable from AC100V cable.
(7) Wire the I/O signal cables using another duct separately from main circuit cable, whether inside
or outside the control panel. In the case of pipe wiring, install a pipe in Class-D grounding.
(8) When wiring by use of same duct is inevitable, use a batch-shielded cable and connect its shield
end to FG terminal of NC rack or an earth block of the control panel.
(11) Do not string a strong cable in 50mm zone from CPU module front.
Primary wiring
(Class-D grounding)
(12) FG connection
Control panel
FG terminal is provided on 5V terminal block of each base.
When additional base is installed, connect FG to one FG terminal. BASE
Perform wiring directly to the D-grounded earth block from each base with an electric wire
FG above
2mm2.
When additional base is installed, connect FG to one FG terminal. BASE
FG
Earth block
2-5
2.2.2. Wiring of power module
AC1 0.75 or 1.25 sq twist
or
DC+ AC85-264V(POWER1)
IN or
AC2 DC18-32v(POWER2 / POWER2H)
or
DC-
* For wiring to the terminal block, use crimp terminal (Eyelet or Y-shaped terminal for M3) without fail.
I/O cable
5V, 0V wiring
I/O cable (twist pair cable)
Avoid wiring another power cable Avoid supplying the power into the power
separately from additional I/O rack. module of CPU rack, with I/O cable wired
between additional racks, without supplying the
power into the power module of additional
rack. When connecting I/O cable of additional
rack, exactly wire the power cable to the power
cable to the power module.
2-6
2.2.3. Wiring for 5V power supply into additional I/O rack
Where more than 8 additional I/O modules, etc. in total are used, it is possible to operate PC by
supplying 5V power into additional I/O racks from other power module, provided that the total current
consumption of all modules in additional I/O rack is not more than 4A. In supplying 5V power, wire
each cable of 5V, 0V and FG from the left end terminal on each base.
Furthermore, note the following in wiring.
(3) Absolutely avoid 5V cable wiring of rack to rack to which power module is connected. Doing so
could result in damage of modules due to parallel run of the power modules.
(4) Recommended cable size and recommended crimp terminals for each wiring.
JAPAN Eyelet
SOLDER-LESS terminals 5.5-S3, V5.5-S3 (vinyl-insulated)
Recommended
TERMINAL
crimp terminals Rectangular
TRADING
COMPANY LTD end-open 5.5-S3A,V5.5-S3A (vinyl-insulated)
terminal
ON OFF
0V
L1- TOYOPUC-PCS
L1+
2-7
(2) Wiring of PC link, computer link
Connect wires to each terminal +, - , 0V and FG as shown below:
POWER 2 I/O-329G
FG
0V
L1-
L1+
2-8
Method of wiring for SN-IF, PC link and computer link
After crimping with a special stick terminal, the stick terminal is automatically fixed by inserting the
stick terminal in the electric wire insertion hole.
When the stick terminal is pulled out, After pushing a release button (orange) on the electric wire
insertion hole side, the electric wire is pulled out.
Note 1) Cover the bar terminal with a mark tube for preventing a short circuit.
Recommended cable
· Double shield O-VCTF-SS 2C×0.75mm2 CHUGOKU ELECTRIC WIRE & CABLE CO., LTD
· Double shield UL2464-DSS 2C×20AWG CHUGOKU ELECTRIC WIRE & CABLE CO., LTD
· Double shield UL2464-2SB 2×20AWG KURAMO ELECTRIC CO.,LTD.
Note 1) Be sure to connect each cable with the power source cut off.
Note 2) Cable shall be sequentially wired one by one from module to module. Do not wire them
in batch.
Note 3) To avoid operation error caused by external noise, do not make proximity wiring of
communication cables in parallel to main circuit cable, etc. of high tension and strong
current.
2-9
2.2.5. Wiring of FL-net / Ethernet / FL-remote
Wiring and external devices needed for wiring are described below.
Note) Ground the HUB. See the HUB instruction manual for detail.
Connect the PC10G (FL-net / Ethernet/FL-remote controller) module and another node using a cross
cable.
2-10
2.2.5.3. When connecting through the relay of HUB
Connect between PC10G (FL-net/Ethernet/FL-remote) and HUB with a straight cable.
Connect between HUB and HUB with a cross cable or straight cable. Do not mix FL-net, Ethernet,
and FL-remote controller in the same system of network.
Between HUB-HUB:
Maximum 100m
Between HUB-Slave:
Maximum 100m
Power for
Unit DC24V
FRMT
Between Master-HUB:
Maximum 100m
FRMT
(Configuration by FL-net/Ethernet)
DC
24V
Between HUB-HUB:
Maximum 100m
Between HUB-Node:
Maximum 100m
Between Node-HUB:
Maximum 100m
* Designated HUB and FRMT apply auto negotiation. When connected by auto negotiation with each
other, communication is at 100Mbps.
2-11
2.2.5.4. Construction and laying of cable
When constructing a cable, pay attention to the following point.
1. Do not apply excessive tension when pulling a cable.
2. Set the bending radius of fixed part above four times the cable outer diameter.
×
Twice the cable
outer diameter
2-12
3. When fixing a cable, do not bundle tight with Cable Tie, etc.
Cable is crushed.
×
×
2-13
6. Keep the routing of cable off the noise generation source.
The communication cable and HUB should be kept away from noise sources such as welding
machines, motor drive circuits and power cables with high currents as far as possible.
Noise Noise
source source
Connection cable
If the cable cannot be kept off noise sources as in (6), shield the communication cable and HUB
with a metallic duct or such.
HUB
Hub container (metallic)
2-14
2.2.6Notes on USB connection between personal computer and PLC
Please never insert and/ or remove the USB cable from the personal computer port while the AC
power supply of the personal computer is in use.
When you connect the PLC and the personal computer with a USB cable, please confirm chapter
2.2.6.1 beforehand and follow the procedure on chapter 2.2.6.2.
Otherwise, USB port of PLC may break down.
2.2.6.1 Prior confirmation for USB connection
Please confirm the following matters before USB connection.
(1) Please confirm the conduction status of USB cable shield line before using it. Do not use the
USBcable with a disconnected shield line.
Confirmation of shield line connection USB cable
(2) Please check if the USB connector and port are firmly in contact, by slightly moving the connector
toall possible directions. Please do not use the USB port if a non-conduction status is observed
even momentarily.
Confirmation of the metal contact * Please confirm the conduction states
while moving all directions.
personal computer USB connector
USB cable
(3) The following cables are recommended in order to protect the USB port from breaking due to a current
leakage from the personal computer.
USB cable
Profile
Manufacturer Type Length
U2C-BN07BK 0.7m A(male)-B(male) type
U2C-BN10BK 1.0m * RoHS Directive conformity
product
U2C-BN15BK 1.5m
U2C-BN20BK 2.0m
U2C-BN30BK 3.0m
Elecom U2C-BN50BK 5.0m
USB2-FS15 1.5m
USB2-FS3 3.0m
2-15
(4) USB extension cable, please use the recommended products below. In addition, if you wish to use
the extension cable, please use the following precautions.
(Note) The USB standard stipulates that the maximum length of a USB cable is up to 5 meters.
The total extended distance must be within 5 meters when using a device such as relay plug.
Correct sample Incorrect sample
Control box Control box
Relay plug Relay plug
DM DM
USB cable USB cable
3m 5m
PCwin PCwin
USB cable USB cable
0.5m 0.5m
2-16
2.2.6.2 Procedure for USB connection between PC and PLC
Please connect USB cable by either of the following procedures 1) to 4)
1) When AC power plug of PC is a 3 core cable with earth pole
Personal computer
Ground line (3)
Earth
4)When driving PC with its battery (without using AC power supply)No need to ground the PC.
2-17
2.2.6.3 Data backup from PC10G without USB communication
Please back up data by Ethernet when PC10G and PCwin cannot communicate with USB connection.
The built-in port L1 of PC10G must be either used for Ethernet or no-use without using P3 link No.1.
1) Set L1/L2 communication selection switch No.2(L1 SEL/ DM change) on PC10G to "OFF(DM)"
2) Connect Ethernet cable (10BASE-T) to L1 port and LAN port of PC.
Personal computer
Cross cable
192 168 1
2 (numerical values except 1)
2-18
5)Add Ethernet to the communication module of PCwin
(1)Select ”Communication module setting” and ”ADD”
(4)Input comments
(3)Select "Communication condition" and set IP address to "192.168.1.1" and Port number to
"2000".
6) Backup data
7)Restore the former IP address setting from the "Internet Protocol (TCP/IP) properties".
2-19
2.2.6.4 Cause of USB port failure on PLC
If AC power supply of the computer or the shield is not grounded, the USB port may break due to the
reasons below. If the USB port on PLC is broken, communication with PCwin will not be possible but
there will be no problem with operation or other functions of PLC.
(1) The USB port on PLC may break down when connecting with a USB cable due to the current leakage
from the AC adaptor or PC, which is occurred by a potential difference between the metal connectors
of USB cable and PLC.
Metal part of USB connector
Personal computer PLC
AC adaptor
AC plug(3 wicks) DC cable
FG
Outlet Potential
USB cable difference
current
Unearth in leakage FG
Possibility that
earth line Shield Shield
Potential Potential PLC breaks
Earth Earth
AC plug(2 wicks) difference difference down.
Unearth in
earth line
Unground
ed earth
Earth
(2) The USB port on PLC may break down due to the current leakage coming from AC power supply of
PC.Some PC models have shield wire connected to 0V (GND signal) of USB, which can cause
current leakage when there is a shield wire disconnection of USB cable, or a poor connection
between the metal connectors of USB cable and PC.
Personal computer PLC
Vbus Vbus
DC cable D+ D+
D- USB cable D-
0V 0V
FG FG
Disconnection of shield line
leakage
current
Possibility that
Loose connection of metal part PLC breaks down
including the turn
Shield Potential of the leakage of
Earth(FG) current.
difference
2-20
3. INITIAL SETTING
3.1. CPU setting before shipping
3.1.1. Program and parameter
The CPU is set as follows before shipping.
Program
Before shipping, the CPU operation mode is initially set to "PC10 mode"
Further, the circuit as illustrated below is written in the sequence program before shipping.
Parameters
The written parameters are set up per the table below.
Items Setup values
CPU operation mode PC10 Standard/PC3JG Separate mode
Scan time timer Initial program 10ms
value Overall 100ms
I/O table reference error Stop
Run status
Scan time over Stop
against error
Applied command error continue
Interrupt at periodic cycle All points 0 (no interrupt)
Interrupt
External interrupt mask All point mask*1
*1 No external interruption function is available. Hence, these parameter values are all
ineffective.
3-1
3.1.2. Battery
The PC10G is provided with a battery to back up data memory (data area for keep-relay, data register,
etc.) against power interruption and to back up the built-in clock.
The battery connector is removed before CPU is shipped. Hence, the data memory and built-in clock
are both not backed up. Before using the clock, preset it properly, install the battery, and clear the
register according to peripheral equipment (PCwin, etc.).
User program (sequence program and parameter) and equipment information memory content (such as
comment) are stored in flash memory which holds its content in blackout, and the content of memory is
retained when the battery is removed. It is recommended to take backup for the worst case.
110 35
PC10G-CPU
POWER RUN E/A
W
P2 P3
L1 L2
L3
BATTERY
TIP-5426 MODE
1st./
2nd./
1.00 I/F
FL
L1 ET
RMT
130 FL
L2 ET
RMT
L1 Auto 10M
L2 Auto 10M
L1 SEL. DM
L3 T-ON T-OFF
START
RESET
L1
L3
L3
0V
L2 L-
L+
SN/PC/CMP
3-2
Battery connector installation procedure
1. The stop screw is removed and the battery fixation board is detached.
2. The battery side connector is installed on the main body side connector.
Please install the connector as shown in the figure below so that becoming empty may come
right.
Be careful please not to push and be careful not to pull the battery lead wire of an impossible
spear strongly because causes the breakdown.
3. The battery is put up in the hole of a lower substrate, places with the battery board and the
screw is occupied.
(note) The battery lead wire must not overflow from the substrate to the outside.
3-3
(2) Lithium rechargeable battery (TIP-5426)
The PC10G uses an exclusive lithium battery(*1).
This battery is always kept full charged by about 4 hours' current feed per day. If kept full
charged, this battery can back up (*2) for one year or more under normal temperature ( 25°C).
If "Battery voltage low" is detected, BATTERY ALARM (error code 0022) is output. (special
relays V03 and VF0 turn ON)
If BATTERY ALARM fails to turn OFF even after charged 8 hours or more or if it turns ON
immediately after charged, the possible cause is expiry of the battery life. In such a case,
replace with new battery. The battery replacement cycle is 5 years though depending on the
actual operating conditions. In replacing, use the specific battery (Charge type battery for
PC3J-CPU : TIP-5426) without fail.
(Upside..vacant)
*2 This lithium charge battery backs up the data memory (data area for keep relay, data register,
etc.) and the built-in clock. The guaranteed back-up period subject to full charge is 6 months
(environmental temperature: 25°C).
User programs (sequence program and parameters) and equipment information memory data
(comments, etc.) are never cancelled even after removal of the battery, because they are
stored in a flash memory wherein memory data are all held.
3-4
3.1.3. About register clearing
When the battery of PC10G has been attached, clear the register.
● Clearing method
Contents Result
1 When Reset SW = ON as well as Mode SW = It becomes a display after the "--" display "CL"
ON, power turns on. (Do not turn OFF both
SWs.)
Mode SW=ON
Reset SW=ON
START
RESET
Power ON
3-5
Note: The register clearing mode is canceled if the predetermined operation is not made within five
seconds since the register clearing mode (in which "CL" is displayed on the display) has
started.
If the register clearing mode is canceled, repeat the procedure all from the start.
PC10G-CPU
POWER RUN E/A
W
P2 P3 Register clearing
L1 L2 mode
L3
Normal RUN Error code display (EX. 48:I/O table verifying error)
(lighting in figure of eight)
PC10G-CPU PC10G-CPU
POWER RUN E/A POWER RUN E/A * The displayed error code varies
W W according to the nature of the error.
P2 P3 P2 P3
L1 L2 L1 L2
L3 L3
3-6
3.2. CPU Setting Procedure
Data area separate mode : has independent data area every each program.
Data area single mode : data area in each program is common to other programs.
PC2 compatible mode : Use of PC2 Series peripheral devices is allowed. However, the number of
available programs is limited to one 32K words program (Program-1).
Any function extended in PC3J is unable to be used under this mode.
PC10 mode (including PC10 standard mode) is added to Ver.3.00 and thereafter.
Selection of program capacity and flash register are added to PC10 mode.
Flash register size: 0 - 4096 Kbytes (setting in 64Kbytes allowed.)
(Select "0" when it is not used.)
The peripheral equipment of PC10 Series (PCwin Ver10.* or later) are available for all modes.
Supplement:
Extended buffer register (EB) in PC10 mode allows direct designation to each operand of contact, coil,
and application command. (Command dedicated to EB access was required until PC10
standard/PC3JG mode.)
Flash register, when initializing the data stored in flash memory, transfers the data to flash register
area on RAM, and the data is used for flash register area on RAM thereafter. Here it is possible to
directly designate from each command the same as "EB area". However, when writing to flash
memory itself, dedicated command is necessary. When data is written to the flash register by normal
command, it returns to the original content of flash memory when power is turned off or CPU is reset.
Note : Change of operation mode would cause sequence programs and data hitherto to be canceled. In
addition, clear the register after changing the operation mode. (Please refer to “3.1.3.”.)
3-7
In addition to the above, as CPU operation mode parameter execution / non-execution of program-2, 3
and its link with RUN signal can be selected.
One port of CMP/PC/SN-I/F link and two ports of FL/ET/RMT are mounted as communication function
in PC10G.
Rack No. and slot No. when setting the link parameter are set as shown in the table below. Link No. can
freely be changed.
When a built-in link is not used, it is not necessary to set this item.
When you use it as SN - I/F, it is not necessary to set a link parameter.
3-8
3.2.3. Automatic setting of I/O modules and link parameters
PC10G-CPU
POWER RUN E/A
STEP-1 With the power switch kept OFF, W
P2 P3
L1 L2
shift "RESET/START" switch to L3
BATTERY
" START" and press the same 1st./
MODE
FL
return. L1 ET
RMT
FL
L2 ET
RMT
L1 Auto
L2 Auto 10M
L1 SEL.
L3 T-ON 10M
START *.**
START
RESET
RESET L1
L3 Reset/start switch
L3
0V
L2
L-
This completes automatic setting of I/O modules and link parameters. If error is
STEP-3
detected at this stage, ERR lamp lights.
3-9
I/O module and link parameter set value (Automatic setting by CPU)
Items Setup values
Identification of I/O
Allocation of I/O module As actually installed
module
(Rack No.0~E,Slot
No.0~7) Allocation of I/O
As actually installed
point
Only such name setting as lack No., slot No. and link
module is implemented. For the name of the link
Link Parameter *
modules to be automatically configured, see the table
below.
* Lack No. and slot No. are allocated from link 1-2 in program 1 in the order of their smaller number. They are also
allocated to link 2- # in program 2 when actual installed link number exceeds 8.However they are allocated to
link 3- # in program 3 when CPU operation mode having no program 2 is selected.
No allocation is made for the link that is exceeded link number 8 when CPU operation mode having neither
program 2 nor program 3 is selected.
3-10
3.2.4. Program creating sequence
The creating sequence is mainly classified into two cases; one case that sequence program is not
pre-created and another case that it is already pre-created.
Set parameters by the peripheral equipment and execute PROGRAM CLEAR in the
STEP-2
peripheral equipment.
STEP-5 Set the current time on the built-in clock by the peripheral equipment.
STEP-6 Set necessary data (data register, etc.) by the peripheral equipment.
Read the sequence program (program + parameters) into the peripheral equipment
STEP-1
from FDD, etc.
STEP-2 Check the parameters on the peripheral equipment and set them as necessary.
STEP-4 Set the current time on the built-in clock by the peripheral equipment.
STEP-5 Set necessary data (data register, etc.) by the peripheral equipment.
3-11
3.2.5. Parameter setting
PC10G has 2 port of FL/ET/FL-remote and a port of PC/CMP/SN-I/F as a built-in link, which is three
ports in total.
The following items are set on the parameter menu of the Project window.
3-12
(a) Set CPU Mode
This allows you to set the CPU program, data memory allocation pattern, and operation status of
each program.
Operating procedure
1. Selection of CPU operation mode
In the case of PC10 mode (Ver.3.00 -), select program capacity and flash register capacity.
Default is "P1:60 P2:60 P3:60" and flash register (FR) "0".
(When flash register is not used, select flash register "0".)
Content of data area is displayed in detail display in any other mode. See and select one.
Each data area other than PC2 compatible mode is fixed.
When PC2 compatible mode is selected, data input is made valid.
Enter the program capacity, file register capacity, and comment capacity. (See (2).)
Note: When setting mode is spilt, you can not change to single mode.
As well as in the case of single mode, you can not change to split mode.
If you are editing circuits in PC2 compatible mode, can change to split or single mode.
3-13
(2) Set CPU Mode (Capacity details setting)
This setting becomes active only when selecting the PC2 compatible mode.
You may set a program capacity, file register capacity, and comment capacity.
Each setting range is shown on the screen below. (PCwin Ver.8** screen)
Program capacity
The initial value is 32K words.
Set to 32K with PC10G.
Comment capacity
The initial value is 0K words.
Set to 0K with PC10G.
3-14
(b) Set CPU Status
You may set whether or not each allocated program No. is executed.
(In the PC2 compatible mode, this setting cannot be made on programs 2 and 3.)
Operating procedure
1. Program execution mode
This shows the current setting status of programs 1 - 3. Program 1 is always executed.
For programs 2 and 3, it is possible to change "Valid/Invalid" if they are allocated by the
"Program capacity/Data memory capacity/Extended data capacity" settings.
3-15
(c) Set I/O Module
You must set all modules to be mounted in the rack.
There are two types of setting methods, [Automatic setting] and [Manual setting].
Operating procedure
1. Automatic setting
Reading the program from PC makes it possible to easily set the current status.
Normally, you should select [Automatic setting].
3-16
2. Manual setting
[1] Select a rack No. and click a slot No. you wish to set.
[2] Click [Setting] to set the number of allocated points and identification code (Please refer to
g - 1).
Operating procedure
1. Automatic setting
You may easily select an I/O module on the screen.
Select a desired module type, and then select a module you wish to set from the I/O module
name list. After selecting the module, click [OK] to automatically set the number of allocated
points and identification code.
2. Manual setting
You may input the number of allocated points and identification code directly.
3-17
(d) Set RUN Status at the Error
You may set the RUN state of PC if an error occurs in PC.
Check on desired items you wish to stop PC if an error occurs.
2. In the PC2 compatible mode, the following initial screen will appear.
3-18
(e) Set Scan Time Timer
This allows you to set up scan time for all programs and scan time for initial program and main
program of programs 1 - 3. If the value exceeds the set scan time during execution of the program,
an error occurs in CPU.
2. In the PC2 compatible mode, the following initial screen will appear.
3-19
(g) Set Link Parameter
This allows you to set up the link parameters for each program. When assembling the link module
into the system, you must set up the relevant parameters.
PC10G incorporates the link of FL/ET/RMT of two ports and PC/CMP/SN-I/F of one port, which is
three ports in total. Setting operation by peripheral equipment is shown by example of PCwin.
The following items are set from the parameter menu of the project window.
1. <Link Setup> is chosen. Link No. can be freely set between from 1 to 8.
2. Rack No. [Built-in], Slot No. [L1] is chosen from . Link module name is chosen.
1.Ethernet
2.Ethernet (32 ports)
2.FL-net(8K/16K/32K)
3.FL-remote-M
can be selected.
3-20
3. [Detail] is chosen. (Please refer to FL/ET-T-V2H manual or 2PORT-EFR manual about a basic
matter of ethernet.)
[1] IP address of a built-in link is input.
[2] The protocol method that opens from is chosen, and node port No and table No of the
node besides the destination are input.
[3] [Initialization based on Link Parameter] is chosen. If this item is not selected, this setting should
not be effective.
[4] When the setting is completed, click [OK].
[1] [4]
[2]
[3]
* When C of the L1/L2 communication selection switch is turned off, L1 automatically begins
communicating with the Ethernet equipment that has opened the connection.
If the switch of L1 SEL is turning off even when setting it by the link parameter, the parameter set
with PCwin is disregarded.
3-21
2. Rack No. [Built-in], Slot No. [Standard] is chosen from . Link module name [PC link master,
PC1-I/F output] is chosen.
3. Set "timer value" in milliseconds, choose "use program" for constant cycle interruption, and press
"OK".
3-22
4. TEST RUN
4.1. Check items before test run
Register setting
•Has the register been cleared?
Parameters setting
•Each parameter set correctly?
Battery
•Battery connector connected perfectly?
•Battery fully charged?
Setting at time
•Is setting of the time of a built-in clock done?
Module mounting
•Each module is securely mounted? 4
•Fixing screw is installed?
Fuse
•Free from blown and damage?
4-1
5. ERRORS AND REMEDIES
5.1. Error report from CPU
5-1
5.1.2. Error display
(1) The E/A lamp (red) lights when error occurs in the CPU.
(2-2) Display of extended function being executed (forcible ON/OFF, tracing per scan)
5-2
5.1.3. Displayed errors table
LED lamps Error reset
Special relay
Error items Error code POWE Power
RUN E/A POWER RUN
R re-throw IN
Power source POWER DOWN 0013 ● ● 〇 〇 〇 VC1 V01
CPU
RTC ERROR 00A3 〇 〇 〇 - - VF5 V03
*: 0~3 〇: Lighting
0 = System related error ●: Turn out (OFF)
1 ~ 3 = Program related errors ●/〇 : Finally depending on parameter " running status
Displaying corresponding against occurred” But the left (RUN OFF) is set before
program Nos. This is 1 in the shipping.
case of PC2 interchange mode.
5-3
LED lamps Error reset
Error
Error items Power Special relay
code POWER RUN E/A Reset
re-throw IN
I/O RACK F USED 0041 〇 ● 〇 〇 - VC8 V01
I/O RACK NO. OVERLAP 0045 〇 ● 〇 〇 - VC8 V01
〇 〇 〇 〇
*1
SCAN TIME OVER 0*31 ●/〇 VE1 V01/02
APPLIED COMMAND ERROR 0*71 〇 〇/● 〇 〇 〇 VE2
*2
V02/01
1
USER PROGRAM
〇 ● 〇 〇 〇
*3
0*72 VC9 V01
STACK-OVER
〇 ● 〇 〇 〇
*3
NO END COMMAND 0*73 VC9 V01
〇 ● 〇 〇 〇
*3
NO START COMMAND 0*74 VC9 V01
〇 ● 〇 〇 〇
*3
MASTER CONTROL ERROR 0*75 VC9 V01
User APPLIED COMMAND ERROR
〇 〇/● 〇 〇 〇
*2
program 0*78 VE2 V02/01
2 (For special module )
〇 ● 〇 〇 〇
*3
FOR-NEXT ERROR 0*79 VC9 V01
〇 ● 〇 〇 〇
*3
RET ERROR 0*7A VC9 V01
〇 ● 〇 〇 〇
*3
RETI ERROR 0*7B VC9 V01
〇 〇/● 〇 〇 〇
*2
LIBRARY CALL ERROR 0*7C VE2 V02/01
〇 ● 〇 〇 〇
*3
PRG , END EXECUTE 0*7D VC9 V01
〇 ● 〇 〇 〇
*4
LABEL TABLE ERROR 0*76 VC6 V01
〇 〇/● 〇 〇 〇
*2
INDEX ERROR 0*7F VE2 V02/01
PARAMETER SETUP VALUE
〇 ● 〇 〇 〇
*4
User setting ERROR 0*77 VC6 V01
#:0~3 : Lighting
0= System related error ●: Turn out (OFF)
1 ~ 3= Program related errors
/ ● : Finally depending on parameter " running
Displaying corresponding program (● / ) status against occurred” But the left (RUN
Nos. This is 1 in the case of PC2
OFF) is set before shipping.
interchange mode.
5-4
LED lamps Error reset
Error items Error code Power Special relay
POWER RUN E/A Reset
re-throw IN
SPECIAL MODULE
0082 〇 ● 〇 〇 〇 VC5 V01
PARAMETER ERROR
SPECIAL MODULE NUMBER
0088 〇 ● 〇 〇 - VC8 V01
OVER
LINK COMMUNICATION
0*86 〇 〇 〇 〇 〇 - V03
ERROR
#:0~3 〇: Lighting
0= System related error ●: Turn out (OFF)
1 ~ 3= Program related errors 〇/● : Finally depending on parameter " running
Displaying corresponding program (● /〇 ) status against occurred” But the left (RUN
Nos. This is 1 in the case of PC2 OFF) is set before shipping.
interchange mode.
5-5
5.1.4. Special register for error information output
• Ver3.00 and over
When an error is detected, error code, error-related information, and error detection time are stored in the
special register for storing error information. This register has a shift register structure of 64 stages, and is
capable of storing errors up to 64 times. When the error occurs 65 times or more, error information is
erased in sequence from the information stored first. (See description below.)
Error information stored in this register can be read by peripheral system (such as PCwin).
In addition, the error message can be checked in "Error code monitor" mode of message display.
H L
S1000 Abnormal 0 S1000 Program No. Error code
Related Related
S1008 Abnormal1 S1001 information 2 information 1
Related Related
・ ・ S1002 information 4 information 3
Related Related
・ ・ S1003 information 6 information 5
Related Related
・ ・ S1004 information 8 information 7
・ ・ S1005 Time (minute) Time (sec.)
S11F0 Abnormal 62 S1006 Time (day) Time (hour)
S11F8 Abnormal 63 S1007 Time (year) Time (month)
(Note 1) Error-related information are stored with hexadecimal number.
(Note 2) The current time of the built-in clock is stored.
The data represents 1bit at 2 digits in BCD code.
Year data is represented by lower two digits of AD year.
(Note 3) In addition to register above, error information S200 - S24F used up to PC10G standard
mode is also stored. See the history by S1000 - S11FF.
• In the case up to Ver.2.05 and the case except PC10 mode
Error information storage special register is eight counts of S200 - S24F the same as PC3J series.
5-6
5.1.5. Error-related information (S1000-S11FF)
The information effective to specify error causes and error-resulted units/devices are stored as
"Error-Related Information" covering error items forecast (stored with hexadecimal value).
* Information relating to program counter (step No.) is displayed in four columns. It was displayed in
two columns in conventional S200 - S24F.
Error Error-related information
Error content Remarks
code 1 2 3 4 5 6 7 8
0013 POWER DOWN - - - - - - - -
Area
PROGRAM MEMORY *1:Sequence
0*21
SUM CHECK ERROR
classifica - - - - - - -
tion *
BATTERY VOLTAGE
0022
LOW
- - - - - - - -
SUBSIDIARY Area
*1: Parameter
0*23 INFORMATION SUM classifica - - - - - - -
CHECK ERROR tion *
Program Program Program Program
UNDEFINED
0*24
COMMAND
counter counter counter counter - - - -
lower lower upper upper
Sum
EVENT MONITOR Sum
0029 2
data
Calculate - - - - -
ERROR d value
Classific *1: Initial 2: Main
0*31 SCAN TIME OVER
ation*
- - - - - - - 3: Overall
*1: System RAM
0032 SYSTEM RAM ERROR - - - - - - - -
SYSTEM CONTROL
0035
PROCESSOR ERROR
- - - - - - - -
SEQUENCE WORD
0036
PROCESSOR ERROR
- - - - - - - -
SYSTEM INTERRUPT Classific * 0 ~ 7:INT0 ~ 7 FF:
0039
ERROR ation*
- - - - - - - NMI
003C I/O PORT ERROR - - - - - - - -
5-7
Error Error-related information
Error content Remarks
code 1 2 3 4 5 6 7 8
Program Program Program Program Serial Serial
APPLIED COMMAND
0*71
ERROR 1
counter counter counter counter number number - -
lower lower upper upper lower upper
USER PROGRAM
0*72
STACK-OVER
- - - - - - - -
5-8
Error Error-related information
Error content Remarks
code 1 2 3 4 5 6 7 8
SPECIAL MODULE
0082 Rack No. Slot No. - - - - - -
PARAMETER ERROR
*1: ALM 2: CPU
SPECIAL MODULE Classific DETECT
0084 Rack No. Slot No. - - - - -
ERROR ation* 3: I/O MODULE
DETECT
LINK PARAMETER
0*85 Link No. - - - - - - -
ERROR
LINK COMMUNICATION
0086 Link No. - - - - - - -
ERROR
SPECIAL MODULE
0088 - - - - - - - -
OVER QUANTITY
LINK MODULE No link parameter
0089 Rack No. Slot No. - - - - - -
ALLOCATION ERROR setup
Classific
00A0 PROGRAM OVER
ation*
- - - - - - -
Classific
00A3 RTC ERROR
ation*
- - - - - - - * 1: I/F 2: Back-up
SYSTEM PROGRAM Classific
00A6
ERROR ation*
- - - - - - - *1: ROM 2: RAM
SEQUENCE RAM
00A9
ERROR
- - - - - - - -
SYSTEM PARAMETER Classific
00AA
ALARM ation*
- - - - - - - *1: ROM 2: RAM
BACK-UP MEMORY
00AB
WRITE ERROR
- - - - - - - -
00AD DATA ERROR - - - - - - - -
DATA ERROR
00AE - - - - - - - -
NON-CHECK
00AF CLOCK NON-SETUP - - - - - - - -
5-9
5.1.6. Counteraction against CPU error
This Chapter is to help maintenance men search true cause(s) and take proper counteraction/corrective
action against it, when an equipment using either TOYOPUC-PC10G fails to work normally due to
somewhat cause.
All maintenance men concerned are requested to read carefully the contents of other Chapters and
Sections in this manual and the Programming Manual, before reading this Chapter, in order to fully
know the functions of PC10G and the programming procedure.
Main causes which result in abnormal operation (generally operation stop) of the lines controlled can
be mainly classified as follows by each device.
(1) Trouble of input and output devices (limit switch, solenoid valve, etc.)
(2) Fault of control circuits (program)
(3) Trouble of TOYOPUC itself
(a) Trouble of I/O Module
(b) Trouble of CPU Module
This Chapter describes the troubles and causes in item-(2) and - (3).
Trouble-shooting
5-10
Procedure of CPU module exchange
Please do the exchange work according to the following procedures when you exchange CPU module
as a result of the troubleshooting.
1) The backup of the program + parameter and register (other data if necessary) is taken from the
PC10G module.
3) The wiring for the PC10G module is removed, and the PC10G module is detached.
4) A new PC10G module is prepared, the battery is connected, and the switch is set.
5) The new PC10G module is mounted, and wiring is returned like being original it.
7) The program + parameter and register (other data if necessary) to backup by ℵ are written in a
new PC10G module.
8) Time is set.
5-11
5.1.7. Self-diagnosis items and presumed (possible) causes
Error
code
Error Description Presumed (possible) main causes Counteractions, corrective actions
13 POWER DOWN Drop of 5V power voltage (1) AC input voltage out of the rated (1) Input the rated voltage.
in CPU module range (2) Replace the power module.
(2) Trouble of power module (3) Turn ON the RESET - START switch
(3) Instantaneous interruption of AC or re-switch ON the power.
power
21 PROGRAM Unmatching of program (1) Program memory was rewritten due to (1) Rewrite program
MEMORY SUM area data to sum check affect by external over noise, etc. (2) Replace CPU module.
CHECK ERROR data (2) Trouble of memory element
22 BATTERY VOLTAGE Voltage of lithium battery (1) Lithium battery is dead. (1) Replace the lithium battery.
DROP for memory back-up is (2) Lithium battery is not connected. (2) Connect the lithium battery.
weak.
23 ATTENDANT Unmatching of parameter (1) Program memory was rewritten due to (1) Rewrite parameter
INFOR- MATION area data to check sum affect by external over-noise, etc. (2) Replace CPU module.
SUM CHECK data (2) Trouble of memory element
ERROR
24 UNDEFINED Undefined command was (1) Write-processing was interrupted due (1) Rewrite program
INSTRUCTION detected while sequence to disconnection of the connecting (2) Revise and rewrite program.
program is in run. cable while program is being written (3) Rewrite program.
by the programmer. (4) Replace CPU module.
(2) Undefined command existed in writing
program by CPU Link.
(3) Program memory was rewritten due to
affect by external over-noise, etc.
(4) Trouble of memory element
29 EVENT MONITOR Event monitor data is (1) Event monitor start instruction and (1) Delete the event monitor start
ERROR error. [SYS 400] is used for CPU in which command [SYS400] in the program,
event monitor data is not written. and write the program again to CPU.
(2) Event monitor with improper setting Alternatively, set the event monitor
data is used. setting data properly, and write the
event monitor data to CPU.
(2) Set the event monitor setting data
properly, and write the event monitor
data to CPU.
5-12
Error
code
Error Description Presumed (possible) main causes Counteractions, corrective actions
31 SCAN TIME Sequence program (1) Scan time timer value of parameter is (1) Set an appropriate scan time timer
OVER execution time has inappropriate. value.
exceeded the scan time (2) Sequence program processing time is (2) Correct the sequence program.
timer value set by excessive. (3) Correct the sequence program.
parameter. (3) Limitless loop structure is found in the
middle of sequence program.
32 SYSTEM RAM Data written in system (1) The system RAM was written due to (1) Turn ON the RESET-START switch or
ERROR RAM cannot be read affect by external over-noise, etc. reswitch ON the power.
properly. (2) Trouble of CPU module. (2) Replace CPU module.
35 SYSTEM CPU Abnormally long (1) Overrun of System Control Processor (1) Turn ON the RESET - START switch
ERROR processing time in due to affect by external over-noise, or re-switch ON the power.
System Control etc. (2) Replace CPU module.
Processor (2) Trouble of CPU module
36 WORD CPU ERROR Abnormally long (1) Overrun of System Control Processor (1) Turn ON the RESET - START switch
processing time in Word due to affect by external over-noise, or re-switch ON the power.
Processor etc. (2) Replace CPU module.
(2) Trouble of CPU module
39 SYSTEM "Factor-unknown (1) External over-noise was input. (1) Turn ON the RESET - START switch
INTERRUPTION interrupt" was input in the (2) Improper installation of CPU module or reswitch ON the power.
ERROR system control processor. (2) Exactly install CPU module.
3C I/O PORT ERROR Improper I/O port data in (1) Trouble of CPU module (1) Replace CPU module.
the system control
processor
5-13
Error
code
Error Description Presumed (possible) main causes Counteractions, corrective actions
5-14
Error
code
Error Description Presumed (possible) main causes Counteractions, corrective actions
47 I/O POWER Drop of 5V power voltage (1) AC input voltage out of rated voltage (1) Input the rated voltage.
SUPPLY POWER at additional I/O Rack range was input in the power module. (2) Keep the setup sum of power
DOWN side. (2) Over-current consumption of I/O consumption of I/O module on the
module installed on the base base within the rated output current
(3) Trouble of power module in additional range.
I/O rack unit (3) Replace power module.
(4) Additional I/O rack power is not (4) Unify the CPU power source and I/O
switched ON despite that the power of power source to same line.
CPU rack unit is switched. (5) Turn ON the RESET-START switch or
(5) Instantaneous interruption of AC input reswitch ON the power.
power was detected at additional I/O (6) Install a power module on additional
Rack side only. I/O Rack side and wire 5V cable.
(6) Power module is not installed on
additional I/O Rack side and, in
addition, 5V cable not wired.
48 I/O TABLE The actual-install (1) Parameter mis-setup (1) Set parameter correctly.
VERIFYING ERROR condition of I/O module (2) Faulty mounting of CPU or selector or (2) Exactly mount the module.
4A differs that set up as I/O module (3) Mount proper I/O module.
parameter. (3) Wrong I/O module mounted. (4) Set rack No. correctly.
(4) Rack No. of selector module was (5) Exactly wire I/O cable.
mis-set.
(5) I/O cable wired improperly.
49 I/O ADDRESS Setup I/O address (1) Allocated I/O address exceeds "1FF". (1) Change I/O address allocation.
SETUP ERROR exceeds the specified (2) Trouble of I/O ADDRESS selector SW (2) Replace the selector module.
value. on selector module.
4B I/O MODULE Error occurred on the (1) Fuse blown in Output module. (1) Replace fuse.
ALARM output module or (2) Trouble occurred on the high-function (2) Refer to the instruction manual of
high-function unit (such module. each module and reset the fault
as high speed counter)
which occupies I/O
address,
5-15
Error
code
Error Description Presumed (possible) main causes Counteractions, corrective actions
71 APPLICATION Operand value of applied (1) Operand value of applied command (1) Revise sequence program.
INSTRUCTION command and operation and operation result are out of the (2) Revise sequence program or data.
ERROR 1 result are out of the respective specified ranges.
respective specified (2) Different form of operation data (BCD,
ranges. BIN)
72 USER PROGRAM Stack area for sequence (1) User program calls itself within (1) Revise sequence program.
STACK-OVER program is short. (Stack subroutine.
for sub- routine and
interrupt)
73 END INSTRUCTION No END command was (1) No END command in sequence (1) Add END command.
NOT EXECUTED executed while START program (2) Unify START commands into one
command is executed (2) Two or more START commands are command.
twice. contained in sequence program. (3) Revise sequence program.
(3) Program is such a structure as jumps
END command.
5-16
Error
code
Error Description Presumed (possible) main causes Counteractions, corrective actions
74 START END command was (1) No START command is contained in (1) Add START command.
INSTRUCTION NOT executed without sequence program. (2) Revise sequence program.
EXECUTED executing START (2) Program is such a structure as jumps
command. START command.
75 MASTER CONTROL How to use MC command (1) Nesting of master control exceeds 16 (1) Keep the nesting within 16 multiple.
ERROR and MCR command is multiple. (2) Use MC command and MCR
wrong. (2) MC command and MCR command commandin pair.
are not a pair.
76 LABEL TABLE No LABEL command at a (1) JMP command available, but no (1) Revise sequence program.
ERROR selected jump destination LABEL command available at the (2) Revise sequence program.
jump destination.
(2) CALL command available, but no
LABEL command at the jump
destination.
77 PARAMETER Parameter setup value (1) Parameter memory was rewritten due (1) Rewrite parameter.
SETUP- VALUE out of the specified range to affect by external over- noise. (2) Rewrite parameter.
ERROR (2) Data out of the specified range was
written in writing para-meters by CPU
Link.
78 APPLICATION Applied command can not (1) Applied command was executed for (1) Mount special I/O module.
INSTRUCTION be executed normally for the slot wherein applicable special I/O (2) Replace special I/O module.
ERROR 2 special I/O module. module is not mounted.
(2) Trouble of special I/O module
79 FOR-NEXT ERROR FOR - NEXT command or (1) FOR command or FORN command (1) Use FOR command or FORN
how to use FOR- NEXT are available, but no NEXT command command and NEXT command in
are wrong. is available. pair.
(2) NEXT command is available, but (2) Use FOR command or FORN
neither FOR command nor FORN command and NEXT command in
command available. pair.
(3) FOR-NEXT command or nesting of (3) Keep the nesting within 128 multiple.
FOR-NEXT command exceeds 128
multiple.
5-17
Error
code
Error Description Presumed (possible) main causes Counteractions, corrective actions
7A RET ERROR How to use CALL (1) CALL command is available, but (1) Use CALL command and RET
command or RET corresponding RET command not command in pair.
command is wrong. available. (2) Use CALL command and RET
(2) RET command is available, but command in pair.
corresponding CALL command not
available.
7B RETI error The configuration of the (1) The RETI instruction is not found at (1) Add the RETI instruction.
sequence interrupt the end of the sequence interrupt (2) Delete the RETI instruction.
program is wrong. program.
(2) The RETI instruction is used in the
program other than the sequence
interrupt program.
7C LIBRARY CALL How to use FB (Library) is (1) It is not Library-enabled (1) Revise sequence program.
ERROR wrong. (2) Library is already under execution.
(Library was called from inside the
library)
(3) Label Number is outside the scope
(4) Label Life is over
(5) Label Number is not matching
(6) SYS415 is not there
(7) It is not useable program number
(8) It is not useable operation pattern
Error in FB (library) (1) Sequence circuit of FB (library) is
wrong.
7D PRG. END PEND command (1) No END command is contained in (1) Add END command.
EXECUTION executed. sequence program. (2) Add RET or RETI command.
(2) No RET or RETI command is
contained in subroutine.
5-18
Error
code
Error Description Presumed (possible) main causes Counteractions, corrective actions
7F INDEX ERROR Index register cannot (1) Application instruction relating to index (1) Index register was used for timer
be performed normally. was executed or index register was command.
used although index register is not
set.
(2) Out of area: Identifier was crossed
over in offset mode, or the identifier
crossed over a discontinuous address
with the same identifier.
(3) Index resister was used for timer
command
82 SPECIAL MODULE Abnormal value of (1) Faulty mounting of special module (1) Exactly mount special module.
PARAMETER ERROR memory capacity (2) Trouble of special module (2) Replace special module.
parameter in special (3) Trouble of base (3) Replace the base.
module
84 SPECIAL MODULE Error occurred in special (1) Error occurred in special module. (1) Reset ERROR in reference to the
ERROR module. (2) Faulty mounting of CPU or selector individual instruction manual for
module or special module. special module.
(3) The switch setting of special module (2) Exactly mount.
with rack no. selection switch is (3) Set up the rack no. selection switch of
wrong. special module correctly.
85 LINK PARAMETER Error of Link Parameter (1) Error in Link Parameter setup (1) Revise Link parameter.
ERROR
86 LINK Error occurred in (1) Error occurred in communication by (1) Reset ERROR in reference to the
COMMUNICATION communication by link link module. individual instruction manual for each
ERROR module. link module.
88 EXCESSIVE NO. OF The quantity of special (1) The quantity of special modules in use (1) Decrease the quantity of special
SPECIAL MODULES modules exceeds 15. exceeds 15. modules in use.
89 LINK MODULE Error in the first 4 bytes, (1) Error in link module allocation (1) Revise link module allocation
ALLOCATION of link module allocation parameters. parameters.
ERROR parameters.
5-19
Error
code
Error Description Presumed (possible) main causes Counteractions, corrective actions
PROGRAM System memory short (1) Shortage of system memory (1) Write the sequence program again to
A0
OVERFLOW (2) Failure of CPU module CPU. Then, reset and start, or turn on
power again.
(2) Replace the CPU module.
RTC ERROR Abnormality is (1) System program is broken due to (1) Reset and start or re-close power
A3
generated at RTC. excessive noise from outside. source.
(2) Failure of CPU module. (2) Replace CPU module.
SYSTEM PROGRAM (1) System program is broken due to (1) Reset and start or re-close power
A6 Abnormality is generated
ERROR excessive noise from outside. source.
at system program.
(2) Failure of CPU module. (2) Replace CPU module.
SEQUENCE RAM Abnormality is (1) Data in sequence RAM is broken due (1) Reset and start or re-close power
A9
ERROR generated at sequence to excessive noise from outside. source.
RAM. (2) Failure of CPU module. (2) Replace CPU module.
SYSTEM Parameter recovery is (1) Battery is not charged enough. (1) Reset and start or re-close power
AA
PARAMETER ALARM executed. (2) Malfunction is occurred due to source.
excessive noise from outside. (2) Replace CPU module.
(3) Failure of CPU module.
BACK-UP MEMORY Writing error is (1) Malfunction is occurred due to (1) Reset and start or re-close power
AB
WRITE ERROR generated at backup excessive noise from outside. source.
memory. (2) Failure of CPU module. (2) Replace CPU module.
DATA ERROR (1) Battery is not charged enough. (1) Make reset and start or re-close
AD Recovery of sequence
(2) Data is erased due to excessive noise power supply after confirmation of
program and data
from outside recovered data.
memory is executed.
DATA ERROR (1) Confirmation of abnormality is not (1) Confirm data using peripheral
AE Abnormality is not
NON-CHECK implemented. equipment.
confirmed at the time
(2) Turn special relay “V5E” for program 1
abnormality is occurred.
to ON.
CLOCK NON- (1) Set built-in clock at correct time using
AF Built-in clock is not set. (1) Setting operation is not executed.
SETUP peripheral equipment.
(2) Battery is not charged enough.
5-20
5.1.8. Error check flow chart
Check start
Y
POWER
lamp ON
N
Y RUN
Y
Error code 13 Lamp ON
RESET-START
A
N N
Check input power
voltage Y Y
REPAIRED? ERROR
displayed
N
N D
Rated input N
voltage END
Y STOP Y
Commanded while
Keep input voltage with program RUN
in the rated range
N
N N
Rated output
current Y Stopping
operation by LINK
Y
Keep the current
consumption of CPU Replace N
module and all other power module.
modules, which were
installed on the base, Replace CPU
at the rated output Y module
current or less. REPAIRED?
N
END Re-switch ON Search the
START or reason why
POWER after STOP command
Replace CPU module. resetting STOP. was used, and
revise program.
Y
REPAIRED?
N END
5-21
A
Y
ALARM displayed
B
N
N Revise program position of
START/END command
Program position OK? START/END command.
Y
I/OI/Oaddresses
addressesare
are allocated correctly?
correctly? Check
Checkthe
thehead
head
address
addressswitches
switches
of of
PARAMETER
PARAMETER and
and
Selector
Selector
Module.
Module.
N
Head address SW OK?
Revise SW setup.
ERROR OUTPUT N
Lamp and monitor result by Replace OUTPUT
peripheral device match with module
one another
ERROR OUTPUT Y
Lamp and above judge match
with one another N
OUTPUT lamp ON?
N
Y
Monitor whether the input conditions are met,
from applicable electric circuit diagram. N External devices ON when
output terminal and COM
are short-circuited?
External devices turns ON
Y Specific when cables are disconnected
Y
conditions met? Y from output terminal?
N
N
Faulty Replace Faulty
external OUTPUT external
E F device module device
5-22
E F
N Y
Program OK? Matching
Y N
Replace OUTPUT Revise Replace INPUT Faulty
Revise
module program module external
program
device.
Y Y
REPAIRED? REPAIRED?
N N
END END
Replace SELECTOR
Check affect by double output. module
Y
Y REPAIRED?
Affected
N Revise N
program END
Y N Replace
REPAIRED? CPU
module
END
5-23
B
Y
Error code AD
Y
Error code 22 N
AD
N Y
22 Error code AA
Y N
Error code 31 AA
N Y
31 Error code AE
Y N
Error code 48 AE
N Y
48 Error code AF
Y N
Error code 71 AF
N
71 Replace CPU
Y module.
Error code 78
N
78
Y
Error code 85
N
85
Y
Error code 86
N
86
Y
Error code 89
N
89
Y
Error code A3
N
A3
5-24
D G
Y Y
Error code 21 Error code 43
N N
21 43
Y Y
Error code 23 Error code 44
N N
23 44
Y Y
Error code 24 Error code 45
N N
24 45
Y Y
Error code 31 Error code 46
N N
31 46
Y
Y Error code 47
Error code 32
N
N 47
32
Y
Y Error code 48
Error code 35
N
N 48
35 Y
Error code 49
Y
Error code 39 N
49
N
39 Y
Error code 4B
Y
Error code 3C
N
N 4B
3C
Y
Y Error code 71
Error code 41
N
N 71
41
Y Error code 72
Error code 42
N N
42 72
G H
5-25
H I
Y Y
Error code 73 Error code 7F
N N
73 7F
Y Y
Error code 74 Error code 82
N N
74 82
Y Y
Error code 75 Error code 84
N N
75 84
Y Y
Error code 76 Error code 88
N N
76 88
Y Y
Error code 77 Error code A0
N N
77 A0
Y Y
Error code 78 Error code A6
N N
78 A6
Y
Error code 79 Y
Error code A9
N
79 N
A9
Y Y
Error code 7A Error code AB
N N
7A AB
Y Y
Error code 7B Error code AD
N N
7B AD
Y
Error code 7D
N Replace CPU
7D
module.
N 1. Faulty selector
module
REPAIRED?
2. Faulty base
Y
3. Replace each
I faulty I/O cable
END
5-26
21 Program memory 24 Undefined
sum check error instruction
N Program is
rewritten. *1 Parameter
N
rewritten?
Y
RESET · START Y
RESET · START
N
REPAIRED?
N
REPAIRED?
Y
Y
End
End
Write correct
program by Write correct
peripheral parameter by
device. peripheral device.
RESET · START
RESET · START
Y REPAIRED? Y
REPAIRED?
End N
End
N
Replace CPU
module. Replace CPU
module.
5-27
RTC error A3 32 System RAM error*
Y This error
frequent ?
N 22
RESET · START Y
Is the connection
of a battery good?
Y N
REPAIRED?
N Connect a
END lithium battery.
N Y
CPU, selector
module, I/O module and I/O cable REPAIRED?
installed
N
Y
Install them Replace a
exactly. lithium battery.
Replace CPU
module.
Y
REPAIRED?
Y
REPAIRED?
N END
N END
Replace CPU
module.
1. Faulty selector module
2. Faulty base
3. Faulty I/O cable
4. Faulty I/O module
5. Faulty link module
6. Faulty power module.
* Against error codes 35, 32, re-switch ON the POWER.
5-28
41 46
I/O address
I/O rack F used overlap
Replace CPU
module. Y
REPAIRED?
N END
Y
REPAIRED?
N Replace CPU
END module.
Replace selector
module. Y
REPAIRED?
N
Y END
REPAIRED?
N Replace selector
END module.
Replace I/O
cable. Y
REPAIRED?
N
Y END
REPAIRED?
N Replace I/O
END cable.
N
END
*1 Possible to know Rack No. from
error-related information.
Replace the base.
5-29
45
I/O rack No. overlap
N
Is rack No. overlapped?
REPAIRED?
Y
N
End
Replace CPU
module.
REPAIRED?
Y
N
End
Replace selector
modules
REPAIRED? Y
N
End
REPAIRED? Y
N
End
5-30
47 I/O power supply power down Note; When two or more additional
I/O racks are used, check the rack
wherein selector module POWER
LED is OFF.
Additional Y
I/O Rack power module
exists?
CPU rack power Y
N module is switched ON earlier than
additional I/O rack power
5V.0V module.
Y
N Unify CPU rack power module
wired properly?
and additional I/O rack power
RESET · START into same line.
N
Y
REPAIRED?
Exactly wire 5V and 0V
cables. N
END
Check the input power voltage in
power module at additional I/O
Y rack side.
REPAIRED?
N Rated input
N
END voltage
Y N END
Rated output
current
Replace selector module.
N
Y
REPAIRED?
N END
Replace I/O cable.
REPAIRED?
Y
N END
Replace the base.
5-31
48 I/O table verifying error Possible to know Rack No. and Slot
No. which resulted in error, from the
error related information.
Read out the parameters of I/O
module types by peripheral device.
Actual-install Y
condition different from setup
parameter
N END
Replace CPU module.
Y
REPAIRED?
N
END
Replace selector module.
Y
Y
REPAIRED?
N END
Replace I/O cable.
Y
REPAIRED?
N END
Replace the base.
5-32
43 I/O module error 42 I/O module
parameter error
4B I/O module alarm
Check which module is error, from
the error-related information.
I/O Y
Module installed
Check which module is error, from imperfectly?
the error-related in- formation or I/O
N Install I/O
module "ALM" lamps.
module
exactly.
Error N Foreign
module is OUTPUT materials included in the I/O Y
module? module to base connecting
connector.
Y
Y N Remove foreign
Fuse blown matter.
Replace I/O
N Error
Y module.
module is OUTPUT
Replace the module?
fuse. Y
N REPAIRED?
N N
END Error finding Y
REPAIRED?
Y
Replace CPU N
module. END
Replace I/O
Y cable.
REPAIRED?
END N
Replace I/O
cable.
5-33
44 I/O address bus parity error 31 Scan time over
Y
This error frequent ? Read out scan time timer
value parameter by
Y peripheral device.
RESET · START
Y
REPAIRED?
N Too small
scan timer value
N END
Y
Check which rack is error, from the error-related
information or selector module "ERR" lamps. Revise scan time timer
value.
Y I/O cable Y
is exactly connected to REPAIRED?
applicable rack?
N
N END
Y
REPAIRED?
Y
N Program is in loop.
END
N
N
END
Replace the selector module
in applicable rack. Replace CPU Revise
module. program.
Y
REPAIRED?
N
END
Replace applicable
rack base.
Y
REPAIRED?
N
END
Replace CPU
module.
5-34
71 Application instruction error 1
Y
PC 10 mode?
(Hexa-
decimal)
(Decimal)
(Step No. is decimal.)
(Decimal)
(Step No. is decimal.)
5-35
72 User program AD Data error
stack-over
AE No check data error
Read out sequence program
by peripheral device.
Confirm
restoration data.
N Y
Subroutine in use
OK
Y N
Modify data.
N User program
calls itself within
subroutine.
Y Turn on “V5E”.
Revise the
program.
RESET-START
Y
REPAIRED?
END
N
END
Replace CPU
module.
END
5-36
START instruction
73 END instruction not executed 74 not executed
N No N No
END command START command
Y Y
Y Y
REPAIRED? REPAIRED?
N N
END END
N Two or N Program
more START commands Structure such as jumps START
exist. command.
Y Y
Y Y
REPAIRED? REPAIRED?
N N
END END
Revise the
program.
Y
REPAIRED?
N
END
Replace CPU
module.
5-37
75 78 Application instruction error 2
Master control error
Possible to know applicable
applied command which
resulted in error, from the
Read out sequence program by error-related information.
peripheral device.
N Special module
corresponding applied command
not available.
N The nesting
of master control exceeds Y
16 multiple.
*1 Install applicable special
Y
module.
Keep the nesting
within 16 multiple. Y
REPAIRED?
Y N
REPAIRED?
END
N Error
END N
exists in applied command
operand and data.
N MC command
and MCR command are Y
not in pair.
*1 Replace applicable
Y
special module.
Revise the program so that
MC command and MCR
command become a pair. Error exists in applied
command operand and
data. Correct them.
Y
Replace CPU
module. REPAIRED?
N END
Y
REPAIRED?
N END
Y
REPAIRED?
N END
5-38
79 FOR-NEXT error 7A RET error
N FOR command
N CALL
or FORN command and NEXT command and RET command
command are not in pair. not in pair.
*1 *1
Y Y
Correct the program so that FOR Correct the program so that CALL
command or FORN command and command and RET command
NEXT command become a pair. become a pair.
Y Y
REPAIRED? REPAIRED?
N N
END END
The nesting
N of FOR-NEXT or FORN-NEXT Replace CPU
exceeds 128 multiple module.
*1
Y
Y
REPAIRED?
N
END
Replace CPU
module.
5-39
7B RETI error
Y Is there a RETI
instruction at the end of
interrupt program?
*1
N
Add a RETI
instruction.
Y
REPAIRED?
N
End
N Is there a RETI
instruction anywhere other than
at the end of interrupt
program?
*1
Y
Y
REPAIRED?
N
End
Replace CPU
module.
5-40
7D PRG. END execution 76 Label Table error
N N LABEL
command corresponding to
No END command JMP command not
available.
*1
Y Y
Y
REPAIRED?
Y
REPAIRED?
N
END
N
END
N Program
structure such as jumps LABEL
END command
N
command corresponding to
CALL command not
Y available
*1
Y
Correct the
program. Correct the program so that CALL
command and LABEL command
correspond to one another.
Y
REPAIRED?
N Y
END REPAIRED?
N
END
N No RET
command exists in
subroutine. Rewrite program and
parameter.
Y
Add RET Y
command. REPAIRED?
N
Y END
REPAIRED?
N Replace CPU
END
module.
Replace CPU
module.
*1 see the error-related information.
5-41
77 Parameter setup-value error 49 I/O address setup error
N Parameter I/O Y
value out of the specified address allocation
range exceeds "1FF".
Y N
Y Y
REPAIRED? REPAIRED?
N N
END END
Replace CPU
Replace CPU module.
module.
Y
REPAIRED?
N
END
Y
REPAIRED?
N
END
5-42
Excessive No. of
88
special modules
N The quantity
of special modules in use
exceeds 24 modules.
Y
REPAIRED?
N
END
Replace CPU
module.
Y
REPAIRED?
N
END
Replace selector
module.
Y
REPAIRED?
N END
5-43
82 Special module parameter error 84 Special module error
Check which module is error, from Check which module is error, from
the error-related information. the error- related information or
special module ERROR
Y
Y Reset ERROR, in
Install special module Error exists.
reference to the instruction
exactly. manual for applicable
N module.
Y
REPAIRED? Check the respective installed condition of
CPU module, selector modules, I/O
N modules, special modules, and I/O
END cables.
Y
N Foreign matter Error exists. Install exactly.
is included in connector which
connects special module N
to the base.
Y
Replace CPU
module.
Remove foreign
matter.
Y
REPAIRED?
Y N
REPAIRED? END
Replace selector
N END modules in sequence.
Replace special Y
REPAIRED?
module.
N
END
N
REPAIRED? Replace the base.
Y
END REPAIRED?
N
END
Replace I/O cables
in sequence.
5-44
85 Link parameter error 89 Link module allocation error
Reset ERROR, in
reference to the individual Y Is this error
instruction manual for frequently occurred?
applicable link module.
N
Reset · start
Y
REPAIRED?
N
Replace battery. END
Y Is battery charged
Y
REPAIRED? adequately?
N N
END
Charge battery.
Replace CPU
module.
Y
REPAIRED?
N
END
5-45
29 Event monitor error
7C Library call error
5-46
7F
Index error
Y
PC10 mode?
(Hexa-
decimal)
(Decimal)
(Decimal) (Step No. is decimal.)
(Step No. is decimal.)
A0 Program over
5-47
5.1.9. I/O module trouble analysis
This paragraph describes trouble items in input circuits and output circuits, and the method of corrective
actions to be taken against them.
EX.) (LS1) (LS2) Y020
X000 X001
(1) How to search error content
Y020
When the output load of OUTPUT module fails to turn ON ;
OUTPUT N
module "RUN" LED is
lighting?
Y ON Output
Status monitor ON?
Y
Fuse is blown? OFF
Replace OUTPUT
N INPUT N
module fuse. Module "RUN" LED is
The external N lighting?
supply power of OUTPUT
What V is the
Fuse blown even module is
Y voltage between INPUT
OV
connected?
after replacement. module and COM
Y terminal?
Connect the external
Check input
supply power line.
signal for OFF
Check rush current
when loads turns ON Faulty INPUT
simultaneously under Power N module.
maximum condition. voltage for loads is
applied?
Check the
I/O address N
N Y power wiring allocation parameter
Rush current
is within the specification for loads correct?
range of OUTPUT and reset the
module? power line. Y
Y Correct the
parameter.
Check and reset the Power voltage OV
for loads is applied?
wiring to each load
and load itself.
Supply power
voltage voltage for
Change output load
relay No. and keep Check and reset
the simultaneous Faulty OUTPUT Check and reset
ON current of loads the wiring to loads Please contact external wirings and
module. and each load us. external input
under maximum devices.
condition at the Replace it. itself.
specified current
and less.
<Note 1> Against fuse blown in OUTPUT Module, CPU outputs error code "43".
<Note 2> "RUN" LED is lit by internal circuit after insulated by photo coupler. Therefore, it does not light even when
voltage is applied thereto from an external input terminal, unless DC5V power voltage is applied thereto.
5-48
(2) Input circuit troubles and corrective actions
AC input
* Bleed resistor Module
~
5-49
* On previous page: How to decide bleed resistance
Input device
Assuming input device current at OFF to be I,
IN terminal-COMMON voltage at this time is determined
as follows;
Current I
COM V = I x 3.4 [kΩ] (Input resistance).
The input device does not turn OFF unless this V
value meets OFF voltage 7.2 [V] and below.
For that, connect a bleed resistor to there by reduce
input impedance.
IN
I = Leak current of device [mA]
COM R = bleeder resistance value [kΩ]
W = W-number of bleeder resistor [W]
Bleeder resistance value is OK if it is such a value that terminal-COMMON voltage V comes to 7.2[V]
or less.
3.4 x R
From [kΩ] × I ≤ 7.2 [V]
3.4 + R
24.5
R≤ [kΩ]
3.4 x I - 7.2
(24 [V])2
From W≥ x 2 (margin)
R (kΩ)
1.15
W≥ [W]
R
EX.) At leak current 5 [mA].
24.5
From R≤
3.4 x I - 7.2
R ≤ 2.5 [kΩ]
1.15
From W≥ [W]
R
W ≥ 0.48 [W]
W-number comes to
1
W= [W]
2
5-50
(3)Output circuit troubles and corrective actions
EX.3 Output Voltage was compulsorily applied to Avoid how to check as described left.
Transistor a load from another power source Even when E1 input voltage is turned
Breaks down. to check the wiring of output signal OFF, current flows a diagrammed left
Transistor cables. though depending on power source.
output
module Another power source
+ E2
Load
+
E1
5-51
5.2. Error report from COMPUTER-LINK
This module counteracts by non-response or error response when being unable to response
normally to command from host COMPUTER.
(1) Non-response
In the following case this module does not send response respond.
•When start code "::" cannot detect in received data.
•When command code "?" cannot detect in received data.
•When end code "CR" cannot detect in received data.
•When station No. is different from own station No.
•When response time(RI) cannot detect correctly.
Different communication data type of host Select proper communication data type of host
2
COMPUTER. COMPUTER.
Station number setting of built-in Adjust the station number setting of built-in
3 computer link is different from station computer link, or correct the channel number
number of host COMPUTER. designation in host COMPUTER command.
5-52
5.2.2. Case of error response
Communication data break by noise, etc. Check that communication cable is exactly
2
connected or the cable and strong power
cable are not close to one another.
5-53
(7) Error Code 13
5-54
(12) Error Code 32
Scanning Stop command (STOP) is output Execute “STA” command after having reset
2
from peripheral equipment such as Scanning Stop command (STOP) from
program, etc. peripheral equipment.
5-55
(18) Error Code 3C
(1) The format of response from this module to host COMPUTER is not proper.
(2) Host COMPUTER receives, as is, data that sent as command to station.
5-56
5.3. Error report from PC-LINK
When detecting an abnormality in PC-LINK, inform CPU of the abnormality. CPU not only displays an
error message but also sets a special relay, a register for outputting CPU error information, and a
special register for a link error information.
Address Content
Note) The addresses of the above special relay are those in PC2 compatibility mode and PC3/PC10
mode (data memory split mode). (Please refer to “8.5.”.)
5-57
(2) Link error code
Link error code is stored in the CPU special register.
CPU The address of The content of
Abnorm
(link) CPU special the address
The error content Corrective action ality
error register to store stated in the left
lank
code error information column.
A code indicating the link No. of PC link that occurred an error is put into x in the table.
Code table for links No
Link no. 1 2 3 4 5 6 7 8
X (link No. code) 1 3 5 7 9 B D F
Note 1) * indicates the Slave-station No.
5-58
CPU The address of
The content of the Abnorm
(link) CPU special
address stated in the left The error content Corrective action ality
error register to store
column. lank
code error information
S3x0 10*1
S3x1 00D7
The address of the
(L) Slave-station(62∼70)
S3x2 The received data
(H) (the byte number from the
master to the sub) In * station of the Slave-station
The received data the number of input-output bytes Check the content
86
(the byte number from the is different from that of the master of the link Alarm
(*1)
(L) sub to the master) station. (master and parameter.
S3x3 The data set in the local Slave-station)
(H) station (the byte number
from the sub to the
master)
The received data
S3x4 (L) (the byte number from the
sub to the master)
S3x0 10*2 Response from * station from the Check the content
86 S3x1 00D9 Slave-station that is not set up in of the link
Alarm
(*2) S3x2 (L) The address of the the connective sequence. parameter of the
Slave-station(62∼70) (master station) Slave-station.
S3x0 10*9
S3x1 00D4 The connective sequence was
(L) Select a communication not carried out with * station of
the Slave-station. Check the content
S3x2 flag (1-7 stations)
of the link
(H) Select a communication
parameter of the
86 flag (8-15 stations) When multiple stations were set master station. Alarm
(*9) Completion flag of the in one Slave-station, a normal The normal
(L) connective sequence sequence started though there sequence doesn’t
S3x3 (1-7 stations) were some stations where the start even
(H) Completion flag of the connective sequence had not
connective sequence been completed. (Slave-station)
(8-15 stations)
S3x0 1008 10 minutes after the completion of Check an error
86
S3x1 00D5 the normal sequence. code of the master Alarm
(08)
(Slave-station) station.
S3x0 10*4 (the normal sequence error with *
86 S3x1 00E8 station of the Slave-station)
(*4) S3x2 (L) Slave station address Vertical parity exists in the
(62∼70) received data. (master station)
S3x0 10*4 (the normal sequence error with *
S3x1 00E1 station of the Slave-station)
86
S3x2 (L) Negative response from * station
(*4) Slave station address
of the Slave-station (master
(62∼70) station) Check shear in
S3x0 10*4 to* of sub station Alarm
(the normal sequence error with *
S3x1 00E2 station of the Slave-station)
86
(L) Except address data Receive the address data that
(*4)
S3x2 (62∼70) was contrary to the expectation.
(H) Receive address (master station)
S3x0 10*4 (the normal sequence error with *
86 S3x1 00E3 station of the Slave-station)
(*4) S3x2 (L) Slave station address No response from * station of the
(62∼70) Slave-station (master station)
A code indicating the link No. of PC link that occurred an error is put into x in the table.
Code table for links No.
Link no. 1 2 3 4 5 6 7 8
X (link No. Code) 1 3 5 7 9 B D F
Note 1) * indicates the Slave-station No.
5-59
CPU The address of The content of
Abnor
(link) CPU special the address
The error content Corrective action mality
error register to store stated in the left
lank
code error information column.
S3x0 10*4 (the normal sequence error with *
86 S3x1 00E7 station of the Slave-station) Parity error
(*4) exists in the horizontal parity received
S3x2 Slave station from * station of the Slave-station.
address(62∼70) Check whether wires
(Master station)
are securely connected
S3x0 10*4 (the normal sequence error with * Alarm
in * station of the
S3x1 00E6 station of the Slave-station) Slave-station.
86
(*4) S3x2 No data of the horizontal parity sent
Slave station from * station of the Slave-station
address(62∼70) (master station)
86 S3x0 1007 No data of the normal sequence was
Check the error code of
(07) S3x1 00E4 sent from the master station. (Slave Alarm
the master station.
sequence)
Check and modify the
89 Setting error of lack No., slot No. and
content of the link Alarm
link module name of the link parameter
parameter.
Supply power again or
turn on a reset start
Abnormality of the module hardware. switch of CPU,
84 Alarm
Interface abnormality with CPU module. however, if an
abnormality still occurs,
replace the link module.
A code indicating the link No. of PC link that occurred an error is put into x in the table.
69 The Slave-station 8
5-60
(3) Special register for link error information output.
The link error code is composed of 8 step shift register and is able to store up to 8 times.
When exceeding 8 times, it is deleted from old data.
Note) Code for link No. of PC link that caused an error is put in x.
5-61
5.3.2. Error check flow chart for PC-LINK
Start
Does abnormality
Doesn’t occur
occur?
Occur
A
S3x0
=10*0 =10*1 =10*2 =10*9 =1008 =10*4 =1007
=1001 B C D E F G H
S3x0
Set the link parameter code Specify the master (1)Link area
in BCD again to get the and Slave-stations (2)Check whether the link points
right one. again. (byte number) is right or not.
A code indicating the link No. of PC-link that occurred an error is put into x.
Link no. 1 2 3 4 5 6 7 8
x(link No. code) 1 3 5 7 9 B D F
5-62
A B
N
End Abnormality N
occurs
7 S3DC
8 S3FC End
5-63
C E
(1) Is the link parameter of the master station right? → Set the link parameter of the master
station again to get the right one.
(2) Is the Slave-station number right? → Set the Slave-station number again to
get the right one.
Y
Repaired?
N
End
Exchange modules
End
5-64
F H
Y
Repaired?
N
End
Replace modules
End
5-65
5.4. Error Codes Used by the FL-net
If the FL-net module finds an error, it indicates a two-digit error code on the LED display at the front and
warns the CPU module of the error.
The CPU module sets special relays, error information output registers, and link error information output
registers according to the content of the error.
If the FL-net module finds an error, it informs CPU of abnormality that abnormality is detected and
stores a detailed code of abnormality since S3x0. When the communication cannot be normally
performed, check for error code. Refer to “5.4.2.2.(2) Special Registers (4) Link error Information
Output Resisters
Error
Content of error Cause and remedy
code
Preset link parameters if not preset. If all link parameters have been
preset, rack No. or slot No. as link parameter may not correspond
with the actual position.
5-66
Token monitor time-out occurs when all data cannot be transmitted
from your module within the token monitor time-out time specified as
link parameter on 'Network' window.
Check 'Auto' for token monitor time-out time or increase the preset
value.
This error occurs when a link area out of the data register area in
the CPU module is specified.
Data register area For example, the PC2J-CPU has data registers at D0000 to D0FFF
Ed
overflow and, if a link area out of this area is specified, error code Ed
appears.
Check the link area address.
Upon power-up or reset/start-up, the FL-net module automatically
checks that data can be normally transmitted and received. This
error code appears if the module fails in the test.
In this case, the test is automatically repeated until successfully
completed.
Communication starts after acceptable test results are obtained.
Check the following items in accordance with 2.4.5' Wiring of
FL-net/Ethernet/FL-remote controller '
(1) Is the LAN cable connector firmly connected to the module?
(2) Is the LAN cable connector firmly connected to the HUB?
(3) Any cut wire or short circuit in the LAN cable?
Is the transceiver cable connector firmly connected to HUB
and locked with fitting?
(4) Is the transceiver cable connector firmly connected to HUB and
-- locked with fitting?
-- Failure in loop back test (5) When it is being used carrying out stack of HUB, in the
-- connection between HUB(s) correct?
(6) Is the transceiver cable connector firmly connected to the
transceiver and locked with fitting?
(7) Any cut wire or short circuit in transceiver cable?
Is there any problem in connection between transceiver and
backbone cable.
(8) Is there any problem in connection between transceiver and
backbone cable.
(9) Is terminator connected to the both ends of the backbone
cable?
(10)Any cut wire or short circuit in backbone cable?
If this error occurs with all FL-net modules on the network, (9)
or (10) is suspected to be a cause.
5-67
This is displayed when no participating node is found in the network.
Check the following items:
(1) Whether the power for HUB is turned off or not.
(2) Whether the power for another node is off or not.
-- Waiting to receive
(3) Whether the connector of LAN cable is securely attached to the
module.
(4) Whether the connector of LAN cable is securely attached to
HUB.Whether LAN cable is broken or shorted.
5-68
5.4.2. Error Messages Used by the CPU Module
Address Content
5-69
5.4.2.2. Special Registers
S200
| CPU error information output registers (Note)
S24F
Participation of nodes in FL-net network communication
S3*0
Indicates the communication status of each node (1 =
|
participating or 0 = not participating).
S3*F
See 9.7.8 'Monitor Function.'
S3x0
| Link error information output registers
S3xB
“*” and “x” in the above addresses are determined by the link No. as shown in the following
table.
Link No. 1 2 3 4 5 6 7 8
* 0 2 4 6 8 A C E
X 1 3 5 7 9 B D F
Example) If the link No. is 1, for example, the communication status of each node is recorded
at S300 to S30F and the link error information at S310 to S31B.
Note: The information recorded at a special register S200 to S24F and S3x0 to S3xB is not
cleared after error recovery.
If it is to be cleared, enter '0000' at the register using PCwin or such.
Address of special register above is applicable to PC2 compatible mode and PC3 mode
(data area dividing mode).
Error information saved in S200- is also stored in S1000- for Ver.3.00 and thereafter.
5-70
(1) CPU Error Information Output Registers
When an error is detected, an error code, error related information, and error detection time are
recorded at registers specially designed for recording error information. Up to 8 errors are
recorded at these 8-level (in the case of PC10 mode, 64-level) shift registers. As the 9th and
subsequent errors occur, error records are deleted from the oldest one.
The error information recorded at these registers can be loaded with peripheral equipment or
such.
* * 2: Detected at CPU
I/O MODULE Rack
84 Failure of I/O module Classifi- Slot No. - 1 and 3: Detected at
ERROR 2 No.
cation link
A communication
86 LINK ERROR Link No. - - -
error
A wrong rack No., slot
FUNC. I/O Rack
89 No. or module name Slot No. - - VF2 ON
ALARM No.
as link parameter
Error information saved in S200- is also stored in S1000- for Ver.3.00 and thereafter.
(See the item 5.1.4 Error information output special register.)
5-71
(2) Link Error Information Output Registers
If the FL-net module finds an error, it warns the CPU module of the error. The CPU module
records content of the error at link error information output registers. Up to 8 errors can be
recorded at these 8-level (in the case of PC10 mode, 64-level) shift registers. As the 9th and
subsequent errors occur, error records are deleted from the oldest one.
The error information recorded at these registers can be loaded with peripheral equipment or such.
Error Indication
Link No. Address MSB Content LSB
Address
Node No. of your module
1 S310 - S31F S3x0 (hex) Error code (hex) *1
2 S330 - S33F S3x1 Link parameter error code (hex) *2
3 S350 - S35F S3x2 Fixed to 0000
4 S370 - S37F S3x3 Fixed to 0000
5 S390 - S39F S3x4 Software version (BCD) *3
6 S3B0 - S3BF S3x5 Node No. and error code stack 1 Latest
7 S3D0 - S3DF S3x6 Node No. and error code stack 2
S3x7 Node No. and error code stack 3
8 S3F0 - S3FF S3x8 Node No. and error code stack 4
S3x9 Node No. and error code stack 5
S3xA Node No. and error code stack 6
S3xB Node No. and error code stack 7 Oldest
.
.
.
S3xF Own node number
*1: The same with the error codes indicated at the front of the module.
*2: For link parameter errors only (error code = E6). Fixed to 0000 for other errors.
*3: 0123(BCD) for version 1.23.
5-72
Link Parameter Error Codes
If a link parameter has been set to a wrong value, E6 appears on the LED display at the front of the
module with error code E6 recorded at link error information output register S3x0 and a link
parameter error code at S3x1.
Check link parameters in accordance with the following table.
Before checking link parameters, load them from the CPU module to the peripheral equipment.
Parameters in the peripheral equipment may not coincide with those in the CPU module.
If parameters are set with the peripheral equipment such as PCwin, preset values are checked by
the peripheral equipment and wrong ones are rejected. If a link parameter error still occurs, link
parameters in the CPU module may have been modified by a computer link command except for
0024 (a switch setting error).
Error code Communi-
at S3x1 Content of error Cause(s) cation
(hex) method
0001 A wrong relay link area top address • Relay link area top address is not specified by word.
0002 A wrong register link area top address • Register link area top address is not specified by word.
0003 A wrong relay link transmission area top • Relay link transmission area top address is wrong.
address • Number of relay link transmission area words is wrong.
• Relay link transmission area top address is not specified by word.
0004 A wrong register link transmission area top • Register link transmission area top address is wrong.
address • Number of register link transmission area words is wrong.
• Register link transmission area top address is not specified by N:N
word.
0005 Relay link area overflow • Number of relay link area words is wrong.
• Relay link area top address and number of words are wrong.
• Relay link area top and transmission area top IDs are inconsistent.
0006 Register link area overflow • Number of register link area words is wrong.
• Register link area top address and number of words are wrong.
• Register link area top and transmission area top IDs are
inconsistent.
0010 A wrong relay link reception area top • Relay link area top address is not specified by word.
address
0011 A wrong resister link reception area top • Register link area top address is not specified by word.
address
0012 Relay link area overflow For relay link parameter settings:
• Number of reception words is wrong.
• Number of transmission area words is wrong.
• Reception area top address and number of transmission/reception
words are wrong.
• Common memory address is wrong.
0013 Register link area overflow For register link parameter settings:
• Number of reception words is wrong. 1:N
• Number of transmission area words is wrong.
• Reception area top address and number of transmission/reception
words are wrong.
• Common memory address is wrong.
0014 A wrong relay link transmission common • Common memory address in relay link transmission area is wrong.
memory address
0015 A wrong register link transmission common • Common memory address in register link transmission area is
memory address wrong.
0016 A wrong node No. for master station • Master station node No. is smaller than 1 or larger than 254.
• Master station node No. is the same with node No. of your
module.
0020 A wrong network address • Network address is 0.0.0 or 255.255.255.
0021 X/Y area overlap • X/Y area used by actual I/O and link area are overlapped.
0022 Communication method not defined • Communication method is neither N:N nor 1:N.
0023 A wrong node No. for your module • Node No. of your module is smaller than 1 or larger than 254. Common
0024 A switch setting error • Switch settings are wrong. to N:N
0025 A wrong link parameter sub-code • Link parameter sub-code is wrong. and 1:N
0026 A wrong token monitor time-out • Token monitor time-out time is set to a value less than 10 ms.
0027 A wrong minimum permissible frame interval • Minimum permissible frame interval is not between 1 ms and 5
ms.
Note 1) “x” is determined by the link No.
Link No. 1 2 3 4 5 6 7 8
x 1 3 5 7 9 B D F
5-73
5.5. Warning by the Ethernet
(1) Hardware errors………… Failures of the Ethernet module or communication errors with the
CPU module
Error code 84 (a special module error) occurs on the CPU module.
See 5.5.2 'Hardware Errors.'
(2) Link parameter error …… The link module name as link parameter has been set to a wrong
value on the CPU module. Error code 89 (a link module
assignment error) appears on the CPU module.
Note: This error is only related with the link module name. If any
setting written from the Link Module Setup window or with an
SPW command of the sequence program is wrong, a
communication error of (3) occurs.
(3) Communication errors……A wrong I/O parameter setting or a failure of the sequence program.
If an I/O parameter has been set to a wrong value, error code 86 (a
communication error) appears on the CPU module and detail data
recorded at address S3x0 and subsequent.
(x is determined by the link No. of the Ethernet module.)
See section 5.5.4 'Communication Errors.'
5-74
(5) Line errors……………… If the line does not become available before the power-up or
reset/start-up, this error occurs.
In this case, the following causes are suspected.
(1) The I/O cable has been disconnected or poorly connected.
(2) The device connected with the I/O cable (hub or computer)
has not been started.
(3) A cross cable is used to connect the hub.
(4) A straight cable is used to directly connect a terminal device
such as computer.
(5) The cable has a cut wire.
(6) The Ethernet module has been out of order.
Note: 10 Base-T cables for Ethernet are divided into two types;
straight and cross ones.
Use a straight one to connect the hub or a cross one to
make a direct 1:1 connection with another device.
(6) No initial data …………… If initial data such as IP address is not received from the CPU module
upon the power-up or reset/start-up, this error occurs. In this case,
the following causes are suspected.
(1) Initialization is to be performed by the sequence program and
the sequence program for turning the initialization request flag
of the file memory on has an error or has not been assembled.
(2) Initialization is to be performed by link parameters and
'Initialization based on Link Parameters' has not been selected.
5-75
5.5.2. Hardware Errors
When the Ethernet module does not normally operate due to a failure of the module or peripheral
equipment, it is considered as a hardware error.
Error code 84 (a special module error) appears on the CPU module.
An error code appears on the LED display at the front of the Ethernet module. Take corrective
action in accordance with the following table.
The link module name as a link parameter has been set to a wrong value.
Select Ethernet as link module name.
5-76
5.5.4. Communication Errors
When an I/O parameter has been set to a wrong value with the Ethernet module or the number of
bytes to be transmitted with the file memory method is out of the specified range, it is considered as
an I/O error.
Error code 86 appears on the CPU module.
Error detailed data codes are recorded at the CPU module's special registers at the following
addresses determined by the link No. of the Ethernet module.
5-77
Communication Anomaly Error Code Table
5-78
error on your own node IP address and other node IP addresses.
(See Reference 5.)
Ascertain whether the number of retransmissions is within the specified
0127 The initial command indicates an invalid number of re-transmissions. 0000 0000 0000
range.
This anomaly shows that Other Node Table No. is not specified for the
connection designated as TCP Active. Ascertain whether the Other
0134 Other node table No. on the active opening command may be invalid. Connection No. 0000 0000
Node Table No. is correct and whether the specified table is set as
'used.'
2080 Faulty response timer value of the initial data 0000 0000 0000 Ascertain whether the timer value is within the specification.
2081 Faulty non-reception timer value of the initial data 0000 0000 0000 Ascertain whether the timer value is within the specification.
Check whether the transfer data size at the head of transmission data
Transfer
2082 Faulty transmission data transfer number Connection No. 0000 area is between 0 and 2044 (7FCh) and whether the transfer data size
number
is properly written in the file memory.
Reception confirmation flag has been already hoisted when the fail
2085 Connection No. 0000 0000 Ascertain whether the reception confirmation flag is not kept hoisted.
reception is completed.
5-79
5.5.5. Connection Errors
When the data received from another node has an error, it is considered as a connection error.
In this case, the error is indicated by the following devices.
If a connection error occurs, an error response may be transmitted to the other node.
5-80
5.5.5.1. Connection Anomaly Error Code Table
5-81
(i) In case of connection of TCP Passive:
Find & Error response
Connection
Description Correct data to the other Clear Timing of Anomaly Occurrence Cause of Anomaly and Corrective Action
Anomaly Code
Trouble node
This arises if no response is returned from the other node within Response Timer (default 6 sec)
File Memory Transmission Response Data In Lowering Transmission
(1)(2) 4002 - after a file data transmission via Ethernet Module. Ascertain whether the other node processes
Reception Time Is Up Request Flag
the File Memory Reception properly.
In Lowering Transmission The number of transmission bytes in the file memory is wrong. Check transfer data size at the
Wrong number of file memory transmission bytes (1) 4003 -
Request Flag head of the file memory transmission data area.
This arises if file memory data or computer link command is received or if the transfer-number data
(LL,LH) exceeds data number to be transmitted or the data is discontinued in the middle.
Inability to receive data by the transfer number (1)(2)(3) 4004 **.05 Opening from other node
Ascertain whether the transfer-number data is appropriate and whether all one-frame data are
transmitted.
Faulty reception data frame format This arises if the head data (FT:frame type) of reception data is abnormal.
(1)(2)(3) 4005 ***.01 Opening from other node FT must be one of the following: FT=00 (computer link command), FT=60 (file memory
(Abnormal FT) transmission), FT=E0 (the corresponding response to transmitted file memory)
Faulty reception data frame format This arises if the second datum (RC:response code) of received data is one besides "00" when file
(1)(2)(3) 4005 **.02 Opening from other node
(Abnormal RC) memory data or computer link command is received. Verify your transmission data.
Faulty reception data frame format This arises if the transfer-number data (LL,LH) of received data is "0000," exceeds 1274 bytes
(1)(2)(3) 4005 **.03 Opening from other node (computer link command), or exceeds 2044 bytes (file memory transmission). Verify your
(Abnormal transfer number) transmission data.
Though a computer link command has not
This arises if the next computer link command is received before resending the response to a
processed yet, the next computer link command (1)(2)(3) 4006 80.06 Opening from other node
received computer link command. Verify the computer link command transmission timing.
is received.
Though a file memory transmission has not
This arises if the next file memory data is received before resending the response to received file
processed yet, the next file memory data is (1)(2)(3) 4007 E0.07 Opening from other node
memory data. Verify the file memory data transmission timing.
received.
Relay command has a wrong transfer data size or ENG code. Check the content of relay
Faulty relay command format (1)(2)(3) 4008 80.04 Opening from other node
command.
Connection reset or closed during file memory In Lowering Transmission
(1) 4009 - A connection was reset or closed during file memory transmission process.
transmission process. Request Flag
Data from another node cannot be received for a time longer than specified by Non-Reception
Non-reception timer is time up (1)(2) 4010 - Opening from other node
Timer as initial parameter (defaulted 00: undefined). Check the setting of Non-Reception Timer.
Reception confirmation (ACK) signal was not received from the other node after the number of
Connection reset after specified number of TCP
(1)(2) 4013 - Opening from other node communication retries specified by 'reset wait resending times' as initial parameter. This occurs
re-transmissions
when the other node is powered off or the cable has a cut wire. (See 7-4.)
Connection reset by multiple connection opening The connection designated as TCP non-specified passive open is reset if opening request is sent
request from another port with the same IP (1)(2) 4014 - Opening from other node to the same port from another node when the connection is open. As opening request is sent
address from another node later, the connection with that node opens. (See 7-4.)
Error Response Reception to file memory
In Lowering Transmission This arises if the response code (RC) received from other node is not "00" after a file memory data
transmission from other node (1)(2) 30++ -
Request Flag transmission. Verify the response data.
[++=response code: RC]
NAK response from J-CPU during computer link Received computer link command has an error and could not be normally processed. Check the
(3) - (4) -
command process content of computer link command.
Occur if an improper open/close request is received from another mode. Please check the
Connection errors other than the above (1)(2) 013+ - Opening from other node
communication program of the other node.
5-82
(ii) In case of TCP active connection
Error
Find & Connection
response
Description Correct Anomaly Clear Timing of Anomaly Occurrence Cause of Anomaly and Corrective Action
data to the
Trouble Code
other node
In hoisting opening The module failed in active-opening a connection with another node. Check that line is correctly connected, the other node has
Failing in active opening (1) 4001 - been started, and IP addresses of your node and the other node have the same network ID (see Reference 5).
request flag
File Memory transmission response data reception In lowering transmission No response is sent from the other node for the time specified by Response Timer as initial parameter (defaulted 6 secs) after file
(1)(2) 4002 - memory data is transmitted from Ethernet module. Check that file memory is normally processed by the other node.
time is up. request flag
In lowering transmission The number of transmission bytes in the file memory is wrong. Check transfer data size at the head of the file memory
Wrong number of file memory transmission bytes (1) 4003 - transmission data area.
request flag
This arises if file memory data or computer link command is received or if the transfer-number data (LL,LH) exceeds data number
In hoisting opening
Inability to receive data by the transfer number (1)(2)(3) 4004 **.05 to be actually transmitted or the data is discontinued in the middle.Ascertain whether the transfer-number data is appropriate and
request flag whether all one-frame data are transmitted.
In hoisting opening This arises if the head data (FT:frame type) of reception data is abnormal.FT must be one of the following: FT=00(computer link
Faulty reception data frame format (Abnormal FT) (1)(2)(3) 4005 ***.01 command),FT=60(file memory transmission), FT=E0(the corresponding response to transmitted file memory)
request flag
In hoisting opening This arises if the second datum (RC:response code) of received data is one besides "00" when file memory data or computer link
Faulty reception data frame format (Abnormal RC) (1)(2)(3) 4005 **.02 command is received. Verify your transmission data.
request flag
Faulty reception data frame format (Abnormal In hoisting opening This arises if the transfer-number data (LL,LH) of received data is "0000," exceeds 1274 bytes computer link command), or
(1)(2)(3) 4005 **.03 exceeds 2044 bytes (file memory transmission). Verify your transmission data.
transfer number) request flag
Though a computer link command has not
In hoisting opening This arises if the next computer link command has been received before resending the response to a received computer link
processed yet, the next computer link command (1)(2)(3) 4006 80.06 command. Verify the computer link command transmission timing.
request flag
has been received.
Though a file memory transmission has not processed In hoisting opening This arises if the next file memory data has been received before resending the response to received file memory data. Verify the
(1)(2)(3) 4007 E0.07 file memory data transmission timing.
yet, the next file memory data has been received. request flag
In hoisting opening
Faulty relay command format (1)(2)(3) 4008 80.04 Relay command has a wrong transfer data size or ENG code. Check the content of relay command.
request flag
Connection reset or closed during file memory In lowering transmission
(1) 4009 - A connection was reset or closed during file memory transmission process.
transmission process. request flag
In hoisting opening This arises if data from other node cannot be received for the period or more that is set by on-Reception Timer (default
Non-reception timer is time up (1)(2) 4010 - 00:undefined) of file memory. Check the setting of Non-Reception Timer.
request flag
In hoisting opening
Other node has closed the connection. (1) 4011 - This arises if the other node has closed the connection after your own node opened a connection through an active opening.
request flag
In hoisting opening
Other node has reset the connection. (1) 4012 - This arises if the other node has reset the connection after your own node opened a connection through an active opening.
request flag
Reception confirmation (ACK) signal was not received from the other node after the number of communication retries specified by
Connection reset after specified number of TCP In hoisting opening
(1) 4013 - 'reset wait resending times' as initial parameter. This occurs when the other node is powered off or the cable has a cut wire.
re-transmissions request flag (See 7-4.)
Error Response Reception to file memory
In hoisting transmission This arises if the response code (RC) received from other node is not "00" after a file memory data transmission. Verify the
transmission from other node (1)(2) 30++ - response data.
request flag
[++=response code: RC]
NAK response from J-CPU during computer link Received computer link command has an error and could not be normally processed. Check the content of computer link
(3) - (4) - command.
command process
In hoisting opening Occurs if the send complete flag turns off while data is being sent, and sending is performed
Continuous open (1)(2) 0132 - request again. If it occurs, please reset the CPU module. Please modify the program so that the send
flag request flag turns off after data sending is complete or a connection error has occurred.
5-83
(iii) In case of UDP connection
If any error code other than the above is returned, review the entire command data.
5-84
5.5.5.2. Error Response Data Error Code Table
If any NAK (anomaly) reply is returned as the computer link command error response "80.10.01.00.
" (:Error Code) or as the relay command response, refer to the following table for reviewing
your command data:
*: See command (22), reading execution priority limitation state or (23), setting execution priority limitation.
If any error code other than the above is returned, review the entire command data.
5-85
5.6. Error reports from FL-remote
Detecting an abnormality in FL-remote, inform FL-remote and CPU of the abnormality.
FL-remote indicates the abnormality with Hardware status, Communication status lumps and a
message display.
CPU indicates the abnormality with a special relay, a special register (a register for error information
output and a register for link error information output) and a message display.
The Communication State of FL-remote can be checked with the special register.
5-86
5.6.1. Error information by CPU
(1) Special Relay
All station in communicating flag turn ON at normal, and other flags are turned ON at error.
At At
Address Contents
normal error
VA0 Link No.1 All station in communicating
VA4 Link No.2 All station in communicating
VA8 Link No.3 All station in communicating
VAC Link No.4 All station in communicating Note) When the unlinking
ON OFF
VB0 Link No.5 All station in communicating function is set, it becomes 0.
VB4 Link No.6 All station in communicating
VB8 Link No.7 All station in communicating
VBC Link No.8 All station in communicating
VA1 Link No.1 Link parameter error
VA5 Link No.2 Link parameter error
VA9 Link No.3 Link parameter error
VAD Link No.4 Link parameter error
OFF ON
VB1 Link No.5 Link parameter error
VB5 Link No.6 Link parameter error
VB9 Link No.7 Link parameter error
VBD Link No.8 Link parameter error
VA2 Link No.1 Communication error
VA6 Link No.2 Communication error
VAA Link No.3 Communication error
VAE Link No.4 Communication error
OFF ON
VB2 Link No.5 Communication error
VB6 Link No.6 Communication error
VBA Link No.7 Communication error
VBE Link No.8 Communication error
VC4 Error with special module(Communication module failure) OFF ON
I/O configuration error
VC8 (Communication modules are mounted more than the regulated OFF ON
number.)
Special module allocated error
VF2 (Rack No., Slot No., Link module name in link parameter different from OFF ON
state of mounting.)
(Note) The address of the special relays are the case of the PC2 compatible mode and the data
memory separate mode (the PC3 mode).
5-87
(2) Special Register
FL-remote stores the data of error condition and communication condition into the following address
of PLC.
Address Contents
S200
| CPU error output register
S24F
S3#0
Normal slave data area
S3#1
This displays the communication conditions
S3#2
(normal / error) of each slave.
S3#3
The master status area
S3#4
Indicating master and network status. *1
S3#5 Software version (BCD)
S3#6 The number of times of re-issuing token
S3#7 The number of times of token retention timeout
S3#8 The number of times of token monitor timeout
S3#C
| Connection office connection state
S3#F
S3*0
| Link error output register
S3*B
S3*C
S3*D
Unlinking register
S3*E
S3*F
The # and * portion of the above address are determined by link No.
Link No. 1 2 3 4 5 6 7 8
# 0 2 4 6 8 A C E
* 1 3 5 7 9 B D F
(Note) Information stored in the register S200 to S24F and S3#0 to S3*B is not cleared after
restoration from error.
When information must be cleared, write "0000" to the register with PCwin, etc.
The address of the special resisters are the case of the PC2 compatible mode and the
data memory separate mode (the PC3 mode).
* * * * * * * *
Node address
duplication E7
Transfer error D9
Checking error D6
Master communication speed [0: 10M, 1:100M]
Setting up for communication 1: Setting up for communication
(since power is turned on until communication is established)
Common memory sending area duplication, Error E8 and E9
5-88
(3) Special Register for CPU Error Information Output
When any error is detected, error code, error related information, and error detection time are stored
in the special register for error information. This register is a 8-step (in the case of PC10 mode,
64-step) shift register and can store up to 8 errors.
When error are detected more than 8 times, the oldest error information is lost.
Error information stored in the register can be displayed by the peripheral device.
Contents of register
Adress
S200
Error 0 Information Error code
S20A
Error 1 Information Error related information 1,2
S214
Error 2 Information Error related information 3,4
S21E
Error 3 Information Error detection time(Second)
S228
Error 4 Information Error detection time(Minute)
S232
Error 5 Information Error detection time(Hour)
S23C
Error 6 Information Error detection time(Day)
S246
Error 7 Information Error detection time(Month)
S24F
Error detection time(Year)
Error detection time
Lost (Day of the week) 0~6:Sun-Sat
Link parameter
rack
FUNC. I/O Rack Slot
89 No. slot No. - - VF2 ON
ALARM No. No.
module
name error
(Note) This differs from error code of FL-remote.
Error information saved in S200- is also stored in S1000- for Ver.3.00 and thereafter.
(See the item 5.1.4 Error information output special resister)
5-89
(4) Link Error Data Output Special Register
At detection of error in FL-remote, error message is carried out to CPU, and the error code of
FL-remote is stored into the link error data output special register.
This register has an 8-step shift register structure, and can memorize up to 8 errors.
At errors over 8 errors, the first stored error data is deleted.
6 S3B0~S3BF S3*5
Node Address + Error Code stack1 NEW
S3*6 Node Address + Error Code stack2
7 S3D0~S3DF S3*7 Node Address + Error Code stack3
8 S3F0~S3FF S3*8 Node Address + Error Code stack4
S3*9 Node Address + Error Code stack5
S3*A Node Address + Error Code stack6
S3*B
Node Address + Error Code stack7 OLD
Note 2) When “Collation error (I/O bytes discrepancy)“, the number of I/O bytes is stored in the
S3*1 – S3*4.
S3*1 : The number of I/O bytes of the real slave. (low byte)
S3*2 : The number of I/O bytes in the link parameters. (low byte)
5-90
Error Code Details and FL-remote Error Display
Alarm
Error Code Display S03*0 S03*1 Detail
code
89 0x02F0 E5 --- --- Link parameter is not set yet.
85 0x02F2 E7 00F0 00F2 Own node number duplication error
85 0x02F1 ED 00ED 0000 Area overflow
85 0x221 E6 0021 0000 Total byte count has exceeded the limit.
85 0x222 E6 0022 0000 Station number with byte count 0 is found.
0x223 E6 0023 0000 Input or output byte count of 1 slave has
85
exceeded the limit.
85 0x225 E6 0025 0000 Communication area overflow
0x226 E6 0026 0000 I/O of CPU and communication area are
85
duplicated.
85 0x227 E6 0027 0000 Module sub-code error
85 0x228 E6 0028 0000 Module No. error
FL-
85 0x229 E6 0029 0000 Minimum permissible frame interval error
remote
85 0x22A E6 002A 0000 Own node number error
85 0x22B E6 002B 0000 Network address error
86 0x0302 E8 E8 0000 Common memory 1 duplication error
86 0x0303 E9 E9 0000 Common memory 2 duplication error
86 0x0304 EA EA 0000 Token monitor timeout error
86 0x0305 EB EB 0000 Cyclic data reading error
86 0x0306 EC EC 0000 Cyclic data writing error
Checking error
S03*1H actual input byte count (HEX)
S03*1L actual output byte count (HEX)
S03*2H input byte count (HEX)
86 0x0308 D6 ##D6 II00 S03*2L output byte count (HEX)
86 0x0309 D9 ##D9 0000 Transfer error
84 --- H- --- --- Some other trouble of hardware
*2: When the error situation is released, "E0" and "E2" displays of Master error code become the
exchange number blinking displays.
5-91
5.6.2. Communication Status
FL-remote outputs the communication status in the special register.
(1) Normal Slave Data Area
Each bit of normal slave data area shows communication status of each slave.
The state flags of each slave are output to special register S3#0 - S3#3.
Each bit No. represents node address.
MSB LSB
S3#0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
S3#1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
S3#2 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
S3#3 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
1: Communication normal state
0: Communication error state (or node not to use)
(Either communications error or verification errors have occurred.)
5-92
Saving circuit of the number of errors
The total number of CAN errors (CAN error data area) is cleared by power off or CPU reset at
the communication error. But it is not cleared by the communication reset. So, please design the
following sequence circuit to save the total number of CAN errors.
Example)
The following circuit is saving the slave state, master status, number of CAN error and time of
error occurrence
Communication error flag
(Link No. 1)
VA2 Txxx
TMR K=1.0 1sec timer
Txxx P***
Slave state
WBMOV S3#0 → D0FF0= 0012D Master status
Number of CAN
error transmission
D0FF0
1
2 Normal slave data area
3
4
Master status area
5
6
7
8
Number of CAN error
9
A
B
C time minute, sec (BCD)
D time day, hour (BCD)
E time year, month (BCD)
5-93
(3) Connected slave setting area
It is an area where the connection of the slave set in the link parameter of the CPU is shown. The
state flag of each slave is output to special register S3#C-3#F.
0 shows the master, and each bit number shows the node address (station number).
MSB LSB
S3#C 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
S3#D 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
S3#E 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
S3#F 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
5-94
5.6.3. Error Contents and Supposed Causes
Special
Master 7
register
segment Error contents Main supposed cause Recovery method
contents
indicator
*
Check the condition of
CPU itself and noise
environment, and turn on
H- Hardware error CPU itself caused an error.
power again.
If the error occurs again,
replace the CPU module.
Total number of bytes
0021 E6
exceeding limitation value
Station with 0 byte
0022 E6
present
Link parameter error
Number of bytes for input Rewrite normal parameter,
0023 E6 / output per one slave and reset or supply power
exceeding limitation value Error with CPU main body once again.
or memory
Input / output designation Disappearance of memory
0024 E6 Please refer to the manual of
error data by a battery voltage
each CPU for details.
drop of CPU main body.
0025 E6 Range over
CPU input / output and
0026 E6
range in duplication
0027 E6 Sub code error
64F0 E7 Master duplication
Common memory Two or more master Separate any other master
sending area modules are connected to module from the network,
00E8 E8
Address duplication the network. and turn on power again.
(relay link)
Common memory FL-net module is Separate FL-net module
sending area connected to the same from the network, and turn
00E9 E9 Address network. on power again.
communication
(register link)
00EB EB Cyclic data reading error FL-net module is Separate FL-net module
connected to the same from the network, and turn
00EC EC Cyclic data reading error network. on power again.
Token monitor timeout error occurs when all data of own
node could not be sent within token monitor timeout time
set in "network" of link parameter.
Check the checkbox of "Automatic" of token monitor
timeout time, or increase the setting time.
5-95
Special
Master 7
register
segment Error contents Main supposed cause Recovery method
contents
indicator
*
5-96
6. MAINTENANCE
6.1. Battery replacement
*1 This lithium rechargeable battery backs up data memory (data area for keep-relay , data register,
etc.) and the built-in clock. The guaranteed back-up period subject to full charge is 6 months (at
25°C).
User program (sequence program + parameters) and equipment information memory data
(comment, etc.) are never cancelled even against power failure because they are stored in a
flash memory which can hold such data even during power failure.
6-1
(2) Battery replacing procedure
110 35
PC10G-CPU
POWER RUN E/A
W
P2 P3
L1 L2
L3
BATTERY
TIP-5426
1st./ MODE
2nd.
1.00 I/F
L1 FL
ET
RMT
130 L2
FL
L1 100M
10M
L2 100M
10M
START
RESET
L1 L3
L3
0
L-
V
L2
L+
SN/PC/CMP
6-2
(7) Replace old battery with new battery. Mount battery in reverse procedure of removing.
Note) When you attach a battery connector, please be careful for attachment.
Please do not protrude a battery lead from a substrate outside.
Red Black
Blank
(8) Turn on power supply and check that battery alarm is turned out (Special relay: VF0 is turned
off.) using peripheral equipment (PCwin).
(9) Turn off power supply and enter battery replaced date.
Note) Be sure to complete battery replacing operation (Battery replacing procedure (2)-(8)) within five
minutes after power source is turned off.
For a while after power source is turned off data memory (such data area for keep relay and
data register, etc.) and built-in clock are backed up by large capacity capacitor.
User program (sequence program and parameter) and equipment information memory content
including comment are would not be erased even battery is removed because they are stored
in flash memory that maintains content even service interruption.
6-3
WARNING LITHIUM BATTERY HANDLING PRECAUTIONS
For proper replacement of the lithium battery, follow the instructions given in the Individual
Instruction Manual for the battery. Where it is in normal use with our equipment, the lithium battery
is worry free while in use, but where it is stocked as a spare or it is disposed as scrap after expiry of
its life the battery must be handled with good care. Improper handling of the lithium battery could
result in liquid leak, overheat, ignition, and bursting, in the worst case, resulting in breakdown of
device and bodily injury.
To avoid such possible trouble and accident, observe the precautions given below.
(1) Don't throw the battery in fire.
(2) Protect it from water splash.
(3) Don't apply direct soldering to the battery.
(4) Don't heat it.
(5) Don't overhaul .
(6) Don't short plus (+) and minus (-).
(7) Avoid pressurizing and deforming.
(8) Avoid force-discharging.
(9) Don't charge .
(10) Don't use in series or parallel.
(11) When storing a spare battery, don't select a place of high temperature and high
humidity and take a proper measure to prevent condensation.
When disposing the battery as scrap, dispose it properly as incombustibles with good attention to
the following instructions as well as observing the precautions given above , or otherwise dispose it
properly in accordance with the applicable ordinance by each local administrative body.
1) In disposing, don't mix batteries together. Contain them one by one in a vinyl bag to
avoid shorting.
2) Use a collective container of good-insulation material to contain batteries therein.
3) Don't contain them together with other metallic materials ( nails, steel wires, etc.) .
4) Protect them from rain and water.
5) Don't contain them together with other hazardous materials which are defined under
"Fire Law". Also don't place them near such hazardous materials.
6) Don't place them near fire and at a location where they are exposed to high
temperature.
6-4
6.2. Maintenance and check
It is recommended to check the programmable controller regularly for using it long time. When checking
the programmable controller regularly, check the maintenance check item shown in the list 6.2.1. Use a
check sheet and prevent missing of checking, as well as control the result of check on a history, then it
will be helpful in the next checking and investigation when any trouble occurs.
6-5
Periodic check of spare parts
If a new part is stored for spare, it is not new forever. Especially the power module changes with time,
and requires rotation. In addition, it is recommended to check the operation regularly. It is also
recommended to acquire production discontinuation information of each module on our webpage, and
refill spare parts.
Table 6.2.2 shows checking item of spare parts and table 6.2.3 shows caution when replacing a module.
must be available.
Program Check whether backup data
<Compatible module of PCwin>
data can be used.
PC1 series, PC2 series, PC2J series,
MX, PC3J series, and PC10 series
* Check the item shown by depending on life cycle.
6-6
7. SPECIFICATIONS
7.1. General specification
7-1
7.2. CPU module specification
12 Battery Charge type (lithium secondary battery: battery life ..5 years)
7-2
7.2.3. Built-in communication
Communication port Link function
Communication port L1 FL-Net / Ethernet / FL-remote I/O(selectable)
Communication port L2 FL-Net / Ethernet / FL-remote I/O(selectable)
Communication port L3 SN-I / F/PC-LINK / CMP-LINK / MODBUS(selectable)
High Speed: 480Mbps. Full Speed: 12Mbps (Automatic
Peripheral port USB I/F
recognition)
7-3
7.3. I/O module specification
7.3.1. Input module specification
(1) IN-11 Module (THK-2749)
Approximately 14k(50Hz) / 16
Input impedance
12k(60Hz)
Maximum similtaneous
12
Response OFFON 15m sec Max
input points
time ON OFF 15m sec Max
Internal current 60mA (TYP. All points ON)
consumption (5V) (1+3.7n)mA n : Number of ON points
8 points 1 common
Common system (note:It is 16 points 1 common to suit 0 121 132 DC(V)
the CE marking.)
Status indication LED light with ON Input Voltage
Weight 0.25kg
1 IN00
1 2 IN01
3 IN02
~
8 Internal 4 IN03
circuit 5 IN04
17 6 IN05
7 IN06
~ Photo coupler 8 IN07
AC100V 9 IN08
10 IN09
9 11 IN0A
to CPU
12 IN0B
~
16 13 IN0C
14 IN0D
19 15 IN0E
~ 17 COM1
16 IN0F
AC100V 18 NC
19 COM2
(Note:) Please use a short bar for terminal COM1-2 connection of the terminal block attachment to suit the
CE marking.
7-4
(2) IN-12 Module (THK-2750)
Title DC24V Input Module
Specification IN-12 (Identification Code: 07)
Number of circuits 16 points
Insulation method Photo coupler insulation Maximum simultaneous input
Rated input voltage DC24V points-Input voltage
characteristics
Rated input current 10mA
Operating voltage range DC18 - 30V Ambient temper-
ON voltage/ON current 16.8V Max/7mA Max ature 55C
Ambient temper-
OFF voltage/OFF current 7.2V Min/2.5mA Min (Points) ature 47C
Maximum similtaneous
Response OFFON 15m sec Max 12
time ON OFF 15m sec Max
input points
Internal current 60mA(TYP. All points ON)
consumption (5V) (1+3.7n) mA n: Number of ON points
Common system 8 points 1 common
0 27 30 DC(V)
Status indication LED light with ON
Non-polarity (Either plus common or minus Input Voltage
Polarity common available for use)
Weight 0.22kg
1 IN00
1 2 IN01
3 IN02
~
8 Internal 4 IN03
circuit 5 IN04
17 6 IN05
7 IN06
Photo coupler 8 IN07
9 IN08
DC24V 10 IN09
9 11 IN0A
to CPU
12 IN0B
~
16 13 IN0C
14 IN0D
19 15 IN0E
16 IN0F
17 COM1
18 NC
DC24V 19 COM2
7-5
(3) IN-22D module (THK-2871)
Title DC24V Input Module
Specification IN-22D (Identification Code:06)
Number of circuits 32 points
Insulation method Photo coupler insulation Maximum simultaneous input
Rated input voltage DC24V points-Input voltage
characteristics
Rated input current 5mA
Operating voltage range DC18 - 30V Ambient temper-
ON voltage/ON ature 55C
16.8V Max/3.5mA Max Ambient temper-
current
(Points) ature 53C
OFF voltage/OFF
7.2V Min/1.5mA Min
current 32
Input impedance Approximately 4.7k 28
Maximum similtaneous
Response OFFON 10msec Max
time ON OFF 10msec Max
input points
Internal current 63mA(TYP, All points ON) (1 + 3.7n) mA
consumption (5V) n: ON point number of points
Common system 16 points 1 common 0 29 30 DC(V)
Status indication LED light with ON (16 points display switching) Input Voltage
A0
~
AF
Connector pin configuration
Internal
circuit
COM1
Photo coupler
DC24V
B0
to CPU
~
BF
COM2
DC24V
7-6
(4) IN-22H module (THK-6831)
Title DC24V Input Module
Specification IN-22H (Identification Code:05)
Number of circuits 32 points
Insulation method Photo coupler insulation
Rated input voltage DC24V
Rated input current 5mA
Operating voltage range DC18~26.4V
ON voltage/ON current 16.8V Max/3.5mA Max
OFF voltage/OFF current 7.2V Min/1.5mA Min
Input impedance Approximately 4.7 k
Polarity Non-polarity (Either plus common or minus common available for use)
1
~
7
Internal
circuit
COM1
Photo coupler
DC24V
Connector pin configuration
8 To CPU
~
0 1
F 2 3
4 5
6 7
COM2 COM1 COM1
8 9
A B
C D
DC24V E F
10 COM2 COM2
~
17
10 11
COM3 12 13
14 15
16 17
COM3 COM3
DC24V 18 19
1A 1B
18 1C 1D
~
1E 1F
1F COM4 COM4
COM4
DC24V
7-7
IN-22H module
IN-22H, in addition to 32 actual input point, there are 32 points of the input response time
setting/confirmation area after these actual input points.
Therefore, the number of allocation points in the I/O module setting is normally 64 points.
Although it is possible for you to designate 32 allocation points, the response time is fixed at 8ms in this
case.
Here, the state of IO appropriation when an IN-22H module has been allocated to slot 0 rack 0 is shown
as an example.
Address F E D C B A 9 8 7 6 5 4 3 2 1 0
P1-X/Y00W Input 8points (X/Y 8~F) Input 8points (X/Y 0~7) IN-22H allocated to slot 0 of rack
P1-X/Y01W Input 8points (X/Y 18~1F) Input 8points (X/Y 10~17) 0 occupies 32 input points.
For confirmation of response time
P1-X/Y02W *4 *3 *2 *1 setting
P1-X/Y03W *8 *7 *6 *5 For response time setting
*1 P1-X/Y02L(bit 0~3) P1-X/Y00L Response time of 8 points; for confirmation of current setting
*2 P1-X/Y02L(bit 4~7) P1-X/Y00H Response time of 8 points; for confirmation of current setting
*3 P1-X/Y02H(bit 8~B) P1-X/Y01L Response time of 8 points; for confirmation of current setting
*4 P1-X/Y02H(bit C~F) P1-X/Y01H Response time of 8 points; for confirmation of current setting
*5 P1-X/Y03L(bit 0~3) P1-X/Y00L Response time of 8 points; for setting
*6 P1-X/Y03L(bit 4~7) P1-X/Y00H Response time of 8 points; for setting
*7 P1-X/Y03H(bit 8~B) P1-X/Y01L Response time of 8 points; for setting
*8 P1-X/Y03H(bit C~F) P1-X/Y01H Response time of 8 points; for setting
P1-X/Y02W shows the current response time setting. (The latest value is always displayed.)
P1-X/Y03W is for the setting of response time.
7-8
<IN-22H response time setting method>
A response time of the IN-22H module allocated to slot 0 of rack 0 is set by using a sequence.
Value to be entered in
response time setting Response time to be set
register
0 8ms
1 to 8 Response time is set at the value which was entered. (1-8ms)
Reservation; do make any entry. When an erroneous setting is made, response
9 to F
time is set at 8ms.
7-9
With the example this time, response time is set as below:
Input address Response time you want Address for setting Value to be written in a
to set response time response time setting
register
X000~X007 8ms Y030~Y033 8
X008~X00F 5ms Y034~Y037 5
X010~X017 2ms Y038~Y03B 2
X018~X01F 1ms Y03C~Y03F 1
Example Sequence:
Example: Change the response time of the embedded IN-22H in rack 0, slot 0 when M000 is turned on.
Points of Caution
1. Be sure to put in an edge point. (Do not set continuous execution.)
2. 8ms when 0h or 9h or a larger value is set.
3. Filtering time can be entered for every eight points.
7-10
(5) IN-SW module (THK-5977)
Title Switch input module
Specification IN-SW (identification code:07)
Number of circuits 16 points
OFF
10ms or less
Response ON
time ON
10ms or less
OFF
Internal current
126mA(Typ . all points ON)
consumption(5V)
Weight 0.18kg
Switch No.
Operation explanation & switch arrangement chart
Switch No
Address Address
Function
The state of ON/OFF of the switch in front of I N -S W
the module is taken into the address where 0 1 ON
5 A X0A B X0B
(2) SW6 6 SW7
ON C X0C D X0D
7
(1) PULL
SW8 E X0E F X0F
8 SW9
OFF
SW 9
SWA A SWB
Note) Please do not operate the switch
B
forcibly with the lock has not been
SWC C SWD
released. It causes the module to be
damaged. D
SWE E SWF
7-11
7.3.2 Output Module Specification
(1) OUT-1 Module (THK-2751)
Title TRIAC (Triode AC) Output Module
Specification OUT-1 (Identification Code:1F)
Number of circuits 8 points *1
Insulation method Photo coupler insulation
Rated load voltage AC100V/115V 50/60Hz
Maximum load voltage AC132V
Maximum load current 1A/Point 4A/COM
Minimum load voltage/current AC15V 10mA
Maximum rush current 80A (1 cycle or below)
Leak current at OFF 1.5mA Max
Max voltage drop at ON 1.5V Max
1 OUT00
2 OUT01
TRIAC 1 3 OUT02
L 4 OUT03
Internal 5 OUT04
circuit 8 6 OUT05
L 7 OUT06
FUSE 17 8 OUT07
~ 9 NC
to CPU AC100V 10 NC
DC5 11 NC
12 NC
Fuse blow detection
13 NC
14 NC
15 NC
16 NC
17 COM
18 NC
19 NC
*1: OUT-1 Module's real I/O points is 8 points. However, PC 3JG CPU permits allocation of I/O
address 16 points. At this time Lower 8 points of address becomes the real I/O. Therefore, do not
use upper 8 points.
7-12
(2) OUT-3 Module (THK-2931)
Title Independent contact relay output module
Specification OUT-3 (Identification Code: 2E)
Number of circuits 8 points *1
Insulation method Relay insulation
1 OUT00A
2 OUT00B
Relay 3 OUT01A
1 4 OUT01B
L 5 OUT02A
Internal 6 OUT02B
circuit 7 OUT03A
2 8 OUT03B
~
9 OUT04A
AC100V 10 OUT04B
to CPU 11 OUT05A
12 OUT05B
15 13 OUT06A
L
14 OUT06B
15 OUT07A
16 16 OUT07B
~ 17 NC
AC100V 18 NC
19 NC
*1: OUT-3 Module's real I/O points is 8 points. However, PC3JG CPU permits allocation of I/O
address 16 points. At this time Lower 8 points of address becomes the real I/O. Therefore, do not
use upper 8 points.
(Note) When DC inductive load is opened and closed, use a diode for surge killer.
7-13
(3) OUT-4 Module (THK-5040)
Title TRIAC (Triode AC) Output Module
Specification OUT-4 (Identification Code: 1D)
Number of circuits 8 points *1
Insulation method Photo coupler insulation
Rated load voltage AC240V 50/60Hz
Maximum load voltage AC265V
Maximum load current 1A/Point, 4A/COM
Minimum load voltage/current AC15V 10mA
Maximum rush current 80A
Leak current at OFF 1.5mA Max
Max voltage drop at ON 1.5V Max
1 OUT00
2 OUT01
TRIAC 3 OUT02
1 4 OUT03
L
Internal 5 OUT04
6 OUT05
circuit 8
L 7 OUT06
FUSE 8 OUT07
17 9 NC
~
to CPU 10 NC
AC200V
DC5 11 NC
12 NC
Fuse blown detection 13 NC
14 NC
15 NC
16 NC
17 COM
18 NC
19 NC
*1: OUT-3 Module's real I/O points is 8 points. However, PC3JG CPU permits allocation of I/O
address 16 points. At this time Lower 8 points of address becomes the real I/O. Therefore, do not
use upper 8 points.
7-14
(4) OUT-11 Module (THK-2795)
Title TRIAC (Triode AC) Output Module
Specification OUT-11 (Identification Code: 1E)
Number of circuits 16 points
Insulation method Photo coupler insulation
Rated load voltage AC100V/115V 50/60Hz
Maximum load voltage AC132V
Maximum load current 0.5A/Point 2A/COM
Minimum load voltage·Current AC15V 10mA
Maximum rush current 60A (1 cycle or below)
Leak current at OFF 1.5mA Max
Max voltage drop at ON 1.5V Max
1 OUT00
TRIAC 1 2 OUT01
L 3 OUT02
Internal 4 OUT03
circuit 8 5 OUT04
L 6 OUT05
FUSE 17 7 OUT06
~ 8 OUT07
to CPU AC100V 9 OUT08
10 OUT09
9 11 OUT0A
L 12 OUT0B
13 OUT0C
16 14 OUT0D
L
15 OUT0E
19 16 OUT0F
~
17 COM1
AC100V 18 NC
19 COM2
note: Please use a short bar for terminal COM1-2 connection of the terminal block attachment to suit
the CE marking.
*1: Modules produced before January 1996, the "ERR" is not printed on the LED cover.
7-15
(5) OUT-12 Module (THK-2752)
Title Contact Output Module
Specification OUT-12 (Identification Code: 2F)
Number of circuits 16 points
Insulation method Relay insulation
Rated switching voltage DC24V 2A (Resistance load) (note:It is rated switching
5A/COM voltage DC24V,AC120V to suit
Rated switching current AC240V 2A(cos=1) the CE marking.)
Minimum switching load DC5V 10mA
Maximum switching voltage DC30V AC264V (note:It is DC30V or AC132V to suit the CE marking.)
Relay 1 1 OUT00
L 2 OUT01
Internal 3 OUT02
circuit 8 4 OUT03
L 5 OUT04
FUSE 17 6 OUT05
~ 7 OUT06
To CPU AC100V 8 OUT07
DC5
9 OUT08
9 10 OUT09
Fuse blown detection L 11 OUT0A
12 OUT0B
16 13 OUT0C
L 14 OUT0D
FUSE
19 15 OUT0E
~
16 OUT0F
AC100V 17 COM1
18 NC
19 COM2
(note: It is rated switching voltage DC24V,AC120V and maximum switching voltage DC30V,AC132V to suit
the CE marking. Moreover, please use a short bar for terminal COM1-2 connection of the terminal
block attachment.)
(note2 : Please use the diode for the serge killer when you use the inductive load with DC.
7-16
(6) OUT-15 Module (THK-2790)
Title Power MOS FET Output (-) COM
Specification OUT-15 (Identification Code: 14)
Number of circuits 16 points
Insulation method Photo coupler insulation
Rated load voltage DC5V/12V/24V
Operating load voltage range DC4.75~30V
Maximum load current 1A/Point (2A/2 Points) 4A/COM
Leak current at OFF 0.1mA Max
Max voltage drop at ON 0.3V Max, 0.17V (TYP.) 1A/point 2A/at 2 poins
1 L
2 For 2A/2-point output, turn
ON/OFF 2 points simultaneously
17
7-17
(7) OUT-16 Module (THK-2791)
Title Power MOS FET Output (+) COM
Specification OUT-16 (Identification Code: 15)
Number of circuits 16 points
Insulation method Photo coupler insulation
Rated load voltage DC5V/12V/24V
Operating load voltage range DC4.75~30V
Maximum load current 1A/Point (2A/2 Points) 4A/COM
Leak current at OFF 0.1mA Max
Max voltage drop at ON 0.3V Max, 0.17V (TYP.) 1A/point 2A/at 2 Points
1 L
2 For 2A/2-point output, turn
ON/OFF 2 points simultaneously
17
7-18
(8) OUT-18 Module (THK-2753)
Title Transistor Output Module (-) COM
Specification OUT-18 (Identification Code: 16)
Number of circuits 16 points
Insulation method Photo coupler insulation
Rated load voltage DC12V/24V
Operating load voltage range DC10~30V
Maximum load current 0.5A/Point 2A/COM
Leak current at OFF 0.1mA Max
Max voltage drop at ON 1.5V Max
1 1 OUT00
L 2 OUT01
Internal 3 OUT02
circuit 8 4 OUT03
L 5 OUT04
FUSE 17 6 OUT05
Photo 7 OUT06
to CPU coupler DC24 8 OUT07
Transistor 9 OUT08
9 10 OUT09
L 11 OUT0A
12 OUT0B
16 13 OUT0C
L 14 OUT0D
19 15 OUT0E
16 OUT0F
DC24 17 COM1
18 NC
19 COM2
*1: This fuse is to protect printed circuit board from burning. When short-circuited, this fuse element
may be unable to protect the elements.
(This fuse is soldered to the printed circuit board.)
7-19
(9) OUT-19 Module (THK-2754)
Title Transistor Output Module (+) COM
Specification OUT-19 (Identification Code : 17)
Number of circuits 16 points
Insulation method Photo coupler insulation
Rated load voltage DC12V/24V
Operating load voltage range DC10~30V
Maximum load current 0.5A/Point 2A/COM
Leak current at OFF 0.1mA Max
Max voltage drop at ON 1.5V Max
1 OUT00
1 2 OUT01
L 3 OUT02
Internal 4 OUT03
8 5 OUT04
circuit L
FUSE 6 OUT05
17 7 OUT06
Photo 8 OUT07
Transistor DC24V
coupler 9 OUT08
to CPU 10 OUT09
9 11 OUT0A
L 12 OUT0B
13 OUT0C
16 14 OUT0D
L
15 OUT0E
19 16 OUT0F
17 COM1
DC24V
18 NC
19 COM2
*1: This fuse is to protect printed circuit board from burning. When short-circuited, this fuse element may
be unable to protect the elements.
(This fuse is soldered to printed circuit board.)
7-20
(10) OUT-28D Module (THK-2870)
Title Transistor Output Module (-) COM
Specification OUT-28D (Identification Code: 03)
Number of circuits 32 points
Insulation method Photo coupler insulation
Rated load voltage DC12V/24V
Operating load voltage range DC10~30V
Maximum load current 0.2A/point 2A/COM
Leak current at OFF 0.1mA Max
Max voltage drop at ON 1.5V Max, 0.8V (TYP.) 0.2A
A0 A7
Internal L A8
A9
circuit AA
~
AF AB
L AC
AE AD
COM1 COM1 AF
Photo PWR1
coupler B0
to CPU FUSE DC24V B1
B2
PWR2 B4 B3
B6 B5
BA B7
L B8
BA B9
~
BF BB
L BC
BE BD
COM2 BF
COM2
PWR2
DC24V NC 37
19
*1: This fuse is to protect printed circuit board from burning. When short-circuited, this fuse may be
unable to protect the elements.
(This fuse is soldered to the printed circuit board.)
7-21
(11) OUT-29D Module (THK-5025)
Title Transistor Output Module (+) COM
Specification OUT-29D (Identification Code: 12)
Number of circuits 32 points
Insulation method Photo coupler insulation
Rated Load voltage DC12V/24V
Operating Load voltage range DC10~30V
Maximum Load current 0.2A/point 2A/COM
Leak current at OFF 0.1mA Max
Max voltage drop at ON 1.5V Max, 0.8V (TYP.) 0.2A
OUT00 A7
Internal L A8
A9
circuit AA
~
AB
OUT0F
L AC
AE AD
COM1 AF
Photo COM1 PWR1
coupler B0
to CPU FUSE DC24V B1
B2
B4 B3
PWR2
B6 B5
OUT10 B7
L B8
B9
~
BA
OUT1F
BC BB
L
BE BD
COM2 COM2 BF
PWR2
DC24V NC 37
19
*1: This fuse is to protect printed circuit board from burning. When short-circuited, this fuse may be
unable to protect the elements.
(This fuse is soldered to the printed circuit board.)
7-22
7.3.3. I/O module specification
I/O-328G
A B
Weight:215g
Internal current
consumption (5V)
Below 330mA
Specification of input
No. Items Specification
1 Rated input voltage DC24V
2 Rated input current 5mA
3 Operating voltage range DC21.6 - 26.4V
4 ON voltage / ON current 16.8V Max / 3.5mA Max.
5 OFF voltage / OFF current 7.2V Min. /1.5mA Min.
6 Input resistance Approximately4.7k
Response OFFON 10msec Max.
7
time ONOFF 10msec Max.
8 Points 32 points
9 Common 16 points per common (COM1, COM3)
10 Address X000~X00F,X020~X02F
11 Indication 16 points are switched with the switch.
X000
X00F
COM1
- + Photo coupler
DC24V
X020
X02F
COM3
- + Photo coupler
DC24V
7-23
Specification of Output
7.3.3.1. (1) Specification of Output
No. Items Specification
1 Rated load voltage DC24V
2 Maximum load current 0.3A / points 2A / 16 points
3 Voltage range DC21.6 - 26.4V
4 Max voltage drop at ON 1.5V Max.
5 Leak current at OFF 0.1mA Max.
6 Output element FET open drain
Response OFFON 1msec Max.
7
time ON OFF 1msec Max.
8 Points 16 points
9 Common 16 pints per common (COM2)
10 Address Y010~Y01F
11 Fuse 3.2A: 16 pints per fuse *1
12 Indication 16 points are switched with the switch.
*1 When a fuse has blown, fuse alarm is indicated on LED Display.
PWR2
Y010
Load
Y01F
COM2
- +
FUSE
DC24V
7-24
7.3.3.2. (2) Specification of Output (Output for signal Communication)
No. Items Specification
1 Rated load voltage DC24V
2 Maximum load current 0.05A / points 0.8A / 16 points
3 Voltage range DC21.6 - 26.4V
4 Max voltage drop at ON 1.5V Max.
5 Leak current at OFF 0.5mA Max.
6 Output element Transistor output
Response OFFON 1msec Max.
7
time ON OFF 1msec Max.
8 Points 16 points
9 Common 16 pints per common (COM4)
10 Address Y030~Y03F
11 Fuse None
12 Indication 16 points are switched with the switch.
PWR4 *1
Y030
Load*2
COM4
- +
DC24V
7-25
Pin arrangement 0~1F(FRONT Left Connector) 20~3F(FRONT Right Connector)
Pin No. Signal Pin No. Signal Pin No. Signal Pin No. Signal
COM2 PWR2 COM4 PWR4
A1 B1 A1 B1
(0V) (+24V) (0V) (+24V)
COM2 COM1 COM4 COM3
A2 B2 A2 B2
(0V) (+24V) (0V) (+24V)
COM2
A3 B3 - A3 - B3 -
(0V)
COM2
A4 B4 - A4 - B4 -
(0V)
A5 Y1F B5 X0F A5 Y3F B5 X2F
7-26
I/O-328G wiring occupation area
130
156
200
7-27
(2) I/O-329G <THK-6410>
I/O-329G
A B
Weight:215g
Internal current
consumption (5V)
Below 330mA
Specification of input
No. Items Specification
1 Rated input voltage DC24V
2 Rated input current 5mA
3 Operating voltage range DC21.6 - 26.4V
4 ON voltage / ON current 16.8V Max / 3.5mA Max.
5 OFF voltage / OFF current 7.2V Min. /1.5mA Min.
6 Input resistance Approximately4.7k
Response OFFON 10msec Max.
7
time ONOFF 10msec Max.
8 Points 32 points
9 Common 16 points per common (COM1, COM3)
10 Indication 16 points are switched with the switch.
X000
X00F
COM1
+ - Photo coupler
DC24V
X020
X02F
COM3
+ - Photo coupler
DC24V
7-28
Specification of Output
7.3.3.2. (1) Specification of Output
No. Items Specification
1 Rated load voltage DC24V
2 Maximum load current 0.3A / points 2A / 16 points
3 Voltage range DC21.6 - 26.4V
4 Max voltage drop at ON 1.5V Max.
5 Leak current at OFF 0.1mA Max.
6 Output element FET open drain
Response OFFON 1msec Max.
7
time ON OFF 1msec Max.
8 Points 16 points
9 Common 16 pints per common (COM2)
10 Fuse 3.2A: 16 pints per fuse *1
11 Indication 16 points are switched with the switch.
*1 When a fuse has blown, fuse alarm is indicated on LED Display.
FUSE
COM2
+ -
DC24V
FET Y010
Load
Y01F
Load
Photo coupler
PWR2
7-29
7.3.3.2. (2) Specification of Output (Output for signal Communication)
No. Items Specification
1 Rated load voltage DC24V
2 Maximum load current 0.05A / points 0.8A / 16 points
3 Voltage range DC21.6 - 26.4V
4 Max voltage drop at ON 1.5V Max.
5 Leak current at OFF 0.5mA Max.
6 Output element Transistor output
Response OFFON 1msec Max.
7
time ON OFF 1msec Max.
8 Points 16 points
9 Common 16 pints per common (COM4)
10 Fuse None
11 Indication 16 points are switched with the switch.
COM4
+ -
Switch
DC24V *1
Photo coupler
Y030
Load *2
Y03
Load *2
7-30
Pin arrangement 0~1F(FRONT Left Connector) 20~3F(FRONT Right Connector)
Pin No. Signal Pin No. Signal Pin No. Signal Pin No. Signal
COM2 PWR2 COM4
A1 B1 A1 B1 -
(+24V) (0V) (+24V)
COM2 COM1 COM4 COM3
A2 B2 A2 B2
(+24V) (0V) (+24V) (0V)
COM2
A3 B3 - A3 - B3 -
(+24V)
COM2
A4 B4 - A4 - B4 -
(+24V)
A5 Y1F B5 X0F A5 Y3F B5 X2F
7-31
I/O-329G wiring occupation area
130
156
200
7-32
7.3.4. Identification and function of each I/O module component
(1) I/O display LED ---- 0 - F LED display ON/OFF status of I/O.
(OUT-1, OUT-11, OUT-12, OUT-15, and OUT-16 modules “FUSE BLOWN"
of each is alarmed by other ALM LED, in addition to status display by 0 - F
lamps.
(2) Terminal block lock lever - To set and lock terminal block to the module.
(2 levers altogether at top and bottom )
(3) Terminal block ------ Detachable terminal block for I/O wiring
7-33
[ How to remove the terminal block 1 ]
7-34
7.3.5. Fuse Specification
Error setup
jumper
Cooling
wheel
Fuse
Fuse blown.
or OFF not detected as RUN goes on ALM LED .. ON
error
7-35
7.4. Base Specification
Five different bases of 2-slot base, 4-slot base, 6-slot base, and 8-slot base (2 bases) are available to
install according to the number of I/O modules. These can be used with additional I/O rack.
And, there is Selector Base. It has selector function.
* Precautions:
Only one I/O bus connector is used for 2-slot base, 4-slot base, 6-slot base and 8-slot base.
Hence, the number of additionally connectable bases is one set maximum. When connecting two or
more additional bases, use two 8-slot bases (2 pieces of I/O bus connectors) or I/O Branch Module.
Further, in this case the total length of I/O cables and length per cable shall be 5m max and 3m
max respectively.
Note) The maximum quantity of additionally connectable bases is 7 sets maximum.(When using I/O
Branch Module, 3 sets maximum)
When connecting MC256 IV, calculate the quantity of additional bases as one base for one
MC256 IV.
7-36
Base
(5) 5V terminal block (1) Module fixing hole (2) Module connector
7-37
7.5. Power Module Specification
There are power supply module, AC input power source unit (POWER 1) and DC input power source
unit (POWER 2 / POWER 2H).
The POWER 1 can work on input voltage ranging from AC85 to 264V.
The POWER 2 / POWER 2H can work on input voltage ranging from DC18 to 32V.
7-38
Power module
7-39
7.6. Selector Module Specification
This selector module is used when using additional base other than the basic base on which PC10G is
mounted. This module enables to set up Rack No. and head address of I/O Module addresses to be
allocated. When Selector Base integrated with Selector function is used, this module isn't used.
Type
THU-2765
Items
Function Enable to set up Rack No. and I/O address
Consumption current 31mA
Outside dimension 35(W)130(H) 110(D)mm
Weight 0.16kg
Selector module
This is needed when I/O rack for additional installation is used.
7-40
Rack No. setup and head address setup
Where additional I/O racks are installed, rack No. and head address must both be set up using RACK
NO. selector switch and I/O ADDRESS selector switch in the selector module.
I/O HIGH
ADDRESS
I/O LOW
ADDRESS
Note) Switch OFF the power source before switch setting up.
Related self-diagnosis
For the details of the following items, refer to “Self-Diagnosis."
Use of I/O Rack F
I/O Rack No. overlap
Overlap of I/O Rack No.
7-41
7.7. I/O Cable Specification
This cable is used to connect the basic base, on which CPU is mounted, with additional base on which
Selector Module is mounted.
Type
THU-2774
Items
Outside dimension 93(W)113(H)18.5(D)mm
Installing dimension 77.6(W)86(H)mm
Installing holes 06 bell-shaped hole (M5 screw used)
Weight 0.19 kg
*) This module is not needed when 8-slot bases (2 pcs.)are used.
7-42
7.10. Selector base specification
Selector base PC3J/PC2J is the integrated base combining conventional base and selector module and
can be used additional base for each CPU module. (However cannot be used for CPU base.)
Setting for rack No. and heading address setting for I/O module are executed.
Selector base
Type
THR-5643 THR-5644 THR-5645
Item
7-43
7.10.1. Composition example of Selector Base
Selector base has configuration shown in below:
POWER module
CPU module
CPU base
CPU base
I/O cable
POWER module
Additional base
7-44
7.10.2. Name and function of each portion for Selector Base
POW ERR
1 ADRS 1 2
I/O L
(4) I/O address select switch ADRS
5
V
0
(5) 5V power source terminal V
F
G
(7) (8)
Connector for power Connector for I/O
(6) I/O bus connector module module
7-45
Setting example of rack No. and I/O address
I/O H
ADRS
I/O heading address X130
(or Y130) is set.
I/O L
ADRS
7-46
7.11. Communication specification
7.11.1. COMPUTER-LINK specification (Communication port L3)
No. Items Specification
1 Interface standard Conforming to EIA RS-422
2 Communication system Start-stop synchronous, semi-dual
3 Transmission line Shielded twist bare cable
0.3,0.6,1.2,2.4,
4 Communication speed
4.8,9.6,19.2,38.4,57.6,115.2kbps (presetting*1)
5 Transmission distance Max 1 km (total length)
6 Transmission form 1:N
7 Number of stations Max 32 stations (Address No. 00 - 37 [set with octal number *1])
Start bit1 bit
Data length 7 or 8 bit (presetting*1)
8 Data type
Parity1 bit (even parity )
Stop bit 1 or 2 bit (presetting*1)
9 Characters used ASCII code
10 Error detection Parity check, sum check
*1 It is set up by the link parameter.
(Note) When setting the memory capacity, if the incorporated standard link parameter in PC2 mode
has not been set, the computer link operates as set in .
7-47
7.11.3. SN-I/F specification (Communication port L3)
No. Items Specification
1 Data link I/O : 32byte, register : 32byte
2 Transmission distance Max 3 m (only inside of controller box)
Parity ..............1 bit (even parity)
3 Data type Data length .....8 bit
Stop bit ...........1 bit
4 Synchronous system Start-stop synchronous
5 Transmission system Semi-dual system (2-wire type)
6 Communication speed 288kbps
7 Cable Shielded twist bare cable
(Note) When the setting of memory capacity is in PC10 and PC3 mode, and the link
parameter is not set, SN-I/F operates.
7-48
7.11.4.2. Ethernet specification (Port L1, L2)
No. Item Specifications
1 Physical Layer 10BASE-T/100BASE-TX
2 Data Transfer Rate 10Mbps, 100Mbps
3 Maxmum cable length *1 Max 100m (between node and node (when
connected one by one, between node and HUB
, between HUB and HUB)
4 (1) Computer Link Function
Communication Functions
(2) File Memory Function
5 Relay Link Capacity Up to 32 ports
6 Register Link Capacity Up to 1 kilobyte
7 Transmission:2 kilobytes
Message Data Capacity
Reception:2 kilobytes
*1 Designated HUB is used for auto negotiation. It is 100Mbps when auto negotiation is connected
with each other.
Item Specifications
Physical Layer 10Mbps, 100Mbps
Max 100m (Between master and HUB, between master and slave (when
Maximum cable length *1 connected one by one))
Total extension: Max 2100m (HUB: 20 units at the maximum)
Maximum connection
64(master 1 slave 63)
Number of Nodes
Maximum number of
slave:01~63
connected nodes
Node address Input: 2048 points max, Output: 2048 points max
I/O points number Input: 64 points max, Output: 64 points max
I/O points per 1 slave Minimum unit of 8 points
I/O allotment X・Y,M,L,EX・EY,EM,EL,GX/GY,GM
Link area I/O communication
*1 Designated HUB and FRMT are used for auto negotiation. It is 100Mbps when auto negotiation is
connected with each other.
7-49
8. CPU FUNCTION
8.1. CPU Setting Procedure
" Data area separate mode", " Data area single mode", and "PC2 compatible mode" are available as
CPU operation mode. And program capacity and data capacity can be selected as necessary.
Data area separate mode: has independent data area every each program.
Data area single mode: data area in each program is common to other programs.
PC2 compatible mode: Peripheral equipment of PC2 series can be used.
The number of available programs is limited to one 32K words program
(Program-1).
Any function extended in PC3J is unable to be used under this mode.
PC10 mode (including PC10 standard mode) is added in Ver.3.00 and thereafter.
Selection of program capacity and flash register are added to PC10 mode.
Flash register size: 0 - 4096 Kbytes (Setting in the unit of 64Kbytes is allowed.)
(Select "0" when it is unused.)
8-1
8.1.1. Separate patterns of program data
By presetting CPU operation mode, the PC10G can select program capacity and data capacity as
necessary. Program capacity and data capacity are the same as PC3JG from Ver.2.04 and after.
I/O (0.128KW)
I/O (0.128KW)
8-2
Separate pattern 1
I/O
Extended area
data
Separate pattern 2
PRG.1 PRG.3
Program 1 Program 3
(16KW)
(32KW)
I/O
Basic area
Basic area data
data
Extended area
data
8-3
Separate pattern 3
PRG.1 PRG.2
Program 1 Program 2
(16KW)
(32KW)
I/O
Basic area
data Basic area
data
Extended area
data
Separate pattern 4
PRG.1 PRG.2
Program 1 Program 2
(16KW) (16KW)
I/O
Basic area
data Basic area
data
Extended area
data
8-4
Separate pattern 5
PRG.1 PRG.3
Program 1 Program 3
(16KW) (16KW)
I/O
Basic area
Basic area data
data
Extended area
data
8-5
(2) Data area single mode
Single pattern 1
PRG.1 PRG.2 PRG.3
I/O
Basic area
data
Extended area
data
Single pattern 2
PRG.1 PRG.3
Program 1 Program 3
(16KW)
(32KW)
I/O
Basic area
data
Extended area
data
8-6
Single pattern 3
PRG.1 PRG.2
Program 1 Program 2
(16KW)
(32KW)
I/O
Basic area
data
Extended area
data
Single pattern 4
PRG.1
Program 2
(32KW)
I/O
Basic
area
Extended
area
8-7
Single pattern 5
PRG.1
Program 1
(16KW)
I/O
Basic area
data
Extended
area
data
Single pattern 6
PRG.1 PRG.2
Program 1 Program 2
(16KW) (16KW)
I/O
Basic area
data
Extended area
data
8-8
(3) PC2 compatible mode
PRG.1
Program 1
(32KW)
I/O
Basic area
data
8-9
8.1.2. Program Execution
The PC10G can execute two or more programs, that is, three sequence programs maximum. In detail,
these programs are executed in the order of program-1, program-2, program-3 and end processing and
repeated.
The number of programs and execution/ non-execution (*1) of program-2 and -3 are set up using the
CPU operation mode parameters.
Furthermore, link/non-link (*2) of program-2 and -3 with RUN signal is also set using the CPU operation
mode parameters.
*1 Execution of program-2 /-3 can be selected from the CPU operation mode parameters. If
INEFFECTIVE (Non-execution) is selected, the applicable program (program-2 or 3) is not executed.
*2 Link of program-2/-3 can be selected from the CPU operation mode parameters. If "LINK" is selected
and the applicable program stops, RUN signal turns OFF linked with the program stop and all other
programs stop simultaneously.
Power ON or Reset/Start
4 4 4
LABEL * LABEL * LABEL *
Subroutine Subroutine Subroutine
RET program program program
RET RET RET
· ·
· ·
· ·
*3 Initial program is a sequence program being executed only once whenever the power switch is
turned ON or RESET/START is pressed.
*4 :showing label No. of subroutine program. 128 subroutines of S000 ~ S127 per program
and 1024 subroutines of EL0000~EL1023 commonly available for jump and subroutine can be
created respectively.
8-10
(2) Execution/non-execution of program
Execution/non-execution of program 2 and program 3 is set using the CPU operation mode
parameters. Program for which non-execution was selected is not executed.
Execution of program -1,to -3 Execution of program -1,-3 Execution of program -1,-2 Execution of program –1 only
Link of program-2 and -3 with RUN signal can be selected from the CPU operation mode parameters.
If "LINK" is selected and applicable program stops, RUN signal turns OFF linked with the program
and all other programs stop simultaneously.
Link with RUN signal (by parameter setting) RUN signal status at program stopping
Program-1 Program-2 Program-3 Program-1 Program-2 Program-3
The SFC program is executed after the main program of each program.
START
END
8-11
8.1.2.2. Sub-routine
The sequence program includes the same processing at many positions, and these parts can be collected
as subroutine at one position.
When the program contains CALL command, the subroutine having a number designated by CALL
command is executed, and control returns to the original program processing through RET command.
Processing sequence
START (1)
(6)
CALL S***
(3) Repeats (2) – (6) hereafter.
CALL S***
(5)
END
LABEL S***
(2) (4)
Sub-routine
RET
Sub-routine number ranges from S000 to S127, and the nesting structure shown below is allowed:
1024 from EL0000 to EL1023 is additionally included in PC3J series.
Processing sequence
START (1)
(6)
CALL S***
Repeats (2) – (6) hereafter.
(5)
END
LABEL S***
(2)
CALL S###
(4)
RET
LABEL S###
(3)
RET
8-12
8.1.2.3. Interruption program (constant cycle interruption)
Constant cycle interruption that can be set in milliseconds can be set up to four at the maximum in PC10G
standard mode.
Interruption program can be described in any of P1, P2, and P3 in the form of subroutine starting with label
"I0–I3" and ending with RETI command. However, duplication by P1, P2, and P3 is prohibited.
Interruption cycle can be set respectively in the range from 0 to 65535ms (in millimeters), and they are set
as parameter by PCwin. If 0 is designated here, absence of interruption is set.
When interruption is enabled, interruption program having a label of interruption number"I0–I3 is executed
depending on each cycle, and control is returned to the original program processing by RETI processing.
|---[START ]
|---[START ] |---[START ]
|---[END ]
|---[Label I0 ] |---[Label I2 ]
|---[RETI ]
|---[PEND ]
|---[RETI ] |---[RETI ]
|---[PEND ] |---[PEND ]
8-13
Note on interruption program
(1) Execution of interruption program can be prohibited or permitted by application command DI, EI, PDI,
and PEI command. (See the programming manual T-307 for detail.)
(2) When power is turned on or when resetting and starting, execution of interruption program is
prohibited (DI status), therefore EI command must be executed in advance for executing interruption
program.
(3) Interruption response speed: several microseconds - several ten microseconds. However, it may be
delayed 100 microseconds in the worst case when the condition below is overlapped.
Supplement
As for PC10G, interruption is allowed in the course of end processing (refreshing of I/O and link).
(Interruption was prohibited in the course of end processing by PC2 interruption function.)
(4) Priority of interruption factor is as follows. Interruption with higher rank than the interruption program
being executed is processed in advance if it is in EI condition. On the other hand, interruption with
lower rank than the interruption program being executed is pended until RETI command is executed
even if it is in EI condition.
Interruption level 64 65 66 67
Interruption number I0 I1 I2 I3
8-14
(5) Enable Interrupt status (EI status) is set even when interruption program is being executed. Therefore
when the time for executing an interruption program with higher priority is reached in the course of
interruption execution, the interruption program with higher priority is executed.
Priority
Interruption program I0
Interruption program I1
Interruption program I2
Interruption program I3
Main program
Time
Interruption Interruption
program I2 program I2 is
is executed. over.
When it is not desired to execute any other interruption program while the interruption program is being
executed, use "partial disable interrupt (PDI)" and "partial enable interrupt (PEI)".
EX:
|-------------------------------------[LABEL I3 ]-|
|-------------------------------------[PDI 64d 3d ]-|
|-------------------------------------[PEI 64d 3d ]-|
|-------------------------------------[RETI ]-|
(6) Interruption program is executed upon image memory. Therefore the output data calculated by
interruption processing is not output to the external output module until END command finishes one
scan. When you want to output externally the result processed by interruption on the spot, use I/O
control command RIO, RI,RO, and ARIO before RETI command.
8-15
8.1.2.4. Constant scan function
Perform constant scanning by describing the following command immediately after START command of P1.
P1
|--------[START ]
|-------[SYS 20 10 0]
When a value smaller than actual scan time is set, constant scan is not applied naturally. Therefore, set a
value greater than the maximum of scan time.
When the previous scan time has exceeded the preset value, turn on V56(CY) when executing this
command.
8-16
8.1.3. Inter-program data utilization
As mentioned in the foregoing subsection, the PC10G can execute three different sequence programs
maximum in the given order. These program data can be utilized mutually for each program without
special setting.
· · ·
· · ·
P2-M100 M100 M100 Y200 P2-M110
=H P3-D0000L=12h
· · ·
· · ·
END END END
PEND PEND PEND
Extended
area data EM0000
8-17
(1-2) I/O area and extended area
· · ·
· · ·
· · ·
P2-M100 M100 M100 Y200 M100
=H P3-D0000L=12h
· · ·
· · ·
· · ·
END END END
PEND PEND PEND
Extended
area data EM0000
· · ·
· · ·
· · ·
· · ·
M100
M200
Basic area
M300
data
M310
D0000
Extended
EM0000
area data
8-18
(3) PC2 compatible mode
Under this mode the number of programs is limited to one program (Program-1).
No extended area is available as the data area.
PRG.1
START
· · ·
M200 M100
Sequence M200
program =H D0000L=12h
· · ·
END
PEND
M100
Basic area
M200
data
D0000
8-19
8.2. User memory data
8.2.1. Parameter
The following parameters are available as those settable at user side. These are settable according to
each program. (For the setting method, see the PCWin Operation Manual.)
Items Settable range
PC10mode,PC10standerd mode,PC3JGmode
User memory Data area separate mode1~5,Data area single mode1~6
CPU operation
PC2compatible mode
mode
Main program
Scan time over
I/O table verification error
Running status against error Stop/continue
Applied command error
Data error
I/O module allocation *1 Type identification code Module identification code
(0 - E rack, 0 - 7 slots ) Allocation points 0 - 64points/slot
Interruption (constant cycle 0 - 65535ms
Interruption No.0 - No.3
interruption mechanism) Program 1, 2, 3
Link *2
Link parameters Depending on type of link module
module
Other Program name 64characters (half size)
*1 The CPU has the function to recognize the installation status of I/O module, whereby I/O
configuration preset in parameters is compared with the real installation status of same module
when the power switch is turned ON or RESET is pressed.
Therefore, incorrect configuration of I/O module or use of incorrect module type and missing
parameter setting would result in " I/O TABLE VERIFICATION ERROR".
In addition to the above function, allocation of I/O address occupied points to each slot is can be
set and this data is prior to the real points in I/O module.
*2 Twenty-four (24) communication modules (link) maximum can be installed.
However, the number of modules per program is up to 8 maximum. A built-in link is allocated as
one module.
*1 Inputs/outputs are all common to all the programs. Extended input output is unusable for actual I/O.
8-20
8.2.3. I/O address table
8.2.3.1. PC3JG/PC10 standard mode(~Ver.2.04)
*2 Data
Identif
Address
Bit Word Number
area
No
ier
Name Points Indirect byte
address address of words address holding
*1 1 X Input
X,Y000 – 7FF 2048 X,Y00W – 7FW 128 200 – 2FF -
*1 2 Y Output
*1 6 T Timer
T,C000 - 1FF 512 T,C00W - 1FW 32 C0 - FF -
*1 7 C Counter
8 L Link relay L000 - 7FF 2048 L00W - 7FW 128 100 - 1FF -
9 P Edge detection P000 - 1FF 512 - - - -
17 EM Extended internal relay EM000 - 1FFF 8192 EM00W - 1FFW 512 C00 - FFF -
18 EK Extended keep-relay EK000 - FFF 4096 EK00W - FFW 256 200 - 3FF O
19 EV Extended special relay EV000 - FFF 4096 EV00W - FFW 256 400 - 5FF -
Extended area 1
*1 20 ET Extended timer
ET,EC000 - 7FF 2048 ET,EC00 - 7FW 128 600 - 6FF -
*1 21 EC Extended counter
22 EL Extended link relay EL000 - 1FFF 8192 EL00W - 1FFW 512 700 - AFF -
Extended edge
23 EP EP000 - FFF 4096 - - - -
detection
Extended present EN0000-0 -
24 EN 32768 EN0000 - 07FF 2048 2000-2FFF O
Word address area
Bit address
65536 4096 -
area 2
30 U Extended data register U0000-0 - 7FFF-F 524288 U0000 - 7FFF 32768 0000-FFFF O
area
*3
31 EB Extended buffer register Not use - EB00000-1FFFF 131072 - O
*1 Address can not be allocated in overlap to X and Y (EX,EY,GX,GY) and T and C ( ET, EC).
It is incorrect to allocate like (X000/Y000, EX000/EY000, T000/C000, ET000/EC000. )
*2 Used to indirectly designate address using applied command. For indirectly designating address to extended area
and data area of other program, follow the sequence given below.
Use the register of area designated with indirect address as the applied command operand register.
Designate indirect address with offset+ indirect byte address. The offset value is 0000h in the extended area, 4000h
in Program 1, 8000h in Program 2, and C000h in Program 3.
EX. 8 points (1 byte) of EX000 to EX007 in the extended area are transferred to the lower byte of Program 2 D0000.
The register (EM00W) of extended area The register P2-D0100) of Program 2 is used
is used to designate the extended area to designate the area of Program 2 with
with indirect address. indirect address.
Herein, set in advance indirect byte address 0B00h (0000h + 0B00h) in the extended area EX000 - EX007 in the
extended internal relays (EM00W (EM000 - EM00F) and indirect byte address A000h (8000h + 2000h) of D0000
lower byte in the data register P2-D0100 of Program 2 respectively.
*3 An address changes by the mode of CPU of operation.
8-21
8.2.3.2. PC10 mode(Ver.3.00~)
Coloring part is the address which increased by PC10G (Ver.3.00 and over).
*4
Address area
Data
Identifier
indirect byte
Bit address Word address Number of holding
Name points address
(***-***) (***-***) words area at
(***-***)
power cut
off
P Edge detection P000 P1FF 512 P00W P1FW 32 - - -
K Keep-relay K000 K2FF 768 K00W K2FW 48 40 9F ○
N Present value register N000-0 N1FF-F 8192 N000 N1FF 512 C00 FFF ○
area
*7 R Link register R000-0 R7FF-F 32768 R000 R7FF 2048 1000 1FFF ○
D Data register D0000-0 D2FFF-F 196608 D0000 D2FFF 12288 2000 7FFF ○
*1 P Edge detection P1000 P17FF 2048 P100W P17FW 128 C000 C0FF -
Bit address area
*1 V Special relay V1000 V17FF 2048 V100W V17FW 128 C100 C1FF -
*1 TC Timer Counter T1000 T17FF 2048 T100W T17FW 128 C200 C2FF -
*1 M Internal relay M1000 M17FF 2048 M100W M17FW 128 C300 C3FF -
*1 L Link relay L1000 L2FFF 8192 L100W L2FFW 512 C400 C7FF -
address area
*1 S Special register S1000-0 S13FF-F 16384 S1000 S13FF 1024 C800 CFFF ○
Word
*1 N Present value register N1000-0 N17FF-F 32768 N1000 N17FF 2048 D000 DFFF ○
Extended edge
EP EP000 EPFFF 4096 EP00W EPFFW 256 - - -
detection
EK Extended keep-relay EK000 EKFFF 4096 EK00W EKFFW 256 200 3FF ○
Extended special
Bit address area
EL Extended link relay EL0000 EK1FFF 8192 EL000W EK1FFW 512 700 AFF -
EX Extended input output EX000 EX7FF 2048 EX00W EX7FW 128 B00 BFF -
E Extended internal
EM0000 EM1FFF 8192 EM000W EM1FFW 512 C00 FFF -
M relay
Extended special
*8 ES ES000-0 ES7FF-F 32768 ES000 ES7FF 2048 1000 1FFF ○
register
address area
Word
E Extended present
*7 EN000-0 EN7FF-F 32768 EN000 EN7FF 2048 2000 2FFF ○
N value register
Extended setting
*7 H H000-0 H7FF-F 32768 H000 H7FF 2048 3000 3FFF ○
value resister
G
address area
Extended input output GX0000 GXFFFF 65536 GX000W GXFFFW 4096 C000 DFFF -
area 2
Other
XY
Bit
G Extended internal
GM0000 GMFFFF 65536 GM000W GMFFFW 4096 E000 FFFF -
M relay
U00000- U1FFFF-
U Extended data register 2097152 U00000 U1FFFF 131072 *2 *2 ○
0 F
address area
Word
EB00000 EB3FFF
*5 EB Extended buffer register 4194304 EB00000 EB3FFFF 262144 *2 *2 ○
-0 F-F
FR00000 FR1FFF FR1FFFF
*3 FR Extended flash register 33554432 FR000000 2097152 *2 *2 ○/-
0-0 FF-F F
*1 It is not allowed to refer to additional new address in basic area after No.400 of indirect address of the other area 1.
Further, the area expanded in PC10 mode (P, V, TC, M, L, S, and N) all starts from No.1000. It is not continuous from conventional
area. It is not allowed to cross over conventional area and expanded area in setting the communication refresh area and application
command treated per block.
*2 See the next page for indirect address of U, EB, and FR area.
*3 See "8.7.2 Flash register" for expanded flash register.
*4 Area for saving data when power is off (reset).
*5 In PC10 mode, it is allowed to directly designate the address of EB area for each operand of contact, coil, and application command.
(In PC3JG/PC10 standard mode, it was not allowed to designate directly the address of EB area for operand of contact, coil, and
application command. Accessed by "Command dedicated to EB area access".
EB000-1 EB100-2
|-----||---------------------------------[ ]
*6 It is not allowed to assign address in duplication to X and Y (EX and EY, GX and GY) and T and C (ET and EC).
(It is wrong to assign address X000/Y000, EX000/EY000, T000/C000, and ET000/EC000.)
*7 R0500 - 07FF is for SFC control, and cannot be used for general purpose.
When SFC is used, expanded timer and counter ET/C, EN, and H are restricted in use.
*8 Special relay and special register are for system. Use them only for defined application.
8-22
Indirect address of U, EB, and FR area is used in the address space of every 64K (0 - FFFF) shown below.
Therefore, register of space designated by indirect address must be used for register for saving indirect
address.
When indirectly designating U, EB, and FR by application command, use index register function.
8-23
8.2.5. Ex number
In PC10 mode, the whole data area is represented by "byte address of 8 digits (hexadecimal)".
"Byte address of 8 digits" and "Ex number" may be used by "index function" and "flash register".
Byte address of 8 digits = "00" + "Ex number (2 digits)" + "Indirect byte address"
Ex:
P1-D0000 ⇒ 000D2000
EB01234 ⇒ 00102468h
EM0L ⇒ 00010C00h
上位2桁 下位4桁
Upper two digits Lower four digits 上位2桁
Upper two digits 下位4桁
Lower 上位2桁
four digits Upper two digits 下位4桁
Lower four digits 上位2桁
Upper two digits 下位4桁
Lower four digits
00 Own自領域 area
20 40 FR00 0000-FFFF 60 FR32 0000-FFFF
01 E* 21 41 FR01 0000-FFFF 61 FR33 0000-FFFF
02 G* 22 42 FR02 0000-FFFF 62 FR34 0000-FFFF
03 U 0000-FFFF 23 43 FR03 0000-FFFF 63 FR35 0000-FFFF
04 U1 0000-FFFF 24 44 FR04 0000-FFFF 64 FR36 0000-FFFF
05 U2 0000-FFFF 25 45 FR05 0000-FFFF 65 FR37 0000-FFFF
06 U3 0000-FFFF U0000-U1FFFF
26 46 FR06 0000-FFFF 66 FR38 0000-FFFF
07 27 47 FR07 0000-FFFF 67 FR39 0000-FFFF
08 FR0000-FR1FFFFF
28 48 FR08 0000-FFFF 68 FR40 0000-FFFF
09 29 49 FR09 0000-FFFF 69 FR41 0000-FFFF
0A 2A 4A FR10 0000-FFFF 6A FR42 0000-FFFF
0B 2B 4B FR11 0000-FFFF 6B FR43 0000-FFFF
0C Forシステム用
system 2C 4C FR12 0000-FFFF 6C FR44 0000-FFFF
0D P1 0000-FFFF 2D 4D FR13 0000-FFFF 6D FR45 0000-FFFF
0E P2 0000-FFFF 2E 4E FR14 0000-FFFF 6E FR46 0000-FFFF
0F P3 0000-FFFF 2F 4F FR15 0000-FFFF 6F FR47 0000-FFFF
10 EB0 0000-FFFF 30 50 FR16 0000-FFFF 70 FR48 0000-FFFF
11 EB1 0000-FFFF 31 51 FR17 0000-FFFF 71 FR49 0000-FFFF
12 EB2 0000-FFFF 32 52 FR18 0000-FFFF 72 FR50 0000-FFFF
13 EB3 0000-FFFF 33 53 FR19 0000-FFFF 73 FR51 0000-FFFF
14 EB4 0000-FFFF 34 54 FR20 0000-FFFF 74 FR52 0000-FFFF
15 EB5 0000-FFFF EB0000-EB3FFFF 35 55 FR21 0000-FFFF 75 FR53 0000-FFFF
16 EB6 0000-FFFF 36 56 FR22 0000-FFFF 76 FR54 0000-FFFF
17 EB7 0000-FFFF 37 57 FR23 0000-FFFF 77 FR55 0000-FFFF
18 EB8 38 58 FR24 0000-FFFF 78 FR56 0000-FFFF
19 EB9 Reserved 39 59 FR25 0000-FFFF 79 FR57 0000-FFFF
1A EB10 3A 5A FR26 0000-FFFF 7A FR58 0000-FFFF
1B EB11 予約 3B 5B FR27 0000-FFFF 7B FR59 0000-FFFF
1C EB12 3C 5C FR28 0000-FFFF 7C FR60 0000-FFFF
1D EB13 3D 5D FR29 0000-FFFF 7D FR61 0000-FFFF
1E EB14 3E 5E FR30 0000-FFFF 7E FR62 0000-FFFF
1F EB15 3F 5F FR31 0000-FFFF 7F FR63 0000-FFFF
8-24
Ref) Address list
Ex No.
Name Address Byte address
(Hexadecimal)
Edge P000 - P1FF 0000 - 003F
Keep-relay K000 - K2FF 0040 - 009F
Special relay V000 - V0FF 00A0 - 00BF
Timer/Counter TC000 - TC1FF 00C0 - 00FF
Link relay L000 - L7FF 0100 - 01FF
P1PC3JG
Input Output XY000 - XY7FF 0200 - 02FF
compatible
Internal relay M000 - M7FF 0300 - 03FF
Special register S0000 - S03FF 0400 - 0BFF
Present value register N0000 - N01FF 0C00 - 0FFF
Link register 0D R0000 - R07FF 1000 - 1FFF
Data register 1 D0000 - D0FFF 2000 - 3FFF
Data register 2 D1000 - D2FFF 4000 - 7FFF
Edge P1000 - P17FF C000 - C0FF
P1 Special relay V1000 - V17FF C100 - C1FF
Timer/Counter TC1000 - TC17FF C200 - C2FF
PC10 Internal relay M1000 - M17FF C300 - C3FF
expansion Link register L1000 - L2FFF C400 - C7FF
Special register S1000 - S13FF C800 – CFFF
Present value register N1000 - N17FF D000 – DFFF
Edge P000 - P1FF 0000 - 003F
Keep-relay K000 - K2FF 0040 - 009F
Special relay V000 - V0FF 00A0 - 00BF
P2 Timer/Counter TC000 - TC1FF 00C0 - 00FF
Link register L000 - L7FF 0100 - 01FF
PC3JG Input Output XY000 - XY7FF 0200 - 02FF
compatible Internal relay M000 - M7FF 0300 - 03FF
Special register S0000 - S03FF 0400 - 0BFF
Present value register N0000 - N01FF 0C00 - 0FFF
Basic
Link register 0E R0000 - R07FF 1000 - 1FFF
area
Data register 1 D0000 - D0FFF 2000 - 3FFF
Data register 2 D1000 - D2FFF 4000 - 7FFF
Edge P1000 - P17FF C000 - C0FF
P2 Special relay V1000 - V17FF C100 - C1FF
Timer/Counter TC1000 - TC17FF C200 - C2FF
PC10 Internal relay M1000 - M17FF C300 - C3FF
expansion Link register L1000 - L2FFF C400 - C7FF
Special register S1000 - S13FF C800 – CFFF
Present value register N1000 - N17FF D000 – DFFF
Edge P000 - P1FF 0000 - 003F
Keep-relay K000 - K2FF 0040 - 009F
Special relay V000 - V0FF 00A0 - 00BF
Timer/Counter TC000 - TC1FF 00C0 - 00FF
P3 Link register L000 - L7FF 0100 - 01FF
Input Output XY000 - XY7FF 0200 - 02FF
PC3JG
compatible Internal relay M000 - M7FF 0300 - 03FF
Special register S0000 - S03FF 0400 - 0BFF
Present value register N0000 - N01FF 0C00 - 0FFF
Link register 0F R0000 - R07FF 1000 - 1FFF
Data register 1 D0000 - D0FFF 2000 - 3FFF
Data register 2 D1000 - D2FFF 4000 - 7FFF
Edge P1000 - P17FF C000 - C0FF
P3 Special relay V1000 - V17FF C100 - C1FF
Timer/Counter TC1000 - TC17FF C200 - C2FF
PC10 Internal relay M1000 - M17FF C300 - C3FF
expansion Link register L1000 - L2FFF C400 - C7FF
Special register S1000 - S13FF C800 – CFFF
Present value register N1000 - N17FF D000 – DFFF
8-25
Ex No.
Name Address Byte address
(Hexadecimal)
Extended edge EP000 - EPFFF 0000 - 01FF
Extended keep-relay EK000 - EKFFF 0200 - 03FF
Extended Special relay EV000 - EVFFF 0400 - 05FF
Extended Timer/Counter ETC000 - ETC7FF 0600 - 06FF
Extended PC3JG Extended Link relay EL0000 - EL1FFF 0700 - 0AFF
01
area1 compatible Extended Input Output EXY000 - EXY7FF 0B00 - 0BFF
Extended Internal relay EM0000 - EM1FFF 0C00 - 0FFF
Extended Special register ES0000 - ES07FF 1000 - 1FFF
Extended Present value register EN0000 - EN07FF 2000 - 2FFF
Extended setting value resister H0000 - H07FF 3000 - 3FFF
Extended PC3JG Extended Input Output GXY0000 - GXYFFFF C000 – DFFF
02
area2 compatible Extended Internal relay GM0000 - GMFFFF E000 – FFFF
PC3JG
03 U00000 - U07FFF 0000 – FFFF
compatible
Extended
Extended data resister 04 U08000 - U0FFFF 0000 – FFFF
area3
PC10Expansion 05 U10000 - U17FFF 0000 – FFFF
06 U18000 - U1FFFF 0000 – FFFF
10 EB00000 - EB07FFF 0000 – FFFF
PC3JG 11 EB08000 - EB0FFFF 0000 – FFFF
compatible 12 EB10000 - EB17FFF 0000 - FFFF
Extended 13 EB18000 - EB1FFFF 0000 - FFFF
Extended buffer resister
area 4 14 EB20000 - EB27FFF 0000 - FFFF
15 EB28000 - EB2FFFF 0000 - FFFF
PC10Expansion
16 EB30000 - EB37FFF 0000 - FFFF
17 EB38000 - EB3FFFF 0000 - FFFF
8-26
Ex No.
Name Address Byte address
(Hexadecimal)
40 FR000000 - FR007FFF 0000 - FFFF
41 FR008000 - FR00FFFF 0000 - FFFF
42 FR010000 - FR017FFF 0000 - FFFF
43 FR018000 - FR01FFFF 0000 - FFFF
44 FR020000 - FR027FFF 0000 - FFFF
45 FR028000 - FR02FFFF 0000 - FFFF
46 FR030000 - FR037FFF 0000 - FFFF
47 FR038000 - FR03FFFF 0000 - FFFF
48 FR040000 - FR047FFF 0000 - FFFF
49 FR048000 - FR04FFFF 0000 - FFFF
4A FR050000 - FR057FFF 0000 - FFFF
4B FR058000 - FR05FFFF 0000 - FFFF
4C FR060000 - FR067FFF 0000 - FFFF
4D FR068000 - FR06FFFF 0000 - FFFF
4E FR070000 - FR077FFF 0000 - FFFF
4F FR078000 - FR07FFFF 0000 - FFFF
50 FR080000 - FR087FFF 0000 - FFFF
51 FR088000 - FR08FFFF 0000 - FFFF
52 FR090000 - FR097FFF 0000 - FFFF
53 FR098000 - FR09FFFF 0000 - FFFF
54 FR0A0000 - FR0A7FFF 0000 - FFFF
55 FR0A8000 - FR0AFFFF 0000 - FFFF
56 FR0B0000 - FR0B7FFF 0000 - FFFF
57 FR0B8000 - FR0BFFFF 0000 - FFFF
58 FR0C0000 - FR0C7FFF 0000 - FFFF
59 FR0C8000 - FR0CFFFF 0000 - FFFF
5A FR0D0000 - FR0D7FFF 0000 - FFFF
5B FR0D8000 - FR0DFFFF 0000 - FFFF
5C FR0E0000 - FR0E7FFF 0000 - FFFF
5D FR0E8000 - FR0EFFFF 0000 - FFFF
5E FR0F0000 - FR0F7FFF 0000 - FFFF
Extended 5F FR0F8000 - FR0FFFFF 0000 - FFFF
PC10Expansion Flash resister
area5 60 FR100000 - FR107FFF 0000 - FFFF
61 FR108000 - FR10FFFF 0000 - FFFF
62 FR110000 - FR117FFF 0000 - FFFF
63 FR118000 - FR11FFFF 0000 - FFFF
64 FR120000 - FR127FFF 0000 - FFFF
65 FR128000 - FR12FFFF 0000 - FFFF
66 FR130000 - FR137FFF 0000 - FFFF
67 FR138000 - FR13FFFF 0000 - FFFF
68 FR140000 - FR147FFF 0000 - FFFF
69 FR148000 - FR14FFFF 0000 - FFFF
6A FR150000 - FR157FFF 0000 - FFFF
6B FR158000 - FR15FFFF 0000 - FFFF
6C FR160000 - FR167FFF 0000 - FFFF
6D FR168000 - FR16FFFF 0000 - FFFF
6E FR170000 - FR177FFF 0000 - FFFF
6F FR178000 - FR17FFFF 0000 - FFFF
70 FR180000 - FR187FFF 0000 - FFFF
71 FR188000 - FR18FFFF 0000 - FFFF
72 FR190000 - FR197FFF 0000 - FFFF
73 FR198000 - FR19FFFF 0000 - FFFF
74 FR1A0000 - FR1A7FFF 0000 - FFFF
75 FR1A8000 - FR1AFFFF 0000 - FFFF
76 FR1B0000 - FR1B7FFF 0000 - FFFF
77 FR1B8000 - FR1BFFFF 0000 - FFFF
78 FR1C0000 - FR1C7FFF 0000 - FFFF
79 FR1C8000 - FR1CFFFF 0000 - FFFF
7A FR1D0000 - FR1D7FFF 0000 - FFFF
7B FR1D8000 - FR1DFFFF 0000 - FFFF
7C FR1E0000 - FR1E7FFF 0000 - FFFF
7D FR1E8000 - FR1EFFFF 0000 - FFFF
7E FR1F0000 - FR1F7FFF 0000 - FFFF
7F FR1F8000 - FR1FFFFF 0000 - FFFF
8-27
8.2.5. Table of special relays
Special relays are used for special applications such as CPU status, applied commands, link module,
etc. And these relays exist in the basic area and the extended area.
For the data memory division mode the special relays are provided in the basic area every each
program. In this case, applied-command related special relays which are used in each sequence
program are configured in special-relay area corresponding to the program. Other relays are all
configured in the special relay area for " PRG.1".
Don't handle a user because "V58~V5D" "EV800~EVBFF" is used for the one for the executive control
of SFC when you do programming by SFC. It is all reservation area for the address that doesn't exist in
the list. Therefore, the user cannot use its address.
(1-1) PC10 mode, data memory division mode PRG.1
Address Name Outline Description
0: No ERR0 ON against occurrence of major error
V01 MAJOR ERROR
1: ERR0 in occurring OFF after ERROR is reset
ON against occurrence of minor
0: No ERR1
V02 MINOR ERROR error.
1: ERR1 in occurring
OFF after ERROR is reset.
0: No ALM ON against ALARM
V03 ALARM
1: ALM in outputting OFF after ERROR is reset.
Normally ON irrespective of run
V04 NORMALLY ON Normally 1
status.
Normally OFF irrespective of run
V05 NORMALLY OFF Normally 0
status.
END command
ON ON by resetting and OFF by END
V06 1ST SCAN Reset processing.
OFF
0: Not in dummy stopping ON by executing dummy scan stop
V24 IN DUMMY STOPPING
1: In dummy stopping OFF by resetting
STOP REQ IN 0: No stop request ON by dummy scan stop request.
V25
CONTINUING 1: Stop requested OFF by resetting
0: In scanning OFF during sequence scan
V26 IN STOPPING
1: In stopping But ON during step-operation
0: Sequence command non-execution ON while sequence command is in
V27 RUN
1: Sequence command in executing executing.
0: Single mode
V38 DATA MEMORY MODE ON under data area division mode
1: Division mode
PRG.1 FUN FLAG 0: Not FUN FLAG CLEAR MODE ON when program-1 is FUN FLAG
V39
CLEAR MODE 1: FUN FLAG CLEAR MODE CLEAR mode.
0: Not in data backing up ON while user data is being backed
V3A IN DATA BACK-UP
1: In data backing-up up
0: Sequence command non-execution ON while program-1 is executing
V40 PRG.1 RUN
1: Sequence command in executing sequence command.
0: Sequence command non-execution ON while program-2 is executing
V41 PRG.2 RUN
1: Sequence command in executing sequence command.
0: Sequence command non-execution ON while program-3 is executing
V42 PRG.3 RUN
1: Sequence command in executing sequence command.
0: Test mode OFF
V48 Test mode 1: Test mode operating
Test mode operating ON
0: Event monitor not executed ON when event monitor is
V49 Event monitor 1: Event monitor being executed enabled
0: FB library invalid
V4A FB library 1: FB library valid
ON when FB library is enabled
0: User library invalid
V4B User library 1: User library valid
ON when user library is enabled
0: Standard library invalid ON when standard library is
V4A Standard library 1: Standard library valid enabled
ON if applied command error occurs
PRG.1 APPLIED
0: No error in program-1 and OFF if not, but
V50 COMMAND ERROR 1
1: Error limited to only command with
(ER)
confinement .
0: Comparative result not small Result of comparison with applied
V51 PRG.1
1: Comparative result small command in program-1
0: Comparative result unequal Result of comparison with applied
V52 PRG.1
1: Comparative result equal command in program-1
8-28
Address Name Outline Description
0: Comparative result not large Result of comparison with applied command in
V53 PRG.1 >
1: Comparative result large program-1
0: Result not 0 ON when computation result of applied command in
V54 PRG.1 ZERO (Z)
1: Result 0 program-1 is 0.
0: No digit down The computation result of applied command in
V55 PRG.1 BORROW (BO)
1: Digit down program-1 is smaller than 0.
0: No digit up The computation result of applied command in
V56 PRG.1 CARRY (CY)
1: Digit up program-1 exceeded the specific digit number.
0: No error present ON if index error is found in program 1, and OFF if
V57 PRG.1 Index error (ER)
1: Error present not found.
DATA ERROR UNCHECK ALM is cleared by turning
V5E DATA ERROR CLEAR 1: Data error cleared
ON this special relay (V5E).
V70 0.1 SEC CLOCK 0.05 sec. Clock of cycle 0.1 sec and duty 50%
0.05 sec.
V71 0.2 SEC CLOCK 0.1 sec. Clock of cycle 0.2 sec and duty 50%
0.1 sec.
0.5 sec.
V72 1-SEC CLOCK Clock of cycle 1 sec and duty 50%
0.5 sec.
V73 2-SEC CLOCK 1 sec. Clock of cycle 2 sec and duty 50%
1 sec.
V74 60-SEC CLOCK 30 sec. Clock of cycle 60 sec and duty 50%
30 sec.
V78 SCAN CLOCK 1 scan Clock to turn ON/ OFF SCAN every 1 scan.
1 scan
Note) For the communication (link) modules, see the respective Instruction Manuals.
8-29
Address Name Outline Description
PRG.1-LINK 2
V93
LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 3
V94 1: Special unit command hierarchy hierarchy communication is executed.
LINK COMMANDPERMITFLAG
communication permitted Turns on in execution.
PRG.1-LINK 3
V95
LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 4
V96 1: Special unit command hierarchy hierarchy communication is executed.
LINK COMMANDPERMITFLAG
communication permitted Turns on in execution.
PRG.1-LINK 4
V97
LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 5
V98 1: Special unit command hierarchy hierarchy communication is executed.
LINK COMMANDPERMITFLAG
communication permitted Turns on in execution.
PRG.1-LINK 5
V99
LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 6
V9A 1: Special unit command hierarchy hierarchy communication is executed.
LINK COMMANDPERMITFLAG
communication permitted Turns on in execution.
PRG.1-LINK 6
V9B
LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 7
V9C 1: Special unit command hierarchy hierarchy communication is executed.
LINK COMMANDPERMITFLAG
communication permitted Turns on in execution.
PRG.1-LINK 7
V9D
LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 8
V9E 1: Special unit command hierarchy hierarchy communication is executed.
LINK COMMANDPERMITFLAG
communication permitted Turns on in execution.
PRG.1-LINK 8
V9F
LINK COMMANDERRORFLAG
VA0 ALL ST IN COMMUNICATING
}
VA1 LINK PARAMETERERROR PRG.1 0: No error
VA2 COMMUNICATION ERROR -LINK 1 1: Error
VA3
VA4 ALL ST IN COMMUNICATING
}
VA5 LINK PARAMETERERROR 0: No error
PRG.1
VA6 COMMUNICATION ERROR 1: Error
-LINK 2
VA7
VA8 ALL ST IN COMMUNICATING
}
VA9 LINK PARAMETERERROR 0: No error
PRG.1
VAA COMMUNICATION ERROR 1: Error
-LINK 3
VAB
VAC ALL ST IN COMMUNICATING
}
VAD LINK PARAMETERERROR 0: No error
PRG.1
VAE COMMUNICATION ERROR 1: Error
-LINK 4
VAF
VB0 ALL ST IN COMMUNICATING
}
VB1 LINK PARAMETERERROR 0: No error
PRG.1
VB2 COMMUNICATION ERROR 1: Error
-LINK 5
VB3
VB4 ALL ST IN COMMUNICATING
}
VB5 LINK PARAMETERERROR 0: No error
PRG.1
VB6 COMMUNICATION ERROR 1: Error
-LINK 6
VB7
VB8 ALL ST IN COMMUNICATING
}
VB9 LINK PARAMETERERROR 0: No error
PRG.1
VBA COMMUNICATION ERROR 1: Error
-LINK 7
VBB
VBC ALL ST IN COMMUNICATING
}
VBD LINK PARAMETERERROR 0: No error
PRG.1
VBE COMMUNICATION ERROR 1: Error
-LINK 8
VBF
Note) For the communication (link) modules, see the respective Instruction Manuals.
8-30
Address Name Outline Description
0: No error
VC0 CPU ERROR ON upon detection of CPU module error.
1: Error
0: No error ON upon detection of POWER DOWN .
VC1 POWER DOWN
1: Error OFF after reset or power rethrow-in
0: No error
VC2 MEMORY DATA ERROR ON detection of program or parameter data error.
1: Error
0: No error
VC3 I/O BUS ERROR ON upon detection of I/O bus error.
1: Error
ON upon detection of special module error
SPECIAL MODULE 0: No error OFF after ERROR reset
VC4
ERROR 1: Error
MODULE PARAMETER 0: No error ON when CPU can not recognize correctly I/O
VC5
ERROR 1: Error module.
0: No error
VC6 PARAMETER ERROR ON upon detection of parameter error.
1: Error
I/O MODULE ERROR 0: No error ON upon detection of I/O module error
VC7
( Fuse blown, etc.) 1: Error OFF after ERROR reset
I/O COMPOSITION 0: No error ON upon detection of I/O module composition error/
VC8 ( Allocation of special card number and I/O addresses )
ERROR 1: Error
USER PROGRAM 0: No error ON upon detection of error related to user program.
VC9
ERROR 1: Error OFF after ERROR reset.
BACK UP MEMORY 0: No error
VCA ON upon detection of back-up memory error
ERROR 1: Error
DATA ERROR 0: Checked ON upon detection of memory data error (VC2).
VCB
UNCHECK 1: Uncheck OFF with V5E ON or use of peripheral equipment.
PRG.1 0: No error
VD0 ON upon errors related to user program as program-1
USER PROGRAM ERROR 1: Error
PRG.2 0: No error
VD1 ON upon errors related to user program as program-2
USER PROGRAM ERROR 1: Error
PRG.3 0: No error
VD2 ON upon errors related to user program as program-3
USER PROGRAM ERROR 1: Error
PRG.1 PARAMETER 0: No error
VD8 ON upon detection of program-1 parameter error
ERROR 1: Error
PRG.2 PARAMETER 0: No error
VD9 ON upon detection of program-2 parameter error
ERROR 1: Error
PRG.3 PARAMETER 0: No error
VDA ON upon detection of program-3 parameter error
ERROR 1: Error
I/O VERIFICATION 0: No error ON when I/O identification codes of parameter differ
VE0
ERROR 1: Error from actually mounted I/O modules.
0: No error ON upon detection of SCAN TIME OVER .
VE1 SCAN TIME-OVER
1: Error OFF after reset or power rethrow-in
PRG.1 APPLIED 0: No error ON against occurrence of error of applied command
VE2
COMMAND ERROR LATCH 1: Error (V50) in program-1. It is held until reset or 0 write.
PRG.1 SCAN TIME 0: No error ON upon detection of scan time-over in program-1.
VE8
OVER 1: Error OFF after reset or power rethrow-in
PRG.2 SCAN TIME 0: No error ON upon detection of scan time-over in program-2.
VE9
OVER 1: Error OFF after reset or power rethrow-in
PRG.3 SCAN TIME 0: No error ON upon detection of scan time-over in program-3.
VEA
OVER 1: Error OFF after reset or power rethrow-in
0: No error ON upon error detection
VF0 BATTERY ERROR
1: Error OFF after ERROR reset
SPECIAL MODULE 0: No error ON against allocation error of communication (link)
VF2
ALLOCATION ERROR 1: Error module.
DIAGNOSIS MODULE 0: No error
VF3 ON against diagnosis module error.
ERROR 1: Error
0: No error
VF5 CLOCK ERROR ON upon detection of built-in clock error.
1: Error
8-31
(1-2) Data memory division mode PRG.2
Address Name Outline Description
V04 NORMALLY ON NORMALLY 1 ON irrespective operation status
V05 NORMALLY OFF NORMALLY 0 OFF irrespective of operation status
END COMMAND
ON
V06 1ST SCAN Reset
ON by resetting and OFF by END processing.
OFF
0: Not in dummy stopping ON by executing dummy scan stop
V24 IN DUMMY STOPPING
1: In dummy stopping OFF by resetting
IN STOP REQUEST 0: No stop request ON by dummy scan stop request.
V25
CONTINUING 1: Stop requested OFF by resetting
0: In scanning OFF during sequence scan
V26 IN STOPPING
1: In stopping But ON during step-operation
PRG.2 FUN FLAG 0: Not FUN FLAG CLEAR MODE
V39 1: FUN FLAG CLEAR MODE ON when program-2 is FUN FLAG CLEAR mode.
CLEAR MODE
ON if applied command error occurs in program-2
PRG.2 APPLIED 0: No error
V50 and OFF if not, but limited to only command with
COMMAND ERROR 1 (ER) 1: Error
confinement .
0: Comparative result not small Result of comparison with applied command in
V51 PRG.2 < 1: Comparative result small program-2
0: Comparative result unequal Result of comparison with applied command in
V52 PRG.2 = 1: Comparative result equal program-2
0: Comparative result not large Result of comparison with applied command in
V53 PRG.2 > 1: Comparative result large program-2
0: Result not 0 ON when computation result of applied command in
V54 PRG.2 ZERO (Z)
1: Result 0 program-2 is 0.
0: No digit down The computation result of applied command in
V55 PRG.2 BORROW (BO)
1: Digit down program-2 is smaller than 0.
0: No digit up The computation result of applied command in
V56 PRG.2 CARRY (CY)
1: Digit up program-2 exceeded the specific digit number.
0: No error ON if index error is found in program 2, and OFF if
V57 PRG.2 Index error (ER)
1: Error not found.
0.05 sec.
V70 0.1 SEC CLOCK 0.05 sec. Clock of cycle 0.1 sec and duty 50%
0.1 sec.
V71 0.2 SEC CLOCK 0.1 sec.
Clock of cycle 0.2 sec and duty 50%
0.5 sec.
V72 1-SEC CLOCK 0.5 sec.
Clock of cycle 1 sec and duty 50%
1 sec.
V73 2-SEC CLOCK 1 sec.
Clock of cycle 2 sec and duty 50%
30 sec.
V74 60-SEC CLOCK 30 sec.
Clock of cycle 60 sec and duty 50%
1 scan
V78 SCAN CLOCK 1 scan
Clock to turn ON/ OFF SCAN every 1 scan.
8-32
Address Name Outline Description
PRG.2-LINK 4 COMMUNICATION 0: Reset OFF
V83 RESET 1: Reset ON
PRG.2-LINK 5 COMMUNICATION 0: Reset OFF
V84 RESET 1: Reset ON
PRG.2-LINK 6 COMMUNICATION 0: Reset OFF
V85 RESET 1: Reset ON
PRG.2-LINK 7 COMMUNICATION 0: Reset OFF
V86 RESET 1: Reset ON
PRG.2-LINK 8 COMMUNICATION 0: Reset OFF
V87 RESET 1: Reset ON
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 1
V90 LINK COMMAND PERMIT FLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LIN K1
V91 LINK COMMAND ERROR FLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 2
V92 LINK COMMAND PERMIT FLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 2
V93 LINK COMMAND ERROR FLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 3
V94 LINK COMMAND PERMIT FLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 3
V95 LINK COMMAND ERROR FLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 4
V96 LINK COMMAND PERMIT FLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 4
V97 LINK COMMAND ERROR FLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 5
V98 LINK COMMAND PERMIT FLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 5
V99 LINK COMMAND ERROR FLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 6
V9A LINK COMMAND PERMIT FLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 6
V9B LINK COMMAND ERROR FLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 7
V9C LINK COMMAND PERMIT FLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 7
V9D LINK COMMAND ERROR FLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 8
V9E LINK COMMAND PERMIT FLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 8
V9F LINK COMMAND ERROR FLAG
VA0 ALL ST IN COMMUNICATING
VA1
VA2
VA3
LINK PARAMETERERROR
COMMUNICATION ERROR
}
PRG.2 0: No error
-LINK 1 1: Error
Note) For the communication (link) modules, see the respective Instruction Manuals.
8-33
Address Name Outline Description
ALL ST IN
VB0 COMMUNICATING
VB1
VB2
VB3
LINK PARAMETERERROR
COMMUNICATION
ERROR }
PRG.2 0: No error
-LINK 6
1: Error
ALL ST IN
VB4 COMMUNICATING
VB5
VB6
VB7
LINK PARAMETERERROR
COMMUNICATION
ERROR }
PRG.2 0: No error
-LINK 6
1: Error
ALL ST IN
VB8 COMMUNICATING
VB9
VBA
VBB
LINK PARAMETERERROR
COMMUNICATION
ERROR }
PRG.2 0: No error
-LINK 7
1: Error
ALL ST IN
VBC COMMUNICATING
VBD
VBE
VBF
LINK PARAMETERERROR
COMMUNICATION
ERROR }
PRG.2 0: No error
-LINK 8
1: Error
8-34
(1-3) Data memory division mode PRG.3
Address Name Outline Description
V04 NORMALLY ON NORMALLY 1 ON irrespective operation status
V05 NORMALLY OFF NORMALLY 0 OFF irrespective of operation status
END COMMAND
ON
V06 1ST SCAN Reset
ON by resetting and OFF by END processing.
OFF
0: Not in dummy stopping ON by executing dummy scan stop
V24 IN DUMMY STOPPING
1: In dummy stopping OFF by resetting
IN STOP REQUEST 0: No stop request ON by dummy scan stop request.
V25
CONTINUING 1: Stop requested OFF by resetting
0: In scanning OFF during sequence scan
V26 IN STOPPING
1: In stopping But ON during step-operation
PRG.3 FUN FLAG 0: Not FUN FLAG CLEAR MODE
V39 1: FUN FLAG CLEAR MODE ON when program-3 is FUN FLAG CLEAR mode.
CLEAR MODE
ON if applied command error occurs in program-2
PRG.3 APPLIED 0: No error
V50 and OFF if not, but limited to only command with
COMMAND ERROR 1 (ER) 1: Error
confinement .
0: Comparative result not small Result of comparison with applied command in
V51 PRG.3 < 1: Comparative result small program-3
0: Comparative result unequal Result of comparison with applied command in
V52 PRG.3 = 1: Comparative result equal program-3
0: Comparative result not large Result of comparison with applied command in
V53 PRG.3 > 1: Comparative result large program-3
0: Result not 0 ON when computation result of applied command
V54 PRG.3 ZERO (Z)
1: Result 0 in program-3 is 0.
0: No digit down The computation result of applied command in
V55 PRG.3 BORROW (BO)
1: Digit down program-3 is smaller than 0.
0: No digit up The computation result of applied command in
V56 PRG.3 CARRY (CY)
1: Digit up program-3 exceeded the specific digit number.
0: No error ON if index error is found in program 3, and OFF if
V57 PRG.3 Index error (ER)
1: Error not found.
0.05 sec.
V70 0.1 SEC CLOCK 0.05 sec. Clock of cycle 0.1 sec and duty 50%
0.1 sec.
V71 0.2 SEC CLOCK 0.1 sec.
Clock of cycle 0.2 sec and duty 50%
0.5 sec.
V72 1-SEC CLOCK Clock of cycle 1 sec and duty 50%
0.5 sec.
1 sec.
V73 2-SEC CLOCK 1 sec.
Clock of cycle 2 sec and duty 50%
30 sec.
V74 60-SEC CLOCK 30 sec.
Clock of cycle 60 sec and duty 50%
1 scan
V78 SCAN CLOCK 1 scan
Clock to turn ON/ OFF SCAN every 1 scan.
8-35
Address Name Outline Description
PRG.3-LINK 1 0:Reset OFF
V80 COMMUNICATION RESET 1:Reset ON
PRG.3-LINK 2 0:Reset OFF
V81 COMMUNICATION RESET 1:Reset ON
PRG.3-LINK 3 0:Reset OFF
V82 COMMUNICATION RESET 1:Reset ON
PRG.3-LINK 4 0:Reset OFF
V83 COMMUNICATION RESET 1:Reset ON
PRG.3-LINK 5 0:Reset OFF
V84 COMMUNICATION RESET 1:Reset ON
PRG.3-LINK 6 0:Reset OFF
V85 COMMUNICATION RESET 1:Reset ON
PRG.3-LINK 7 0:Reset OFF
V86 COMMUNICATION RESET 1:Reset ON
PRG.3-LINK 8 0:Reset OFF
V87 COMMUNICATION RESET 1:Reset ON
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 1
V90 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 1
V91 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 2
V92 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 2
V93 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 3
V94 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 3
V95 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 4
V96 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 4
V97 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 5
V98 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 5
V99 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 6
V9A LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 6
V9B LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 7
V9C LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 7
V9D LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 8
V9E LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 8
V9F LINK COMMANDERRORFLAG
ALL ST IN
VA0 COMMUNICATING
}
LINK PARAMETER
VA1 ERROR PRG.3 0: No error
-LINK 1
VA2
COMMUNICATION 1: Error
ERROR
VA3
ALL ST IN
VA4 COMMUNICATING
}
LINK PARAMETER
VA5 ERROR PRG.3 0: No error
-LINK 2
COMMUNICATION 1: Error
VA6 ERROR
VA7
Note) For the communication (link) modules, see the respective Instruction Manuals.
8-36
Address Name Outline Description
ALL ST IN
VA8 COMMUNICATING
VA9
VAA
VAB
LINK PARAMETERERROR
COMMUNICATION
ERROR }PRG.3 0: No error
-LINK 3
1: Error
ALL ST IN
VAC COMMUNICATING
VAD
VAE
VAF
LINK PARAMETERERROR
COMMUNICATION
ERROR }PRG.3 0: No error
-LINK 4
1: Error
ALL ST IN
VB0 COMMUNICATING
VB1
VB2
VB3
LINK PARAMETERERROR
COMMUNICATION
ERROR }PRG.3 0: No error
-LINK 5
1: Error
ALL ST IN
VB4 COMMUNICATING
VB5
VB6
VB7
LINK PARAMETERERROR
COMMUNICATION
ERROR }PRG.3 0: No error
-LINK 6
1: Error
ALL ST IN
VB8 COMMUNICATING
VB9
VBA
VBB
LINK PARAMETERERROR
COMMUNICATION
ERROR }PRG.3 0: No error
-LINK 7
1: Error
ALL ST IN
VBC COMMUNICATING
VBD
VBE
VBF
LINK PARAMETERERROR
COMMUNICATION
ERROR }PRG.3 0: No error
-LINK 1
1: Error
(1-4) PC10 mode and data memory separate mode, extended area
Address Name Outline Description
area
EVEFF
EVE00
SN-I/F output data link
area
EVEFF
8-37
(2-1) Data memory single mode, basic area
Address Name Outline Description
0: No ERR0 ON against occurrence of major error
V01 MAJOR ERROR
1: ERR0 in occurring OFF after ERROR is reset
0: No ERR1 ON against occurrence of minor error.
V02 MINOR ERROR
1: ERR1 in occurring OFF after ERROR is reset.
0: No ALM ON against ALARM
V03 ALARM
1: ALM in outputting OFF after ERROR is reset.
V04 NORMALLY ON Normally 1 Normally ON irrespective of run status.
V05 NORMALLY OFF Normally 0 Normally OFF irrespective of run status.
END COMMAND
ON
V06 1ST SCAN Reset
ON by resetting and OFF by END processing.
OFF
0: Not in dummy stopping ON by executing dummy scan stop
V24 IN DUMMY STOPPING
1: In dummy stopping OFF by resetting
STOP REQ IN 0: No stop request ON by dummy scan stop request.
V25
CONTINUING 1: Stop requested OFF by resetting
0: In scanning OFF during sequence scan
V26 IN STOPPING
1: In stopping But ON during step-operation
0: Sequence command
non-execution
V27 RUN 1: Sequence command in ON while sequence command is in executing.
executing
0: Single mode
V38 DATA MEMORY MODE ON under data area division mode
1: Division mode
FUN FLAG CLEAR 0: Not FUN FLAG CLEAR MODE
V39 1: FUN FLAG CLEAR MODE ON under FUN FLAG CLEAR mode.
MODE
0: Not in data backing up
V3A IN DATA BACK-UP ON while user data is being backed up
1: In data backing-up
0: Sequence command
non-execution ON while program-1 is executing sequence
V40 PRG.1 RUN 1: Sequence command in command.
executing
0: Sequence command
non-execution ON while program-2 is executing sequence
V41 PRG.2 RUN 1: Sequence command in command.
executing
0: Sequence command
non-execution ON while program-3 is executing sequence
V42 PRG.3 RUN 1: Sequence command in command.
executing
ON if applied command error occurs and OFF
APPLIED COMMAND 0: No error
V50 if not, but limited to only command with
ERROR 1 (ER) 1: Error
confinement .
0: Comparative result not small Result of comparative command of applied
V51 1: Comparative result small commands
0: Comparative result unequal Result of comparative command of applied
V52 = 1: Comparative result equal commands
0: Comparative result not large Result of comparative command of applied
V53 1: Comparative result large commands
0: Result not 0 ON when computation result of applied
V54 ZERO (Z)
1: Result 0 command is 0
0: No digit down The computation result of applied command is
V55 BORROW (BO)
1: Digit down smaller than 0.
0: No digit up The computation result of applied command is
V56 CARRY (CY)
1: Digit up over the digit number.
DATA ERROR UNCHECK ALM is cleared by
V5E DATA ERROR CLEAR 1: Data error cleared
turning ON this special relay (V5E).
0.05 sec.
V70 0.1 SEC CLOCK 0.05 sec. Clock of cycle 0.1 sec and duty 50%
0.1 sec.
V71 0.2 SEC CLOCK 0.1 sec.
Clock of cycle 0.2 sec and duty 50%
0.5 sec.
V72 1-SEC CLOCK 0.5 sec.
Clock of cycle 1 sec and duty 50%
1 sec.
V73 2-SEC CLOCK 1 sec.
Clock of cycle 2 sec and duty 50%
30 sec.
V74 60-SEC CLOCK 30 sec.
Clock of cycle 60 sec and duty 50%
8-38
Address Name Outline Description
1scan Clock to turn ON/ OFF SCAN every 1
V78 SCAN CLOCK
1scan scan.
n scan Clock to turn ON/OFF scan at scanning
V79 USER DEFINED CLOCK 1
mscan interval preset by applied command.
n scan Clock to turn ON/OFF scan at scanning
V7A USER DEFINED CLOCK 2
mscan interval preset by applied command.
1: P1 being executed Turns on only when P1 program is being
V7C P1 being executed
0: Stopped or P2/P3 being executed executed
1: P2 being executed Turns on only when P2 program is being
V7D P2 being executed
0: Stopped or P1/P3 being executed executed
1: P3 being executed Turns on only when P3 program is being
V7E P3 being executed
0: Stopped or P1/P2 being executed executed
PRG.1-LINK 1 0:Reset OFF
V80
COMMUNICATION RESET 1:Reset ON
PRG.1-LINK 2 0:Reset OFF
V81
COMMUNICATION RESET 1:Reset ON
PRG.1-LINK 3 0:Reset OFF
V82
COMMUNICATION RESET 1:Reset ON
PRG.1-LINK 4 0:Reset OFF
V83
COMMUNICATION RESET 1:Reset ON
PRG.1-LINK 5 0:Reset OFF
V84
COMMUNICATION RESET 1:Reset ON
PRG.1-LINK 6 0:Reset OFF
V85
COMMUNICATION RESET 1:Reset ON
PRG.1-LINK 7 0:Reset OFF
V86
COMMUNICATION RESET 1:Reset ON
PRG.1-LINK 8 0:Reset OFF
V87
COMMUNICATION RESET 1:Reset ON
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 1
V90 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 1
V91 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 2
V92 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 2
V93 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 3
V94 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 3
V95 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 4
V96 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 4
V97 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 5
V98 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 5
V99 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 6
V9A LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 6
V9B LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 7
V9C LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 7
V9D LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 8
V9E LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 8
V9F LINK COMMANDERRORFLAG
Note) For the communication (link) modules, see the respective Instruction Manuals.
8-39
Address Name Outline Description
ALL ST IN
VA0 COMMUNICATING
VA1
VA2
VA3
LINK PARAMETERERROR
COMMUNICATION
ERROR } PRG.1
-LINK 1
0: No error
1: Error
ALL ST IN
VA4 COMMUNICATING
VA5
VA6
VA7
LINK PARAMETERERROR
COMMUNICATION
ERROR } PRG.1
-LINK 2
0: No error
1: Error
ALL ST IN
VA8 COMMUNICATING
VA9
VAA
VAB
LINK PARAMETERERROR
COMMUNICATION
ERROR } PRG.1
-LINK 3
0: No error
1: Error
ALL ST IN
VAC COMMUNICATING
VAD
VAE
VAF
LINK PARAMETERERROR
COMMUNICATION
ERROR } PRG.1
-LINK 4
0: No error
1: Error
ALL ST IN
VB0 COMMUNICATING
VB1
VB2
VB3
LINK PARAMETERERROR
COMMUNICATION
ERROR } PRG.1
-LINK 5
0: No error
1: Error
ALL ST IN
VB4 COMMUNICATING
VB5
VB6
VB7
LINK PARAMETERERROR
COMMUNICATION
ERROR } PRG.1
-LINK 6
0: No error
1: Error
ALL ST IN
VB8 COMMUNICATING
VB9
VBA
VBB
LINK PARAMETERERROR
COMMUNICATION
ERROR } PRG.1
-LINK 7
0: No error
1: Error
ALL ST IN
VBC COMMUNICATING
VBD
VBE
VBF
LINK PARAMETERERROR
COMMUNICATION
ERROR } PRG.1
-LINK 8
0: No error
1: Error
0: No error
VC0 CPU ERROR ON upon detection of CPU module error.
1: Error
0: No error ON upon detection of POWER DOWN .
VC1 POWER DOWN
1: Error OFF after reset or power rethrow-in
0: No error
VC2 MEMORY DATA ERROR ON detection of program or parameter data error.
1: Error
0: No error
VC3 I/O BUS ERROR ON upon detection of I/O bus error.
1: Error
0: No error ON upon detection of special module error
VC4 SPECIAL MODULE ERROR
1: Error ON after ERROR reset
MODULE PARAMETER 0: No error
VC5 ON when CPU can not recognize correctly I/O module.
ERROR 1: Error
0: No error
VC6 PARAMETER ERROR ON upon detection of parameter error.
1: Error
I/O MODULE ERROR 0: No error ON upon detection of I/O module error
VC7
(Fuse blown, etc.) 1: Error OFF after ERROR reset
Note) For the communication (link) modules, see the respective Instruction Manuals.
8-40
Address Name Outline Description
ON upon detection of I/O module composition
I/O COMPOSITION 0: No error error/
VC8
ERROR 1: Error ( Allocation of special card number and I/O
addresses )
USER PROGRAM 0: No error ON upon detection of error related to user
VC9
ERROR 1: Error program. OFF after ERROR reset.
BACK UP MEMORY 0: No error
VCA ON upon detection of back-up memory error
ERROR 1: Error
DATA ERROR 0: checked ON upon detection of memory data error (VC2) .
VCB
UNCHECK 1: uncheck OFF with V5E ON or use of peripheral equipment.
PRG.1 0: No error ON upon errors related to user program as
VD0
USER PROGRAM ERROR 1: Error program-1
PRG.2 0: No error ON upon errors related to user program as
VD1
USER PROGRAM ERROR 1: Error program-2
PRG.3 0: No error ON upon errors related to user program as
VD2
USER PROGRAM ERROR 1: Error program-3
PRG.1 PARAMETER 0: No error
VD8 ON upon detection of program-1 parameter error
ERROR 1: Error
PRG.2 PARAMETER 0: No error
VD9 ON upon detection of program-2 parameter error
ERROR 1: Error
PRG.3 PARAMETER 0: No error
VDA ON upon detection of program-3 parameter error
ERROR 1: Error
I/O VERIFICATION 0: No error ON upon detection of SCAN TIME OVER .
VE0
ERROR 1: Error OFF after reset or power rethrow-in
0: No error ON upon detection of SCAN TIME OVER .
VE1 SCAN TIME-OVER
1: Error OFF after reset or power rethrow-in
ON against occurrence of error of applied
PRG.1 APPLIED 0: No error
VE2 command (V50) in program-1. It is held until reset
COMMAND ERROR LATCH 1: Error
or 0 write.
PRG.1 SCAN TIME 0: No error ON upon detection of scan time-over in
VE8
OVER 1: Error program-1. OFF after reset or power rethrow-in
PRG.2 SCAN TIME 0: No error ON upon detection of scan time-over in
VE9
OVER 1: Error program-2. OFF after reset or power rethrow-in
PRG.3 SCAN TIME 0: No error ON upon detection of scan time-over in
VEA
OVER 1: Error program-3. OFF after reset or power rethrow-in
0: No error ON upon error detection
VF0 BATTERY ERROR
1: Error OFF after ERROR reset
SPECIAL MODULE 0: No error ON against allocation error of communication (link)
VF2
ALLOCATION ERROR 1: Error module.
DIAGNOSIS MODULE 0: No error
VF3 ON against diagnosis module error.
ERROR 1: Error
0: No error
VF5 BATTERY ERROR ON upon detection of built-in clock error.
1: Error
8-41
(2-2) Data memory single mode, extended area
Address Name Outline Description
PRG.2-LINK 1 0:Reset OFF
EV00
COMMUNICATION RESET 1:Reset ON
PRG.2-LINK 2 0:Reset OFF
EV01
COMMUNICATION RESET 1:Reset ON
PRG.2-LINK 3 0:Reset OFF
EV02
COMMUNICATION RESET 1:Reset ON
PRG.2-LINK 4 0:Reset OFF
EV03
COMMUNICATION RESET 1:Reset ON
PRG.2-LINK 5 0:Reset OFF
EV04
COMMUNICATION RESET 1:Reset ON
PRG.2-LINK 6 0:Reset OFF
EV05
COMMUNICATION RESET 1:Reset ON
PRG.2-LINK 7 0:Reset OFF
EV06
COMMUNICATION RESET 1:Reset ON
PRG.2-LINK 8 0:Reset OFF
EV07
COMMUNICATION RESET 1:Reset ON
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 1
EV10 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 1
EV11 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 2
EV12 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 2
EV13 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 3
EV14 LINK COMMAND PERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 3
EV15 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 4
EV16 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 4
EV17 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 5
EV18 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 5
EV19 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 6
EV1A LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 6
EV1B LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 7
EV1C LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 7
EV1D LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.2-LINK 8
EV1E LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.2-LINK 8
EV1F LINK COMMANDERRORFLAG
ALL ST IN
EV20 COMMUNICATING
}
LINK PARAMETER
EV21 ERROR PRG.2 0: No error
-LINK 1
COMMUNICATION 1: Error
EV22 ERROR
EV23
ALL ST IN
EV24 COMMUNICATING
}
LINK PARAMETER
EV25 ERROR PRG.2 0: No error
-LINK 2
EV26
COMMUNICATION 1: Error
ERROR
EV27
Note) For the communication (link) modules, see the respective Instruction Manuals.
8-42
Address Name Outline Description
EV28 ALL ST IN COMMUNICATING
EV29
EV2A
EV2B
LINK PARAMETERERROR
COMMUNICATION ERROR
} PRG.2 0: No error
-LINK 3 1: Error
0:Reset OFF
EV40 PRG.3-LINK 1 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
EV41 PRG.3-LINK 2 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
EV42 PRG.3-LINK 3 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
EV43 PRG.3-LINK 4 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
EV44 PRG.3-LINK 5 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
EV45 PRG.3-LINK 6 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
EV46 PRG.3-LINK 7 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
EV47 PRG.3-LINK 8 COMMUNICATION RESET
1:Reset ON
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 1
EV50 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 1
EV51 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 2
EV52 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 2
EV53 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 3
EV54 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 3
EV55 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 4
EV56 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 4
EV57 LINK COMMANDERRORFLAG
Note) For the communication (link) modules, see the respective Instruction Manuals.。
8-43
Address Name Outline Description
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 5
EV58 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 5
EV59 LINK COMMANDERRORFLAG
PRG.3-LINK 6 0: Special unit command not permitted Turns off when special unit command or
EV5A LINK COMMANDPERMITFLAG 1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 6
EV5B LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 7
EV5C LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 7
EV5D LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.3-LINK 8
EV5E LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.3-LINK 8
EV5F LINK COMMANDERRORFLAG
ALL ST IN
EV60
}
COMMUNICATING
EV61 LINK PARAMETERERROR PRG.3 0: No error
-LINK 1
EV62 COMMUNICATION ERROR 1: Error
EV63
ALL ST IN
EV64
}
COMMUNICATING
EV65 LINK PARAMETERERROR PRG.3 0: No error
-LINK 2
EV66 COMMUNICATION ERROR 1: Error
EV67
ALL ST IN
EV68
}
COMMUNICATING
EV69 LINK PARAMETERERROR PRG.3 0: No error
-LINK 3
EV6A COMMUNICATION ERROR 1: Error
EV6B
ALL ST IN
EV6C
}
COMMUNICATING
EV6D LINK PARAMETERERROR PRG.3 0: No error
-LINK 4
EV6E COMMUNICATION ERROR 1: Error
EV6F
ALL ST IN
EV70
}
COMMUNICATING
EV71 LINK PARAMETERERROR PRG.3 0: No error
-LINK 5
EV72 COMMUNICATION ERROR 1: Error
EV73
ALL ST IN
EV74
}
COMMUNICATING
EV75 LINK PARAMETERERROR PRG.3 0: No error
-LINK 6
EV76 COMMUNICATION ERROR 1: Error
EV77
ALL ST IN
EV78
}
COMMUNICATING
EV79 LINK PARAMETERERROR PRG.3 0: No error
-LINK 7
EV7A COMMUNICATION ERROR 1: Error
EV7B
ALL ST IN
EV7C
}
COMMUNICATING
EV7D LINK PARAMETERERROR PRG.3 0: No error
-LINK 8
EV7E COMMUNICATION ERROR 1: Error
EV7F
EVE00
SN-I/F input data link area
EVEFF
EVE00
SN-I/F output data link area
EVEFF
Note) For the communication (link) modules, see the respective Instruction Manuals.。
8-44
(3) PC2 interchange mode
Address Name Outline Description
0: No ERR0 ON against occurrence of major error
V01 MAJOR ERROR
1: ERR0 in occurring OFF after ERROR is reset
0: No ERR1 ON against occurrence of minor error.
V02 MINOR ERROR
1: ERR1 in occurring OFF after ERROR is reset.
0: No ALM ON against ALARM
V03 ALARM
1: ALM in outputting OFF after ERROR is reset.
V04 NORMALLY ON Normally 1 Normally ON irrespective of run status.
V05 NORMALLY OFF Normally 0 Normally OFF irrespective of run status.
END command
ON
V06 1ST SCAN ON by resetting and OFF by END processing.
Reset
OFF
0: Not in dummy stopping ON by executing dummy scan stop
V24 IN DUMMY STOPPING
1: In dummy stopping OFF by resetting
STOP REQ IN 0: No stop request ON by dummy scan stop request.
V25
CONTINUING 1: Stop requested OFF by resetting
0: In scanning OFF during sequence scan
V26 IN STOPPING
1: In stopping But ON during step-operation
0: Sequence command
non-execution
V27 RUN 1: Sequence command in
ON while sequence command is in executing.
executing
FUN FLAG CLEAR 0: Not FUN FLAG CLEAR MODE
V39 1: FUN FLAG CLEAR MODE ON under FUN FLAG CLEAR mode.
MODE
0: Not in data backing up
V3A IN DATA BACK-UP ON while user data is being backed up
1: In data backing-up
APPLIED COMMAND 0: No error ON if applied command error occurs and OFF if not,
V50
ERROR 1 (ER) 1: Error but limited to only command with confinement .
0: Comparative result not small
V51 < 1: Comparative result small
Result of comparative command of applied commands
0: Comparative result unequal
V52 = 1: Comparative result equal
Result of comparative command of applied commands
0: Comparative result not large
V53 > 1: Comparative result large
Result of comparative command of applied commands
0: Result not 0
V54 ZERO (Z) ON when computation result of applied command is 0
1: Result 0
0: No digit down The computation result of applied command is smaller
V55 BORROW (BO)
1: Digit down than 0.
0: No digit up The computation result of applied command is over the
V56 CARRY (CY)
1: Digit up digit number.
DATA ERROR UNCHECK ALM is cleared by turning
V5E DATA ERROR CLEAR 1: Data error cleared
ON this special relay (V5E).
0.05 sec
V70 0.1 SEC CLOCK Clock of cycle 0.1 sec and duty 50%
0.05 sec
0.1 sec
V71 0.2 SEC CLOCK Clock of cycle 0.2 sec and duty 50%
0.1 sec
0.5 sec
V72 1-SEC CLOCK Clock of cycle 1 sec and duty 50%
0.5 sec
1 sec
V73 2-SEC CLOCK Clock of cycle 2 sec and duty 50%
1 sec
30 sec
V74 60-SEC CLOCK Clock of cycle 60 sec and duty 50%
30 sec
1 scan
V78 SCAN CLOCK Clock to turn ON/ OFF SCAN every 1 scan.
1 scan
n scan Clock to turn ON/OFF scan at scanning interval preset by
V79 USER DEFINED CLOCK 1
applied command.
m scan
n scan Clock to turn ON/OFF scan at scanning interval preset by
V7A USER DEFINED CLOCK 2
applied command.
m scan
PRG.1-LINK 1
0:Reset OFF
V80 COMMUNICATION
1:Reset ON
RESET
Note) For the communication (link) modules, see the respective Instruction Manuals.
8-45
Address Name Outline Description
0:Reset OFF
V81 PRG.1-LINK 2 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
V82 PRG.1-LINK 3 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
V83 PRG.1-LINK 4 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
V84 PRG.1-LINK 5 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
V85 PRG.1-LINK 6 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
V86 PRG.1-LINK 7 COMMUNICATION RESET
1:Reset ON
0:Reset OFF
V87 PRG.1-LINK 8 COMMUNICATION RESET
1:Reset ON
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 1
V90 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 1
V91 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 2
V92 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 2
V93 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 3
V94 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 3
V95 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 4
V96 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 4
V97 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 5
V98 LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 5
V99 LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 6
V9A LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 6
V9B LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 7
V9C LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 7
V9D LINK COMMANDERRORFLAG
0: Special unit command not permitted Turns off when special unit command or
PRG.1-LINK 8
V9E LINK COMMANDPERMITFLAG
1: Special unit command hierarchy hierarchy communication is executed.
communication permitted Turns on in execution.
PRG.1-LINK 8
V9F LINK COMMANDERRORFLAG
VA0 ALL ST IN COMMUNICATING
VA1
VA2
VA3
LINK PARAMETERERROR
COMMUNICATION ERROR
} PRG.1 0: No error
-LINK 1 1: Error
Note) For the communication (link) modules, see the respective Instruction Manuals.
8-46
Address Name Outline Description
ALL ST IN
VAC
}
COMMUNICATING
VAD LINK PARAMETERERROR PRG.1 0: No error
-LINK 4
VAE COMMUNICATION ERROR 1: Error
VAF
ALL ST IN
VB0
}
COMMUNICATING
VB1 LINK PARAMETERERROR PRG.1 0: No error
-LINK 5
VB2 COMMUNICATION ERROR 1: Error
VB3
ALL ST IN
VB4
}
COMMUNICATING
VB5 LINK PARAMETERERROR PRG.1 0: No error
-LINK 6
VB6 COMMUNICATION ERROR 1: Error
VB7
ALL ST IN
VB8
}
COMMUNICATING
VB9 LINK PARAMETERERROR PRG.1 0: No error
-LINK 7
VBA COMMUNICATION ERROR 1: Error
VBB
ALL ST IN
VBC
}
COMMUNICATING
VBD LINK PARAMETERERROR PRG.1 0: No error
-LINK 8
VBE COMMUNICATION ERROR 1: Error
VBF
0: No error
VC0 CPU ERROR ON upon detection of CPU module error.
1: Error
0: No error ON upon detection of POWER DOWN .
VC1 POWER DOWN
1: Error OFF after reset or power rethrow-in
0: No error ON detection of program or parameter data
VC2 MEMORY DATA ERROR
1: Error error.
0: No error
VC3 I/O BUS ERROR ON upon detection of I/O bus error.
1: Error
0: No error ON upon detection of special module error
VC4 SPECIAL MODULE ERROR
1: Error ON after ERROR reset
0: No error ON when CPU can not recognize correctly I/O
VC5 MODULE PARAMETER ERROR
1: Error module.
0: No error
VC6 PARAMETER ERROR ON upon detection of parameter error.
1: Error
I/O MODULE ERROR 0: No error ON upon detection of I/O module error
VC7
( Fuse blown, etc.) 1: Error OFF after ERROR reset
ON upon detection of I/O module composition
0: No error error/
VC8 I/O COMPOSITION ERROR
1: Error ( Allocation of special card number and I/O
addresses )
0: No error ON upon detection of error related to user
VC9 USER PROGRAM ERROR
1: Error program. OFF after ERROR reset.
0: No error
VCA BACK UP MEMORY ERROR ON upon detection of back-up memory error
1: Error
ON upon detection of memory data error
0: Checked
VCB DATA ERROR UNCHECK (VC2) . OFF with V5E ON or use of peripheral
1: Uncheck
equipment.
0: No error ON upon detection of SCAN TIME OVER .
VE0 I/O VERIFICATION ERROR
1: Error OFF after reset or power rethrow-in
0: No error ON upon detection of SCAN TIME OVER .
VE1 SCAN TIME-OVER
1: Error OFF after reset or power rethrow-in
0: No error ON upon error detection
VF0 BATTERY ERROR
1: Error OFF after ERROR reset
SPECIAL MODULE ALLOCATION 0: No error ON against allocation error of communication
VF2
ERROR 1: Error (link) module.
0: No error
VF3 DIAGNOSIS MODULE ERROR ON against diagnosis module error.
1: Error
0: No error
VF5 BATTERY ERROR ON upon detection of built-in clock error.
1: Error
Note) For the communication (link) modules, see the respective Instruction Manuals.
8-47
8.2.6. Table of special registers
The special registers listed in the table below are available for special applications such as CPU status,
built-in clock, link modules, etc. In PC10 mode, special relay of basic area is available for each program.
Under data memory division mode the special registers in basic area are available individually for each
program. In this case, the special registers for built-in clock time, annunciator, link modules, etc. used in
each sequence program are in special register area corresponding to the program.
Other special registers are all in the special register area for "PRG.1".
It is all reservation area for the address that doesn't exist in the list. Therefore, the user cannot use its
address.
Link module corde See 9.4 “ Special Relays and Special Registers “.
S0AF
S0C0 Initial scan time Initial sequence program execution time in program-1 (ms) Binary
SCAN TIME max
S0C1 value
Maximum scan time in sequence program of program-1 (ms) Binary
PRG.1 SCAN TIME min
S0C2 value
Minimum scan time in sequence program of program-1 Binary
SCAN TIME
S0C3 Present value
Updated scan time in sequence program of program-1 Binary
S0C4 Initial scan time Initial sequence execution time in program-2 (ms) Binary
SCAN TIME max
S0C5 value
Maximum scan time in sequence program of program-2 (ms) Binary
PRG.2 SCAN TIME min
S0C6 value
Minimum scan time in sequence program of program-2 (ms) Binary
SCAN TIME
S0C7 Present value
Updated scan time in sequence program of program-2 (ms) Binary
8-48
Address Name Description
S0C8 Initial scan time Initial sequence execution time in program-3 (ms) Binary
SCAN TIME
S0C9 Maximum scan time in sequence program of program-3 (ms) Binary
max value
PRG.3 SCAN TIME min
S0CA Minimum scan time in sequence program of program-3 (ms) Binary
value
SCAN TIME
S0CB Present value
Updated scan time in sequence program of program-3 (ms) Binary
S0E0 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0E1 Present time of the built-in clock is stored.
change BCD
S0E2 history 1 Ti m e ( D a y H o u r ) For data display, 2 digits are represented by 1Byte in BCD code.
(2 digit/byte)
S0E3 Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0E4 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0E5 Present time of the built-in clock is stored.
change BCD
S0E6 history 2 Ti m e ( D a y H o u r ) For data display, 2 digits are represented by 1Byte in BCD code.
(2 digit/byte)
S0E7 Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0E8 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0E9 Present time of the built-in clock is stored.
change BCD
S0EA history 3 Ti m e ( D a y H o u r ) For data display, 2 digits are represented by 1Byte in BCD code. (2 digit/byte)
S0EB Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0EC Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0ED Present time of the built-in clock is stored.
change BCD
S0EE history 4 Ti m e ( D a y H o u r ) For data display, 2 digits are represented by 1Byte in BCD code. (2 digit/byte)
S0EF Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0F0 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0F1 Present time of the built-in clock is stored.
change BCD
S0F2 history 5 Ti m e ( D a y H o u r ) For data display, 2 digits are represented by 1Byte in BCD code. (2 digit/byte)
S0F3 Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0F4 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0F5 Present time of the built-in clock is stored.
change BCD
S0F6 history 6 Ti m e ( D a y H o u r ) For data display, 2 digits are represented by 1Byte in BCD code. (2 digit/byte)
S0F7 Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0F8 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0F9 Present time of the built-in clock is stored.
change BCD
S0FA history 7 Ti m e ( D a y H o u r ) For data display, 2 digits are represented by 1Byte in BCD code. (2 digit/byte)
S0FB Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0FC Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0FD Present time of the built-in clock is stored.
change BCD
S0FE history 8 Ti m e ( D a y H o u r ) For data display, 2 digits are represented by 1Byte in BCD code.
(2 digit/byte)
S0FF Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
bit0:communicating(ON:Communicating with TOYOPUC-PCS)
bit1:RUN signal(ON:TOYO-PUC-PCS is in a RUS state)
bit2:ERR0 signal(ON:ERR0 is occurred in TOYOPUC-PCS)
Communication bit3:ERR1 signal(NO:ERR1 is occurred in TOYOPUC-PCS)
S130 status bit4:ALM signal(ON:ALM is occurred in TOYOPUC-PCS)
bit8:link command usable(ON:issue of link command is available in
TOYOPUC- TOYOPUC-PCS)
PCS data bit9:link command error(ON:Trouble is occurred in issued link command)
Flaming error counter occurred in communication between
S131 Flaming error
CPU-TOYOPUC-PCS.
Parity error counter occurred in communication between
S132 Parity error
CPU-TOYOPUC-PCS.
Over run error counter occurred in communication between
S133 Overrun error
CPU-TOYOPUC-PCS.
8-49
Address Name Description
S140
Input from TOYOPUC-PCS.
SN-I/F input data link area
~
Circuit can be created for TOYOPUC-PCS.
S14F
S150
SN-I/F output data link Output from TOYOPUC-PCS.
~
S24F
S250
PRG.1 Annunciator
See Programming Manual.
information
S2CF
CPU Version is stored.
CPU version corresponds to register value from version 2.05 and after.
In PC10 mode
Address Name Description
S1000
Error information See 5.1.4 "Special register for error information output."
~
S11FF
8-50
(1-2) PC10 mode and Data memory division mode PRG.2
Address Name Description
S004 Time (Sec) Present time of the built-in clock is stored.
For data display, 1 digit is displayed by 1Byte in BCD code. (Ex.
S005 Time (Minutes) "0102" represents "12".)
S006 Time (Hours) Year data is displayed with lower two digits of AD year. "day of
S007 Time (Day) week" data is represented by 0 ~ 6, which correspond to Sun. ~
Sat. BCD
S008 Time (Month) Note) Even if the register is rewritten directly, time change is (1 digit/byte)
S009 Time (Year) impossible.Please perform a setup of time from <Setup
data/time> of PCwin or use an exclusive use of an application
instruction. (Please refer to "309 SYS Clock adjustment
S00A Day of week instruction(FUN300) PC3J series since version 2.6" in
"PROGRAMMING MANUAL" about an application instruction.)
S019 Time (Minutesec) Present time of the built-in clock is stored. For data display, 2
digits are represented by 1Byte in BCD code. BCD
S01A Time (DayHour) (2 digit/byte)
(Ex. "1234" represents "12 (min).34(sec).)
S01B Time (Yearmonth)
S0A8
Link module corde
~
information
S2CF
S300 Prg2-LINK1 Communication
(link) module
~
status See the individual instruction manual for each communication(link) module.
S3FF Prg2-LINK8 information
8-51
(1-3) PC10 mode and Data memory separate mode PRG.3
Address Name Description
S004 Time (Sec) Present time of the built-in clock is stored.
S005 Time (Minutes) For data display, 1 digit is displayed by 1Byte in BCD code. (Ex.
S006 Time (Hours) "0102" represents "12".)
Year data is displayed with lower two digits of AD year. "day of
S007 Time (Day) week" data is represented by 0 ~ 6, which correspond to Sun. ~
S008 Time (Month) Sat. BCD
S009 Time (Year) Note) Even if the register is rewritten directly, time change is (1 digit/byte)
impossible.Please perform a setup of time from <Setup data/time>
of PCwin or use an exclusive use of an application instruction.
S00A Day of week (Please refer to "309 SYS Clock adjustment instruction(FUN300)
PC3J series since version 2.6" in "PROGRAMMING MANUAL"
about an application instruction. )
S019 Time (Minute·sec) Present time of the built-in clock is stored. For data display, 2 BCD
S01A Time (Day·Hour) digits are represented by 1Byte in BCD code.
(Ex. "1234" represents "12 (min).34(sec).) (2 digit/byte)
S01B Time (Year·month)
S0A8
~
Link module corde See 9.4 " Special Relays and Special Registers ".
S0AF
S250
PRG.3 Annunciator
See Programming Manual.
~
information
S2CF
S300 Prg3-Link1 Communication
(link) module
~
status See the individual instruction manual for each communication(link) module.
S3FF Prg3-Link8 information
8-52
(2-1)Data memory single mode, Basic area
Address Name Description
S001 SCAN TIME max value Maximum scan time in sequence program (ms) Binary
S002 SCAN TIME min value Minimum scan time in sequence program (ms) Binary
S003 SCAN TIME Present value Updated scan time in sequence program (ms) Binary
S004 Time (sec) Present time of the built-in clock is stored.
For data display, 1 digit is displayed by 1Byte in BCD code.
S005 Time (minutes) (Ex. "0102" represents "12".)
Year data is displayed with lower two digits of AD year. "day
S006 Time (Hours) of week" data is represented by 0 ~ 6, which correspond to
Sun. ~ Sat.
Note) Even if the register is rewritten directly, time change is BCD
S007 Time (day) (1 digit/byte)
impossible.Please perform a setup of time from <Setup
S008 Time (Month) data/time> of PCwin or use an exclusive use of an
application instruction. (Please refer to "309 SYS Clock
S009 Time (year) adjustment instruction(FUN300) PC3J series since version
2.6" in "PROGRAMMING MANUAL" about an application
S00A Day of week instruction. )
Binary,
S00C
lower
Integrated make time Cumulative value of CPU module make (current feed) time (h)
Binary,
S00D
upper
Binary,
S00E
lower
Integrated run time Cumulative value of sequence program run time (h)
Binary,
S00F
upper
S010 End processing time max value Maximum end processing time in sequence program (ms) Binary
S011 End processing time Min value Minimum end processing time in sequence program (ms) Binary
S012 End processing time Present value Updated end processing time in sequence program (ms) Binary
S019 Time (Minutesec) Present time of the built-in clock is stored. For data display, 2
BCD
S01A Time (DayHour) digits are represented by 1Byte in BCD code.
(2 digit/byte)
(Ex. "1234" represents "12 (min).34(sec).)
S01B Time (Yearmonth)
This timer works by 1 ms as 0 seconds when the power
S022 1 ms timer Binary
supply is turned on.
This timer works by 10 ms as 0 seconds when the power
S023 10 ms timer Binary
supply is turned on.
This timer works by 100 ms as 0 seconds when the power
S024 100 ms timer Binary
supply is turned on.
This timer works by 0.1 ms as 0 seconds when the power
S025 0.1 ms timer Binary
supply is turned on. (Scan asynchronous)
S0A8
Link module corde See 9.4 " Special Relays and Special Registers ".
~
S0AF
S0C0 Initial sequence program execution time in program-1 (ms) Binary
SCAN TIME max Maximum scan time in sequence program of
S0C1 Binary
value program-1 )ms)
PRG.1 SCAN TIME min
S0C2 Minimum scan time in sequence program of program-1 Binary
value
SCAN TIME
S0C3 Updated scan time in sequence program of program-1 Binary
Present value
S0C4 Initial scan time Initial sequence execution time in program-2 (ms) Binary
SCAN TIME max
S0C5 Maximum scan time in sequence program of program-2 (ms) Binary
value
PRG.2 SCAN TIME min
S0C6 Minimum scan time in sequence program of program-2 (ms) Binary
value
SCAN TIME
S0C7 Updated scan time in sequence program of program-2 (ms) Binary
Present value
S0C8 Initial scan time Initial sequence execution time in program-3 (ms) Binary
SCAN TIME max
S0C9 Maximum scan time in sequence program of program-3 (ms) Binary
value
PRG.3 SCAN TIME min
S0CA Minimum scan time in sequence program of program-3 (ms) Binary
value
SCAN TIME
S0CB Updated scan time in sequence program of program-3 (ms) Binary
Present value
8-53
Address Name Description
S0E0 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0E1 Present time of the built-in clock is stored.
change BCD
S0E2 history 1 Time (DayHour) For data display, 2 digits are represented by 1Byte in BCD code.
(2 digit/byte)
S0E3 Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0E4 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0E5 Present time of the built-in clock is stored.
change BCD
S0E6 history 2 Time (DayHour) For data display, 2 digits are represented by 1Byte in BCD code.
(2 digit/byte)
S0E7 Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0E8 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0E9 Present time of the built-in clock is stored.
change BCD
S0EA history 3 Time (DayHour) For data display, 2 digits are represented by 1Byte in BCD code.
(2 digit/byte)
S0EB Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0EC Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0ED Present time of the built-in clock is stored.
change BCD
S0EE history 4 Time (DayHour) For data display, 2 digits are represented by 1Byte in BCD code.
(2 digit/byte)
S0EF Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0F0 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0F1 Present time of the built-in clock is stored.
change BCD
S0F2 history 5 Time (DayHour) For data display, 2 digits are represented by 1Byte in BCD code.
(2 digit/byte)
S0F3 Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0F4 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0F5 Present time of the built-in clock is stored.
change BCD
S0F6 history 6 Time (DayHour) For data display, 2 digits are represented by 1Byte in BCD code.
(2 digit/byte)
S0F7 Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0F8 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0F9 Present time of the built-in clock is stored.
change BCD
S0FA history 7 Time (DayHour) For data display, 2 digits are represented by 1Byte in BCD code.
(2 digit/byte)
S0FB Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
S0FC Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program Time (Minutesec)
S0FD Present time of the built-in clock is stored.
change BCD
S0FE history 8 Time (DayHour) For data display, 2 digits are represented by 1Byte in BCD code.
(2 digit/byte)
S0FF Time (Yearmonth) (Ex. "1234" represents "12 (min).34(sec).)
bit0:communicating(ON:Communicating with TOYOPUC-PCS)
bit1:RUN signal(ON:TOYO-PUC-PCS is in a RUS state)
bit2:ERR0 signal(ON:ERR0 is occurred in TOYOPUC-PCS)
Communication bit3:ERR1 signal(NO:ERR1 is occurred in TOYOPUC-PCS)
S130 status bit4:ALM signal(ON:ALM is occurred in TOYOPUC-PCS)
bit8:link command usable(ON:issue of link command is available in
TOYOPUC- TOYOPUC-PCS)
PCS data bit9:link command error(ON:Trouble is occurred in issued link command)
Flaming error counter occurred in communication between
S131 Flaming error
CPU-TOYOPUC-PCS.
Parity error counter occurred in communication between
S132 Parity error
CPU-TOYOPUC-PCS.
Over run error counter occurred in communication between
S133 Overrun error
CPU-TOYOPUC-PCS.
S140
Input from TOYOPUC-PCS.
SN-I/F input data link area
~
8-54
Address Name Description
S200
Error information See 5.1.4 "Special register for error information output."
~
S24F
S250
Annunciator information See Programming Manual.
~
S2CF
8-55
(3) PC2 Interchange Mode
Address Name Description
S000 Initial scan time Initial sequence program execution time (ms) Binary
S001 SCAN TIME max value Maximum scan time in sequence program (ms) Binary
S002 SCAN TIME min value Minimum scan time in sequence program (ms) Binary
S003 SCAN TIME Present value Updated scan time in sequence program (ms) Binary
S004 Time (sec)
Present time of the built-in clock is stored.
For data display, 1 digit is displayed by 1Byte in BCD code. (Ex.
S005 Time (minutes)
"0102" represents "12".)
Year data is displayed with lower two digits of AD year. "day of
S006 Time (Hours)
week" data is represented by 0 ~ 6, which correspond to Sun. ~
Sat. BCD
S007 Time (day)
Note) Even if the register is rewritten directly, time change is (1 digit/byte)
impossible.Please perform a setup of time from <Setup data/time>
S008 Time (Month)
of PCwin or use an exclusive use of an application instruction.
(Please refer to "309 SYS Clock adjustment instruction(FUN300)
S009 Time (year)
PC3J series since version 2.6" in "PROGRAMMING MANUAL"
about an application instruction. )
S00A Day of week
Binary,
S00C
lower
Integrated make time Cumulative value of CPU module make (current feed) time (h)
Binary,
S00D
upper
Binary,
S00E
lower
Integrated run time Cumulative value of sequence program run time (h)
Binary,
S00F
upper
S010 End processing time max value Maximum end processing time in sequence program (ms) Binary
S011 End processing time Min value Minimum end processing time in sequence program (ms) Binary
End processing time Present
S012 value
Updated end processing time in sequence program (ms) Binary
S019 Time (Minutesec) Present time of the built-in clock is stored.
BCD
For data display, 2 digits are represented by 1Byte in BCD code.
S01A Time (DayHour) (Ex. "1234" represents "12 (min).34(sec).) (2 digit/byte)
S01B Time (Yearmonth)
This timer works by 1 ms as 0 seconds when the power supply is Binary
S022 1 ms timer
turned on.
This timer works by 10 ms as 0 seconds when the power supply Binary
S023 10 ms timer
is turned on.
This timer works by 100 ms as 0 seconds when the power Binary
S024 100 ms timer
supply is turned on.
This timer works by 0.1 ms as 0 seconds when the power supply Binary
S025 0.1 ms timer
is turned on. (Scan asynchronous)
S0A8
Link module corde See 9.4 “Special relay” "Special register".
~
S0AF
8-56
Address Name Description
S0E0 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program
S0E1 Time (Minutesec) Present time of the built-in clock is stored. For data display, 2
change BCD
S0E2 history 1 Time (DayHour) digits are represented by 1Byte in BCD code. (Ex. "1234"
(2 digit/byte)
S0E3 Time (Yearmonth) represents "12 (min).34(sec).)
S0E4 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program
S0E5 Time (Minutesec) Present time of the built-in clock is stored. For data display, 2
change BCD
S0E6 history 2 Time (DayHour) digits are represented by 1Byte in BCD code. (Ex. "1234"
(2 digit/byte)
S0E7 Time (Yearmonth) represents "12 (min).34(sec).)
S0E8 Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program
S0E9 Time (Minutesec) Present time of the built-in clock is stored. For data display, 2
change BCD
S0EA history 3 Time (DayHour) digits are represented by 1Byte in BCD code. (Ex. "1234"
(2 digit/byte)
S0EB Time (Yearmonth) represents "12 (min).34(sec).)
S0EC Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program
S0ED Time (Minutesec) Present time of the built-in clock is stored. For data display, 2
change BCD
S0EE history 4 Time (DayHour) digits are represented by 1Byte in BCD code. (Ex. "1234"
(2 digit/byte)
S0EF Time (Yearmonth) represents "12 (min).34(sec).)
S0EC Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program
S0ED Time (Minutesec) Present time of the built-in clock is stored. For data display, 2
change BCD
S0EE history 5 Time (DayHour) digits are represented by 1Byte in BCD code. (Ex. "1234"
(2 digit/byte)
S0EF Time (Yearmonth) represents "12 (min).34(sec).)
S0EC Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program
S0ED Time (Minutesec) Present time of the built-in clock is stored. For data display, 2
change BCD
S0EE history 6 Time (DayHour) digits are represented by 1Byte in BCD code. (Ex. "1234"
(2 digit/byte)
S0EF Time (Yearmonth) represents "12 (min).34(sec).)
S0EC Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program
S0ED Time (Minutesec) Present time of the built-in clock is stored. For data display, 2
change BCD
S0EE history 7 Time (DayHour) digits are represented by 1Byte in BCD code. (Ex. "1234"
(2 digit/byte)
S0EF Time (Yearmonth) represents "12 (min).34(sec).)
S0EC Changed portion Bit B:PRG.3 Bit A: PRG.2, Bit 9 : PRG.1 ,Bit 8: parameter Bit
Program
S0ED Time (Minutesec) Present time of the built-in clock is stored. For data display, 2
change BCD
S0EE history 8 Time (DayHour) digits are represented by 1Byte in BCD code. (Ex. "1234"
(2 digit/byte)
S0EF Time (Yearmonth) represents "12 (min).34(sec).)
S200
Error information See 5.1.4 "Special register for error information output".
~
S24F
S250
Annunciator information See Programming Manual.
~
S2CF
information module.
S3FF LINK1-8
8-57
Table of link module code
8-58
8.3. Index function and indirect address
8.3.1. Index register
Index register is dedicated to saving the address information of register.
There are 16 registers available from IX0 to IXF.
It corresponds to conventional indirect designation.
Command for direct designation "MOVE" uses the same processing as "MOVH".
It is not necessary to use index register for all operands. Mixed condition is OK.
Command for direct designation enables indirect designation.
8-59
8.3.1.3. Index register offset designation
When the index is designated, relative address can be designated with index register as head
address.
IX0 (D120L) and IX0 (D120H) are multiplied and the result is stored in IX0+2 (D121L).
The offset can be set in decimal and hexadecimal number.
The range that can be offset-designated is the range of the same identifier as the area
designated by index register.
Own area (M1000 - M17FF) expanded by PC10G and basic area (M000 - M7FF) are regarded to
be different.
Up to max 3FFFFh (256Kbytes) can be designated in a huge area such as FR register.
It is not allowed to designate the offset value across the areas the same as operand of application
command.
When the index register is used, it is also allowed to add setting and coil comment.
Circuit monitor is also allowed.
(Note) It is not allowed to use index for timer and counter command.
This function cannot be used for bit address of contact, coil, etc.
Data type is automatically distinguished by each command.
Example
-[W* IX0++ * IX1++ -> IX2++]
(+2) (+2) (+4) Address information is incremented by 4 because the result
of multiplication command is 32 bits.
8-60
8.3.1.6. Circuit monitor of circuit using index register Address in execution
8-61
Index register
(3) Offset
Offset is recognized by byte.
(Excluding bit designation. Bit designation is describedin (1) above.)
IX@+ (Offset number in hexadecimal or decimal) The value of set index
Range of offset: 0 - 3FFFF bytes (smaller than offset of bit) register itself is not changed.
Ex: |-----------[ INDX D0000L -> IX0 ]-|
|-----[ DMOV 12345678 -> IX0+3h ]-| : 12345678 is transferred to D2/D2.
(Transferred to D2/D1 even if OP2 is IX0+2h.)
[Assuming that D0000L is 0, 3 bytes are added, and (D0001H) is recognized by word,
and (D0001) is obtained.]
8-62
Index error (error 7F)
* Condition of occurrence
(1) When no index address is set, application command relating to the index was executed, or index
register was used.
(2) Out of area: When the identifier was crossed over in offset mode. When discontinuous address
with the same identifier is crossed, the error occurs as well.(Ex.M7FF and M1000)
Supplement: When the area 64K is crossed over within the same identifier of U, EB, and FR, the
index is executed normally.
(3) When executing the timer command, the index register used something other than T or ET.
* Flag
V57 (index error) turns on.
VE2 (application command error latch) turns on.
Supplement: V50 (application command error 1) does not turn on.
* RUN status in error mode
Stops when the calculation command error is checked.
* Operation in error mode
(1) Contact OFF
(2) Coil No operation (because there is no executing register itself)
(3) Contact type application command (comparison command) OFF
(4) Output type application command Not executed (because there is no executing register itself)
8-63
PCwin display and note
(1) When the index is used for coil (including output type application command), duplication of output
cannot be detected by program check.
(2) The address indicating the index register is displayed in monitoring.
(3) The index serial number is affixed per index.
(4) Comment is attached to each index and serial number. (Index/Comment).
(5) In checking with block, index and serial number are included in checking.
(6) Index can be used for operand of indirect address in application command.
(7) It is not allowed to use index for direct address in the step of SFC.
(8) It is not allowed to used index within FB library.
comment
Index
comment
comment
Index
comment
Index
comment
comment
comment
8-64
8.3.1.8. List of address addition and subtraction value for pre/post increment and decrement
Pre/Post increment and decrement (--Ixn, ++Ixn, IXn--, IXn++: IXn represents IX0 - IXF) automatically
distinguishes the address data type of application command for use (byte, word, and double-word) and
changes the address of index register.
Floating
point
Step count
Signed
FUN.
precision
precision
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
2-byte direct
0 WMOVE 4 Transfer source Transfer destination 2/2
transfer
BCD 4-digit
1 WMOVP 4 Constant data Transfer destination 0/2
constant transfer
Exchange
2 WXCH 16-bit exchange 4 Transfer destination 2/2
source
BCD 4 digits -> Conversion
3 WBIN 4 Transfer destination 2/2
BIN source
Conversion
4 WBCD BIN->BCD 4 digits 4 Transfer destination 2/2
source
Transfer destination Offset storage
5 DIV Distribution (byte) 5 Transfer source 1/1/1
base address address
Transfer source Offset storage Transfer
6 PUP Extraction (byte) 5 1/1/1
base address address destination
Decimal 5-digit
7 WMOVR 4 Constant data Transfer destination 0/2
constant transfer
Octal 6-digit
8 WMOVQ 4 Constant data Transfer destination 0/2
constant transfer
Conversion
9 NOT Inversion (byte) 4 Transfer destination 1/1
source
BCD addition (4
10 W+P 5 S address Daddress Raddress 2/2/2
digits)
BCD subtraction
11 W-P 5 S address Daddress Raddress 2/2/2
(4 digits)
Comparison Comparison
12 WCP Word comparison 4 2/2
source address destination address
Logical product
13 AND 5 S address D address Raddress 1/1/1
(byte)
14 OR Logical sum (byte) 5 S address D address Raddress 1/1/1
Comparison Comparison
17 CP Byte comparison 4 1/1
source address destination address
Exclusive logical
18 XOR 5 S address D address Raddress 1/1/1
sum (byte)
Clear check Transfer destination
20 CMOV 5 Transfer source Data quantity 1/1/0
transfer (byte) clearing confirmation
Matched data Comparison Comparison clearing
21 CLR 5 Data quantity 1/1/0
clearing (byte) source destination
1-bit right shift
36 WSFR 3 Shift destination 2
(word)
1-bit left shift
37 WSFL 3 Shift destination 2
(word)
50 DECO 4 -> 16 decoder 4 Decode source Decode destination 1/2
51 ENCO 16 ->4 encoder 4 Encode source Encode destination 2/1
7-segment
52 SEG 5 Decode source Decode destination Data quantity 1/1/0
decoder ゙
Exchange
53 SXCH 4-bit exchange 4 Transfer destination 1/1
source
Bit extraction Beat position
54 BPU 4 Extraction source 1/1
(byte) storage
Hexadecimal
Transfer
62 MOVT 2-digit constant 5 Constant data Transfer destination 0/1/1
destination
2-position transfer
Binary increment Comparison
63 WINC 4 +1 address 2/2
(word) source
Binary decrement
64 WDEC 3 -1 address 2
(word)
Entrapment shift
68 SFIN 4 Head address End address 1/1
IN (byte)
Entrapment shift Transfer
69 SFOUT 5 Head address End address 1/1/1
OUT (byte) destination
8-65
Floating
point
Step count
Signed
precision
precision
FUN.
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
73 BPUP Block extraction 5 Transfer source Transfer destination Transfer count 2/2/2
(byte) base offset indirect
1-byte indirect Transfer destination
74 MOVF 4 Transfer source 1/2
transfer 1 indirect
1-byte indirect Transfer source
75 MOVG transfer 2 4 indirect Transfer destination 2/1
103 MOVP BCD 2-digit constant 4 Constant data Transfer destination 0/0/1
transfer
BCD 8-digit constant Low-order High-order constant Transfer
104 DMOVP 5 0/0/4
transfer constant data data destination
Decimal 3-digit
105 MOVR constant transfer 4 Constant data Transfer destination 0/1
106 DMOVR Decimal 10-digit 5 Low-order High-order constant Transfer 0/0/4 569 569
constant transfer constant data data destination
Octal 3-digit
107 MOVQ 4 Constant data Transfer destination 0/1
constant transfer
Octal 11-digit Low-order High-order constant Transfer
108 DMOVQ constant transfer 5 constant data data destination 0/0/4
109 JIS JIS code storage 5 Low-order High-order constant Transfer 0/0/1
constant data data destination
Hexadecimal 4-digit Transfer
110 WMOVT 5 Constant data Transfer destination 0/2/2
2-position transfer destination
8-66
Floating
point
Step count
Signed
precision
precision
FUN.
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
8-67
Floating
point
Step count
Signed
precision
precision
FUN.
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
8-68
Floating
point
Step count
Signed
precision
precision
FUN.
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
8-69
Floating
point
Step count
Signed
precision
precision
FUN.
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
N-bit
230 BSRL rightward/leftward 4 Shift destination Shift count 1/0
shift (byte)
N-bit
231 WBSRL rightward/leftward 4 Shift destination Shift count 2/0
shift (word)
N-bit
232 DBSRL rightward/leftward 4 Shift destination Shift count 4/0
shift (32 bits)
CY-equipped
233 RRC rightward rotating 4 Shift destination Shift count 1/0
(byte)
CY-equipped
234 WRRC rightward rotating 4 Shift destination Shift count 2/0
(word)
CY-equipped
235 DRRC rightward rotating 4 Shift destination Shift count 4/0
(32 bits)
CY-equipped
236 RLC leftward rotating 4 Shift destination Shift count 1/0
(byte)
CY-equipped
237 WRLC leftward rotating 4 Shift destination Shift count 2/0
(word)
CY-equipped
238 DRLC rightward/leftward 4 Shift destination Shift count 4/0
rotating (32 bits)
CY-equipped
239 RLRC leftward/rightward 4 Shift destination Shift count 1/0
rotating (byte)
CY- equipped
240 WRLRC leftward/rightward 4 Shift destination Shift count 2/0
rotating (word)
CY- equipped
241 DRLRC leftward/rightward 4 Shift destination Shift count 4/0
rotating (32 bits)
242 RR CY-absent right 4 Shift destination Shift count 1/0
rotating (byte)
243 WRR CY-absent right 4 Shift destination Shift count 2/0
rotating (word)
244 DRR CY-absent right 4 Shift destination Shift count 4/0
rotating (32 bits)
245 RL CY-absent left 4 Shift destination Shift count 1/0
rotating (byte)
246 WRL CY-absent left 4 Shift destination Shift count 2/0
rotating (word)
CY-absent
247 DRL rightward/leftward 4 Shift destination Shift count 4/0
rotating (32 bits)
CY-absent
equipped
248 RLR 4 Shift destination Shift count 1/0
leftward/rightward
rotating (byte)
CY-absent
equipped
249 WRLR leftward/rightward 4 Shift destination Shift count 2/0
rotating (word)
CY-absent
250 DRLR rightward/leftward 4 Shift destination Shift count 4/0
rotating (32 bits)
251 SUP Upward shift (4 4 Shift head Shift count 1/0
bits)
252 UP2 Upward shift 4 Shift head Shift count 1/0
(byte)
253 WUP Upward shift 4 Shift head Shift count 2/0
(word)
254 DUP Upward shift (32 4 Shift head Shift count 4/0
bits)
255 SDOWN Downward shift 4 Shift head Shift count 1/0
(4 bits)
256 DOWN Downward shift 4 Shift head Shift count 1/0
(byte)
257 WDOWN Downward shift 4 Shift head Shift count 2/0
(word)
258 DDOWN Downward shift 4 Shift head Shift count 4/0
(32 bits)
259 STURN Inversion (4 bits) 5 Transfer source Transfer destination Data count 1/1/0
8-70
Floating
point
Step count
Signed
precision
precision
FUN.
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
260 TURN Inversion (8 bits) 5 Transfer source Transfer destination Data count 1/1/0
261 WTURN Inversion (16 bits) 5 Transfer source Transfer destination Data count 2/2/0
281 RI Input refresh 4 Head Data count 1/0
282 RO Output refresh 4 Head Data count 1/0
283 REF External input transfer 5 Transfer source Transfer destination Data count 1/1/0
External output
284 REFO 5 Transfer source Transfer destination Data count 1/1/0
transfer
291 ANN Annunciator 4 Code Transfer source 0/1
DLNK message
302 MSET transmission
0/1/1
Special module byte Link NO.transfer Transfer source Transfer destination
304 SPR reading
5 count indirect indirect
2/2/2
Special module byte Link NO.transfer Transfer source Transfer destination
306 SPW writing
5 count indirect indirect
2/2/2
316 HCR High-speed counter RD 4 Module address Transfer destination 2/2
317 HCW High-speed counter WR 5 Module address Transfer source Data count 2/2/0
318 IOR Common I/ORD 5 Module address Transfer destination Data count 2/2/0
319 IOW Common I/OWR 5 Module address Transfer source Data count 2/2/0
Address constant Address
320 MOVAD 4 Transfer destination 0/2
transfer constant
BIN constant addition
323 +H 5 Saddress Constant data R address 1/0/1
(byte)
BIN constant addition
324 W+H 5 Saddress Constant data R address 2/0/2
(word)
BIN constant addition Low-order constant High-order constant
325 D+H 5 Saddress 4/0/0 560 560
(32 bits) data data
BCD 2-digit constant
326 +HP 5 Saddress Constant data R address 1/0/1
addition
BCD 4-digit constant
327 W+HP 5 Saddress Constant data R address 2/0/2
addition
BCD 8-digit constant Low-order constant High-order constant
328 D+HP 5 Saddress 4/0/0
addition data data
BIN constant
329 -H 5 Saddress Constant data R address 1/0/1
subtraction (byte)
BIN constant
330 W-H 5 Saddress Constant data R address 2/0/2
subtraction (word)
BIN constant Low-order constant High-order constant
331 D-H 5 Saddress 4/0/4 561 561
subtraction (32 bits) data data
BCD 2-digit constant
332 -HP 5 Saddress Constant data R address 1/0/1
subtraction
BCD 4-digit constant
333 W-HP 5 Saddress Constant data R address 2/0/2
subtraction
BCD 8-digit constant Low-order constant High-order constant
334 D-HP 5 Saddress 4/0/4
subtraction data data
BIN constant
335 *H 5 Saddress Constant data R address 1/0/2
multiplication (byte)
BIN constant
336 W*H 5 Saddress Constant data R address 2/0/4
multiplication (word)
BIN constant Low-order constant High-order constant
337 D*H 5 Saddress 4/0/0 562 562
multiplication (32 bits) data data
BCD 2-digit constant
338 *HP 5 Saddress Constant data R address 1/0/2
multiplication
BCD 4-digit constant
339 W*HP 5 Saddress Constant data R address 2/0/4
multiplication
BCD 8-digit constant Low-order constant High-order constant
340 D*HP 5 Saddress 4/0/0
multiplication data data
BIN constant division
341 /H 5 Saddress Constant data Raddress 1/0/1
(byte)
BIN constant division
342 W/H 5 Saddress Constant data Raddress 2/0/2
(word)
BIN constant division Low-order constant High-order constant
343 D/H 5 Saddress 4/0/0 563 563
(32 bits) data data
BCD 2-digit constant
344 /HP 5 Saddress Constant data R address 1/0/1
division
BCD 4-digit constant
345 W/HP 5 Saddress Constant data R address 2/0/2
division
BCD 8-digit constant Low-order constant High-order constant
346 D/HP 5 Saddress 4/0/0
division data data
Constant logical
347 ANDH 5 Saddress Constant data Raddress 1/0/1
product (byte)
Constant logical
348 WANDH 5 Saddress Constant data Raddress 2/0/2
product (word)
Constant logical Low-order constant High-order constant
349 DANDH 5 Saddress 4/0/0
product (32 bits) data data
8-71
Floating
point
Step count
Signed
FUN.
precision
precision
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
Constant logical
350 ORH 5 S address Constant data Raddress 1/0/1
sum (byte)
Constant logical
351 WORH 5 S address Constant data Raddress 2/0/2
sum (word)
Constant logical Low-order constant High-order
352 DORH 5 S address 4/0/0
sum (32 bits) data constant data
Constant XOR
353 XORH 5 S address Constant data Raddress 1/0/1
(byte)
Constant XOR
354 WXORH 5 S address Constant data Raddress 2/0/2
(word)
Constant XOR (32 Low-order constant High-order
355 DXORH 5 S address 4/0/0
bits) data constant data
362 STI1 ΣX (byte) BIN 5 Head address Transfer destination Data count 1/2/2
363 WSTI1 ΣX (word) BIN 5 Head address Transfer destination Data count 2/2/2
364 DSTI1 ΣX (32 bits) BIN 5 Head address Transfer destination Data count 4/2/2 564 564
Flash register Transfer destination
369 FRWR 5 Head address Data count 2/2/0
writing (FR register)
Storage
I/O register Issue destination
370 CSET 5 Data count destination 0/1/1
reading issue address
address
EB address Transfer
371 BRSET 5 EB address (L) EBaddress(H) 0/0/4
setting destination
Reading out of EB Transfer
372 WBR 5 Transfer source Transfer destination 2/2/0
address count
Writing to EB Transfer
373 WBW 5 Transfer source Transfer destination 2/2/0
address count
Maximum value
374 MAX 5 Head address Transfer destination Data count 1/1/2
retrieval (byte)
Maximum value
375 WMAX 5 Head address Transfer destination Data count 2/2/2
retrieval (word)
Maximum value
376 DMAX 5 Head address Transfer destination Data count 4/2/4 565 565
retrieval (32 bits)
Minimum value
377 MIN 5 Head address Transfer destination Data count 1/1/2
retrieval (byte)
Minimum value
378 WMIN 5 Head address Transfer destination Data count 2/2/2
retrieval (word)
Minimum value
379 DMIN 5 Head address Transfer destination Data count 4/2/4 566 566
retrieval (32 bits)
380 AVE Average (byte) 5 Head address Transfer destination Data count 1/1/2
381 WAVE Average (word) 5 Head address Transfer destination Data count 2/2/2
382 DAVE Average (32 bits) 5 Head address Transfer destination Data count 4/2/4 567 567
Comparison AND
576 =H = Hexadecimal 4 S address Constant 1
(byte)
Comparison AND
577 =D 4 S address Constant 1
= Decimal (byte)
Comparison AND
578 =N 4 S address D address 1
= Variable (byte)
Comparison AND
579 W=H = Hexadecimal 4 S address Constant 2
(word)
Comparison AND
580 W=D 4 S address Constant 2
= Decimal (word)
8-72
Floating
point
Step count
Signed
FUN.
precision
precision
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
Comparison
581 W=N AND=Variable 4 S address D address 2
(word)
Comparison
High-order
582 D=H AND=Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
583 D=D AND=Decimal (32 5 S address Low-order constant 4 928 928
constant
bits)
Comparison
584 D=N AND=Variable (32 4 S address D address 4 929 929
bits)
Comparison
585 <>H AND<>Hexadecimal 4 S address Constant 1
(byte)
Comparison
586 <>D AND<>Decimal(byte 4 S address Constant 1
)
Comparison
587 <>N AND<>Variable 4 S address D address 1
(byte)
Comparison
588 W<>H AND<>Hexadecimal 4 S address Constant 2
(word)
Comparison
589 W<>D AND<>Decimal 4 S address Constant 2
(word)
Comparison
590 W<>N AND<>Variable(wor 4 S address Daddress 2
d)
Comparison
High-order
591 D<>H AND<>Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
592 D<>D AND<>Decimal (32 5 S address Low-order constant 4 930 930
constant
bits)
Comparison
593 D<>N AND<>Variable (32 4 S address D address 4 931 931
bits)
Comparison
594 >H AND>Hexadecimal 4 S address Constant 1
(byte)
Comparison
595 >D 4 S address Constant 1
AND>Decimal (byte)
Comparison
596 >N AND>Variable 4 S address Daddress 1
(byte)
Comparison
597 W>H AND>Hexadecimal 4 S address Constant 2
(word)
Comparison
598 W>D AND>Decimal 4 S address Constant 2
(word)
Comparison
599 W>N AND>Variable 4 S address Daddress 2
(word)
8-73
Floating
point
Step count
Signed
FUN.
precision
precision
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
Comparison
High-order
600 D>H AND>Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
601 D>D AND>Decimal (32 5 S address Low-order constant 4 932 932
constant
bits)
Comparison
602 D>N AND>Variable (32 4 S address D address 4 933 933
bits)
Comparison
603 >=H AND>=Hexadecimal 4 S address Constant 1
(byte)
Comparison
604 >=D AND>=Decimal 4 S address Constant 1
(byte)
Comparison
605 >=N AND>=Variable 4 S address D address 1
(byte)
Comparison
606 W>=H AND>=Hexadecimal 4 S address Constant 2
(word)
Comparison
607 W>=D AND>=Decimal 4 S address Constant 2
(word)
Comparison
608 W>=N AND>=Variable 4 S address D address 2
(word)
Comparison
High-order
609 D>=H AND>=Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
610 D>=D AND>=Decimal (32 5 S address Low-order constant 4 934 934
constant
bits)
Comparison
611 D>=N AND>=Variable (32 4 S address Daddress 4 935 935
bits)
Comparison
612 <H AND<Hexadecimal 4 S address Constant 1
(byte)
Comparison
613 <D 4 S address Constant 1
AND<Decimal (byte)
Comparison
614 <N 4 S address Daddress 1
AND<Variable (byte)
Comparison
615 W<H AND<Hexadecimal 4 S address Constant 2
(word)
Comparison
616 W<D 4 S address Constant 2
AND<Decimal (word)
Comparison
617 W<N 4 S address Daddress 2
AND<Variable (word)
Comparison
High-order
618 D<H AND<Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
619 D<D AND<Decimal (32 5 S address Low-order constant 4 936 936
constant
bits)
8-74
Floating
point
Step count
Signed
FUN.
precision
precision
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
Comparison
620 D<N AND<Variable (32 4 S address Daddress 4 937 937
bits)
Comparison
621 <=H AND<=Hexadecimal 4 S address Constant 1
(byte)
Comparison
622 <=D AND<=Decimal 4 S address Constant 1
(byte)
Comparison
623 <=N AND<=Variable 4 S address Daddress 1
(byte)
Comparison
624 W<=H AND<=Hexadecimal 4 S address Constant 2
(word)
Comparison
625 W<=D AND<=Decimal 4 S address Constant 2
(word)
Comparison
626 W<=N AND<=Variable 4 S address Daddress 2
(word)
Comparison
High-order
627 D<=H AND<=Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
628 D<=D AND<=Decimal (32 5 S address Low-order constant 4 938 938
constant
bits)
Comparison
629 D<=N AND<=Variable (32 4 S address D address 4 939 939
bits)
Comparison
640 =H STR=Hexadecimal 4 S address Constant 1
(byte)
Comparison
641 =D 4 S address Constant 1
STR=Decimal (byte)
Comparison
644 =N 4 S address D address 1
STR=Variable (byte)
Comparison
648 W=H STR=Hexadecimal 4 S address Constant 2
(word)
Comparison
649 W=D STR=Decimal 4 S address Constant 2
(word)
Comparison
652 W=N STR=Variable 4 S address D address 2
(word)
Comparison
High-order
656 D=H STR=Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
657 D=D STR=Decimal (32 5 S address Low-order constant 4 940 940
constant
bits)
Comparison
660 D=N STR=Variable (32 4 S address D address 4 941 941
bits)
Comparison
664 =H OR=Hexadecimal 4 S address Constant 1
(byte)
ComparisonOR=
665 =D 4 S address Constant 1
Decimal (byte)
Comparison
668 =N 4 S address D address 1
OR=Variable (byte)
Comparison
672 W=H OR=Hexadecimal 4 S address Constant 2
(word)
Comparison
673 W=D 4 S address Constant 2
OR=Decimal (word)
ComparisonOR=
676 W=N 4 S address D address 2
Variable (word)
8-75
Floating
point
Step count
Signed
FUN.
precision
precision
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
Comparison
High-order
680 D=H OR=Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
681 D=D OR=Decimal (32 5 S address Low-order constant 4 942 942
constant
bits)
Comparison
684 D=N OR=Variable (32 4 S address D address 4 943 943
bits)
Comparison
688 <>H STR<>Hexadecimal 4 S address Constant 1
(byte)
Comparison
689 <>D STR<>Decimal 4 S address Constant 1
(byte)
Comparison
692 <>N STR<>Variable 4 S address D address 1
(byte)
Comparison
696 W<>H STR<>Hexadecimal 4 S address Constant 2
(word)
Comparison
697 W<>D STR<>Decimal 4 S address Constant 2
(word)
Comparison
700 W<>N STR<>Variable 4 S address D address 2
(word)
Comparison
High-order
704 D<>H STR<>Hexadecimal 4 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
705 D<>D STR<>Decimal (32 5 S address Low-order constant 4 944 944
constant
bits)
ComparisonSTR<>
708 D<>N 4 S address D address 4 945 945
Variable (32 bits)
Comparison
712 <>H OR<>Hexadecimal 4 S address Constant 1
(byte)
Comparison
713 <>D 4 S address Constant 1
OR<>Decimal (byte)
Comparison
716 <>N 4 S address D address 1
OR<>Variable (byte)
Comparison
720 W<>H OR<>Hexadecimal 4 S address Constant 2
(word)
Comparison
721 W<>D OR<>Decimal 4 S address Constant 2
(word)
Comparison
724 W<>N OR<>Variable 4 S address D address 2
(word)
Comparison
High-order
728 D<>D OR<>Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
729 D<>D OR<>Decimal (32 5 S address Low-order constant 4 946 946
constant
bits)
Comparison
732 D<>N OR<>Variable (32 4 S address D address 4 947 947
bits)
Comparison
736 >H STR>Hexadecimal 4 S address Constant 1
(byte)
Comparison
737 >D 4 S address Constant 1
STR>Decimal (byte)
8-76
Floating
point
Step count
Signed
FUN.
precision
precision
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
Comparison
740 >N 4 S address D address 1
STR>Variable (byte)
Comparison
744 W>H STR>Hexadecimal 4 S address Constant 2
(word)
Comparison
745 W>D 4 S address Constant 2
STR>Decimal (word)
Comparison
748 W>N 4 S address D address 2
STR>Variable (word)
Comparison
High-order
752 D>H STR>Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
753 D>D STR>Decimal (32 5 S address Low-order constant 4 948 948
constant
bits)
Comparison
756 D>N STR>Variable (32 4 S address D address 4 949 949
bits)
Comparison
760 >H OR>Hexadecimal 4 S address Constant 1
(byte)
Comparison
761 >D 4 S address Constant 1
OR>Decimal (byte)
Comparison
764 >N 4 S address D address 1
OR>Variable (byte)
Comparison
768 W>H OR>Hexadecimal 4 S address Constant 2
(byte)
Comparison
769 W>D 4 S address Constant 2
OR>Decimal (word)
Comparison
772 W>N 4 S address D address 2
OR>Variable (word)
Comparison
High-order
776 D>H OR>Hexadecimal (32 5 S address Low-order constant 4
constant
bits)
Comparison High-order
777 D>D 5 S address Low-order constant 4 950 950
OR>Decimal (32 bits) constant
Comparison
780 D>N 4 S address D address 4 951 951
OR>Variable (32 bits)
Comparison
784 >=H STR>=Hexadecimal 4 S address Constant 1
(byte)
Comparison
785 >=D 4 S address Constant 1
STR>=Decimal (byte)
Comparison
788 >=N 4 S address D address 1
STR>=Variable (byte)
Comparison
792 W>=H STR>=Hexadecima 4 S address Constant 2
l(word)
Comparison
793 W>=D 4 S address Constant 2
STR>=Decimal (word)
Comparison
796 W>=N 4 S address D address 2
STR>=Variable (word)
Comparison
High-order
800 D>=H STR>=Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
801 D>=D STR>=Decimal (32 5 S address Low-order constant 4 952 952
constant
bits)
Comparison
804 D>=N STR>=Variable (32 4 S address D address 4 953 953
bits)
Comparison
808 >=H OR>=Hexadecimal 4 S address Constant 1
(byte)
Comparison
809 >=D 4 S address Constant 1
OR>=Decimal (byte)
8-77
Floating
point
Step count
Signed
FUN.
precision
precision
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
Comparison
812 >=N 4 S address D address 1
OR>=Variable (byte)
Comparison
816 W>=H OR>=Hexadecimal 4 S address Constant 2
(word)
Comparison
817 W>=D 4 S address Constant 2
OR>=Decimal (word)
Comparison
820 W>=N 4 S address D address 2
OR>=Variable (word)
Comparison
High-order
824 D>=H OR>=Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
825 D>=D OR>=Decimal (32 5 S address Low-order constant 4 954 954
constant
bits)
Comparison
828 D>=N OR>=Variable (32 4 S address D address 4 955 955
bits)
Comparison
832 <H STR<Hexadecimal 4 S address Constant 1
(byte)
Comparison
833 <D 4 S address Constant 1
STR<Decimal (byte)
Comparison
836 <N 4 S address D address 1
STR<Variable (byte)
Comparison
840 W<H STR<Hexadecimal 4 S address Constant 2
(word)
Comparison
841 W<D 4 S address Constant 2
STR<Decimal (word)
Comparison
844 W<N 4 S address D address 2
STR<Variable (word)
Comparison
High-order
848 D<H STR<Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
849 D<D STR<Decimal (32 5 S address Low-order constant 4 956 956
constant
bits)
Comparison
852 D<N STR<Variable (32 4 S address D address 4 957 957
bits)
Comparison
856 <H OR<Hexadecimal 4 S address Constant 1
(byte)
Comparison
857 <D 4 S address Constant 1
OR<Decimal (byte)
Comparison
860 <N 4 S address D address 1
OR<Variable (byte)
Comparison
864 W<H OR<Hexadecimal 4 S address Constant 2
(word)
Comparison
865 W<D 4 S address Constant 2
OR<Decimal (word)
Comparison
868 W<N 4 S address D address 2
OR<Variable (word)
Comparison
High-order
872 D<H OR<Hexadecimal (32 5 S address Low-order constant 4
constant
bits)
Comparison High-order
873 D<D 5 S address Low-order constant 4 958 958
OR<Decimal (32 bits) constant
Comparison
876 D<N 4 S address Daddress 4 959 959
OR<Variable (32 bits)
8-78
Floating
point
Step count
Signed
FUN.
precision
precision
Double
Mnemonic Name OP1 OP2 OP3 INDX
Single
NO.
Comparison
880 <=H STR<=Hexadecimal 4 S address Constant 1
(byte)
Comparison
881 <=D 4 S address Constant 1
STR<=Decimal (byte)
Comparison
884 <=N 4 S address D address 1
STR<=Variable (byte)
Comparison
888 W<=H STR<=Hexadecimal 4 S address Constant 2
(word)
Comparison
889 W<=D 4 S address Constant 2
STR<=Decimal (word)
Comparison
892 W<=N 4 S address D address 2
STR<=Variable (word)
Comparison
High-order
896 D<=H STR<=Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
897 D<=D STR<=Decimal (32 5 S address Low-order constant 4 960 960
constant
bits)
Comparison
900 D<=N STR<=Variable (32 4 S address D address 4 961 961
bits)
Comparison
904 <=H OR<=Hexadecimal 4 S address Constant 1
(byte)
Comparison
905 <=D 4 S address Constant 1
OR<=Decimal (byte)
Comparison
908 <=N 4 S address D address 1
OR<=Variable (byte)
Comparison
912 W<=H OR<=Hexadecimal 4 S address Constant 2
(word)
Comparison
913 W<=D 4 S address Constant 2
OR<=Decimal (word)
Comparison
916 W<=N 4 S address D address 2
OR<=Variable (word)
Comparison
High-order
920 D<=H OR<=Hexadecimal 5 S address Low-order constant 4
constant
(32 bits)
Comparison
High-order
921 D<=D OR<=Decimal (32 5 S address Low-order constant 4 962 962
constant
bits)
Comparison
924 D<=N OR<=Variable (32 4 S address D address 4 963 963
bits)
8-79
8.3.2. Indirect addressing
Indirect address can be used in PC10 mode the same as before.
For a circuit performed conventionally by indirect designation command, it is
recommended to make the circuit visible by substituting index designation.
P1 P2 P3
Referred register
Own program Other programs Extended data register
Address register area Address register area Address area
0000 P1 P2 P3 0000 Enhancing 0000 Extended data register
3FFF (_****) (_****) (_****) (E_****,H****) (U****)
4000 P1
(P1-_****)
Because of the change of the 8000 P2
execution of the program, the
register of the area changes too. (P2-_****)
C000 P3
FFFF (P3-_****) FFFF
Note) It is an example of one data separate mode 1. Refer since of the following page for the address
map of other modes.
The distinction of three above-mentioned address spaces is never considered at the direct
address specification. When "_****" and the address are specified, the register of the basic area
of the program executing now is accessed. The basic area of another program when specifying,
"P*-_****", the Enhancing arear when specifying, "E_**** and H****", the enhancing data register
area is accessed when specifying, "U****".
8-80
The register which stores indirect addressing should use the register of the area specified by indirect
addressing to distinguish three above-mentioned address spaces at the indirect addressing
specification.
(1) When you do addressing indirectly compared with the oun area
● To the register of the operand by which indirect addressing is stored, the register of the own area
is used.
● Indirect addressing is specified in the indirect byte address.
(2) When you do addressing indirectly compared with other areas (data area of the extended partition
and another program)
● To the register of the operand by which indirect addressing is stored, the register of the area
specified by indirect addressing is used.
● Indirect addressing is specified in offset + indirect byte address.
The offset value is 0000h in the extended area, 4000h in Program 1, 8000h in Program 2, and
C000h in Program 3.
EX. 8 points (1 byte) of EX000 to EX007 in the extended area are transferred to the lower byte
of Program 2 D0000.
The register (EM00W) of extended area The register P2-D0100) of Program 2 is used
is used to designate the extended area to designate the area of Program 2 with
with indirect address. indirect address.
Herein, set in advance indirect byte address 0B00h ( 0000h+0B00h) in the extended area EX000
- EX007 in the extended internal relays (EM00W( EM000 - EM00F) and indirect byte address
A000h (8000h +2000h) of D0000 lower byte in the data register P2-D0100 of Program 2
respectively.
(3) When you do addressing indirectly compared with other areas 2 (data area of the extended partition)
To the register of the operand by which indirect addressing is stored, the register of G_**** is used.
(4) When you do addressing indirectly compared with the enhancing data register area
● To the register of the operand by which indirect addressing is stored, the enhancing data register
is used.
● Indirect addressing is specified in the indirect byte address.
8-81
8.3.2.2. Method of expressing byte address
Where address is expressed with byte address, word address is followed by H, L, being then
expressed with upper byte or lower byte within word data . The addresses in the pit address area
are followed by W for word address, but they are followed by H, L for byte address.
Addresses in the word address area can be used as bit address by adding bit to right end of word
address.
(EX.)
Bit address Word address Byte address
X000 (LSB) (LSB)
X001
X002
X003
X00L Lower byte
X004
X005
Bit X006
address X007 (MSB)
X00W
area X008 (LSB)
(Example) X009
X00A
X00B
X00H Upper byte
X00C
X00D
X00E
X00F (MSB) (MSB)
D0000-0 (LSB) (LSB)
D0000-1
D0000-2
D0000-3
D0000L Lower byte
D0000-4
D0000-5
Word D0000-6
address D0000-7 (MSB)
D0000
area D0000-8 (LSB)
(Example) D0000-9
D0000-A
D0000-B
D000H Upper byte
D0000-C
D0000-D
D0000-E
D0000-F (MSB) (MSB)
0 0
1 0
2 1
3 0
34h
4 1
5 1
6 0
7 0
1234h
8 0
9 1
A 0
B 0
12h
C 1
D 0
E 0
F 0
8-82
8.4. Command words
8.4.1. Conventional instruction word
19 NOP 1 Non-processing
The parenthesized step number is subject to designation of the data in other area or an extended
area.
8-83
(2) Timer and counter commands
Step Content of
Classification Function Nnemonic Symbol (example)
number computation
T000 10ms timer of 655.35 sec
Direct-design
at setup value
ated 10ms TMRH 4 TMRH K=655.35
timer
8-84
(3) Exclusive extended timer nd counter commands for PC3J
Step Content of
Classification Function Nnemonic Symbol (example)
number computation
10ms timer on which
ET000 content of extended
Extended
ETMRH 3 ETMRH S=H0000 setup value register
10ms timer
H0000 is set as a setup
value
Timer 100ms timer on which
ET001 content of extended
Extended
ETMR 3 ETMR S=H0001 setup value register
100ms timer
H0001 is set as a setup
value
10ms integrating timer
Extended ET002 on which the content of
10ms T
ETMRSH 3 ETMRSH S=H0002 extended setup value
integrating
R register H0002 is set up
timer
Integrating as a setup value
timer 100ms integrating timer
Extended ET003 on which the content of
100ms T
ETMRS 3 ETMRS S=H0003 extended setup value
integrating
R register H0003 is set up
timer
as a setup value
UP-counter on which the
EC004 content of extended
Extended CK
UP counter UP-counter ECNT 3 ECNT S=H0004 setup value register
R H0004 is set up as a
setup value
DOWN-counter on which
Extended EC005 the content of extended
DOWN CK
DOWN-count ECNTD 3 ECNTD S=H0005 setup value register
counter er R H0005 is set up as a
setup value
UP-DOWN counter on
EC006
CK which the content of
UP-DOWN Extended ECNTH S=H0006 extended setup value
UP-DOWN ECNTH 3 U/D
counter register H0006 is set up
counter
R as a setup value
Extended setup value register: Fixed setup value register corresponding to coil address
U/D:"EITHER UP COUNT OR DOWN COUNT" command input -- UP count is executed with
conditional satisfaction and DOWN count executed with conditional dissatisfaction.
8-85
(4) Application commands
mal D=H
8 digits 656 582 680 D=H The current flows across
3 digits 641 577 665 =D the contact if S=H, S=K,
=D
= Decimal 5 digits 649 580 673 W=D W=D
D=D
S K S1=S2 upon comparison of
10 digits 657 583 681 D=D register to constant or
Register
mal D<>H
8 digits 704 591 728 D<>H The current flows across
3 digits 689 586 713 <>D the contact if SH, SK,
<>D
Decimal 5 digits 697 589 721 W<>D W<>D S K S1S2upon comparison of
D<>D
10 digits 705 592 729 D<>D register to constant or
Register
D>H
8 digits 752 600 776 D>H The current flows across
3 digits 737 595 761 >D the contact if S>H, S> K,
>D
> Decimal 5 digits 745 598 769 W>D W>D
D>D
S K S1>S2 upon comparison of
Comparison ( contact type)
D>=H
8 digits 800 609 824 D>=H
The current flows across
3 digits 785 604 809 >=D
> Decimal 5 digits 793 607 817 W>=D
>=D the contact if SH, SK,
S1S2 upon comparison of
= 10 digits 801 610 825 D>=D
W>=D
D>=D
S K
register to constant or
register to register.
Register
D<H
8 digits 848 618 872 D<H The current flows across
3 digits 833 613 857 <D the contact if S<H, S< K,
<D
< Decimal 5 digits 841 616 865 W<D W<D
D<D
S K S1<S2 upon comparison of
10 digits 849 619 873 D<D register to constant or
Register
mal D<=H
8 digits 896 627 920 D<=H The current flows across
3 digits 881 622 905 <=D the contact if SH, SK,
< Decimal 5 digits 889 625 913 W<=D
<=D
W<=D S1S2 upon comparison of
= 10 digits 897 628 921 D<=D
D<=D
S K
register to constant or
Register
8-86
(4-2) Output type applied commands
Comman
Classification No. Symbol Function
d word
2 digits 100 MOV MOV
Hexadecimal constant WMOV H D
4 digits 101 WMOV Hexadecimal constant H (2,4, 8 digits) ...transferred to D.
transfer DMOV
8 digits 102 DMOV
3 digits 103 MOVP MOVP
BCD constant transfer 5 digits 1 WMOVP WMOVP H D BCD constant H (2, 4, 8 digits)..transferred to D.
DMOVP
10 digits 104 DMOVP
3 digits 105 MOVR MOVR
Decimal constant WMOVR K D
5 digits 7 WMOVR Decimal constant K ( 3, 5, 10 digits) ...transferred to D.
transfer DMOVR
10 digits 106 DMOVR
3 digits 107 MOVQ MOVQ
Octal constant transfer 6 digits 8 WMOVQ WMOVQ Q D Octal constant Q (3, 6, 11 digits) ..transferred to D.
DMOVQ
11 digits 108 DMOVQ
Hexadecimal constant 2 digits 62 MOVT MOVT
WMOT H D1 D2 Hexadecimal constant H (2, 4 digits) ..transferred to D1, D2.
transfer to two destinations 4 digits 110 WMOVT
8bits 90 MOVE MOVE
Direct transfer 16bits 0 WMOVE WMOVE S D S data transferred to D.
DMOVE
Register to register transfer
Direct transfer 8bits 118 BMOV2 BMOV2 Data of the number indicated with K which of head address is
WBMOV S D K
(2) 16bits 119 WBMOV S are transferred to the area which of head address is D.
8bits 71 BMV1 BMV1 Data in the area which of head address is S1 is transferred to
Indirect transfer WBMV1 S1 D S2 the area which of head address is D content. The content of
16bits 120 WBMV1 S2 is the number of transferred.
8bits 5 DIV DIV
WDIV S1 D S2 S1 data is transferred to address shown with ( address shown
Data distribution 16bits 122 WDIV
DDIV with D + offset value shown with S2 content).
Transfer
8bits 128 FIL2 FIL2 H is transferred to an area wherein head address is S and the
Data fill 2 WFIL H S K
16bits 129 WFIL number of data is K.
The content of S is stored in an area wherein the head
Indirect data fill 1 8bits 78 FILI1 FILI1 S D1 D2 address is D1 content and the number of data is the content of
D2.
8bits 130 FILI2 FILI2 The content of S1 is stored in an area wherein the head
Indirect data fill 2 WFILI S1 D S2 address is the content of D and the number of data is the
16bits 131 WFILI content of S2.
8bits 20 CMOV CMOV
WCMOV S D K Data portion from S address is transferred to the data area
Clear check transfer
16bits 166 WCMOV from D, if data of K portion from D address are all 0.
8bits 21 CLR CLR If data of K portion commencing from S address and data of K
Matched data clear WCLR S D K portion commencing from S address match one another, the
16bits 167 WCLR data of K portion commencing from D is cleared.
S,D : register H:hexadecimal constant K:Decimal constant Q: Octal constant C: Character constant
8-87
Comman
Classification No. Symbol Function
d word
Register 8bits 144 MOVJ
-> MOVJ
16bits 145 WMOVJ WMOVJ S D The content of S is transferred to File Register D.
File DMOVJ
Transfer
8-88
Comman
Classification No. Symbol Function
d word
Odd 83 MKP1 Most significant bit is set/reset so that the bit number of "1"
MKP1
calculation
Parity bit create S D becomes odd (MKP1) [Even (MKP2)], using the lower 7bits in
MKP2
Parity
8-89
Comman
Classification No. Symbol Function
d word
4bits 251 SUP
8bits 252 UP2 SUP Data in area with S on its head address and with data number
UP2 S K designated with K are shifted to upper significant direction.
16bits 253 WUP WUP The least significant data is 0.
Upper significant shift DUP
32bits 254 DUP
Shift
DFIFR
32bits 165 DFIFR added to D1 content.
The areas from S address up to D address are deemed as
Stack shift input 68 SFIN SFIN S D STACK and the content of S is all stacked. However, 0 is
deemed as "no data".
S content is transferred to D2. The data from D1 address up
Stack shift output 69 SFOUT SFOUT D1 S D2 to S-1 are shifted to upper significant direction. D1 content is
made to 0.
8bits 233 RRC
RRC S content and CARRY FLAG are rotated to the right, by the bit
With carry 16bits 234 WRRC WRRC S K
DRRC number designated with K.
Rotate to 32bits 235 DRRC
right 8bits 242 RR RR
Without WRR S K S content is rotated to the right, by the bit number designated
16bits 243 WRR
carry DRR with K.
32bits 244 DRR
8bits 236 RLC RLC
With S content and CARRY FLAG is rotated to the left, by the bit
16bits 237 WRLC WRLC S K
carry DRLC number designated with K.
Rotate
Set 440 MC MC Output command of the master control range from SET up to
Master control MCR K RESET is controlled . Normally controlled if MO command
Reset 444 MCR input is ON and all OFF if the same command input is OFF.
External input ON/OFF information is transferred to Device X
I/O refresh 280 RIO RIO and the ON/OFF information of Device Y is transferred to the
external output unit.
I/O control
8-90
Comman
Classification No. Symbol Function
d word
Message data and time in the 16Byte area with code H and S
Annunciator 291 ANN ANN H S on its head address are transferred to the annunciator area of
special register.
minute.
Communication speed setting for BAUD K The communication speed for peripheral equipment is
288 BAUD
peripheral equipment changed into the speed designated with K.
8-91
(5) Application instruction added with PC3J
Command
Classification No. Symbol Function
word
Bit data with bit position represented by h1 of S at its head and
Transfer commands
Bit block transfer 121 BBMOV BBMOV Sh1 Dh2 K with points represented by K is transferred to an area with bit
position represented by h2 of D at its head.
4bit 259 STURN Transfer to area with D as its head address in inverse
STURN
Inversion 8bit 260 TURN TURN S D K sequence from last data in data area with S as its head
WTURN address and with points represented by K.
16bit 261 WTURN
Address constant transfer 320 MOVAD MOVAD S D S is stored in D after changed into indirect address.
8bit 323 +H +H After S content and constant H were added, the result is stored
W+H S H D
16bit 324 W+H in D. Data are all handled as binary value.
Binary S content and constant H are added and the result is stored in
32bit 325 D+H D+H S H the address next to S. The data are all handled as binary
Constant number.
addition
2 digits 326 +HP +HP After S content and constant K were added, the result is stored
W+HP S K D
4 digits 327 W+HP in D. The data are all handled as BCD.
BCD
D+HP S K S content and constant K are added and the result is stored in
8 digits 328 D+HP
the address next to S. The data are all handled as BCD.
8bit 329 -H -H After S content and constant H were deducted, the result is
W-H S H D
16bit 330 W-H stored in D. The data are all handled as binary value.
Binary S content and constant H are deducted and the result is stored
32bit 331 D-H D-H S H in the address next to S. The data are all handled as binary
Constant number.
deduction 2 digits 332 -HP -HP After S content and constant K were deducted, the result is
W-HP S K D
Arithmetic computation
4 digits 333 W-HP stored in D. The data are all handled as BCD.
BCD S content and constant K are deducted and the result is stored
8 digits 334 D-HP D-HP S K in the address next to S. The data are all handled as binary
number.
8bit 335 *H *H After S content and constant H were multiplied, the result is
W*H S H D
16bit 336 W*H stored in D. The data are all handled as binary value.
Binary After S content and constant H were multiplied, the result is
32bit 337 D*H D*H S H stored in the address next to S. The data are all handled as
Constant
binary value.
multiplica-tio
2 digits 338 *HP *HP After S content and constant K were multiplied, the result is
n S K D
W*HP stored in D. The data are all handled as BCD.
4 digits 339 W*HP
BCD After S content and constant K were multiplied, the result is
8 digits 340 D*HP D*HP S K stored in the address next to S. The data are all handled as
BCD.
8bit 341 /H After S content and constant H were divided, the result is
/H
W/H S H D stored in D and remainder stored in next address. The data
16bit 342 W/H are all handled as binary value.
Binary
After S content and constant H were divided, the result is
32bit 343 D/H D/H S H stored in address next to S and remainder stored in next next
Constant
address . The data are all handled as binary value.
dividing
2 digits 344 /HP After S content and constant K were divided, the result is
/HP
W/HP S K D stored in D and remainder stored in next address. The data
4 digits 345 W/HP are all handled as BCD.
BCD
After S content and constant K were divided, the result is
8 digits 346 D/HP D/HP S K stored in address next to S and remainder stored in next next
address. The data are all handled as BCD.
8bit 347 ANDH ANDH After logic product (AND) of S content and constant H was
WANDH S H D
16bit 348 WANDH computed, the result is stored in D.
Constant logic product
After logic product(AND) of S content and constant H was
Logic computation
8-92
Command
Classification No. Symbol Function
word
Subroutine is closed when the conditions are met, and
CRET
Conditional return 285 CRET applicable subroutine is called and executed from step
next toCALL command.
ARIO D K External I/O of Kbyte portion from D address are
Area designated I/O refresh 295 ARIO
Others
refreshed.
Applied command flag clear SYS 4 1 0 Set up so that applied command flag is cleared at
300 SYS
mode setting reading of applied command .
Applied command flag clear Set up so that applied command flag is not cleared at
300 SYS SYS 4 0 0
mode resetting reading of applied command.
SYS Clock adjustment The clock in CPU is adjusted by “the minute second day
instruction (PC3J series 300 SYS SYS 5 S 0 hour year month week” of the 4-word which makes the
ver2.6~) *1 address of S a head.
S,D: Register , H: Hexadecimal constant K:decimal constant
8-93
8.4.2. Application command dedicated to PC10G (Ver 3.00 and over)
|---------------[Label L0 ]
|--||---------[TIMHH T0 5ms]
T0
|---|/|-------[JMP L0 ]
8-94
8.4.2.2. Inversion coil
Coil is added to inverse the output when a condition is satisfied.
It is usually used in pair with edge command.
A B
|----| |------| |----------------------------[/]
A:
B:
If [Sign(s)] is checked,
signed calculation is enable.
In addition command and subtraction command, the result of calculation is the same whether a sign
is attached or not.
However, note that overflow and underflow are operated differently.
No sign (word)
FFFFh + 0001h = 0000h Overflow
Signed (word)
FFFFh + 0001h = 0000h Not overflow
(-1)
In a circuit monitor by PCwin, monitor result is also displayed with sign for signed calculation.
8-95
8.4.2.4. PID command
|--------[PID D0000 D0010 D0020 ]
Format
OP1: Initial address single precision floating point of various parameters
OP2: Deviation input storage address single precision floating point
OP3: PID output storage address single precision floating point
It is a command for executing basic calculation formula, and is used for PID control.
It does not have a function such as auto tuning.
8-96
8.4.2.5. Floating point command
8-97
F=FD Comparison STR=decimal (floating point)
F=FN Comparison STR=variable (floating point)
F=FD Comparison OR=decimal (floating point)
F=FN Comparison OR=variable (floating point)
F<>FD Comparison STR<>decimal (floating point)
F<>FN Comparison STR<>variable (floating point)
F<>FD Comparison OR<>decimal (floating point)
F<>FN Comparison OR<>variable (floating point)
F>FD Comparison STR>decimal (floating point)
F>FN Comparison STR>variable (floating point)
F>FD Comparison OR>decimal (floating point)
F>FN Comparison OR>variable (floating oint)
F>=FD Comparison STR>=decimal (floating point)
F>=FN Comparison STR>=variable (floating point)
F>=FD Comparison OR>=decimal (floating point)
F>=FN Comparison OR>=variable (floating point)
F<FD Comparison STR<decimal (floating point)
F<FN Comparison STR<variable (floating point)
F<FD Comparison OR<decimal (floating point)
F<FN Comparison OR<variable (floating point)
F<=FD Comparison STR<=decimal (floating point)
F<=FN Comparison STR<=variable (floating point)
F<=FD Comparison OR<=decimal (floating point)
F<=FN Comparison OR<=variable (floating point)
8-98
8.4.2.5.2. Internal Expression of Floating point number
(1) Internal expression of floating point number conforms to standard format of IEEE.
31 30 23 22 0
63 62 52 51 0
8-99
8.4.2.5.3. Data format detail of floating point number command
(a) Float type
1. Normalized value
Sign part is 0 (positive) or 1 (negative), which represents the sign of a value.
The exponential part takes a value 1~254(28-2). Actual exponent is a value obtained by subtracting
127 from this value, and ranges from -126 to 127.
Significand takes a value 0~223-1. Actual significand is interpreted assuming the bit of 223 at 1 and
decimal point directly after.
The value represented by normalized number is
(-1)<sign part> x 2<exponential part>127 x (1 +<significand> x 2-23)
Ex:
31 30 23 22 0
0 10000010 01100000000000000000000
Sign: +
Exponent: 10000010(2)-127= 3 (2) represents a binary number.
Significand: 1.011(2)= 1.375
Value: 1.37523= 11
2. Un-normalized value
Sign part is 0 (positive) or 1 (negative), which represents the sign of a value.
Exponential part is 0 and actual significand is -126.
Significand is 1~223 -1, and actual significand is interpreted assuming the bit of 223 at 0 and decimal
point directly after.
The value expressed by un-normalized number is
(-1)<sign part> x 2-126 x (<significand> x 2-23)
Ex:
31 30 23 22 0
0 00000000 01100000000000000000000
Sign: +
Exponent: -126 (2) represents a binary number.
Significand: 0.011(2)=0.375
Value: 0.3752-126
3. Zero
Sign part is either 0 (positive) or 1 (negative), respectively showing +0.0 and -0.0.
Exponential part and significand are both 0.
+0.0 and -0.0 both represent 0.0 as a value.
4. Infinity
Sign part is either 0 (positive) or 1 (negative), respectively showing + infinity and - infinity.
Exponential part is 255(28-1).
Significand is 0.
5. Nonnumeric
Exponential part is 255(28-1).
Significand part is a value other than 0.
8-100
(b) doubletype and long doubletype
1. Normalized value
Sign part is 0 (positive) or 1 (negative), which represents the sign of a value.
The exponential part takes a value 1~2046(211-2). Actual exponent is a value obtained by subtracting
1023 from this value, and ranges from -1022 to 1023.
Significand takes a value 0~252-1, and actual significand is interpreted assuming the bit of 252 at 1
and decimal point directly after.
The value represented by normalized number is
(-1)<sign part> x 2<exponential part>1023 x (1 + <significand> x 2-52)
Ex:
63 62 52 51 0
0 01111111111 0111000000000000000000000000000000000000000000000000
Sign: +
Exponent: 1111111111(2)-1023=0 (2) represents a binary number.
Significand: 1.0111(2)=1.4375
Value: 1.4375×20=1.4375
2. Un-normalized value
Sign part is 0 (positive) or 1 (negative), which represents the sign of a value.
Exponential part is 0 and actual significand is -1022.
Significand is 1~223 -1, and actual significand is interpreted assuming the bit of 223 at 0 and decimal
point directly after.
The value expressed by un-normalized number is
(-1)<sign part> x 2-126 x (<significand> x 2-23)
Ex:
63 62 52 51 0
1 00000000000 1110000000000000000000000000000000000000000000000000
Sign: -
Exponent: -1022
Significand: 0.0111(2)=0.4375 (2) represents a binary number.
Value: 0.43752-1022
3. Zero
Sign part is either 0 (positive) or 1 (negative), respectively showing +0.0 and -0.0.
Exponential part and significand are both 0.
+0.0 and -0.0 both represent 0.0 as a value.
4. Infinity
Sign part is either 0 (positive) or 1 (negative), respectively showing + infinity and - infinity.
Exponential part is 2047(211-1).
Significand is 0.
5. Nonnumeric
Exponential part is 2047(211-1).
Significand part is a value other than 0.
8-101
8.4.2.5.4. Four arithmetic operations specification of floating point number command
1. How to round a value of result
When a correct value resulting from four arithmetic operations of floating point exceeds the
significant figure of significand of internal expression, follow the rule below for rounding.
[1] Round the resulting value toward the nearer internal expression of approximate two floating point
numbers.
[2] When the resulting value is just in the middle of approximate two floating point numbers, round
the value in a direction where the last digit of significand is 0.
[1] For overflow, the result is infinite in positive or negative according to the sign.
[2] For underflow, the result is zero in positive or negative according to the sign.
[3] Ineffective calculation occurs when the infinity with reverse sign is added, when the infinity with
the same sign is subtracted, when zero and infinity are multiplied, and when zero is divided by zero
or infinity is divided by infinity. In this case, the result is nonnumeric.
8-102
8.4.2.5.5. Lineup on data register of floating point number command
Single precision
D0000 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D0001 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Double precision
D0000 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
D0001 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
D0002 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
D0003 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
8-103
8.4.2.5.6. How to use
Floating point addition Single precision/Double precision
(Hexadecimal)
Mnemonic FD+ FUN_No. 556 22C
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 +4 -4 +4 -4 OP3 +8 -8 +8 -8
Calculation result
Augend data
0 Numeric + - Nonnumeric
0 0 Numeric + - ERR
Numeric Numeric *1 + - ERR
+ + + + ERR ERR
- - - ERR - ERR
Nonnumeric ERR ERR ERR ERR ERR
*1 : 0 or numeric or + or -
8-104
Floating point minuend Single precision/Double precision
(Hexadecimal)
Mnemonic FD- FUN_No. 557 22D
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 +4 -4 +4 -4 OP3 +8 -8 +8 -8
Calculation result
Minuend data
0 Numeric + - Nonnumeric
0 0 Numeric + - ERR
Numeric Numeric *1 + - ERR
+ + + ERR - ERR
- - - + ERR ERR
Nonnumeric ERR ERR ERR ERR ERR
*1 : 0 or Numeric or + or -
8-105
Floating point multiplication Single precision/Double precision
(Hexadecimal)
Mnemonic FD* FUN_No. 558 22E
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 +4 -4 +4 -4 OP3 +8 -8 +8 -8
Calculation result
Multiplicand data
0 Numeric + -∞ Nonnumeric
0 0 0 ERR ERR ERR
Numeric 0 *1 +/- +/- ERR
+ ERR +/- + - ERR
- ERR +/- - + ERR
Nonnumeric ERR ERR ERR ERR ERR
*1 : 0 or numeric or + or -
8-106
Floating point division Single precision/Double precision
(Hexadecimal)
Mnemonic FD- FUN_No. 559 22F
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 +4 -4 +4 -4 OP3 +8 -8 +8 -8
Calculation result
Dividend data
0 Numeric + - Nonnumeric
0 ERR +/- + - ERR
Numeric 0 *1 +/- +/- ERR
+ 0 *2 0 ERR ERR ERR
- 0 *2 0 ERR ERR ERR
Nonnumeric ERR ERR ERR ERR ERR
*1 : 0 or numeric or + or -
*2 : Result of underflow
8-107
Floating point Constant Addition Single precision/Double precision
(Hexadecimal)
Mnemonic FD+FH FUN_No. 560 230
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 OP2
OP3 OP3
Function Floating point Constant addition The next resister of OP1 + OP2 -> OP1
Calculation result
Augend data
0 Numeric +∞ -∞ Nonnumeric
0 0 Numeric + - ERR
Numeric Numeric *1 + - ERR
+
-
Nonnumeric
*1 : 0 or numeric or + or -
8-108
Floating point Constant Subtraction Single precision/Double precision
(Hexadecimal)
Mnemonic FD-FH FUN_No. 561 231
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 OP2
OP3 OP3
Function Floating point Constant Subtraction The next resister of OP1 - OP2 -> OP
Calculation result
Minuend data
0 Numeric + - Nonnumeric
0 0 Numeric + - ERR
Numeric Numeric *1 + - ERR
+
-
Nonnumeric
*1 : 0 or Numeric or + or -
8-109
Floating point Constant multiplication Single precision/Double precision
(Hexadecimal)
Mnemonic FD*FH FUN_No. 562 232
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 OP2
OP3 OP3
Function Floating point Constant multiplication The next resister of OP1 * OP2 -> OP1
Calculation result
Multiplicand data
0 Numeric + - Nonnumeric
0 0 0 ERR ERR ERR
Numeric 0 *1 +/- +/- ERR
+
-
Nonnumeric
*1 : 0 or numeric or + or -
8-110
Floating point Constant division Single precision/Double precision
(Hexadecimal)
Mnemonic FD/FH FUN_No. 563 233
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 OP2
OP3 OP3
Function Floating point Constant division The next resister of OP1 / OP2 -> OP1
Calculation result
Dividend data
0 Numeric +∞ -∞ Nonnumeric
0 ERR +/- + - ERR
Numeric 0 *1 +/- +/- ERR
+
-
Nonnumeric
*1 : 0 or Numeric or + or -
8-111
Floating point Sum Single precision/Double precision
(Hexadecimal)
Mnemonic FDSTI1 FUN_No. 564 234
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 +2 -2 +2 -2 OP3 +2 -2 +2 -2
Function Floating point sum: Total sum of area data with initial address OP1 is output to OP2. Data
quantity is the registered value of OP3 (BIN value).
Calculation result
Augend data
0 Numeric + - Nonnumeric
0 0 Numeric + - ERR
Numeric Numeric *1 + - ERR
+ + + + ERR ERR
- - - ERR - ERR
Nonnumeric ERR ERR ERR ERR ERR
*1 : 0 or numeric or + or -
8-112
Floating point Maximum Single precision/Double precision
(Hexadecimal)
Mnemonic FDMAX FUN_No. 565 235
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 +2 -2 +2 -2 OP3 +2 -2 +2 -2
Function Retrieval for floating point maximum: Retrieves the maximum from data of area having the
initial address OP1, and outputs to OP2. Data quantity is the resistered value of OP3.(BIN
value).
8-113
Floating point Minimum Single precision/Double precision
(Hexadecimal)
Mnemonic FDMIN FUN_No. 566 236
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 +2 -2 +2 -2 OP3 +2 -2 +2 -2
Function Retrieval for floating point minimum: Retrieves the minimum from data of area having the initial
address OP1, and outputs to OP2. Data quantity is the resistered value of OP3(BIN value).
8-114
Floating point average Single precision/Double precision
(Hexadecimal)
Mnemonic FDAVE FUN_No. 567 237
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 +2 -2 +2 -2 OP3 +2 -2 +2 -2
Function Floating point average: Average of area having the initial address OP1 is output to OP2. Data
quantity is the register value of OP3 (BIN value).
8-115
Decimal constant transfer Single precision/Double precision
(Hexadecimal)
Mnemonic FDMOVR FUN_No. 569 239
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 OP1
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function Floating point decimal constant transfer Floating point constant is transferred to OP2 register.
8-116
BIN16->Floating point Single precision/Double precision
(Hexadecimal)
Mnemonic FFLT FUN_No. 570 23A
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +2 -2 +2 -2 OP1 +2 -2 +2 -2
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function BIN16-> Floating point: Signed 16-bit binary data of OP1 register is converted into floating
point and output to OP2 register.
8-117
BIN32->Floating point Single precision/Double precision
(Hexadecimal)
Mnemonic FDFLT FUN_No. 571 23B
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +4 -4 +4 -4
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function BIN32-> Floating point: Signed 32-bit binary data of OP1 register is converted into floating
point and output to OP2 register.
8-118
Floating point->BIN16 Single precision/Double precision
(Hexadecimal)
Mnemonic FINT FUN_No. 572 23C
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +2 -2 +2 -2 OP2 +2 -2 +2 -2
OP3 OP3
Function Floating point-> BIN16: Integer of floating point data of OP1 register is converted into BIN, and
output to OP2 register.
--------[ FINT D000 -> D100 ] Single precision Example -3.5 -> -3
--------[ (d)FINT D000 -> D200 ] Double precision
8-119
Floating point->BIN32 Single precision/Double precision
(Hexadecimal)
Mnemonic FDINT FUN_No. 573 23D
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +4 -4 +4 -4
OP3 OP3
Function Floating point-> BIN16: Integer of floating point data of OP1 register is converted into BIN, and
output to OP2 register.
--------[ FDINT D000 -> D100 ] Single precision Example -3.5 -> -3
--------[ (d)FDINT D000 -> D200 ] Double precision
8-120
Character string ->Floating point Single precision/Double precision
(Hexadecimal)
Mnemonic FVAL FUN_No. 574 23E
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +2 -2 +2 -2 OP1 +2 -2 +2 -2
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function ASCII-> Floating point: ASCII character string (for data quantity of OP3) starting from the low
order of OP1 register is converted into floating point and output to OP2.
8-121
Floating point->Character string Single precision/Double precision
(Hexadecimal)
Mnemonic FSTR FUN_No. 575 23F
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +2 -2 +2 -2 OP2 +2 -2 +2 -2
OP3 OP3
Function Floating point -> Character string: Data of OP1 register as floating point data is converted into
ASCII, and output to OP2 register for the number of digits of OP3.
When the number of digits of OP3 is "0000", exponential expression is
used.
--------[ FSTR D000 -> D100 8d ] Single precision
--------[ (d)FSTR D000 -> D200 8d ] Double precision
Err (V50): Nonnumeric digit count shortage data quantity above 256
Conversion specification: When designated number of characters of OP3 is smaller than 16, the
number of digits below decimal point is 6.
When designated number of characters of OP3 is 16 or above, the
number of digits below decimal point is 12.
When designated number of characters of OP3 is 0, exponential
expression is used.
When converted data is greater than the designated number of characters,
FUN error occurs.
When the number of characters is 5 for 123456, an error occurs.
1.234 in the case of 1.23456
Converted data is rounded.
8-122
Radian -> Angle Single precision/Double precision
(Hexadecimal)
Mnemonic DEG FUN_No. 985 3D9
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function Radian -> Angle: Floating point radian of OP1 register is converted into floating point angle,
and output to OP2 register.
8-123
Angle -> Radian Single precision/Double precision
(Hexadecimal)
Mnemonic RAD FUN_No. 986 3DA
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function Angle -> Radian: Floating point angle of OP1 register is converted into floating point radian,
and output to OP2 register.
8-124
SIN Single precision/Double precision
(Hexadecimal)
Mnemonic SIN FUN_No. 987 3DB
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function SIN SIN (sine) is output to OP2 register with OP1 register floating point radian.
8-125
COS Single precision/Double precision
(Hexadecimal)
Mnemonic COS FUN_No. 988 3DC
Index addition and subtraction when designating the index and pre/post
Single Double
precision precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function COS COS (cosine) is output to OP2 register with OP1 register floating point radian.
8-126
TAN Single precision/Double precision
(Hexadecimal)
Mnemonic TAN FUN_No. 989 3DD
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function TAN TAN (tangent) is output to OP2 register with OP1 register floating point radian.
8-127
ASIN Single precision/Double precision
(Hexadecimal)
Mnemonic ASIN FUN_No. 990 3DE
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function ASIN Radian value is output to OP2 register with OP1 register floating point sine value.
8-128
ACOS Single precision/Double precision
(Hexadecimal)
Mnemonic ACOS FUN_No. 991 3DF
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function ACOS Radian value is output to OP2 register with OP1 register floating point cosine
value.
8-129
ATAN Single precision/Double precision
(Hexadecimal)
Mnemonic ATAN FUN_No. 992 3E0
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function ATAN Radian value is output to OP2 register with OP1 register floating point tangent
value.
8-130
Square root Single precision/Double precision
(Hexadecimal)
Mnemonic SQR FUN_No. 993 3E1
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function Square root Square root of OP1 register is output to OP2 register.
8-131
Power Single precision/Double precision
(Hexadecimal)
Mnemonic POW FUN_No. 994 3E2
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 +4 -4 +4 -4 OP3 +8 -8 +8 -8
Function Power: OP1 register is raised by OP2 register and output to OP3 register.
8-132
Exponent Single precision/Double precision
(Hexadecimal)
Mnemonic EXP FUN_No. 995 3E3
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
8-133
Logarithm (e) Single precision/Double precision
(Hexadecimal)
Mnemonic LOGE FUN_No. 996 3E4
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function Logarithm (e) Logarithm of OP1 register (low e) is output to OP2 register.
8-134
Logarithm (10) Single precision/Double precision
(Hexadecimal)
Mnemonic LOG10 FUN_No. 996 3E4
Index addition and subtraction when designating the index and pre/post
Single precision Double precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function Logarithm (10) Logarithm of OP1 register (low 10) is output to OP2 register.
8-135
Comparison Single precision/Double precision
Index addition and subtraction when designating the index and pre/post
Single Double
precision precision
++IX --IX IX++ IX-- ++IX --IX IX++ IX--
OP1 +4 -4 +4 -4 OP1 +8 -8 +8 -8
OP2 +4 -4 +4 -4 OP2 +8 -8 +8 -8
OP3 OP3
Function Comparison (contact type) OP1 and OP2 are compared as floating point. Turns on when
condition is satisfied.
Type
(comparison between registers) Constant comparison
F=N F=D
F<>N F<>D
F>N F>D
F>=N F>=D
F<N F<D
F=<N F=<D
8-136
8.4.3. Application command for layered communication(Ver3.30~)
1. Outline
PLC
FL-net
PLC
FL-net
Message communication is
performed via layers from
PLC PC10G.
FL-net
PLC
PC10G
The message for layered communication (relay command) is transmitted and received by executing an
application command for exclusive use within the sequence program of PC10G.
Since an exclusive application command returns to sequence operation after ending without
waiting for a response, the end of a command and reception of a response are not simultaneous.
Reception of a response is checked with the link command permit flag of an applicable link.
8-137
3. Specification of the application command
X Y M K V T C L P D R N S B Constant
PC3/PC2
OP1 ○
OP2 ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○
OP3 ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○
EX EY EM EK EV ET EC EL EP U H EN ES GX GY GM GS GZ GF JL JS EB FR
OP1
PC3 extension
PC10 extension OP2 ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○
OP3 ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○
(3) Symbol
LCSET LCSET 100Ah D0100 U0000
(4) Function
The message set as the area of the size shown by OP1 from the register of OP2 is issued to a link
module. Moreover, a response is stored in the register of OP3 when a response is received.
Response data is not set even if an application command is completed. A link command permit flag
is set after the completion of a set of response data. This command is executed in the sequence of
the program number to which the link module is assigned.
(5) Flag
CY BO Z > = < ER
↑
Error flag(ER): It turns on, when the stored area is outside the area of data memory.
8-138
4. Message format
The message format is based on the computer link system relay command format of TOYOPUC
Ethernet. However, a header part (from a head to 6 bytes) is unnecessary to a setup of the command
data of an application command.
The example in the case of setting a command as D0100 and storing a response in U0000 is shown.
■ Command
D010n 00 Data
0 0 L L C 0 L L 0
Command
0 0 L H M 5 L H Data 0
code
Unnecessary Satellite No. of link module The command to the CPU module which issues an event
■ Response
<On success > < Abnormal case (In the case of 1st layer) >
U0001 LL 06 U0001 LL 15
Command code
U0002 LH U0002 NAK Code LH
U0003 Data Data U0003 xx
U0004 Data Data
U0001 LL 06
U0002 60 LH
Satellite No.
U0003 (Lo) Link No.
Note) The data length of a response is to Satellite No.
512 bytes (except for the header U0004 15 (Hi)
8-139
5. Usage examples
(1) Writing data
PLC
Program No=1
PLC
Satellite No. =100
FL-net
PLC
Program No=1
In the above-mentioned network, when P1-M500 turns on, the command which writes 1234h in
P2-D0800 of PLC is issued. A command is set to P1-D0100. A response is received in U0400.
<Sequence program>
Program
M500 P000 V98 OP1=101Ch
LCSET 101Ch D0100L U0400L OP2=D0100L
OP3=U0400L
M510
S M510= Under command execution
M510
R
8-140
< Command data >
2)
1)
Relay command code
64.00.05.16.00.60.13.64.00.05.0E.00.60.32.64.00.05.06.00.95.02.00.18.34.12.00.00.00
2)
64.00.06.11.00.60.13.64.00.06.09.00.60.32.64.00.06.01.00.95.XX.XX.XX
Hi. Lo.
U0400 00 64
U0401 11 06
U0402 60 00
U0403 64 13
U0404 06 00
U0405 00 09
U0406 32 60
U0407 00 64
U0408 01 06
U0409 95 00
U040A XX XX
U040B XX
8-141
(2) Reding data
PLC
PLC
Satellite No. =100
FL-net
PLC
Program No=1
In the above-mentioned network, when P1-M120 turns on, the command which reads from FR01000
to FR010FF (512 bytes) of PLC is issued. A command is set to EB00000. A response is received in
EB00800.
<Sequence program>
Program
M120 P010 V98 OP1=101Dh
LCSET 101Dh EB00000L EB00800L OP2=EB00000L
OP3=EB00800L
M180
S M180= Under command execution
M180
R
8-142
< Command data >
2)
1)
Relay command code
64.00.05.17.00.60.13.64.00.05.0F.00.60.32.64.00.05.07.00.C2.00.20.40.00.00.02.00.00.00
2)
64.00.06.11.02.60.13.64.00.06.09.02.60.32.64.00.06.01.02.C2.00.00.01.00.02.00.03.00・・・・
・・・・
FD.00.FE.00.FF.00.XX.XX.XX
ACK(06) Number of ACK(06) Number of ACK(06) PC10 Reading Data Byte
bytes of 1) bytes of 2)
Hi. Lo.
EB00800 00 64
EB00801 11 06
EB00802 60 02
EB00803 64 13
EB00804 06 00
EB00805 02 09
EB00806 32 60
EB00807 00 64
EB00808 01 06
EB00809 C2 02
EB0080A 00 00
EB0080B 00 01
EB0080C 00 02
EB00908 00 FE
EB00909 00 FF
EB0090A xx xx
EB0090B xx
8-143
8.5. Equipment Information Memory
The equipment information memory is available to store comments, etc. on sequence circuits
separately from sequence program, parameters and data.
This equipment information memory of 4MB capacity can normally store 10,000 points or more, where
limited to the address comments only. The number of storable comments differs depending on the
content of comment.
Storing comments, etc. in the equipment information memory is effected by PCwin (Ver.8.00 or later).
PCwin (Ver.8.00 or later) can display commented circuit diagram, cycle chart, etc. by reading the
information stored in the equipment information memory.
Storing and reading in/from the equipment information memory can be made by PCwin (Ver.8.00 or
later) for the PC10, irrespective of CPU operation mode.
Further, it is impossible to change the information stored in the equipment information memory and to
store data in the same memory in sequence program. Also it is impossible to refer to the stored
information in accordance with sequence program.
Restart
Start
Peripheral Equipment
(PCwin)
Equipment User Memory
Information Memory Sequence program,
4MB Parameters,
comments, etc. Data
8-144
8.6. Backup function
8.6.1. Backup function of data memory
A lithium battery is provided to back up the data memory (data areas such as keep relay, data register,
etc.) against power failure and to drive the built-in clock.
When the unit is not energized long, such as for six months, it is possible that the battery is consumed
and data memory cannot be retained. Therefore, take backup of data memory.
On the other hand, The contents (sequence program and parameters) of user program and equipment
information memory (comments, etc.) are never cancelled even against power failure,because they
are stored in "flash memory" which can retain the stored data unchanged even in the case of power
failure.
8-145
8.6.2. Flash register
8.6.2.1. Setting of communication with PCwin
It is allowed to limit the size by designating parameter. It eliminates unnecessary processing in backup
of data (backup of unused area) and enables high-speed backup.
Flash register is used with data stored in flash memory developed on volatile RAM.
Sequence program
|--||-----[MOV FR0 -> D0]
DM
Caution: FR register can be accessed freely, but when FR register is written, the written data is rewritten
into the original data of flash memory by power-off or resetting.
Therefore it is normally used for register dedicated to reading.
8-146
8.6.2.3. Difference between flash register and some other register
FR register has a specification different from any other register. Understand the specification of FR
register well enough before use.
Property 1: Flash memory can be written only after being erased once.
Therefore, it is allowed to write only once to the same address after erasing.
(Data is "FFFFh" when erased.)
Property 2: Flash memory can be erased only in the unit of 64kbytes.
Therefore it is impossible to erase a limited area approx several bytes.
Property 3: It is nonvolatile memory, and data is retained without battery.
Property 4: Writing and erasing require certain processing time.
Erasing of one block (64kbytes) takes approx 0.5s typically.
Writing of one word takes approx 6 microseconds typically.
Property 5: When some area is being erased or written, it is impossible to erase or write in any other
area.
(1) Application 1
For storing constant data (data unchanged by calculation) such as work processing condition and
various setting conditions. (Used for read-only register) Constant data is prepared by PCwin etc, and
written to PC10G by register writing function.
In register writing from PCwin, data is written not only to FR register area (volatile RAM) but also to
flash memory as well.
(2) Application 2
Used for calculation work area. (Data which causes no problem when erased by power-off)
Alternatively, the latest data is always written from host computer when power is turned on, and such
latest data is used for control. (No problem when data is erased by power-off)
(3) Application 3
For storing the log information of equipment. Log information is accumulated on flash memory by use
of dedicated command.
Log information, when accumulated for a certain amount, is read by host computer, etc.
8-147
8.6.2.5. FR register address list
User notation address (in words) ExNo. User notation address (in words) ExNo.
FR000000 - FR007FFF 40 FR100000 - FR107FFF 60
FR008000 - FR00FFFF 41 FR108000 - FR10FFFF 61
FR010000 - FR017FFF 42 FR110000 - FR117FFF 62
FR018000 - FR01FFFF 43 FR118000 - FR11FFFF 63
FR020000 - FR027FFF 44 FR120000 - FR127FFF 64
FR028000 - FR02FFFF 45 FR128000 - FR12FFFF 65
FR030000 - FR037FFF 46 FR130000 - FR137FFF 66
FR038000 - FR03FFFF 47 FR138000 - FR13FFFF 67
FR040000 - FR047FFF 48 FR140000 - FR147FFF 68
FR048000 - FR04FFFF 49 FR148000 - FR14FFFF 69
FR050000 - FR057FFF 4A FR150000 - FR157FFF 6A
FR058000 - FR05FFFF 4B FR158000 - FR15FFFF 6B
FR060000 - FR067FFF 4C FR160000 - FR167FFF 6C
FR068000 - FR06FFFF 4D FR168000 - FR16FFFF 6D
FR070000 - FR077FFF 4E FR170000 - FR177FFF 6E
FR078000 - FR07FFFF 4F FR178000 - FR17FFFF 6F
FR080000 - FR087FFF 50 FR180000 - FR187FFF 70
FR088000 - FR08FFFF 51 FR188000 - FR18FFFF 71
FR090000 - FR097FFF 52 FR190000 - FR197FFF 72
FR098000 - FR09FFFF 53 FR198000 - FR19FFFF 73
FR0A0000 - FR0A7FFF 54 FR1A0000 - FR1A7FFF 74
FR0A8000 - FR0AFFFF 55 FR1A8000 - FR1AFFFF 75
FR0B0000 - FR0B7FFF 56 FR1B0000 - FR1B7FFF 76
FR0B8000 - FR0BFFFF 57 FR1B8000 - FR1BFFFF 77
FR0C0000 - FR0C7FFF 58 FR1C0000 - FR1C7FFF 78
FR0C8000 - FR0CFFFF 59 FR1C8000 - FR1CFFFF 79
FR0D0000 - FR0D7FFF 5A FR1D0000 - FR1D7FFF 7A
FR0D8000 - FR0DFFFF 5B FR1D8000 - FR1DFFFF 7B
FR0E0000 - FR0E7FFF 5C FR1E0000 - FR1E7FFF 7C
FR0E8000 - FR0EFFFF 5D FR1E8000 - FR1EFFFF 7D
FR0F0000 - FR0F7FFF 5E FR1F0000 - FR1F7FFF 7E
FR0F8000 - FR0FFFFF 5F FR1F8000 - FR1FFFFF 7F
ExNo.: Number used for erasing unit of flash memory (in unit of 64kbytes) Upper 2 digits of byte address.
8-148
8.6.2.6. Command dedicated to FR register erasing and writing
Both commands are for starting erasing and writing of flash memory, and exit without waiting for
completion of erasing and writing, and move to execution of next command. (Completion can be
distinguished by special relay V100.)
Actual erasing and writing of flash memory are performed automatically on system side.
Special relay
EV100: Flash memory writing enable flag
EV101: Flash memory writing fail flag
Erasing complete Writing complete
EV100:
8-149
Reference circuit
Log information of equipment is accumulated in FR register.
For log storage: 1Mbyte FR00000 - FR0FFFFF
Log information of once: 64 bytes
Log information prepared in D0000 - D001F is written to FR register.
Index register is used for a circuit. See "8.3 Index register".
FR register FR register
clearing clearing start
FR register 1M (40-4F)
clearing
Log writing
8-150
8.7. Writing while PLC is running
Execution of the program is stopped temporarily while programs are being written. Do
not attempt to execute [Write during RUN] while the equipment or target machine is
running.
Always execute [Write during RUN] after the equipment and/or machine are in the
cycle stop state.
Always pay special attention to the operational safety, since the equipment starts
functioning unexpectedly depending on the contents of changes made on the circuit.
Note: When CPU operation mode in PCwin differs from PLC, the program cannot be written while
PC is running.
Operating procedure
1. Select [Write onto CPU] from the CPU menu and click [Program *](*: 1 – 3).
The following message will appear. Click [Yes].
8-151
(1) To prevent any accidents, write operation is prohibited while PLC is running.
If it is absolutely required to write programs while PLC is running , read the contents stated in
the warning box to fully understand them, and then start writing programs.
You may input the following two characters as password.
Password: #W
(2) If you wish to rest and restart PLC after writing, check on [Write program and reset/start PC]
and click [Continue].
If you do not wish to reset and restart PLC, click [Continue].
(3) When programs are successfully written, the completion message will appear.
Please click [OK].
8-152
8.8. Library function
PC10G incorporates library function.
See "Instruction manual for library function" for detail of function.
8.9. SFC
When programming by SFC is performed, data memory area shown below is occupied for
execution and control of SFC. Therefore it cannot be used for user memory. Be careful.
Also note that programming by SFC is impossible depending on operation mode. "V58 - V5D" and
"EV800 - EVBFF" of special relay are also occupied by execution and control of SFC. Do not make
access to this area.
*1 Restriction of each program number usable step count of PC3JG division mode is shown.
P1 P2 P3 Explain
P1+P2+P3 1500 When P1 uses 700 steps, P2 can use up to 300 (1000 -
Example
*2 Area used by each address of ET/H/EN is determined by the number of steps used by program 1/2/3.
8-153
(1) Not usable in PC2-interchangeable mode/PC2/PC1 series/MX.
(2) Allowed only in program 1 in single mode
(3) The number of steps is limited to 500 at the most when program capacity is 16KW.
(4) Occupies the identifier R (link register area) of user data memory and expanded timer area for
SFC control.
(5) Occupies the expanded label (EL****) for SFC.
Note) Expanded timer/counter and expanded label occupied by SFC cannot be used.
8-154
9. LINK FUNCTION
PC10G has PC/CMP, SN-I/F and 2 port of FL/ET/RMT as standard.
Set parameter for each program when link module is used installing on PC10G.
When a built-in link is not used, it is not necessary to set this item.
BATTERY
TIP-5426 MODE
1st./
2nd./
1.00 I/F
FL
L1 ET
RMT
FL
L2 ET
RMT Communication setting
L1 Auto 10M switch
L2 Auto 10M a. L1 Auto 10M
L1 SEL. DM b. L2 Auto 10M
L3 T-ON T-OFF c. L1 SEL. DM
d. L3 T-ON T-OFF
ON OFF
ON OFF
9-1
9.2. Data link area
When the link modules for data link are mounted in the PC10G, the data link areas available for use
(usable devices) are as listed below.
Furthermore, availability of the data link areas differs depending on CPU operation mode.
X, Y, EL, EM, EX, EY,GX, GY, GM, U, and EB are common to each program.
Set up each area to store the received data so as to avoid doubling in all the installed links. In addition,
set up each area so as to avoid doubling with the data register to store the output coils of all programs
and calculated result.
9-2
< Case of Data Area Single Mode or PC2 compatible Mode>
Only data areas common to each program are applied to the data link areas.
For example, where PC link host station is set up in Program 2 and link parameters are set up so as
to send L0000 - L001F to slave station 1, L0000 - L001F in the basic area are sent to the slave
station 1.
In the case of Data Area Single Mode or PC2 compatible Mode, attention must be paid to the
following regarding the data link areas.
9-3
9.3. Commands
Where link module to issue commands is mounted in the PC10series, some restrictions are given to
handling of the commands as described below.
1. Where commands for data read, etc. are sent, the operation and response are different depending
on CPU operation mode.
< Case of Data Area Single Mode or PC2 compatible Mode >
Where the commands for data read, etc. are sent, the data areas common to each program are
applied to the operation and response.
For example, where the computer link is set in Program 3 and S200 is read using I/O register word
read command, the response data is S200 in the basic area.
2. Extended relay and extended register can not be applied to the commands.
3. Commands intended for control of CPU operation such as scan halt, halt reset (release), etc. are
applied to control of the system overall. These can not be applied to individual control every
program.
4. Some commands for program read, etc. are not available for the use.However, it is possible to issue
the commands intended to support the PC3J CPU function by mounting a link module which
contains therein the command function corresponding to the PC3J, whereby the restrictions
mentioned above are eliminated.
Where any of the computer link modules in Ver 5.00 and lower Version is mounted in the PC3J, the
PC10G/ Standard / PC3JG operates and responds as described on next page when the computer link
commands are sent.
However, the PC3J operation and response are identical to Ver 5.00 and lower Version when it is
operated in PC2 compatible Mode.
Even if the computer link modules Version is after Ver 5.00, it cannot access “GM, GX, GY, EB" domain
added to the PC10G/ Standard / PC3JG division mode.
The computer link built in PC10G/ Standard / PC3JG corresponds to the PC10G/
Standard / PC3JG commands.
Only the computer link built in PC10G/ Standard / PC3JG can access “GM, GX, GY,
EB" domain.
(Version 6 or more)
PC2J PC/CMP LINK(THU-2755)
PC2J PC/CMP LINK2(THU-5139)
PC2J 2PORT LINK(THU-2927)
9-4
No Commands PC3J operation and response
1 I/O 1 POINT READ Response is sent to the data area in the
2 parameter-set program from the computer
I/O REGISTER BYTE READ
link. ( But unable to be applied to extended
3 I/O 1 POINT WRITE relay and extended register .) *1
4 I/O REGISTER BYTE WRITE
5 SEQUENCE PROGRAM READ Unable to be applied .( NAK sent back)
6 SEQUENCE PROGRAM WRITE
7 I/O REGISTER WORD READ Response is sent to the data area in the
parameter-set program from the computer
8 I/O REGISTER WORD WRITE link. ( But unable to be applied to extended
relay and extended register .) *1
9 SCAN HALT Works for the system overall.
10 ( not work individually every program.)
SCAN HALT RESET (RELEASE)
11 SCAN RESTART
12 CPU STATUS READ Identical to conventional Ver.
13 FILL I/O REGISTER Response is sent to the data area in the
parameter-set program from the computer
link. ( But unable to be applied to extended
relay and extended register .) *1
14 WRITE MODE SETTING Identical to conventional Ver.
15 WRITE MODE READ
16 RESET Identical to conventional Ver.
17 DUMMY SCAN HALT Unable to be applied .( NAK sent back)
18 DUMMY SCAN HALT RESET(RELEASE)
19 CPU ID READ Identical to conventional Ver.
20 TIMER/ COUNTER SETUP VALUE & Response is sent back to the timer/counter of
PRESENT VALUE READ parameter-setup program from the computer
21 link.
TIMER/ COUNTER SETUP VALUE &
PRESENT VALUE WRITE
22 TIMER/COUNTER SETUP VALUE WRITE
23 TIMER /COUNTER PRESENT VALUE WRITE
24 PARAMETER READ Unable to be applied .( NAK sent back)
25 PARAMETER WRITE
26 EXECUTE RIGHT LIMIT SETTING Identical to conventional Ver.
27 EXECUTE RIGHT LIMIT READ
28 CLOCK TIME READ Identical to conventional Ver.
29 CLOCK TIME SETTING
30 FILL SEQUENCE PROGRAM Unable to be applied .( NAK sent back)
31 I/O REGISTER MULTI-POINT READ,ADDRESS Response is sent to the data area in the
REGISTRATION parameter-set program from the computer
32 link. ( But unable to be applied to extended
I/O REGISTER MULTI-POINT WORK READ
relay and extended register .) *1
*1 Extended relay: EP, EK, EV, ET, EC, EX, EY, EM, GX,GY,GM
Extended register: ES, EN, H, U, EB
9-5
9.4. Special Relays and Special Registers
The PC10G CPU stores the link module related error information and status information in special
relays and special registers individually every each program. The areas and addresses to be stored in
these special relays and special registers differ depending on CPU operation mode applied.
-
LINK PARAMETER ERROR
VA0 - VBF IN COMMUNICATION WITH PRG.1-Link 8
COMMUNICATION ERROR
V80 - V87 COMMUNICATION RESET
LINK COMMAND USE OK PRG.2-Link 1
V90 - V9F
LINK COMMAND ERROR
PRG.2
-
LINK PARAMETER ERROR
VA0 - VBF IN COMMUNICATION WITH PRG.2-Link 8
COMMUNICATION ERROR
V80 - V87 COMMUNICATION RESET
LINK COMMAND USE OK PRG.3-Link 1
V90 - V9F
LINK COMMAND ERROR
PRG.3
-
LINK PARAMETER ERROR
VA0 - VBF IN COMMUNICATION WITH PRG.3-Link 8
COMMUNICATION ERROR
<Special Registers>
Store area Address *1 Name and content Applicable link
S0A8- S0AF LINK module code
S300 COMMUNICATION (LINK) PRG.1-Link 1
PRG.1
MODULE
-
*1 The name and content of each address are same as those in PC2 Series.
9-6
(2) Data Single Mode
<Special Registers>
Applicable link
Store area Address *1 *3 Name and content
No.
S0A8-S0AF PRG.1-Link 1
S0B0-S0B7 LINK module code PRG.2-Link 1
S0B8-S0BF PRG.3-Link 1
Basic area
S300 COMMUNICATION (LINK) PRG.1-Link 1
| MODULE |
S3FF STATUS INFORMATION PRG.1-Link 8
ES000 COMMUNICATION (LINK) PRG.2-Link 1
| MODULE |
ES0FF STATUS INFORMATION PRG.2-Link 8
Extended area
ES100 COMMUNICATION (LINK) PRG.3-Link 1
| MODULE |
ES1FF STATUS INFORMATION PRG.3-Link 8
*1 The name and content of each address in the basic area are same as those of same address in
PC2 Series.
*2 The name and content of each address in the extended area are as follows.
V80=EV00=EV40,V81=EV01=EV41...VBF=EV3F=EV7F
*3 The name and content of each address in the extended area are as follows.
S300=ES000=ES100,S301=ES001=ES101...S3FF=ES0FF=ES1FF
9-7
(3) PC2 Interchange Mode
<Special Registers>
Address *1 Name and content Applicable link No.
V80 - V87 Link module code PRG.1-Link1
PRG.1 Link 1
S300 COMMUNICATION (LINK) MODULE
|
| STATUS INFORMATION
S3FF PRG.1-Link 8
*1 The name and content of each address are same as those in PC2 Series.
9-8
9.5. Built-in COMPUTER LINK function
Serial communication performs data exchange with PC and host computers (a personal computer,
operation board, etc.).
It is the multi-drops system (1:N) with which communication form a host computer, and the data
exchange with PC10G of a maximum of 32 and a host computer is possible.
9.5.1. Specification
9-9
(2) Communication formats
The communication formats for command and response are as follows.
AD(H)
SC(H)
AD(L)
SC(L)
PRG
CR
RI
Command Command content
?
:
AD(H)
SC(H)
AD(L)
SC(L)
Response
PRG
CR
RI
Response content
#
:
(Normal )
AD(H)
EC(H)
SC(H)
AD(L)
EC(L)
SC(L)
Response
PRG
CR
RI
%
:
(Abnormal)
AD (H) (L) ………………This represents Station No. to receive command in command format and
Station No. to send response in response format. Two-digit octal number (00
~ 37) is expressed with ASCII Code.
9-10
PRG Representing an objective of command processing.
0 ~ 3 are expressed with ASCII Code.
PRG Program PRG Program
0 System overall 2 Program 2
1 Program 1 3 Program 3
"PRG" is divided into "mandatory", "omittable" and "unnecessary" depending
on commands. Where omitted, parameter-set program No. is an objective of
command processing.
9-11
Supplement: Sum Check
For improving the reliability of transmission data this module detects error by
means of sum check in addition to parity check. The sum check sequence in this
module is as follows.
Step-1: Add the command content (or response content) up to its last data from
AD (H) with ASCII Code remained unchanged.
Step-2: Obtain " complement of 2 (Note 1)" of lower 1 byte from the sum
created in above (1).
Step-3: Divide 1-byte data created in above (2) into upper 4bit and lower 4bit,
thereafter converting each to ASCII Code.
Note 1) Complement of 2 everse all bits of the binary expressed data ( 01,
10) and add 1 to each.
Note 2) When two characters in the sum check field [SC (H),(L) in command
format are @ (ASCII 40H)", this module does not execute sum check.
Hence, enter "@ @" in a column which needs no sum check. In this case,
however, enter sum check data in this column as far as possible because
the detection rate of transmission error comes down.
9-12
(3) Communication commands
No Function PRG Commands Remarks
1 I/O 1-POINT READ O MRL
2 I/O REGISTER BYTE READ O MRB Unit of 8 points
3 I/O 1-POINT WRITE O SRR
4 I/O REGISTER BYTE WRITE O SRB Unit of 8 points
5 SEQUENCE PROGRAM READ RPM PRG=1,2,3
6 SEQUENCE PROGRAM WRITE WPM PRG=1,2,3
7 I/O REGISTER WORD READ O RDR Unit of 16 points
8 I/O REGISTER WORD WRITE O WDR Unit of 16 points
9 SCAN HALT O HLT PRG=0,2,3
10 SCAN HALT(RELEASE) RESET O RUN PRG=0,2,3
11 SCAN RESTART O STA PRG=0,2,3
12 CPU STATUS READ - MPC
13 FILL I/O REGISTER O FDR Unit of 16 points
14 WRITE MODE SETTING - EWR
15 WRITE MODE READ - SWE
16 RESET - RST
PC2 interchange
17 DUMMY SCAN HALT - PSC
mode only
PC2 interchange
18 DUMMY SCAN HALT RESET - PRC
mode only
19 CPU ID READ - IDR
Except extended
20 TIMER/COUNTER SETUP /PRESENT VALUE READ O TCR
timer and counter
Except extended
21 TIMER/COUNTER SETUP /PRESENT VALUE WRITE O TCW
timer and counter
Except extended
22 TIMER/COUNTER SETUP VALUE WRITE O SPW
timer and counter
Except extended
23 TIMER/COUNTER PRESENT VALUE WRITE O PPW
timer and counter
24 PARAMETER READ PRR
25 PARAMETER WRITE PRW
26 EXECUTE RIGHT LIMIT SETTING - ELS
27 EXECUTE RIGHT LIMIT READ - ELR
28 CLOCK TIME READ - WTR
29 CLOCK TIME SETTING - WTC
30 FILL SEQUENCE PROGRAM FIL PRG=1,2,3
I/O REGISTER MULTI-POINT WORD READ & ADDRESS
31 - RDA
REGISTRATION
32 I/O REGISTER MULTI-POINT WORD READ - RDM
33 I/O EXTENDED MULTI-POINT BYTE READ - REM PC3J
I/O REGISTER EXTENDED MULTI-POINT READ &
34 - REA PC3J
ADDRESS REGISTRATION
35 I/O REGISTER EXTENDED MULTI-POINT BYTE WRITE - WEM PC3J
36 EQUIPMENT INFORMATION BYTE READ - IBR PC3J
37 EQUIPMENT INFORMATION BYTE WRITE - IBW PC3J
38 PROGRAM+PARAMETER WRITE START @ RWS PC3J
PROGRAM+PARAMETER WRITE END & STATUS
39 @ ERC PC3J
CONTINUE
PROGRAM + PARAMETER WRITE END & RESET/STATUS
40 @ ERS PC3J
CONTINUE
41 EQUIPMENT INFORMATION WRITE START - IWS PC3J
42 EQUIPMENT INFORMATION WRITE END - IWE PC3J
43 CPU STATUS EXTENDED READ - MPE PC3J
I/O REGISTER EXTENDED MULTI-POINT WRITE &
44 - WEA PC3J
ADDRESS REGISTRATION
PRG: @= Program No. mandatory
O = Omittable( When omitted, link parameter-set program No. But "HLT", “RUN", "STA" commands are handled as PRG=0.)
= Omittable only under PC2 interchange mode
PC3J: Commands extended for application to PC3J series CPU
9-13
9.5.2. Setting link parameters
Operating procedure
1. Set the station No.
2. Set the data length.
3. Set the stop bit.
4. Set the baud rate.
Click for the baud rate and select a desired baud rate from the list.
5. Set the 2-wire/4-wire system.
6. When the setting is completed, click [OK].
Note) When the built-in computer link is used in "PC2 Compatible Mode", setting of a link
parameter is unnecessary.
When they are set besides the above, they can become communication error.
9-14
9.5.3. Newly added PC10G computer link command.
Following (1) and (2) are added for supporting PC10 mode.
(Note) Added commands are effective only for PC10 built-in computer link.
(2) 6 commands are added. (See “CMP command addition for detail)
45. RPD:high capacity sequence program reading
The address 4 digits of RPM and WPM command is
46. WPD:high capacity sequence program writing
changed to 6 digits.
47. EBR:high capacity equipment information
byte reading
48. EBW:high capacity equipment information
byte writing Block number of IBR, IBW, IWS, and IWE command is
49. EWS:high capacity equipment information changed to 2 digits.
writing start
50. EWE:high capacity equipment information
writing end
Command
Identifier
Command Address
6 digits
Address
Identifier
Command
6 digits
9-15
Newly added command
45.RPD: Large capacity
sequence program reading
Computer
link
command
Program No.
AD(H)
SC(H)
AD(L)
SC(L)
Address 1 Address 2
CR
RI
: : ? R P D
6 digits 6 digits
SC(H)
AD(L)
SC(L)
Address 1 Address 2 Data 1 Data 2 Data N
CR
RI
: : # R P D ・・・・・・・
6 digits 6 digits 4 digits 4 digits 4 digits
SC(H)
AD(L)
SC(L)
Address 1 Address 2 Data 1 Data 2 Data N
CR
RI
: : ? W P D ・・・・・・・
6 digits 6 digits 4 digits 4 digits 4 digits
SC(H)
AD(L)
SC(L)
Address 1 Address 2
CR
RI
: : # W P D
6 digits 6 digits
Number of
2 digits
AD(H)
SC(H)
AD(L)
SC(L)
bytes
Start address
CR
RI
: : ? E B R
4 digits
Number of
2 digits
Data N
Data 1
Data 2
Data 3
AD(H)
SC(H)
AD(L)
SC(L)
bytes
Start address
CR
RI
: : # E B R
4 digits
Number of
2 digits
Data N
Data 1
Data 2
Data 3
AD(H)
SC(H)
AD(L)
SC(L)
bytes
Start address
CR
RI
: : ? E B W
4 digits
Number of
2 digits
AD(H)
SC(H)
AD(L)
SC(L)
bytes
Start address
CR
RI
: : # E B W
4 digits
SC(H)
AD(L)
SC(L)
CR
RI
: : ? E W S
SC(H)
AD(L)
SC(L)
CR
RI
: : # E W S
SC(H)
AD(L)
SC(L)
CR
RI
: : ? E W E
SC(H)
AD(L)
SC(L)
CR
RI
: : # E W E
9-16
9.6. Built-in PC-LINK Function
9.6.1. Specification
9-17
(2) Link No. and Link Area
Link parameters can be optionally set for link No. 1 ~ 8 of program 1 ~3.
If internal relay (M) or link relay (L) is set in the link area, the relay area in program for which the link
parameter was set becomes the link area.
I/O (X, Y) area and extended area (EXEY, EM, EL ) are common to each program.
PRG.1 INTERNAL PRG.2 INTERNAL PRG.3 INTERNAL If internal relay (M) or link
RELAY (M) RELAY (M) RELAY (M) relay (L) is set in the link
area, the relay area in
PRG.1 LINK RELAY PRG.2 LINK RELAY PRG.3 LINK RELAY program for which the link
(L) (L) (L) parameter was set
becomes the link area.
Extended I/O(EX,EY)
9-18
(3) Matters to be attended to operation of I/O relay (X/Y)
Pay attention not to overlap I/O module and I/O address that are connected to CPU are not
overlapped when I/O relay (X and Y) is used in communication area.
O
Allowed
X
Not
X,Y7FF allowed
X,Y7FF X,Y7FF
Actual I/O and communication When communication area is When actual I/O exist after
inserted between actual I/O communication area.
are overlapped.
and I/O.
Application command is not applied for such communication area as I/O refresh (RIO, FUN No. =
280), input refresh (RI, FUN No. = 281) and output refresh (RO, FUN No. = 282).
9-19
9.6.2. Outline of PC-LINK operations
PC-LINK communication includes a connection sequence and a normal sequence.
Check a connecting situation and setting in the connection sequence when power is supplied, and then
exchange ON/OFF information of I/O in a normal sequence.
Connection Is connection
sequence No
quence from master station
waited?
Yes
Is connection No
sequence OK? Connection sequence
Yes
Yes
Is normal Yes
Release error
sequence OK?
No
Connection
Inform error
No
Is normal sequence
Yes OK?
Is reset switch ON?
Yes
No
Inform error
Yes No
Is communication
reset OK? Yes
Is reset switch ON?
No
Yes
Is communication reset
OK?
No
9-20
(1) The conceptual figure of data transmission
*
**** ****
(Output) (Input)
Slave- (1)
station1
(Input) (2) (Output)
**** *
(Output) (3) (Input)
Slave-
station2 (Input) (4) (Output)
max
continuous
512point
*
****
2N
Slave- (Output ) (Input)
*
station n
(Input) (Output )
2N+1
* *
communication order (1) (2) (3) (4) 2N 2N+1 (1) (2) (N=1-15)
* ------ Available for internal relay
**** -------- Display a head address of an area to be used for communication in each station.
The head address can freely be set in each station. Not necessary to adjust the address
of the master station. However, those available for communication are only such areas
as a link relay(L), an internal relay(M), an I/O relay(X,Y) a link relay (extended area) (EL),
an internal relay(extended area), an input-output relay(extended area) (EX,EY).
9-21
(2) Connection sequence
The master station checks the existence of connection and examine a coincidence of the
input-output points between the master and the slave station to set from the slave station No.1 to the
slave station No.15.
When the slave station respond to the master station as specified, the connection sequence
becomes OK, in turn, the normal sequence is returned.
The slave station will wait for the connection sequence from the master station after the power
supply begins. Check the input-output points between the master and the slave station. It is not
until the connection sequence becomes OK that a response to a normal sequence from the master
station can be made.
9-22
9.6.3. PC operation timing
The operation of PC is not synchronized with that of PC–LINK, but an I/O data exchange is conducted
at end of each scan.
One scan of
communication
One scan of PC
One scan of
communication
: Receiving data to PC
Exchanging sending data
The time for one scan (communication set by No.1 slave station, and covering the last slave station)
is determined depending on the number of the slave stations and the points of communication.
Example: Communication speed 19.2kbps,the number of the Slave stations=7, The total bytes of
input-output = 32bytes (256points)
1scan = 1.2 x 32 + 9.5 x 7=104.9(ms)
9-23
9.6.4. Separate Function
When the slave gets in communication error, the master stops communication to all the slaves and
reports error.
The separate function is such that a specific slave is broken away (or reset) from the communication
network.
This function makes it possible to separate the slave that is in the abnormal state from the
communication network and continue communication for other normal slaves.
No relation
Specify separation of Slave station No.1
Specify separation of Slave station No.2
Note 1) When the separate function is not used, clear the separate register by using a sequence
program. Since the separate register is maintained even after power supply is cut,
separation sometimes still remains without noticing it. In this case communication is still
normally conducted, but all the data turns to OFF data.
Note 2) When the separate register is not 0000, turn off communicating with all the stations.
Note 3) The address of the above separate register is for PC2 compatibility mode and PC3 mode
(data memory division mode)
9-24
(2) Communicating with the separated station
[2] When the separated Slave station causes the communication error
The master station keeps transmitting the connection sequence till the error of the child is
released. If the error is released and a normal response is obtained, it starts again the normal
sequence as in the above [1] and continues the normal sequence to the rest of Slave stations.
[4] Others
When The slave station that was not separated causes the communication error, inform all the
Slave stations of such error and stops communicating with them.
9-25
9.6.5. PC-LINK communication reset
(1) Method
Switch a dummy for the reset from OFF to ON, and the communication is reset.
Reset is available only for a rise time to switch it from ON and OFF .
Address Content Address Content
V80 Reset communication 1 V84 Reset communication 5
V81 Reset communication 2 V85 Reset communication 6
V82 Reset communication 3 V86 Reset communication 7
V83 Reset communication 4 V87 Reset communication 8
Note) The above addresses of special relays are for PC2 compatibility mode and PC3 mode
(data memory division mode).
1 scan
: END processing
PC Data exchange with
PC-LINK
Reset
communication
Communication error Connection sequence
Initial set Normal sequence
PC-LINK
Reset Read out a link
parameter.
PC-LINK starts the same operation as in the commencement of power supply by the reset
communication.
(After execution of a communication sequence start I/O data exchange by a normal sequence)
Note 1) The reset communication is performed with a reset start switch of CPU.
Note 2) The reset communication is available only during the period of communication error. However,
when the link parameter is abnormal, it can’t become effective, so supply power again or
turn on the reset start switch after rewriting the parameter.
9-26
(3) Release communication error
Supply power again, or turn on the reset start switch, or reset communication in the master station,
and the communication error is released, which starts communication again. It is not necessary to
reset communication in the Slave station. The slave station responds to the connection sequence
from the master station during the communication error and such error is released by accepting the
connection sequence, which makes responding to the normal sequence available.
However, when the link parameter is modified, supply power again or turn the reset start switch of
CPU on in The slave station.
Master Slave
station station
Communication error
Communication reset
Connection sequence
Master station Slave station.
Inform error Inform error
Connection sequence
Slave station.
Master Inform error
station
V06 T000
[ TIM K=0002.0 ] SET:2.0seconds
Special relay of
communication VA2 T000 V80
error.
Communication
reset
Communication
reset
Press button
T000 Y000
signal for VA2
communication Communication
reset error
V06 FUN No.1
Clear separate
[ WMOVP 0000 → S31C ]
resister
Separate register
Note 1) The above is the example for a circuit in the case of link No.1
The communication error special relay, reset communication push button signal and separate
register differ depending on link number.
Note 2) Never fail to clear the separate register when it is not used.
9-27
[2] When using the separate register,
When “[1] When the reset communication is used" is employed and the raising of the power
supply is delayed, “LINK ERROR”(error code :86) is stored in a register for outputting an error
information” (error code :86).
This circuit won’t display “LINK ERROR” for 2 seconds after power is supplied and is a circuit not
to store the error code in the register for outputting the error information.
Separate register
After supplying power, separate all the stations and doesn’t inform them of any error for 2 seconds
and then release separation, followed by a normal communication.
1 S31C 5 S39C
2 S33C 6 S3BC
3 S35C 7 S3DC
4 S37C 8 S3FC
The address of the separate register changes in PC3 mode. (single data memory mode)
Note 2) When connecting with a FS terminal (V1.00) with a built-in PC-LINK as a master station,
put in a PC10G sequence a circuit employing the above [2] separate register. If this circuit
doesn’t exist, it causes communication error which may hinder communication.
9-28
9.6.6. PC-LINK status
PC-LINK informs a CPU special register of status information (the communication status of the slave
station, the connection status of the slave station)
Setting data in the separate register can separate the slave station.
MSB LSB
Address F E D C B A 9 8 7 6 5 4 3 2 1 0 Use
S3*0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 The communication status of the slave station
S3*1
S3*2 Slave station No.
S3*3
S3*4
S3*5
S3*6
S3*7
S3*8
S3*9
S3*A
S3*B
S3*C 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 The communication status of the slave station
S3*D
S3*E
S3*F
S3x0 Error information (error code)
S3x1 Error information (error No.1 of detail)
S3x2 Error information (error No.2 of detail)
S3x3 Error information (error No.3 of detail)
S3x4 Error information (error No.4 of detail)
S3x5 Error information (error code stack No.1)
S3x6 Error information (error code stack No.2)
S3x7 Error information (error code stack No.3)
S3x8 Error information (error code stack No.4)
S3x9 Error information (error code stack No.5)
S3xA Error information (error code stack No.6)
S3xB Error information (error code stack No.7)
S3xC 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Separate the slave station
S3xD
S3xE
S3xF
Code of *and x
Link No. 1 2 3 4 5 6 7 8
* 0 2 4 6 8 A C E
x 1 3 5 7 9 B D F
9-29
Inform communication status function
PC-LINK incorporated in PC10G conveys the status information to a special register (the
communication status of the slave station, and the connection status of the slave station)
MSB LSB
Address F E D C B A 9 8 7 6 5 4 3 2 1 0 Use
The communication status of
S3*0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 the slave station
When communication error occurs, the bit becomes “0” corresponding to The slave station that
detects the error and the other Slave stations retain the contents of state just before the
occurrence of error (when the communication error occurs communication isn’t really carried out,
but the bit remains “1” corresponding to The slave station where the normal communication was
carried out just before the error occurred).
MSB LSB
Address F E D C B A 9 8 7 6 5 4 3 2 1 0 Use
The communication status of
S3*C 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 the slave station
9-30
(3) Diagnostic method of communication error
Execute using the separate function and the communication status of the slave station.
Example of diagnosis (PC-Link master station on an operation board is assigned to link No.1)
PB2 PB2
Wiring for back up
Communication wire
PB2Photo branch switch
MSB LSB
S300 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0
S30C 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0
S30C 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0
Make sure that there are no slave station which cause communication error.
9-31
9.6.7. Setting link parameters
(1) Set the rack No., slot No. and link module.
When setting a built-in PC-LINK in PC10G, it is necessary to set the rack No. to “Built-in” and slot No.
to “Standard”, select link module name to “PC link master” or “PC link slave”.
9-32
(2) Detail setting of link parameter
PC link master setting
When setting up PC link in PC10G, rack No. is set as "Built-in" and slot No. is set as an "Option." And
it is necessary to set up [Soft SW].
Operating procedure
Memo
The error check of the contents of a setting is performed about the following four items.
1. Is head address of link area right?
2. Is the number of transmission bytes right?
3. Is sum total of the number of transmission bytes less than 64 bytes?
4. Doesn't sum total of the number of head address of link area and transmission bytes exceed
the area?
9-33
Software switch setting (master station)
The following parameter needs to be setup when PC-LINK in PC10G is used. Click each item for
detail settings.
Operating procedure
9-34
3. Select the communication error in connection sequence.
● Communication error in connection sequence
Treat as error
When the communication error in connection sequence, communication is stopped.
Power-supply turn-on order is Slave -> Master.
If power-supply turn-on order is Master -> Slave that communication be stopped.
Repeat
The connection sequence is repeated until all Slave end a connection sequence.
Therefore, communication error does not occur in either order of the power supply,
master to slave or slave to master
However, since communication error is not reported even if the communication line is
disconnected at the time of a power-supply turn-on, please be careful.
9-35
PC link slave setting
When setting up PC link in PC10G, rack No. is set as "Built-in" and slot No. is set as an "Option." And
it is necessary to set up [Soft SW].
Operating procedure
1. Set the head address of a link area.
The range available for input
Link relay L00L - L7FH
Internal relay M00L - M7FH
Input-output X/Y00L - X/Y7FH
Link relay (extended area) EL000L - EL1FFH
Internal relay (extended area) EM000L - EM1FFH
Input-output (extended area) EX/Y000L - EX/Y7FH
Memo
The error check of the contents of a setting is performed about the following four items.
1. Is head address of link area right?
2. Is the number of transmission bytes right?
3. Is sum total of the number of transmission bytes less than 64 bytes?
4. Does not sum total of the number of head address of link area and transmission bytes exceed
the area?
9-36
Software switch setting (Slave station)
Operating procedure
9-37
9.7. Built-in FL-net Function
Specifications
No Item
Relay link Register link
L000 - L7FF
L1000 - L2FFF*2
M000 - M7FF
M1000 - M17FF*2
X・Y000 - X・Y7FF R000 - R7FF
EL000 - EL1FFF D0000 - D2FFF
1 Link Area *1
EM000 - EM1FFF U0000 - U1FFFF*2
EX・EY000 - EX・EY7FF EB00000 - EB3FFFF*2
GX・GY0000 - GX・GYFFFF
GM0000 - GMFFFF
Refer to 9.7.4 for using XY
area.
2048 words / 6144 words / 8192
2 Link Capacity 512 words words
(Selectable with dip switches.)
Transmission
3 ↑ ↑
Capacity per Unit
Communication
4 N:N or 1:N N:N or 1:N
Method
*1 Usable area is limited by the setting of operation mode and memory capacity.
*2 L1000-L2FFF M1000-M17FF U08000-U1FFFF EB00000-EB3FFFF can be used only in PC10 mode. It
cannot be used in PC10 standard mode.
9-38
9.7.3. Data Link Method
The data link method supports N:N (N to N) and 1:N (1 to N) connections. With N:N connections, the
transmission area for a node (station) is the reception area for another node and data is shared by
different nodes as shown below.
With 1:N connections, communication is performed between a node designated as 1:N Master and
those as 1:N Slaves. No data link is established among 1:N Slaves.
Nodes with N:N connections and those with 1:N connections may coexist on a single network.
N:N or N:N or
1:N Master 1:N Master 1:N Slave 1:N Slave
Reception area Transmission area Reception area Reception area
9-39
9.7.4. Caution in Using I/O (X/Y) Area in Communication Area
(1) Take care not to overlap with I/O addresses of the I/O module connected with the CPU.
It overlaps, and when it sets up, an error "86" (communication error) occurs in CPU.
Acceptable
X/Y7FF X/Y7FF X/Y7FF
Not acceptable
X/Y7FF X/Y7FF X/Y7FF
(2) I/O refresh (RIO: FUN No. = 280), I refresh (RI: Fun No. = 281), and O refresh (RO: Fun No. = 282)
for instructions cannot be used in the communication area.
9-40
9.7.5. Message Server Function
With this function, a response is made to a command message sent from another node.
The command and response are automatically processed by the FL-net module and CPU module.
Parameter settings and sequence program processes are not necessary for this function.
Please refer to the manual of the PC3J/2J FL/ET-T-V2H module or 2PORT-EFR module for details.
Command
Response
With this function, a command message is sent to another node and the response to that message is
received.
The sequence program generates the command data, gives instruction to send it to the FL-net , and
loads the response data from the FL-net module to the register.
Please refer to the manual of the PC3J/2J FL/ET-T-V2H module or 2PORT-EFR module for details.
Command
Response
The status of another node participating in the FL-net communication may be loaded to the register with
the sequence program.
Please refer to the manual of the PC3J/2J FL/ET-T-V2H module or 2PORT-EFR module for details.
9-41
9.7.8. Monitor Function
The nodes (stations Nos. 1 to 254) participating in the FL-net communication can be monitored with
special registers S3*0 to S3*F. Correspondence between the station No. (hexadecimal) and the bit
address is shown below.
MSB LSB
F E D C B A 9 8 7 6 5 4 3 2 1 0
S3*0 0F 0E 0D 0C 0B 0A 09 08 07 06 05 04 03 02 01
S3*1 1F 1E 1D 1C 1B 1A 19 18 17 16 15 14 13 12 11 10
S3*2 2F 2E 2D 2C 2B 2A 29 28 27 26 25 24 23 22 21 20
S3*3 3F 3E 3D 3C 3B 3A 39 38 37 36 35 34 33 32 31 30
S3*4 4F 4E 4D 4C 4B 4A 49 48 47 46 45 44 43 42 41 40
S3*5 5F 5E 5D 5C 5B 5A 59 58 57 56 55 54 53 52 51 50
S3*6 6F 6E 6D 6C 6B 6A 69 68 67 66 65 64 63 62 61 60
S3*7 7F 7E 7D 7C 7B 7A 79 78 77 76 75 74 73 72 71 70
S3*8 8F 8E 8D 8C 8B 8A 89 88 87 86 85 84 83 82 81 80
S3*9 9F 9E 9D 9C 9B 9A 99 98 97 96 95 94 93 92 91 90
S3*A AF AE AD AC AB AA A9 A8
S3*B BF BE BD BC BB BA B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
S3*C CF CE CD CC CB CA C9 C8 C7 C6 C5 C4 C3 C2 C1 C0
S3*D DF DE DD DC DB DA D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
S3*E EF EE ED EC EB EA E9 E8 E7 E6 E5 E4 E3 E2 E1 E0
S3*F FE FD FC FB FA F9 F8 F7 F6 F5 F4 F3 F2 F1 F0
.
.
.
S3xF Own node number(hexadecimal)
Bit 1 = Participating in the communication
Bit 0 = Not participating in the communication
██ “*” and ”x” in the special register No. is determined by the link No.
Link No. 1 2 3 4 5 6 7 8
* 0 2 4 6 8 A C E
x 1 3 5 7 9 B D F
If the link No. of the PC10G FL-net is 5, for example, the station with node No. 85 (55h) may be
monitored by checking the fifth bit of S355.
The above area is cleared with reset/start or the power supply switching off.
Moreover, PC10G FL-net secedes from the communication line, and starts the communication joining
processing by reset again.
9-42
9.7.9. Communication response time of FL-net
output
input
9-43
9.7.10. Initial Settings of the FL-net
Start
9-44
(1) Switch settings
BATTERY
TIP-5426 MODE
1st./
2nd./
1.00 I/F
FL
L1 ET
RMT
FL
L2 ET
RMT
a. L1 Auto 10M
b. L2 Auto 10M
c. L1 SEL. DM
d. L3 T-ON T-OFF
ON OFF
9-45
(2) Link Module Name
Select the link No. to be assigned to the FL-net module and specify the rack No., slot No. and link
module name on the 'Link Parameter' window under 'Parameter' of PCwin.
If the switch positions, I/O module ID code, capacity in the link module name (8KB, 16 KB, or 32 KB)
are inconsistent, a link parameter error occurs.
Example of setting
These parameter values are usually specified by the network administrator at the end user.
9-46
(3)-1 Node No.
Specify the station No. of the FL-net module with 1 to 159 and168 to 249.
It should not be the same with another node (FL-net station).
If two or more nodes have the same No., the node that attempted later to participate in the
communication cannot do so. In this case, error code E7 (node No. duplicated) appears on the
LED display at the front of the module.
Enter the node name of the FL-net module using up to 10 alphanumeric one-byte characters. This
field may be kept blank.
The specified node name is read as response data to the 'Request for Reading Network
Parameters' command from the host computer or such.
Specify the status of relay link and register link outputs with the CPU module not running. If 'Clear'
is checked, the data sent through the data link to your module becomes all zeros when the CPU
module stops running. If 'Hold' is checked, the same data is continuously sent as directly before
the CPU module stops running.
Specify, for the relay link and register link, how to process the data received from another node
when that node is separated from the network.
If 'Clear' is checked, the data received from the separated node becomes all zeros. If 'Hold' is
checked, the data remains the same as directly before the node is separated.
Note:
The data sent from another node not participating in the communication is kept 00. If your module
participates in the communication after a participant node leaves the communication, the data sent
from that node is also kept 00.
If your module and another node participate in the communication at the same time and the other
node leaves after that, the data status depends on the setting of 'State of input in other node
separation.'
9-47
(3)-5 Communication Methods
Select the data link method from 'N:N or 1:N (Master),' '1:N (Slave),' or 'No Datalink (Message
only).'
2) 1:N (Slave)
Data is linked with a single station in this mode.
An example where 'N:N or 1:N (Master)' has been selected for node 1 and '1:N (Slave)' for
nodes 2 to 4 is given below.
For detail, see the subsequent sections.
This mode saves the memory space at substations and permits the sharing of the sequence
program.
9-48
(3)-6 Data Link Parameters
If 'N:N or 1:N (Master)' or '1:N (Slave)' has been selected, click the Data Link button and set
communication parameters.
For the data linkable area, see 9.7.2 'Data Link Specifications.'
Example:
Common memory
Address 0000
Transmission area for node 1
Areas on the common memory to which data is to be transmitted from different nodes should
be not be overlapped. If they are overlapped, E8 (relay link area overlap) or E9 (register link
area overlap) appears on the LED display at the front of the node that participated in the
communication later.
Example:
Transmission
area for node 1 Transmissions
areas for nodes 2
and 3 are
Transmission
overlapped.
area for node 10
Communication
Transmission error occurs with
Transmission node 2.
area for node 2 area for node 3
9-49
In the 'N:N or 1:N (Master)' mode, it is necessary to specify the data range starting at the top of
the common memory, the corresponding top address on the CPU module register, and the top
address and size of the area to which data is transmitted from your module, using the following
four parameters.
Common memory address 0000 corresponds to the top address of the link area.
Reception
area
Note:The node No., the destination address on the common memory, and data size are usually
determined by the network administrator at the end user.
9-50
Example 1
(Relay link)
[1] [2]
[3] [4]
Correspondence between the register data and the common memory with the above
parameter settings is shown below.
Address Address
PC internal register Common memory
L000 0000
Reception
area
L100 0010
16 Transmission
words L1FF area 001F
64 words
Reception
area
L3FF 003F
Note: Common memory addresses are expressed in units of word (16 points).
For example, L01W represents 16 points from L010 to L01F.
(Register link)
[1] [2]
[3] [4]
Correspondence between the register data and the common memory with the above
parameter settings is shown below.
Reception
area
1536 words R300 0300
512 Transmission
words area
R4FF 04FF
Reception
R5FF area 05FF
9-51
Example 2
Node No. 1
Node No. 2
If the above parameter settings are used for two nodes respectively, the data transmitted from
L100 to L1FF on node 1 is further transmitted to the same addresses on node 2 via the
common memory as shown below.
The data transmitted from L280 to L47F on node 2 is reflected on the common memory but
data from L400 to L47F is not accepted by the link area on node 1, L000 to L3FF, and
consequently not read by node 1. In this case, data from L280 to L3FF on node 2 is received
at the same addresses on node 1.
L5FF
9-52
The link area top address does not need to be the same for all nodes. If the following settings
are used for node 2, data is exchanged between nodes 1 and 2 as shown below.
Address Address
Data on node 1 Common memory Data on node 2
L000 M100
M6FF
9-53
Example 3
Node No. 10
9-54
Relay link
Note: Relay link addresses may be specified in units of word (16 bits). X40W represents
X400 to X40F.
Register link
The transmission area defined by the 'transmission area top address' and 'transmission area
words' should be completely contained in the link area defined by the 'link area top address'
and 'link area words.'
For example, the following settings are not acceptable because the transmission area (L300 to
L47F) overflows the link area (L000 to L3FF). (An error message appears with such settings.)
9-55
2) 1:N (Slave)
In the 1:N (Slave) mode, data is only linked with a single station specified by the link parameter.
In this mode, it is necessary to specify the station (node) from which data is to be received, the
number of words to be received, the register at which data is to be stored, the address on your
module from which data is to be transmitted, the number of words to be transmitted, and the
top address on the common memory (*1) to which data is to be transmitted, using the following
parameters.
(*1): The common memory is a virtual memory space shared by all nodes participating in the
communication. The FL-net data is linked via the common memory.
Address 0000
[2]
Reception [3]
area
9-56
Data is linked as shown below on the whole network.
Note: The node No., the destination address on the common memory, and data size are
usually determined by the network administrator at the end user.
Example 1
Address
L000 Master station
transmission area
Reception 32 words
area specified by station No.
(32 words)
L200
Transmission
20 words 0100
area
Note: The data transmitted from the master station to any address on the common memory is
received from that address. Therefore, it is not necessary to specify the starting
address of the transmission area for the master station.
9-57
If the number of words specified by 'Recv. words' is smaller than the actual number of
transmission words from the master station:
Overflown part of the transmission data from the master station (last 8 words in the
following example) is not received.
Address
L000
Master station
Reception 32 words transmission area
area specified by node No.
Area not
L200 (40 words)
received
Transmission 20 words 0100
area
If the number of words specified by 'Recv. words' is larger than the actual number of
transmission words from the master station:
Part of the reception area not filled with the data transmitted from the master station (last
16 words in the following example) is filled with 0.
Note: If the hierarchical order of transmission areas on the common memory changes, the
order of reception and transmission areas at the PLC internal register remains
unchanged.
Reception
area
Transmission
area
Master station
transmission area
specified by station No.
(32 words)
9-58
Node No. 100
Node No. 64
9-59
Relay link
Note: Relay link addresses may be specified in units of word (16 bits). X40W represents
X400 to X40F.
Register link
Transmission D580
D500
Reception area D67F
area for
node 150
D6FF
D780
Reception area
for node 64
D87F
9-60
(3)-7 Network Parameters
Network parameters do not need to be changed in usual cases. Do not change them unless
otherwise instructed by the network administrator.
Click the Network button and change the network parameters.
Network Address
The FL-net communicates using the UDP/IP protocol. Specify the former 3 digits of the IP
address to be used for this protocol as network address. The forth digit of the IP address
represents the node No.
If the network address is 192.168.250 and the node No. is 100, for example, the IP address is
192.168.250.100. As PING is sent to this IP address from a personal computer or such, a
response is made by the FL-net module.
The FL-net broadcasts data using the UDP/UP protocol. At this time, it sends the IP address
with the forth digit replaced by FFh as destination IP address. For the node with the IP address
of 192.168.250.100, for example, the destination IP address is 192.168.250.255.
All nodes on a single FL-net network should have the same network address.
Any node with a different network address cannot receive data from other nodes and the data
transmitted from that node is not received by other nodes. Care is required because all data is
monitored by the Ethernet analyzer.
The FL-net standards require the network address be defaulted as 192.168.250.
9-61
Token Monitor Time-Out Time
For the FL-net communication, each node rotates the token (right to transmit) among other nodes
in ascendent order of node No. The node that has received the token transmits data in the data
link transmission area and message data, if any, as divided into frames each consisting of 1024
bytes or less and adds the token to the last frame to hand it over to the next node.
The token monitor time-out time means the permissible longest time to be spent after the token is
transmitted by the prior node until it is transmitted to the next node. If the token is not transmitted
within this time, the next node reissues the token. If this occurs three times, the node that fails to
transmit the token is considered to have left and no longer given with the token.
If 'Auto' has been checked, the token monitor time-out time is automatically determined from the
data size of the transmission area with the following formula.
Token Token
(*1): The time required to put 1024-byte data on a 10 Mbps communication line.
(*2): The maximum value of minimum permissible frame intervals (for detail, see the next section).
To manually preset the token monitor time-out time, remove the check mark in the check box
before 'Auto' and enter a desired value between 10 and 255.
If the token is not transmitted within the preset token monitor time-out time, error code EA appears
on the LED display at the front of the module. In this case, increase the token monitor time-out
time.
9-62
Minimum Permissible Frame Interval
The frame interval means the interval between two successive data frames where no data is
exchanged through the line.
For the FL-net communication, the minimum permissible frame interval has been preset for each
node and its value is always transmitted. Each node always monitors the minimum permissible
frame interval values of other nodes and the largest value of all nodes becomes effective. The
minimum permissible frame interval is changeable between 0 ms and 5 ms. If nodes with three
minimum permissible frame interval values of 1 ms, 3 ms and 5 ms coexist, for example, 5 ms
becomes effective and all data frames are transmitted through the line at intervals of 5 ms.
This parameter is intended to adjust the data volume through the line per unit time so that nodes
even with a lower processing rate can participate in the communication.
The minimum permissible frame interval has been preset to the default of 1 ms for PC10G-CPU.
9-63
9.8. Built-in Ethernet function
Transmit a command from another node to read/write data in the CPU module.Since the Ethernet
module is responsible for command analysis and communication with the CPU module, no sequence
program is required for data exchange.
Another node may be a personal computer or host and data exchange between TOYOPUCs is not
attainable.
Please refer to the operation manual of the “PC3J/2J FL/ET-T-V2H” module or 2PORT-EFR module for
details.
PC10G
CPU FL/ET
(Ethernet)
Another
node
Command Command
Analysis
Response Response
9-64
9.8.3. Communication with File Memory Method
Use instructions of the sequence program such as SPR and SPR2 (to read the file memory) and SPW
and SPW2 (to write the file memory) to read/write the file memory in the Ethernet module for
transmission/reception.
Another node may be any device other than a personal computer or host and data exchange between
Ethernet modules of other PC10G or FL/EL-T-V2 , FL/ET-T-V2H module of PC3J/2J and 2PORT-EFR is
attainable. (No communication is available with Ethernet modules offered by other manufacturers.)
Please refer to the manual of the “PC3J/2J FL/ET-T-V2H” module or “2PORT-EFR” module for details.
PC10G
FL/ET
CPU (Ethernet) Another node
9-65
9.8.4. PING Test Function
Conduct a PING Test to verify that the communication circuit is connected with a communicate/
communicator and that communication is attainable normally.
If the module fails in the PING test, the following causes are suspected.
The cable is disconnected or poorly connected.
A communication device such as a hub between PC10G and the other node is out of order.
The other mode has not been started.
Both nodes have the same IP address.
Both nodes have the different network ID in the IP address.
(Please refer to the operation manual of the “PC3J/2J FL/ET-T-V2” module or “2PORT-EFR” module
for details.)
Set any of the following addresses as defined by the link No. to which the Ethernet of PC10G has been
assigned, to the IP address of the other node by hexadecimal notation using peripheral equipment or
such.
If the Ethernet module has been assigned to link No. 1 and the IP address of the other node is
172.16.93.133, for example, set S31C to '5D85' and S31D to 'AC10.'
After completion of the PING test, reset these values to 0000.
The PING test is performed every two seconds and results are expressed by the 3rd and 4th bits at file
memory address 106. The 3rd bit turns on if the PING test is successfully completed and the 4th bit
turns on if not. Results of the PING test may also be found from the status monitor area.
A sequence program using an SPR command is required to load data from the file memory.
(Please refer to the operation manual of the “PC3J/2J FL/ET-T-V2” module or “2PORT-EFR” module for
details.)
9-66
9.8.6. Status Monitor Function
The module status may be monitored by checking special registers S300's of the CPU module.
Connection that can be monitored by special register is from 1 to 8.
For 9 - 32, monitor the status by use of SPR2 command.
Address to be monitored is determined as follows by link No.
The status of the control flag in the file memory and connection error codes, if any, may be monitored by
checking this area using peripheral equipment.
MSB LSB
F E D C B A 9 8 7 6 5 4 3 2 1 0
S3#0 CN8 Request for active open CN1 0 0 0 0 0 0 0 *1
S3#1 CN8 Request for file memory reception CN1 CN8 Request for file memory transmission CN1
S3#2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 *3 *2
S3#3 CN8 Open normal CN1 0 0 0 0 0 0 *5 *4
S3#4 CN8 File memory transmission complete CN1 CN8 Connection error CN1
S3#5 0 0 0 0 *9 *8 *7 *6 CN8 File memory reception complete CN1
S3#6 4th digit of own Ethernet address *10 5th digit of own Ethernet address *10
*10
S3#7 6th digit of own Ethernet address 0 0 0 0 0 0 0 0
S3#8 Connection 1: Connection error code
S3#9 Connection 2: Connection error code
S3#A Connection 3: Connection error code
S3#B Connection 4: Connection error code
S3#C Connection 5: Connection error code
S3#D Connection 6: Connection error code
S3#E Connection 7: Connection error code
S3#F Connection 8: Connection error code
9-67
9.8.7. Ethernet communication processing time
Transmission delay time when communicating in computer link system and file memory system can be
calculated by the formula below.
However, transmission delay time may be long depending on load factor of network and system
configuration.
Use the value obtained by the calculation formula below as a standard of the minimum transmission delay
time.
When the circuit was heavy and data could not be sent, or when data collided on the circuit, incorporated
Ethernet waits for the time designated by "Resend timer" of communication parameter and tries
transmitting again.
*1: When the sequence scan time exceeds 25ms, use 25ms in calculation.
*2: Command byte count and response byte count are the number of bytes of computer link system
TOYOPCU data unit.
9-68
(2) File memory system
When communication is made between incorporated Ethernet of TOYOPUC PC10G-CPU, time from
the point when the sender turns on transmission request flag to the point when the receiver reads the
received data to the register, turns on the reception confirmation flag, and returns response to the
transmitting side, and the transmission completion flag on sender side turns on.
PC10G-CPU PC10G-CPU
*1: The transmission data byte count is the number of bytes of file memory data to be sent (value of LL
and LH).
9-69
9.8.8. Initial Settings of the Ethernet
Start
Setting IO module
9-70
(1) Link Module Name
Select the rack No. and slot No. to which the Ethernet module is to be assigned by the settings on
'Link Parameter' window under 'Parameter' of the peripheral equipment. Set the link module name
to 'Ethernet (32 ports).' When CPU has been used in the program divided mode, also select the
program No. correctly.
9-71
(i) TCP Active
A mode used with the TCP/IP protocol where the line cannot be easily opened by the Ethernet
module to the other node.
(iv) UDP
Communication is performed with the UDP/IP protocol. The line is not opened or closed. It is
not confirmed whether data has reached the destination and, therefore, data may be lost before
reaching.
9-72
[7] Other Node IP Address
For the Other Node Tables for which the 'Used' boxes have been checked, it is necessary to
specify the IP address of the other node with four numbers between 0 and 255.
Example of settings
Opens Opened IP address 192.168.1.0
Port No.2001
IP address 192.168.1.1 Port No.1025
Port No.6000 Port No.1020
Port No.6001
Port No.6002 IP address 192.168.1.2
Port No.2000
Port No.3000
Port No.4000
Port No.4500
9-73
Timer settings used for communication are described below.
They do not need to be changed in usual cases.
9-74
(2)-2 Setting Communication Parameters
Select 'Ethernet' on the 'Link parameter setup' window and click the 'Detail (D)' button to open the
'Ethernet P1 L5 R0 S3' window.
9-75
Click the 'Other Node Table ' button to open the Other Node Table window.
9-76
Click the 'Sub-net Mask and Gateway IP Address...' button to open the Sub-net Mask and
Gateway IP Address window. All values are initially defaulted as zero.
Click the 'Change' button when parameters are to be changed.
Click the 'Default' button to reset parameters to default values.
Caution
If the CPU module parameters are to be set from the link parameter settings of the Ethernet
module by reading to the peripheral equipment parameters from the CPU module with which the
Ethernet module has been initialized with the sequence program, default values are usually
changed to zeros. In this case, return to the Program 1 Link <1> window, clear the Ethernet
settings, click the 'OK' button, and set the Ethernet parameters again.
Communication parameters may be set with the sequence program with the following procedure.
9-77
Recording communication parameters at registers
Communication parameters are written in the Ethernet module with an SPW command after recorded at
registers.
The following example shows communication parameters and a sequence program that write them into
File Memory:
9-78
An example of sequence program for transferring communication parameters to
Ethernet module and turning initialization request flag on
A function instruction, SPW, is used to transfer the communication parameters recorded at registers to
the Ethernet module. For the SPW command, see operation manual of FL/ET-T-V2H module of
PC3J/2J or 2PORT-EFR module.)
An example is given below where the communication parameters as shown in the previous page are
written in the file memory of the Ethernet module and the initialization request flag turned on.
Link 1
Available flag
[WMOV 0001 R100 ]
V006 (Data for turning the initialization request flag on)
Any communication parameter has been set to a wrong value, Communication error 'E6' occurs in a
CPU module. Check communication parameters in accordance with 5.5.4 'Communication Errors.'
Note: When a PC10 series CPU has been used in a mode other than PC2 compatibility, programs
2 and 3 do not run unless the program execution mode is selected to be 'enable' with CPU
operation mode parameter.
9-79
File memory communication parameter setting address
bit7 bit0
0000 (00 fixed) 1 1:Initialization Request
0001 8 7 6 5 4 3 2 1 1-8:Connections 1-8 Active Open Request (1:Request)
0002 8 7 6 5 4 3 2 1 1-8:Connections 1-8 Transmission Request (1:Request)
0003 8 7 6 5 4 3 2 1 1-8:Connections 1-8 Reception Request (1:Confirmation)
0004 (00 fixed) 2 1 1:Error Log Reception Confirmation, 2:ICMP Log Reception
0005 (00 fixed) Confirmation
0006 (00 fixed)
0007 (00 fixed)
0008 (Lower)
0009
Own Node IP Address
000A
00000001 - FFFFFFE
000B (Higher)
000C 8 7 6 5 4 3 2 1
000D 8 7 6 5 4 3 2 1 1-8:Connection Used (1:Use)
000E 16 15 14 13 12 11 10 9 1-16:Table Used (1:Use)
000F (00 fixed)
0010 TCP Active Open: 0000h, TCP Destination-Specified Passive Open:
Connection opening method
Connection No.1
0011 0100h,
0012 Own Node Port No. (Lower) TCP Destination Non-Specified Passive Open: 0200h, UDP:0001h
0013 0401h - FFFEh (Higher)
0014 Other Node Table No. (Lower)
0015 0001h - 0010h (Higher)
0016
(00 fixed)
0017
0018 TCP Active Open: 0000h, TCP Destination-Specified Passive Open:
Connection opening method
Connection No.2
0019 0100h,
001A Own Node Port No. (Lower) TCP Destination Non-Specified Passive Open: 0200h, UDP:0001h
001B 0401h - FFFEh (Higher)
001C Other Node Table No.. (Lower)
001D 0001h - 0010h (Higher)
001E
(00 fixed)
001F
0020 TCP Active Open: 0000h, TCP Destination-Specified Passive Open:
Connection opening method
Connection No.3
0021 0100h,
0022 (Lower) TCP Destination Non-Specified Passive Open: 0200h, UDP:0001h
Own Node Port No.
0023 0401h - FFFEh (Higher)
0024 Other Node Table No.. (Lower)
0025 0001h - 0010h (Higher)
0026
(00 fixed)
0027
0028 TCP Active Open: 0000h, TCP Destination-Specified Passive Open:
Connection opening method
Connection No.4
0029 0100h,
002A Own Node Port No. (Lower) TCP Destination Non-Specified Passive Open: 0200h, UDP:0001h
002B 0401h - FFFEh (Higher)
002C Other Node Table No.. (Lower)
002D 0001h - 0010h (Higher)
002E
(00 fixed)
002F
0030 TCP Active Open: 0000h, TCP Destination-Specified Passive Open:
Connection opening method
Connection No.5
0031 0100h,
0032 (Lower) TCP Destination Non-Specified Passive Open: 0200h, UDP:0001h
Own Node Port No.
0033 0401h - FFFEh (Higher)
0034 Other Node Table No.. (Lower)
0035 0001h - 0010h (Higher)
0036
(00 fixed)
0037
9-80
0038 TCP Active Open: 0000h, TCP Destination-Specified Passive Open:
Connection opening method
Connection No.6
0039 0100h,
003A Own Node Port No. (Lower) TCP Destination Non-Specified Passive Open: 0200h, UDP:0001h
003B 0401h - FFFEh (Higher)
003C Other Node Table No.. (Lower)
003D 0001h - 0010h (Higher)
003E (00 fixed)
003F
0040 TCP Active Open: 0000h, TCP Destination-Specified Passive Open:
Connection opening method
Connection No.7
0041 0100h,
0042 Own Node Port No. (Lower) TCP Destination Non-Specified Passive Open: 0200h, UDP:0001h
0043 0401h - FFFEh (Higher)
0044 Other Node Table No.. (Lower)
0045 0001h - 0010h (Higher)
0046 (00 fixed)
0047
0048 TCP Active Open: 0000h, TCP Destination-Specified Passive Open:
Connection opening method
Connection No.8
0049 0100h,
004A Own Node Port No. (Lower) TCP Destination Non-Specified Passive Open: 0200h, UDP:0001h
004B 0401h - FFFEh (Higher)
004C Other Node Table No. (Lower)
004D 0001h - 0010h (Higher)
004E
(00 fixed)
004F
0050 (Lower)
0051
Other Node IP Address
Table No.1
0052
00000001 - FFFFFFE
0053 (Higher)
0054 Other Node Port No. (Lower)
0055 0401h - FFFEh (Higher)
0056
(00 fixed)
0057
0058 (Lower)
0059
Other Node IP Address
Table No.2
005A
00000001 - FFFFFFE
005B (Higher)
005C Other Node Port No. (Lower)
005D 0401h - FFFEh (Higher)
005E
(00 fixed)
005F
0060 (Lower)
0061
Other Node IP Address
Table No.3
0062
00000001 - FFFFFFE
0063 (Higher)
0064 Other Node Port No. (Lower)
0065 0401h - FFFEh (Higher)
0066
(00 fixed)
0067
0068 (Lower)
0069
Other Node IP Address
006A
00000001 - FFFFFFE
Table No.4
006B (Higher)
006C Other Node Port No. (Lower)
006D 0401h - FFFEh (Higher)
006E
(00 fixed)
006F
9-81
0070 (Lower)
0071
Other Node IP Address
Table No.5
0072
00000001 - FFFFFFE
0073 (Higher)
0074 Other Node Port No. (Lower)
0075 0401h - FFFEh (Higher)
0076
(00 fixed)
0077
0078 (Lower)
0079
Other Node IP Address
Table No.6
007A
00000001 - FFFFFFE
007B (Higher)
007C Other Node Port No. (Lower)
007D 0401h - FFFEh (Higher)
007E
(00 fixed)
007F
0080 (Lower)
0081
Other Node IP Address
Table No.7
0082
00000001 - FFFFFFE
0083 (Higher)
0084 Other Node Port No. (Lower)
0085 0401h - FFFEh (Higher)
0086
(00 fixed)
0087
0088 (Lower)
0089
Other Node IP Address
Table No.8
008A
00000001 - FFFFFFE
008B (Higher)
008C Other Node Port No. (Lower)
008D 0401h - FFFEh (Higher)
008E
(00 fixed)
008F
0090 (Lower)
0091
Other Node IP Address
Table No.9
0092
00000001 - FFFFFFE
0093 (Higher)
0094 Other Node Port No. (Lower)
0095 0401h - FFFEh (Higher)
0096
(00 fixed)
0097
0098 (Lower)
0099
Other Node IP Address
Table No.10
009A
00000001 - FFFFFFE
009B (Higher)
009C Other Node Port No. (Lower)
009D 0401h - FFFEh (Higher)
009E
(00 fixed)
009F
00A0 (Lower)
00A1
Other Node IP Address
00A2
Table No.11
00000001 - FFFFFFE
00A3 (Higher)
00A4 Other Node Port No. (Lower)
00A5 0401h - FFFEh (Higher)
00A6
(00 fixed)
00A7
9-82
00A8 (Lower)
00A9
Other Node IP Address
Table No.12
00AA
00000001 - FFFFFFE
00AB (Higher)
00AC Other Node Port No. (Lower)
00AD 0401h - FFFEh (Higher)
00AE
(00 fixed)
00AF
00B0 (Lower)
00B1
Other Node IP Address
Table No.13
00B2
00000001 - FFFFFFE
00B3 (Higher)
00B4 Other Node Port No. (Lower)
00B5 0401h - FFFEh (Higher)
00B6
(00 fixed)
00B7
00B8 (Lower)
00B9
Other Node IP Address
Table No.14
00BA
00000001 - FFFFFFE
00BB (Higher)
00BC Other Node Port No. (Lower)
00BD 0401h - FFFEh (Higher)
00BE
(00 fixed)
00BF
00C0 (Lower)
00C1
Other Node IP Address
Table No.15
00C2
00000001 - FFFFFFE
00C3 (Higher)
00C4 Other Node Port No. (Lower)
00C5 0401h - FFFEh (Higher)
00C6
(00 fixed)
00C7
00C8 (Lower)
00C9
Other Node IP Address
Table No.16
00CA
00000001 - FFFFFFE
00CB (Higher)
00CC Other Node Port No. (Lower)
00CD 0401h - FFFEh (Higher)
00CE
(00 fixed)
00CF
00D0 (Lower)
00D1
Sub-Net Mask
00D2
00D3 (Higher)
00D4 (Lower)
00D5
Gateway IP Address
00D6
00000001 - FFFFFFE
00D7 (Higher)
00D8
00D9
00DA
00DB (00 fixed)
00DC
00DD
00DE
00DF
9-83
00E0 (Lower)
Response Timer Response time
00E1 (Higher)
00E2 (Lower) Set in units of second.
Non-Reception Timer (0006h for 6 seconds)
00E3 (Higher)
00E4 (Lower)
Retransmitting Timer (Data) Non-reception timer
00E5 (Higher)
Set in units of second or minute. If set in units of
00E6 (Lower)
Re-transmitted Data (SYN/FIN) second, the most significant digit of hexadecimal
00E7 (Higher)
notation should be 1.
00E8 (Lower)
Close Timer Set to 0 if the timer is not to be used.
00E9 (Higher)
(101Eh for 30 seconds, 0002h for 2 minutes, 0000h
00EA (Lower)
Packet alive Time for permanent waiting)
00EB (Higher)
00EC (Lower) Resending Timer (Data)/Re-transmitted Data
IP Assembly Timer
00ED (Higher) (SYN/FIN)
00EE (Lower) Set in units of second or 100 ms. If set in units of 100
Reset wait retransmitting times
00EF (Higher) ms, the most significant digit of hexadecimal notation
00F0 should be 1.
00F1 (1005h for 500 ms, 0002h for 2 seconds)
00F2 Close Timer
00F3 Set in units of second.
00F4 (0005h for 5 seconds)
00F5
00F6 Packet alive Time
Set in units of time.
00F7
(00 fixed) (000Ah for 10 times)
00F8
00F9 IP Assembly Timer
00FA Set in units of time.
00FB (000Ah for 10 times)
00FC Reset wait resending times
00FD Set in units of time.
00FE (000Ah for 10 times)
00FF
9-84
9.8.9. PC10G newly added
2. Address list
Use the address by each command in words, bytes, or bits in the command data of computer link. (Long
unit is the same designation as word unit.)
In bits
Ex) P1-M1000
1) Reference) Obtain the bit address from the address list (0x61800 is stored in bit 0 - 18.)
2) Reference) Obtain Ex No. from the address list. (0x0D is stored in bit 19 - 26.)
3) Calculate the bit address from 32-bit data. (0x006E1800)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0固定
Fixed at 0 Ex No.(0x0D) ビットアドレス(0x61800)
Bit address
0 0 0 0 0 0 0 0 0 1 1 0 1 1 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0
0 0 6 E 1 8 0 0
上位WORD
High order word 上位WORD
High order word 下位WORD
Low order word 下位WORD
Low order word
Address high order
アドレス上位 Address low order
アドレス下位 Address high order
アドレス上位 Address low order
アドレス下位
In bytes
Ex) P2-D2000L
1) Reference) Obtain the byte address from the address list. (0x6000 is stored in bit 0 - 15.)
2) Reference) Obtain Ex No. from the address list. (0x0E is stored in bit 16 - 23.)
3) Calculate the byte address from 32-bit data. (0x000E6000)
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Fixed
0固定 at 0 Ex No.(0x0E) Bit address
バイトアドレス(0x6000)
0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 E 6 0 0 0
上位WORD
High order word 上位WORD
High order word 下位WORD
Low order word 下位WORD
Low order word
アドレス上位
Address high order アドレス下位
Address low order アドレス上位
Address high order アドレス下位
Address low order
9-85
3. PC10 additional command
(1) Function
Data memory (PC10 whole area) is read in byte unit block.
下位WORD
Low 上位WORD
order High order
word word
count
count
order
order
order
order
order
order
Address
Address
Address
Address
C
バイト数
バイト数
アドレス
アドレス
アドレス
アドレス
low下位
上位
0 0 L L
low下位
上位
low下位
上位
M
0 0 L H
high
high
Byte
Byte
high
D
Response
Data quantity
データ数
C
データ11
データ22
データ33
データ44
データnn
8 R L L
Data
Data
Data
Data
Data
M n<=3F0H
0 C L H
D
(1) Function
Data memory (PC10 whole area) is read in byte unit block.
下位WORD
Low 上位WORD
order High order
word word
n<=3F0H
order
order
order
order
Address
Address
Address
Address
C
1
n
アドレス
アドレス
アドレス
アドレス
データ1
データ2
データ3
データ4
データn
0 0 L L
下位
上位
下位
上位
Data
Data
Data
Data
Data
M
0 0 L H
high
high
low
low
Response
C
8 R L L
M
0 C L H
D
9-86
new PC10 multi-point reading (CMD=C4H)
(1) Function
Data memory (PC10 whole area) is read in each unit of bit, byte, word, and long at multipoint.
下位WORD
Low order 上位WORD
High order 下位WORD
Low order 上位WORD
High order 下位WORD
Low order 上位WORD
High order 下位WORD
Low order 上位WORD
High order
word word word word word word word word
Word point
ビット点数
バイト点数
ワード点数
ロング点数
Long point
Byte point
order
order
order
order
order
order
order
order
order
order
order
order
C
order
order
order
order
Address
Address
Address
Address
Address
Address
Address
Address
Bit point
Address
Address
Address
Address
Address
Address
Address
Address
アドレス
アドレス
アドレス
アドレス
アドレス
アドレス
アドレス
アドレス
アドレス
アドレス
アドレス
アドレス
アドレス
アドレス
アドレス
アドレス
0 0 L L
count
count
count
count
下位
上位
low下位
上位
下位
上位
low下位
上位
下位
上位
low下位
上位
下位
上位
下位
上位
M
0 0 L H
high
high
high
high
high
high
high
high
low
low
low
low
low
D
Bitビットアドレス部
address count バイトアドレス部
Byte address count ワードアドレス部
Word address count ロングアドレス
Long address
(bit address) (byte address) (byte address) (byte address)
(ビットアドレス) (バイトアドレス) (バイトアドレス) (バイトアドレス)
Address total = Bit point count + Byte point count + Word point count + Long
アドレス合計=ビット点数+バイト点数+ワード点数+ロング点数<=127点
point count <= 127 points
Response 下位WORD
Low 上位WORD
order High order
word word
Long point
Word point
order
order
order
point
order
order
order
ビット点数
バイト点数
ワード点数
ロング点数
Bit point
データNN
データNN
データLL
データLL
データLL
データLL
データ11
データ22
データ33
データM
count
count
count
count
8 R L L
low下位
上位
low下位
上位
low下位
上位
Data
Data
Data
Data
Data
Data
Data
Data
Data
Data
M
0 C L H
Byte
high
high
high
D
1 data 8点で1データ
by 8 points Number of data
データ数
Address total = Bit point count + Byte point count + Word point count + Long
データ合計=ビット点数/8+バイト点数+ワード点数*2+ロング点数*4<=506(バイト)
point count <= 506 (bytes)
(1) Function
Data memory (PC10 whole area) is read in each unit of bit, byte, word, and long at multipoint.
下位WORD
Low order 上位WORD
High order 下位WORD
Low order 上位WORD
High order 下位WORD
Low order 上位WORD
High order
word word word word word word
N high
Word point
ビット点数
バイト点数
ワード点数
ロング点数
N low
Long point
Byte point
order
order
order
order
order
order
order
order
C
order
order
order
Address
Address
order
Bit point
Address
Address
Address
Address
Address
Address
Address
Address
Address
Address
アドレス
アドレス
アドレス
アドレス
データ1
アドレス
アドレス
アドレス
アドレス
データM
アドレス
アドレス
アドレス
アドレス
データN
データN
M
1
count
count
0 0 L L
count
count
下位
上位
下位
上位
low下位
上位
low下位
上位
下位
上位
low下位
上位
下位
上位
order
order
M
Data
Data
0 0 L H
high
high
Data
high
high
high
high
low
low
Data
low
下位WORD
Low order 上位WORD
High order 下位WORD
Low order 上位WORD
High order
word word word word
order
order
order
order
order
order
order
order
Address
Address
Address
Address
Address
Address
Address
Address
アドレス
アドレス
アドレス
アドレス
データL
データL
データL
データL
下位
上位
下位
上位
下位
上位
下位
上位
high
high
high
high
low
low
low
low
ロングアドレス
Long address
Response (byte address)
(バイトアドレス)
C
8 R L L
M
0 C L H
D
9-87
CPU status reading (CMD=A0H)
(1) Function
Operation status information of CPU is read.
Response
Data 1
Data 2
Data 8
データ1
データ2
データ8
8 R L L 0 1 0
M
0 C L H 0 1 0
D
9-88
Details of response data of CPU status read-out
bit Description bit Description
7 RUN 7 Trace
6 Under a stop 6 Scan sampling trace
5 Under stop-request continuity 5 Periodic sampling trace
Data 1
Data 5
4 Under a pseudo-stop 4 "Enable" detected
3 Debug mod 3 Trigger detected
2 I/O monitor user mode 2 One scan step
1 PC3 mode 1 One block step
0 PC10 mode 0 One instruction step
7 Fatal failure 7 I/O off-line
6 Faint failure 6 Remote RUN setting
5 Alarm 5 Status latch setting
Data 2
4 Data 6 4
3 I/O allocation parameter altered 3
2 With a memory card 2
1 1
0 TEST mode 0
7 Memory card operation 7
Write-protected program and Write-priority limited program and
6 6
supplementary information supplementary information
5 5 Flash register write error
4 4 Flash register under writing
Data 3
Data 7
Data 8
9-89
new FR register registration (CMD=CAH)
(1) Function
Data of flash register is written to corresponding flash memory.
When only the block is written without issuing flash register registration command, the flash memory
recovers the original content by resetting or power-on.
Response
C
8 R L L
M
0 C L H
D
7) Completion
9-90
9.8.9.2. Built-in Ethernet Simultaneous opening function of 32 ports
When performing file memory communication, memory space inside Ethernet is extended by
application of 32 ports, and some space is created that cannot be accessed by present SPR and SPW
command.
Therefore, SPR2 and SPW2 commands are added newly.
|----||-------[SPR2 D0 D1 D2 ]
Indirect address register for storing the read data
Address in reading source Ethernet (32 bits)
Link No. Reading data count
|----||-------[SPW2 D0 D1 D2 ]
Address of writing destination in Ethernet (32 bits)
Indirect address register for storing the written data
Link No reading data count
9-91
9.8.9.2.2. File memory address map (32-port expansion area)
* See "9.8.7 Initial setting of Ethernet" for the conventional area up to the port 8.
The extended area below can be accessed only by SPR2 and SPW2 command.
When the lowest order bit of E00C is turned on, it is allowed to operate the control flag CN1 - 8 in the
extended area.
Here, the address from 0001 to 0003 is invalid.
When the lowest order bit of E00C is turned off, it is allowed to operate the control flag CN1 - 8 in the
normal area, and the sequence prepared conventionally can be used.
bit7 bit0
E000 8 7 6 5 4 3 2 1 1~8:コネクション1~8 アクティブオープン要求[0001]
Connection 1 - 8 Active open request [0001]
E001 16 15 14 13 12 11 10 9
E002 24 23 22 21 20 19 18 17 9~32:コネクション9~32 アクティブオープン要求(1:要求)
Connection 9 - 32 Active open request [1: Request]
E003 32 31 30 29 28 27 26 25
E004 8 7 6 5 4 3 2 1 1~8:コネクション1~8 送信要求[0002]
Connection 1 - 8 Send request [0002]
E005 16 15 14 13 12 11 10 9
E006 24 23 22 21 20 19 18 17 9~32:コネクション9~32 送信要求(1:要求)
Connection 9 - 32 Send request (1: Request)
E007 32 31 30 29 28 27 26 25
E008 8 7 6 5 4 3 2 1 1~8:コネクション1~8 受信確認[0003]
Connection 1 - 8 Receive confirmation [0003]
E009 16 15 14 13 12 11 10 9
E00A 24 23 22 21 20 19 18 17 9~32:コネクション9~32 受信確認(1:確認)
Connection 9 - 32 Receive confirmation (1: Confirm)
E00B 32 31 30 29 28 27 26 25
E00C 00固定
Fixed at 00 1 1: Control signal area CN1 - CN8 *1 ※1
1:CN1~CN8の制御信号エリア
E00D 00固定
Fixed at 00
E00E 00固定
Fixed at 00 1 1: Initial request [0000]
1:イニシャル要求[0000]
1. Error Log receive confirmation 2: IGMP Log receive confirmation
E00F 00固定
Fixed at 00 3 2 1 1:エラーLog受信確認 2:ICMPLog受信確認 3:予約[0004]
3: Reservation [0004]
※1
*1
0:通常エリア(0000~)の制御フラグ有効
0: Control flag of normal area (0000 -) is valid.
1:拡張エリア(E000~)の制御フラグ有効
1: Control flag of extended area (E000 -) is valid.
9-92
E0E0
レスポンスタイマ
Response timer
(下位)
(Low order) タイマ[00E0]
Timer [00E0]
E0E1 (上位)
(High order)
E0E2 (下位)
(Low order)
無受信タイマ timer
No-reception
E0E3 (上位)
(High order)
E0E4 (下位)
(Low order)
再送タイマ(データ)
Resend timer (data)
E0E5 (上位)
(High order)
E0E6 (下位)
(Low order)
再送データ(SYN/FIN)
Resend data (SYN/FIN)
E0E7 (上位)
(High order)
E0E8 (下位)
(Low order)
クローズタイマ
Closed timer
E0E9 (上位)
(High order)
E0EA (下位)
(Low order)
パケット生存時間
Bucket existing time
E0EB (上位)
(High order)
E0EC (下位)
(Low order)
IP組立タイマ
IP assembling timer
E0ED (上位)
(High order)
E0EE (下位)
(Low order)
リセット待ち再送回数
Reset standby resend count
E0EF (上位)
(High order)
E100
: コネクションNo.1
Connection No.1
E107
E108
: コネクションNo.2
Connection No.2
E10F
E138
: コネクションNo.8
Connection No.8
E13F
E140
: コネクションNo.9
Connection No.9
E147
E1F0
: コネクションNo.31
Connection No.31
E1F7
E1F8
: コネクションNo.32
Connection No.32
E1FF
E200
: テーブルNo.1
Table No.1
E207
E208
: テーブルNo.2
Table No.2
E20F
E2F0
: テーブルNo.31
Table No.31
E2F7
E2F8
: テーブルNo.32
Table No.32
E2FF
E400 8 7 6 5 4 3 2 1
E401 16 15 14 13 12 11 10 9
E402 24 23 22 21 20 19 18 17 9~32:コネクション9~32 オープン正常(1:正常)
Connection 9 - 32 Open normal (1: Normal)
E403 32 31 30 29 28 27 26 25
E404 8 7 6 5 4 3 2 1
E405 16 15 14 13 12 11 10 9
E406 24 23 22 21 20 19 18 17 9~32:コネクション9~32 コネクション異常(1:異常)
Connection 9 - 32 Connection error (1: Abnormal)
E407 32 31 30 29 28 27 26 25
E408 8 7 6 5 4 3 2 1
E409 16 15 14 13 12 11 10 9
E40A 24 23 22 21 20 19 18 17 9~32:コネクション9~32 送信完了(1:完了)
Connection 9 - 32 Transmission complete (1:
Complete)
E40B 32 31 30 29 28 27 26 25
E40C 8 7 6 5 4 3 2 1
E40D 16 15 14 13 12 11 10 9
E40E 24 23 22 21 20 19 18 17 9~32:コネクション9~32 受信完了(1:完了)
Connection 9 - 32 Receiving complete (1: Complete)
E40F 32 31 30 29 28 27 26 25
E410 00固定
Fixed at 00 2 1 1:1:イニシャル正常
Initializing normal2:イニシャル異常 [0100]
2: Initializing abnormal [0100]
E411 00固定
Fixed at 00 4 3 2 1 1:1:エラーログ受信2:ICMPログ受信3:PING正常4:PING異常[0106]
Error log receive 2: ICMP log receive 3: PING normal 4: PING abnormal [0106]
9-93
E500 コネクション1
Connection 1
E501 コネクション異常コード
Connection error code
E502
E503
E504 コネクション2
Connection 2
E505 コネクション異常コード
Connection error code
E506
E507
E508 コネクション3
Connection 3
E509 コネクション異常コード
Connection error code
E50A
E50B
E50C コネクション4
Connection 4
E50D コネクション異常コード
Connection error code
E50E
E50F
E510 コネクション5
Connection 5
E511 コネクション異常コード
Connection error code
E512
E513
E514 コネクション6
Connection 6
E515 コネクション異常コード
Connection error code
E516
E517
E518 コネクション7
Connection 7
E519 コネクション異常コード
Connection error code
E51A
E51B
E51C コネクション8
Connection 8
E51D コネクション異常コード
Connection error code
E51E
E51F
E520 コネクション9
Connection 9
E521 コネクション異常コード
Connection error code
E522
E523
E524 コネクション10
Connection 10
E525 コネクション異常コード
Connection error code
E526
E527
E528 コネクション11
Connection 11
E529 コネクション異常コード
Connection error code
E52A
E52B
E52C コネクション12
Connection 12
E52D コネクション異常コード
Connection error code
E52E
E52F
E530 コネクション13
Connection 13
E531 コネクション異常コード
Connection error code
E532
E533
E534 コネクション14
Connection 14
E535 コネクション異常コード
Connection error code
E536
E537
E538 コネクション15
Connection 15
E539 コネクション異常コード
Connection error code
E53A
E53B
E53C コネクション16
Connection 16
E53D コネクション異常コード
Connection error code
E53E
E53F
9-94
E540 コネクション17
Connection 17
E541 コネクション異常コード
Connection error code
E542
E543
E544 コネクション18
Connection 18
E545 コネクション異常コード
Connection error code
E546
E547
E548 コネクション19
Connection 19
E549 コネクション異常コード
Connection error code
E54A
E54B
E54C コネクション20
Connection 20
E54D コネクション異常コード
Connection error code
E54E
E54F
E550 コネクション21
Connection 21
E551 コネクション異常コード
Connection error code
E552
E553
E554 コネクション22
Connection 22
E555 コネクション異常コード
Connection error code
E556
E557
E558 コネクション23
Connection 23
E559 コネクション異常コード
Connection error code
E55A
E55B
E55C コネクション24
Connection 24
E55D コネクション異常コード
Connection error code
E55E
E55F
E560 コネクション25
Connection 25
E561 コネクション異常コード
Connection error code
E562
E563
E564 コネクション26
Connection 26
E565 コネクション異常コード
Connection error code
E566
E567
E568 コネクション27
Connection 27
E569 コネクション異常コード
Connection error code
E56A
E56B
E56C コネクション28
Connection 28
E56D コネクション異常コード
Connection error code
E56E
E56F
E570 コネクション29
Connection 29
E571 コネクション異常コード
Connection error code
E572
E573
E574 コネクション30
Connection 30
E575 コネクション異常コード
Connection error code
E576
E577
E578 コネクション31
Connection 31
E579 コネクション異常コード
Connection error code
E57A
E57B
E57C コネクション32
Connection 32
E57D コネクション異常コード
Connection error code
E57E
E57F
9-95
E600 コネクション1
Connection 1
E601 TCP TCP送信回数
transmission count
E602 コネクション1
Connection 1
E603 TCP再送回数 count
TCP retransmission
E604 コネクション1
Connection 1
E605 TCPTCP状態遷移
status transition
E606 コネクション1
Connection 1
E607 Residual受信バッファ残量
content of receiving buffer
E608 コネクション2
Connection 2
E609 TCP TCP送信回数
transmission count
E60A コネクション2
Connection 2
E60B TCP再送回数 count
TCP retransmission
E60C コネクション2
Connection 2
E60D TCPTCP状態遷移
status transition
E60E コネクション2
Connection 2
E60F Residual受信バッファ残量
content of receiving buffer
E610 コネクション3
Connection 3
E611 TCP TCP送信回数
transmission count
E612 コネクション3
Connection 3
E613 TCP再送回数 count
TCP retransmission
E614 コネクション3
Connection 3
E615 TCPTCP状態遷移
status transition
E616 コネクション3
Connection 3
E617 Residual受信バッファ残量
content of receiving buffer
E618 コネクション4
Connection 4
E619 TCP TCP送信回数
transmission count
E61A コネクション4
Connection 4
E61B TCP再送回数 count
TCP retransmission
E61C コネクション4
Connection 4
E61D TCPTCP状態遷移
status transition
E61E コネクション4
Connection 4
E61F Residual受信バッファ残量
content of receiving buffer
E620 コネクション5
Connection 5
E621 TCP TCP送信回数
transmission count
E622 コネクション5
Connection 5
E623 TCP再送回数 count
TCP retransmission
E624 コネクション5
Connection 5
E625 TCPTCP状態遷移
status transition
E626 コネクション5
Connection 5
E627 Residual受信バッファ残量
content of receiving buffer
E628 コネクション6
Connection 6
E629 TCP TCP送信回数
transmission count
E62A コネクション6
Connection 6
E62B TCP再送回数 count
TCP retransmission
E62C コネクション6
Connection 6
E62D TCPTCP状態遷移
status transition
E62E コネクション6
Connection 6
E62F Residual受信バッファ残量
content of receiving buffer
E630 コネクション7
Connection 7
E631 TCP TCP送信回数
transmission count
E632 Connection 7
コネクション7
E633 TCP retransmission count
E634 コネクション7
Connection 7
E635 TCPTCP状態遷移
status transition
E636 コネクション7
Connection 7
E637 Residual受信バッファ残量
content of receiving buffer
E638 コネクション8
Connection 8
E639 TCP TCP送信回数
transmission count
E63A コネクション8
Connection 8
E63B TCP再送回数 count
TCP retransmission
E63C コネクション8
Connection 8
E63D TCPTCP状態遷移
status transition
E63E コネクション8
Connection 8
E63F Residual受信バッファ残量
content of receiving buffer
9-96
E640 コネクション9
Connection 9
E641 TCP送信回数count
TCP transmission
E642 コネクション9
Connection 9
E643 TCP再送回数 count
TCP retransmission
E644 コネクション9
Connection 9
E645 TCPTCP状態遷移
status transition
E646 コネクション9
Connection 9
E647 Residual受信バッファ残量
content of receiving buffer
E648 コネクション10
Connection 10
E649 TCP送信回数 count
TCP transmission
E64A コネクション10
Connection 10
E64B TCP再送回数 count
TCP retransmission
E64C コネクション10
Connection 10
E64D TCPTCP状態遷移
status transition
E64E コネクション10
Connection 10
E64F Residual受信バッファ残量
content of receiving buffer
E650 コネクション11
Connection 11
E651 TCP送信回数 count
TCP transmission
E652 コネクション11
Connection 11
E653 TCP再送回数 count
TCP retransmission
E654 コネクション11
Connection 11
E655 TCPTCP状態遷移
status transition
E656 コネクション11
Connection 11
E657 Residual受信バッファ残量
content of receiving buffer
E658 コネクション12
Connection 12
E659 TCP送信回数 count
TCP transmission
E65A コネクション12
Connection 12
E65B TCP再送回数 count
TCP retransmission
E65C コネクション12
Connection 12
E65D TCPTCP状態遷移
status transition
E65E コネクション12
Connection 12
E65F Residual受信バッファ残量
content of receiving buffer
E660 コネクション13
Connection 13
E661 TCP送信回数 count
TCP transmission
E662 コネクション13
Connection 13
E663 TCP再送回数 count
TCP retransmission
E664 コネクション13
Connection 13
E665 TCPTCP状態遷移
status transition
E666 コネクション13
Connection 13
E667 Residual受信バッファ残量
content of receiving buffer
E668 コネクション14
Connection 14
E669 TCP送信回数 count
TCP transmission
E66A コネクション14
Connection 14
E66B TCP再送回数 count
TCP retransmission
E66C コネクション14
Connection 14
E66D TCPTCP状態遷移
status transition
E66E コネクション14
Connection 14
E66F Residual受信バッファ残量
content of receiving buffer
E670 コネクション15
Connection 15
E671 TCP送信回数 count
TCP transmission
E672 コネクション15
Connection 15
E673 TCP再送回数 count
TCP retransmission
E674 コネクション15
Connection 15
E675 TCPTCP状態遷移
status transition
E676 コネクション15
Connection 15
E677 Residual受信バッファ残量
content of receiving buffer
E678 コネクション16
Connection 16
E679 TCP送信回数 count
TCP transmission
E67A コネクション16
Connection 16
E67B TCP再送回数 count
TCP retransmission
E67C コネクション16
Connection 16
E67D TCPTCP状態遷移
status transition
E67E コネクション16
Connection 16
E67F Residual受信バッファ残量
content of receiving buffer
9-97
E680 コネクション17
Connection 17
E681 TCP送信回数count
TCP transmission
E682 コネクション17
Connection 17
E683 TCP再送回数 count
TCP retransmission
E684 コネクション17
Connection 17
E685 TCPTCP状態遷移
status transition
E686 コネクション17
Connection 17
E687 Residual受信バッファ残量
content of receiving buffer
E688 コネクション18
Connection 18
E689 TCP送信回数count
TCP transmission
E68A コネクション18
Connection 18
E68B TCP再送回数 count
TCP retransmission
E68C コネクション18
Connection 18
E68D TCPTCP状態遷移
status transition
E68E コネクション18
Connection 18
E68F Residual受信バッファ残量
content of receiving buffer
E690 コネクション19
Connection 19
E691 TCP送信回数count
TCP transmission
E692 コネクション19
Connection 19
E693 TCP再送回数 count
TCP retransmission
E694 コネクション19
Connection 19
E695 TCPTCP状態遷移
status transition
E696 コネクション19
Connection 19
E697 Residual受信バッファ残量
content of receiving buffer
E698 コネクション20
Connection 20
E699 TCP送信回数count
TCP transmission
E69A コネクション20
Connection 20
E69B TCP再送回数 count
TCP retransmission
E69C コネクション20
Connection 20
E69D TCPTCP状態遷移
status transition
E69E コネクション20
Connection 20
E69F Residual受信バッファ残量
content of receiving buffer
E6A0 コネクション21
Connection 21
E6A1 TCP送信回数count
TCP transmission
E6A2 コネクション21
Connection 21
E6A3 TCP再送回数 count
TCP retransmission
E6A4 コネクション21
Connection 21
E6A5 TCPTCP状態遷移
status transition
E6A6 コネクション21
Connection 21
E6A7 Residual受信バッファ残量
content of receiving buffer
E6A8 コネクション22
Connection 22
E6A9 TCP送信回数count
TCP transmission
E6AA コネクション22
Connection 22
E6AB TCP再送回数 count
TCP retransmission
E6AC コネクション22
Connection 22
E6AD TCPTCP状態遷移
status transition
E6AE コネクション22
Connection 22
E6AF Residual受信バッファ残量
content of receiving buffer
E6B0 コネクション23
Connection 23
E6B1 TCP送信回数count
TCP transmission
E6B2 コネクション23
Connection 23
E6B3 TCP再送回数 count
TCP retransmission
E6B4 コネクション23
Connection 23
E6B5 TCPTCP状態遷移
status transition
E6B6 コネクション23
Connection 23
E6B7 Residual受信バッファ残量
content of receiving buffer
E6B8 コネクション24
Connection 24
E6B9 TCP送信回数count
TCP transmission
E6BA コネクション24
Connection 24
E6BB TCP再送回数 count
TCP retransmission
E6BC コネクション24
Connection 24
E6BD TCPTCP状態遷移
status transition
E6BE コネクション24
Connection 24
E6BF Residual受信バッファ残量
content of receiving buffer
9-98
E6C0 コネクション25
Connection 25
E6C1 TCP送信回数 count
TCP transmission
E6C2 コネクション25
Connection 25
E6C3 TCP再送回数 count
TCP retransmission
E6C4 コネクション25
Connection 25
E6C5 TCPTCP状態遷移
status transition
E6C6 コネクション25
Connection 25
E6C7 Residual受信バッファ残量
content of receiving buffer
E6C8 コネクション26
Connection 26
E6C9 TCP送信回数 count
TCP transmission
E6CA コネクション26
Connection 26
E6CB TCP再送回数 count
TCP retransmission
E6CC コネクション26
Connection 26
E6CD TCPTCP状態遷移
status transition
E6CE コネクション26
Connection 26
E6CF Residual受信バッファ残量
content of receiving buffer
E6D0 コネクション27
Connection 27
E6D1 TCP送信回数 count
TCP transmission
E6D2 コネクション27
Connection 27
E6D3 TCP再送回数 count
TCP retransmission
E6D4 コネクション27
Connection 27
E6D5 TCPTCP状態遷移
status transition
E6D6 コネクション27
Connection 27
E6D7 Residual受信バッファ残量
content of receiving buffer
E6D8 コネクション28
Connection 28
E6D9 TCP送信回数 count
TCP transmission
E6DA コネクション28
Connection 28
E6DB TCP再送回数 count
TCP retransmission
E6DC コネクション28
Connection 28
E6DD TCPTCP状態遷移
status transition
E6DE コネクション28
Connection 28
E6DF Residual受信バッファ残量
content of receiving buffer
E6E0 コネクション29
Connection 29
E6E1 TCP送信回数 count
TCP transmission
E6E2 コネクション29
Connection 29
E6E3 TCP再送回数 count
TCP retransmission
E6E4 コネクション29
Connection 29
E6E5 TCPTCP状態遷移
status transition
E6E6 コネクション29
Connection 29
E6E7 Residual受信バッファ残量
content of receiving buffer
E6E8 コネクション30
Connection 30
E6E9 TCP送信回数 count
TCP transmission
E6EA コネクション30
Connection 30
E6EB TCP再送回数 count
TCP retransmission
E6EC コネクション30
Connection 30
E6ED TCPTCP状態遷移
status transition
E6EE コネクション30
Connection 30
E6EF Residual受信バッファ残量
content of receiving buffer
E6F0 コネクション31
Connection 31
E6F1 TCP送信回数 count
TCP transmission
E6F2 コネクション31
Connection 31
E6F3 TCP再送回数 count
TCP retransmission
E6F4 コネクション31
Connection 31
E6F5 TCPTCP状態遷移
status transition
E6F6 コネクション31
Connection 31
E6F7 Residual受信バッファ残量
content of receiving buffer
E6F8 コネクション32
Connection 32
E6F9 TCP送信回数 count
TCP transmission
E6FA コネクション32
Connection 32
E6FB TCP再送回数 count
TCP retransmission
E6FC コネクション32
Connection 32
E6FD TCPTCP状態遷移
status transition
E6FE コネクション32
Connection 32
E6FF Residual受信バッファ残量
content of receiving buffer
9-99
10000 LL [1000]
LH [1001]
[1002]
Connection 1
コネクション1
Transmission
送信 Data
データ
Max 2044 bytes
最大2044バイト
107FF [17FF]
10800 LL [1800]
LH [1801]
[1802]
コネクション1
Connection 1
受信
Reception Data
データ
Max 2044
最大2044バイト bytes
10FFF [1FFF]
11000 LL
LH
Connection 2
コネクション2
Transmission
送信 Data
データ
Max 2044 bytes
最大2044バイト
117FF
11800 LL
LH
Connection 2
コネクション2
Reception
受信 Data
データ
Max 2044 bytes
最大2044バイト
11FFF
12000 LL
LH
Connection 3
コネクション3
Transmission
送信 Data
データ
Max 2044 bytes
最大2044バイト
127FF
12800 LL
LH
Connection 3
コネクション3
受信
Reception Data
データ
Max 2044 bytes
最大2044バイト
12FFF
13000 LL
LH
Connection 4
コネクション4
Transmission
送信 Data
データ
Max 2044 bytes
最大2044バイト
137FF
13800 LL
LH
Connection 4
コネクション4
Reception
受信 Data
データ
Max 2044 bytes
最大2044バイト
13FFF
9-100
14000 LL
LH
Connection 5
コネクション5
Transmission Data
送信
Max データ
2044 bytes
最大2044バイト
147FF
14800 LL
LH
Connection 5
コネクション5
Reception
受信 Data
データ
Max 2044 bytes
最大2044バイト
14FFF
15000 LL
LH
Connection 6
コネクション6
Transmission
送信 Data
データ
Max 2044 bytes
最大2044バイト
157FF
15800 LL
LH
Connection 6
コネクション6
Reception
受信 データ
Data
最大2044バイト
Max 2044 bytes
15FFF
16000 LL
LH
Connection 7
コネクション7
送信
Transmission Data
データ
Max 2044 bytes
最大2044バイト
167FF
16800 LL
LH
コネクション7
Connection 7
受信
Reception Data
データ
Max 2044
最大2044バイト bytes
16FFF
17000 LL
LH
Connection 8
コネクション8
Transmission
送信 Data
データ
Max 2044 bytes
最大2044バイト
177FF
17800 LL [8800]
LH [8801]
[8802]
Connection 8
コネクション8
Reception
受信 Data
データ
Max 2044 bytes
最大2044バイト
17FFF [8FFF]
9-101
18000 LL
LH
Connection 9
コネクション9
Transmission
送信 Data
データ
Max 2044 bytes
最大2044バイト
187FF
18800 LL
LH
Connection 9
コネクション9
受信
Reception Data
データ
Max 2044 bytes
最大2044バイト
18FFF
19000 LL
LH
コネクション10
Connection 10
送信
Transmission Data
データ
Max 2044 bytes
最大2044バイト
197FF
LL
LH
コネクション10
Connection 10
受信
Reception Data
データ
Max 2044 bytes
最大2044バイト
LL
LH
コネクション11
Connection 11
送信
Transmission Data
データ
Max 2044 bytes
最大2044バイト
LL
LH
コネクション11
Connection 11
受信
Reception Data
データ
Max 2044 bytes
最大2044バイト
LL
LH
Connection 12
コネクション12
Transmission
送信 Data
データ
Max 2044 bytes
最大2044バイト
LL
LH
Connection 12
コネクション12
受信
Reception Data
データ
Max 2044 bytes
最大2044バイト
9-102
2E000 LL
LH
Connection 31
コネクション31
Transmission
送信 Data
データ
Max 2044 bytes
最大2044バイト
2E7FF
2E800 LL
LH
Connection 31
コネクション31
送信
Reception Data
データ
Max 2044 bytes
最大2044バイト
2EFFF
2F000 LL
LH
Connection 32
コネクション32
Transmission
送信 データ
Data
Max 2044 bytes
最大2044バイト
2F7FF
2F800 LL
LH
Connection 32
コネクション32
Reception
受信 Data
データ
Max 2044 bytes
最大2044バイト
2FFFF
9-103
9.9. SN-I/F Function
If Rack No.: Built-in / Slot N0.: Option is not made setting in the link parameters, SN-I/F is selected as a
link and connected to TOYOPUC-PCS automatically.
Because fixed parameters are automatically set as for the data link area, they can not be changed.
In the case of PC2 compatible mode, it cannot be used as SN-I/F.
When you connect TOYOPUC-PCS, please use L3-T-ON.
When you do not connect TOYOPUC-PCS, please use L3-T-OFF.
9-104
(1) PC link specification
Items Specification
Data link I/O : 32bytes, register : 32bytes
Transmission distance Max 3 m (only inside of controller box)
Parity .............. 1 bit (even parity)
Data type Data length ..... 8 bit
Stop bit ........... 1 bit
Synchronous system Start-stop synchronous
Transmission system Semi-dual system (2-wire type)
Communication speed 288kbps
Cable Shielded twist bare cable
9-105
9.10. Built-in FL-remote M function
(1) FL-remote specification
Item Specifications
Transmission rate 10Mbps, 100Mbps
Max 100m(Between master HUB, and between master slave (at one-to one
Maximum cable length*1 connection) between slave HUB, between HUB-HUB.)
Total extended distance: Max 2100m (HUB:Max20 units)
Maximum number of
64 units (master 1 unit slave 63 units)
connected nodes
Node address Slave: 01~ 63
I/O points number Input: Max. 2048 points, Output: Max. 2048 points
I/O points number per slave Input: Max. 64 points, Output: Max. 64 points
I/O allotment Minimum unit of 8 points
Link area X•Y, M, L, EX•EY, EM, EL, GX/GY, GM
Communication Functions I/O communication
*1 Specified HUB and FRMT are auto-negotiations. Connection with auto-negotiations is 100Mbps.
24VDC
Max 100m
Max 100m
9-106
(2) Link No. and Link Area
Link parameters can be optionally set for link No. 1 ~ 8 of program 1 ~3.
Where internal relay (M) or link relay (L) is set in the link area, the relay area in program for which
the link parameter was set becomes the link area.
I/O (X, Y) area and extended area (EX · EY, EM, EL, GX · GY, GM) are common to each program.
PRG.1 INTERNAL PRG.2 INTERNAL PRG.3 INTERNAL Where internal relay (M) or
RELAY (M) RELAY (M) RELAY (M) link relay (L) is set in the link
area, the relay area in
PRG.1 LINK RELAY PRG.2 LINK RELAY PRG.3 LINK RELAY program for which the link
(L) (L) (L) parameter was set becomes
the link area.
9-107
(3) Notes when input-output(X,Y)is used in the communication area.
1. Pay attention so that there is no duplication I/O address between I/O module connected to CPU
and communication area.
Good
O
X/Y7FF X/Y7FF X/Y7FF
Bad
X/Y7FF X/Y7FF X/Y7FF
2. Input/output refresh (RIO, FUN No.=280), input refresh (RI, FUN No.=281), and output refresh
(RO, FUN No.=282) of applied command cannot be used to communication area.
3. When “Y” are used for the address of Communication Area, those addresses are set to “X” inside
CPU. Accordingly, when communication area is monitored by the I/O monitor, “X “ is displayed.
9-108
(4)Display
Display lamp indicating FL-remote includes Hardware status and Communication status.
Each Hardware status and Communication status lamp has a green and a red color, and display
these states by lighting, flashing, and putting out.
9-109
9.10.1. Order of Power on
Supply power first to the slave then to the master, or supply power to both the slave and master at the
same time. Supplying power first to the master and then to the slave may cause communication error.
And cutting off power supply to the slave after start of communication may cause communication error
too.
The master does not regard response delay in the slave for up to 18 seconds. During this period, the
master carries out communication recovery actions. And if recovery is not possible then, it reports the
situation as communication error.
Note 1: To remove communication error, reset and start the CPU or turn the communication reset
special ON. (Refer to "9.10.3. Communication Reset.")
Note 2: The master continues communication when the communication of all the slaves is normal.
Even if one slave is missing, the master regards it as communication error and stops
communication. (Use the unlinking function to continue communication. Refer to "9.10.4.
Unlinking Function." FL-remote can choose the communication stop / continuation at the
communication error by setup of Link Parameter.)
9-110
9.10.2. Communication Reset
Communication reset is the function to make communication resume, when communication stops by
communication error.
To reset communication, turn the communication reset special relay OFF ON.
The special relay I/O address corresponding to the link number is as shown below:
9-111
Communication Reset Circuit Example
For 18 seconds after supplying power, communication recovery actions are carried out, so reset
circuit is not necessary.
The figure below is a circuit example for communication recovery at communication error.
V82
Communication reset Communication reset
pushbutton signal
VAA
Communication error Communication
special relay error
9-112
(2) When the unlinked slave gets in communication error:
The master continues communication recovery actions until the error of the slave is removed.
When error is removed, and there is normal response, it starts exchanging OFF data. During
this period, the master carries out I/O data communication as usual to other slaves.
To annunciate that the unlinking-designated slave has become abnormal in
communication, the master displays error code D9 (Communication error) and abnormal
slave number on 7-seg display.
Where the unlinking is designated for all slaves and all slaves get in communication
errors, the master judges that not a single slave exists on the network, producing error
code E2 (Transmission Error). At this time, in FL-remote, the unlinking function is valid.
(4) Others
When the unlinking-undesignated slave gets in communication error, the master reports error
and stops communication to all the slaves.
S3*C 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 -
S3*D 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
S3*E 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
S3*F 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
The asterisk portion of each special register is replaced by the link No.
Link No. 1 2 3 4 5 6 7 8
* 1 3 5 7 9 B D F
9-113
9.10.4. Communication data response time
(1) Configuration
Slaves are all FRMT (TCU-6405, TCU-6406, and TCU-6407).
Refreshing Communication
CPU processing Incorporated processing
FL remote
master (master
station)
FRMT FRMT FRMT (Slave station)
Input X120
Output Y100
(2) Program
X120 Y100
Time from input to slave station to output from slave station is the communication data response time.
Average of response time = 20 + 1.7 x (number of slaves) + (I/O response time) + (scan time) x 2 [ms]
(in the case of 100Mbps)
9-114
9.10.5. Parameter Setting
The programmer sets up “I/O Module” and “Link Parameter”.
The example of a setting of the parameter by PCwin is explained below.
Note 1: In the case of change or additional parameter, be sure to read "All programs + parameter” from
CPU before change or addition.
Note 2: Please set up the Link Parameter of "FL-remote-M" more than by Ver.10 of PCwin.
Next, it explains the method of setting the parameter of the following compositions.
Slave
9-115
9.10.5.2. Link Parameter Setting
“Link parameter" is chosen at a parameter menu and the following screen is displayed.
(1)
(2)
(3) (4)
(5)
(6)
(7)
9-116
[Setting detailed setup]
(1) (9)
(2) (8)
(3)
(7)
(4) (6)
(5)
(10)
Note 1: GX•GY and GM area can be used in the PC3JG separate mode.
Note 2: When using X•Y area for the communication area, don't overlap I/O used by CPU.
9-117
(3) [Slave setup]
Slave No. at Slave setup list is clicked, [Slave setup] is clicked, and detailed parameter of Slave
is set up. Please refer to "Setting detailed parameter of Slaves" for details.
(9) [Network]
It is not necessary to set it for this item.
9-118
[Setting the detailed parameter of slaves]
(4)
(1)
(2)
(3)
(3)-1.
(3)-2.
9-119
9.10.6. COLLECTION OF DIAGNOSIS DATA
In FL-remote, there are diagnosis data as ‘general-purpose status’, ‘short circuit data’, ‘disconnection
data’, and ‘validity/invalidity of the disconnection detecting function’ besides the I/O data.
I/O allocation by the link parameter of FL-remote (Refer to “9.10.7 Collection of Diagnosis Data by
Link Parameter” about details)
1. I/O data: the top address is set to ‘link area’.
2. General-purpose status and error record reset / arbitrary reading switch: the top address is set to
‘General-purpose status area’ in the extended setting.
3. Validity/invalidity of the disconnection detecting function: ‘validity/invalidity of the disconnection
detecting function’ is set for the I/O address of the each slave. This data is kept during turning off
the slave's power supply.
4. Short-circuit data: the top address is set to ‘ Short-circuit state area’ in the extended setting.
5. Disconnection data: the top address is set to ‘ Unconnected state area’ in the extended setting.
(Note 1) In general-purpose status, error record reset / arbitrary reading switch, validity/invalidity of the
disconnection detecting function, short-circuit data and disconnection data, the target slave is
FRMT series and these are effective when set by the link parameter, diagnosis function
"Enable".
(Note 2) If the diagnosis functions of all slaves are ‘Disable’, ‘General-purpose status area’ of the node
01-63 must be set to the unused area because these are always I/Orefreshed.
9-120
9.10.6.1. Collection of Diagnosis Data by Link Parameter
I/O allocation to CPU for ‘general-purpose status’, ‘short-circuit data’ and ‘disconnection data’, and the
setting of ‘validity/invalidity of the disconnection detecting function’ are set to the link parameter of
FL-remote with PCwin (Ver10 or later).
Please refer to “9.7.7 Parameter Setting” for the method of setting the link parameter.
Initial setting is "general-purpose status area" D000L-D003FH, "short-circuit information area"
D0040L-D007FH", and "Un-connect information area" D0080L-D00BFH.
‘validity/invalidity of the
disconnection detecting function’
are set.
‘ ’ is checked to the I/O address
‘ ’ : validity, ‘ ‘ : invalidity
9-121
9.10.6.2. General-purpose Status
If the general-purpose status is allocated to CPU by the link parameter, ‘general-purpose status’ is
allocated to the top address to set [+00L] – [+1FH], and ‘error record reset / arbitrary reading switch’ is
allocated to [+20L] – [+3FH] in CPU. (Refer to “9.10.3.3 Error Record Reset / Arbitrary Reading Switch”
about details)
The general-purpose status and the error record reset / arbitrary reading switches are allocated in 1byte
per 1node.
(Note) Even if the diagnosis functions of all slaves are set to ‘Disable’ in the link parameter of FRMT, the
general-purpose status and the error record reset / arbitrary reading switch of the node 01-63 are
allocated.
Allocation of the general-purpose status and error record reset / arbitrary reading switch
relative byte data
address
+00L
+00H node 01 : general-purpose status
| |
| | General-purpose status area
| |
+1FL node 62 : general-purpose status
+1FH node 63 : general-purpose status
+20L
+20H node 01 : error record reset /
arbitrary reading switch
| |
| | Error record reset / arbitrary reading switch
| |
+3FL node 62 : error record reset /
arbitrary reading switch
+3FH node 63 : error record reset /
arbitrary reading switch
9-122
9.10.6.3. Error Record Reset / Arbitrary Reading Switch Format
In FRMT series, after detecting ‘short-circuit’ and ‘disconnection’, if the factor is removed, I/O control is
returned automatically but the short-circuit data and the disconnection data are kept and I/O LED is
maintained in the red flicker.
Setting various bits of the error record reset switch can reset these kept data.
The error record and the error are loaded to the diagnosis data map (Refer to “9.10.7.4 Diagnosis
Data Map” about details) by setting various bits of the arbitrary reading switch.
9-123
(1) Format of short-circuit data area
Relative
Data Content Data format
address
+00L Get/Set flag Bit0=0 : Get, Bit0=1 : Set, Bit1 – 7=0 fixed
+00H (Unused) 00h fixed
+01L Node address (Hex) 00h – 3Fh (1 – 63)
+01H (Unused) 00h fixed
+02L Response code Lo Normal :69h Error :94h
Short-
circuit
+02H Response code Hi 00h fixed
+03L Error code Lo error code (Lo) of message response (Normal:00h Error:10h)
Record +03H Error code Hi error code (Hi) of message response(Normal:00h Error:00h)
data0 +04L MSB LSB
+04H 07 06 05 04 03 02 01 00
newest
data
+05L 0F 0E 0D 0C 0B 0A 09 08
+05H Short-circuit record data | | | | | | | |
+06L I/O 0 – 63 | | | | | | | |
+06H 3F 3E 3D 3C 3B 3A 39 38
Numerical value : I/O Address
+07L
Bit data=0 : Normal , Bit data=1: Short-circuit
+07H
+08L Get/Set flag Bit0=0 : Get, Bit0=1 : Set, Bit1 – 7=0 fixed
+08H (Unused) 00h fixed
+09L Node address (Hex) 01h – 3Fh (1 – 63)
+09H (Unused) 00h fixed
+0AL Response code Lo Normal :67h Error :94h
Short-
circuit
+0AH Response code Hi 00h fixed
+0BL Error code Lo error code (Lo) of message response(Normal:00h Error:10h)
Current +0BH Error code Hi error code (Hi) of message response(Normal:00h Error:00h)
data0 +0CL MSB LSB
+0CH 07 06 05 04 03 02 01 00
newest
data
+0DL 0F 0E 0D 0C 0B 0A 09 08
+0DH Short-circuit current data | | | | | | | |
+0EL I/O 0 – 63 | | | | | | | |
+0EH 3F 3E 3D 3C 3B 3A 39 38
Numerical value : I/O Address
+0FL
Bit data=0 : Normal , Bit data=1: Short-circuit
+0FH
Short- Same as record data0 Same as record data0
+10L
circuit
|
Record
+17H
data1
Short- +18L Same as current data0 Same as current data0
circuit
Current
|
data1 +1FH
Short- +20L Same as record data0 Same as record data0
circuit
Record
|
data2 +27H
Short- +28L Same as current data0 Same as current data0
circuit
Current
|
data2 +2FH
Short- +30L Same as record data0 Same as record data0
circuit
Record
|
data3 +37H
Short- Same as current data0 Same as current data0
+38L
circuit
|
Current
+3FH
data3
9-124
(2) Format of disconnection data area
Relative
Data Content Data format
address
+00L Get/Set flag Bit0=0 : Get, Bit0=1 : Set, Bit1 – 7=0 fixed
+00H (Unused) 00h fixed
+01L Node address (Hex) 01h – 3Fh (1 – 63)
+01H (Unused) 00h fixed
+02L Response code Lo Normal : 6Ah Error : 94h
Disco- +02H Response code Hi 00h fixed
Connection
+03L Error code Lo error code (Lo) of message response(Normal:00h Error:10h)
Record +03H Error code Hi error code (H) of message response(Normal:00h Error:00h)
data0 +04L MSB LSB
newest +04H 07 06 05 04 03 02 01 00
data +05L 0F 0E 0D 0C 0B 0A 09 08
+05H Disconnection record data | | | | | | | |
+06L I/O 0 – 63 | | | | | | | |
+06H 3F 3E 3D 3C 3B 3A 39 38
Numerical value : I/O Address
+07L
Bit data=0 : Normal , Bit data=1: Disconnection
+07H
+08L Get/Set flag Bit0=0 : Get, Bit0=1 : Set, Bit1 – 7=0 fixed
+08H (Unused) 00h fixed
+09L Node address (Hex) 01h – 3Fh (1 – 63)
+09H (Unused) 00h fixed
+0AL Response code Lo Normal:68h Error:94h
Disco- +0AH Response code Hi 00h fixed
Connection
+0BL Error code Lo Error code (Lo) of message response(Normal:00h Error:10h)
Current +0BH Error code Hi Error code (Hi) of message response(Normal:00hErrot:00h)
data0 +0CL MSB LSB
newest +0CH 07 06 05 04 03 02 01 00
data +0DL 0F 0E 0D 0C 0B 0A 09 08
+0DH Disconnection current data | | | | | | | |
+0EL I/O 0 – 63 | | | | | | | |
+0EH 3F 3E 3D 3C 3B 3A 39 38
Numerical value : I/O Address
+0FL
Bit data=0 : Normal , Bit data=1: Disconnection
+0FH
Disco- Same as record data0 Same as record data0
Connection
+10L
Record |
data1 +17H
Disco- +18L Same as current data0 Same as current data0
Connection
Current |
data1 +1FH
Disco- +20L Same as record data0 Same as record data0
Connection
Record |
data2 +27H
Disco- +28L Same as current data0 Same as current data0
Connection
Current |
data2 +2FH
Disco- +30L Same as record data0 Same as record data0
Connection
Record |
data3 +37H
Disco- Same as current data0 Same as current data0
Connection
+38L
Current |
data3 +3FH
9-125
9.11. BUILT-IN standard MODBUS-RTU (slave) function
Data is exchanged with the MODBUS-RTU (master) using MODBUS-RTU communication.
MODBUS-RTU is the function added in PC10G Ver3.30~.)
(1)MODBUS-RTU specification
Items Specification
Interface standard Conforming to EIA RS-485 2-wire type
Communication
Start-stop synchronous
system
Transmission line Shielded twist bare cable
Communication 0.3,0.6,1.2,2.4,4.8,
speed 9.6, 19.2 ,38.4,57.6,115.2kbps (Presetting)
Transmission
Max 1km(Total extended distance)
distance
Transmission form 1:N 1:1
Number of stations Max 255 stations
Start bit……1 bit
Data length…….8 bit
Data type
Parity…….with/none odds/even (Presetting)
Stop bit....... 1 or 2 bit (Presetting)
Error detection Parity check, CRC check
For details of MODBUS Communication Protocol etc., refer to specifications etc. published on the
web.
9-126
(3) MODBUS corresponding address map
9-127
Word address for function code 03,04,06,10
9-128
9.11.2. Set link parameter
PCwin Ver14.3R02 or later is necessary for setting up MODBUS.
(1) Set rack No. , Slot No. , Link Module name parameter
For Plus MODBUS, set the link module name in Rack No. [Built-in] and Slot No. [standard] to
[MODBUS].
Operating procedure
1. Set the station No.
2. Set the stop bit.
3. Set the Parity
4. Set the baud rate.
Click for the baud rate and select a desired baud rate from the list.
5. 2-wire is chosen. (The ports with built-in BUS-EXP is only 2-wire.)
6. When the setting is completed, c
lick [OK].
9-129
9.12. EtherCAT Function
Refer to the TOYOPUC EtherCAT Operation Manual (T-326N) for details such as specifications,
parameter settings and usage.
<L1>
EtherCAT(Master)
9-130
9.13. EtherNet/IP Function
PC10G more than Ver3.80 can use built-in L1 and L2 ports as EtherNet/IP. Use PCwin Ver. 17. 2R01 for
peripheral devices.
9.13.1. Outline
EtherNet/IP is an industrial network based on the widely used Ethernet technology. This standard is
controlled by ODVA (Open DeviceNet Vendor Association) and adopted in many devices manufactured in
the world.
You can use EtherNet/IP to establish not only the controller-to-controller network but also the field network
between the controller and devices.
<System outline>
EtherNet/IP is a multi-vendor network. For this reason TOYOPUC can be connected with not only another
TOYOPUC in a data link but also other EtherNet/IP-compatible controllers, remote I/O devices and so on
made by other than us.
EtherNet device
EtherNet/IP
Up to four EtherNet/IP
systems can be used
simultaneously.
EtherNet/IP device
What is the scanner? .... A device that can establish a connection between scanners or between the
scanner and adaptor. The scanner has an originator function that opens the
connection of another device.
What is the adaptor? …. A device that does not have the function for opening a connection. For the
realization of EtherNet/IP communications, a scanner must open
communications. The adaptor is a frequently observed type in remote I/O
devices.
What is connection? .…….A communication path for EtherNet/IP-compatible data communications.
9-131
9.13.2. EtherNet/IP specification
9.13.2.1. EtherNet/IP
Item Specification
No. of connections Max.128(Originator up to 64/Target up to 64)*1
No. of sessions (sum of no. of
IO connections + no. of ports Max.128
used for UCMM)
RPI(packet interval) 2~10000ms Enter in 2ms increments.
Transmission trigger Cyclic / Change of state(COS)
Connection type Point2Point / Multicast
Connection setting application
Exclusive Owner/Input Only
type
Communication time-out RPI x *
interval [ms] ( *= 4, 8, 16, 32, 64, 128, 256, 512)
Allowable band width of unit 1000pps
Max. link size of each
504 bytes or 1448 bytes(Large Forward Open specifications)
connection
Input (originator target → originator data size + target originator → target
data size) Max. 4096 byte
Total connection size
(originator originator → target data size + target target → originator data
size) Max. 4096 byte
*1 For connection occupation number at the time of using the multicast on the target, please refer to
"9.13.4.2 Link parameter setting" - "(2-2) Originator" - "(d-2) Connection type" - “Note”.
9-132
Linked Parameter configurable count Up to two links
Communication I/O Identifier L,X/Y,M,EL,EX/EY,EL,GX/GY,GM
area that can be
entered Register Identifier R,D,U
No. of I/O areas of each connection Max.8
Function No. of I/O areas that can be
Max.1000
registered
Communication disconnection station
Clear/Hold selectable
input
Output at RUN stop Clear/Hold selectable
First-connection setting Parameter entry possible
Note 1: Connection with devices of the following settings is impossible with the Transport Class 1
connection.
(1) Device not supporting "Point-to-Point" or "Multicast" connection type
(2) Device not supporting "Cyclic" or "Change of State (COS)" trigger
(3) Device of "Listen Only" or "Redundant Owner" transport type
(4) Device of "zero length format" real-time format
(5) Device of "Variable" network connection parameter ("Fixed"/"Variable")
(6) Device needing parameter setting using data segment
What is the EDS file? ... File including configuration description of the EtherNet/IP device supplied by the
corresponding vender
9-133
9.13.3. IO communication function
1) Connection
It is necessary to open connection with the other party of communication for data transmission
and reception.
The party opening the connection is called originator while the opened party is called target. The
originator issues a request to open connection to the target.
After connection is successfully opened, data communications become possible.
EtherNet/IP of TOYOPUC can use both the function of the originator and that of the target.
There are the following types in the connection connecting.
<Exclusive Owner>
This function enables bidirectional data communications with a single connection: from originator
to target and from target to originator.
This function can be used if the connection point setting is an instance ID. It may not be used in
case of a tag.
(For the connection point, refer to "2) Data allocation" on the next page.)
TOYOPUC or a third-party's
TOYOPUC EtherNet/IP module
Connection in-connection
Originator Target
Input IO data Output
<Input Only>
This setting enables data communication with a single connection from the target to the
originator.
If the connection point is tag designation, define two connections as shown below to realize
bidirectional communications.
TOYOPUC or a third-party's
TOYOPUC EtherNet/IP module
Connection in-connection
Originato Target
Input IO data Output
Connection in-connection
Target Originato
Output IO data Input
9-134
2) Data allocation
When connecting a connection, designate the connection point, which is provided for the target,
at the originator.
There are two types for designation of the connection point: instance ID and tag.
a) Instance ID
With this communication method, designate the other party of connection with the instance ID (a
number between 0 and 65535).
Designate the ID of the target connection at the originator.
Enter the address of the I/O area in detail connection settings.
Connec-
PLC A PLC B
tion point
CPU EtherNet/IP communication EtherNet/IP communication CPU
user memory function section Designate "101" function section user memory
(originator-to-target ID) or
Instance ID "100" (target-to-originator) Instance ID
Input area as a request to open. “100” Output area
9-135
b) Tag
With this communication method, designate the other party of connection with a tag (variable
name).
Designate "tag_456" as a
Tag name tag name to request to
open.
Connection
Output point Input area
area
Target Originator
The originator requests connection in-connection to the target connection designated as the
other party of connection after it is turned on and becomes ready to start communications. When
the target is ready to respond and judges that connection can be made in response to a
connection request of the originator, connection is established.
The target checks the ID (or tag) data, data size and so on upon a connection request of the
originator.
If there is inconsistency in parameter data between the originator and target, connection
in-connection is impossible.
If the originator fails to make connection in-connection with the target device, a connection error
is caused and each piece of status data is updated. For the status, refer to Section 9.13.5.
When a connection error is caused, the originator tries to connect again.
While, if no problem is found in the other party or network device, connection in-connection is
made again, it may take about one minute to re-connect at certain network configuration or
connection setting state.
9-136
4) Packet interval (RPI)
After connection in-connection is successfully made, data transmission is made at a certain interval
from both the originator and target. This interval is called packet interval. The allowable setting range is
between 2 and 10,000ms. The packet interval can be entered both for the originator-to-target (OT)
direction and for the target-to-originator (TO) direction.
The data transmission interval is in 2ms increments. If an odd setting is entered, the setting is rounded
up to the nearest even number for transmission. For example, a packet interval setting of 5ms causes
transmission in 6ms intervals.
In case of a tag connection point, enter only the TO packet interval value.
The TO setting is used as an OT packet interval. However, for TO settings within 250ms, transmission
is made at 250ms intervals.
Note: Some products made by other than us allow an RPI shorter than 2ms. An RPI smaller than 2ms
can cause a communication error. Even if RPI is smaller than 2ms, the data transmission interval
of Plus is 2ms. Enter the RPI in the range between 2ms and 10,000ms.
5) Communication time-out
A connection error is caused and data communication is stopped if reception data is interrupted for a
certain time after connection is connected and the equipment is ready for data communications.
The reception data monitoring time is determined according to the packet interval setting and
communication time-out multiplier.
One of the following can be selected as a communication time-out multiplier: RPIx4, RPIx8, RPIx16,
RPIx32, RPIx64, RPIx128, RPIx256, RPIx512.
For example, suppose a packet interval of 50ms and a time-out multiplier of RPI x 8. Data reception
interrupted for 400ms causes a connection error.
If a connection error is caused, transmission from the connection is stopped and each piece of status
data is updated.
For the status, refer to Section 9.13.5.
For RPI within 10ms, select RPI x 8 or a larger time-out multiplier.
6) Communication load
The transmission data amount of EtherNet/IP is determined according to the packet interval. A larger
packet interval causes a smaller communication load, while a smaller packet interval causes a larger
communication load.
Lots of connections with a small packet interval cause a large load on the module. The packet amount
that can be sent or received is subject to limitation and, if the limitation is exceeded, the correct function
is not obtained.
For this reason, define the number of connections and packet interval during system construction so
that the performance of the module is not exceeded.
An approximate measure of communication data amount that can be exchanged can be calculated in
the following formula using the allowable band width of a unit.
The result of calculation is indicated in a load factor. If the load factor exceeds 100%, review the RPI
value or take other measures so that the communication load becomes a correct value. As well, if other
EtherNet/IP communication-incompatible devices are in the same circuit, allow a larger margin in the
load setting.
Load factor of each connection = ((1000 / RPI on TO side) + (1000 / RPI on OT side)) / 1000pps x 100 [%]
Note: The RPI on the OT side of a tag-designated connection point is specified below.
If the RPI on the TO side is within 250ms: RPI on OT side = 250ms
If the RPI on the TO side is larger than 250ms: RPI on OT side = RPI on TO side
9-137
Example of calculation of load factor:
Suppose there are three units of TOYOPUC They are called A, B and C, starting at the leftmost
one.
Instance ID communication is adopted between A and B.
Tag communication is adopted between A and C.
The originator, target and RPI settings of each of A, B and C are shown in the figure below.
Instance ID RPI=20ms
Originator Target
communication
RPI=20ms
RPI=50ms
Tag Target Originator
communication
RPI=250ms
Calculate the load factor of each unit of TOYOPUC (A, B and C) and check that 100% is not
exceeded.
TOYOPUC A
Because TOYOPUC A uses two connections, calculate the load factor for each connection and
calculate the sum lastly to obtain the load factor of A.
Total
Load factor = 10 + 2.4
= 12.4[%]
TOYOPUC B
Obtain the load factor of TOYOPUC B.
Load factor = {(1000÷20)+(1000÷20)}÷1000pps × 100
= 10 [%]
TOYOPUC C
Obtain the load factor of TOYOPUC C.
The load factor of all units of TOYOPUC is within 100%. Thus it is found that there is no problem in
operation with this setting.
Note:A smaller value defined as the RPI increases the load factor. Wherever high-speed communication
is unnecessary, the RPI should be as large as possible, so that the load factor does not increase.
9-138
9.13.4. How to configure EtherNet/IP
To enter EtherNet/IP communication settings, use 17.2 R01 or later version of PCwin.
(1) (1) Starting at Project, double click the I/O Module in the Parameter folder.
(2) Select the Program No. and Link No. at which EtherNet/IP is entered.
9-139
(4) Select rack built-in and slot L1 for rack number and slot number.
(5) Select EtherNet/IP or Plus EtherNet/IP from the linked module.
(6) Click the OK button.
(7) After checking that EtherNet/IP is selected, click the "Detail" button.
Link module name Universal Universal Error detailed information storage area
function
Plus EtherNet/IP Not available Detail 1:S3x1L, Detail 2:S3x1H
EtherNet/IP(128 connection ) Available Details 1:S3x1, Detail2:S3x2
9-140
Detail link parameter setting (Plus EtherNet/IP)
(4) Option
(2) Individual (3) List setting
setting
(5) Detail network setting
Enter the IP address of the own node. Select one in the following range as an IP address.
128.0.0.0 to 223.255.255.255
9-141
(2) Individual setting
(a)
(b)
(c)
(d)
9-142
(b-2) Output setting
(b-3) Address
Note: Specify "L" (low) or "H" (high) without fail in the address. (Example: D000L, R100H, etc.)
Enter the number of bytes of the output area for each of the eight areas.
The upper limit of the total number of bytes varies according to the entered real time format.
Enter settings so that the sum of the number of bytes of the eight areas is contained within the
following range.
The status at the error can be selected among OFF (default) and Hold.
For the motion obtained with OFF or Hold, refer to "9.13.8. Input/Output setting at an error."
9-143
(c) Originator-to-target information
Note: The number of areas that can be used is up to total 1000 areas including input and output
areas.
(c-3) Address
Note: Specify "L" (low) or "H" (high) without fail in the address. (Example: D000L, R100H, etc.)
9-144
(c-4) Number of bytes
Enter the number of bytes of the input area for each of the eight areas.
The upper limit of the total number of bytes varies according to the entered real time format.
Enter settings so that the sum of the number of bytes of the eight areas is contained within the
following range.
The status at the error can be selected among OFF (default) and Hold.
For the motion obtained with OFF or Hold, refer to "9.13.8. Input/Output setting at an error."
9-145
(d) Detail setting
Select Auto when connecting two units of TOYOPUC over EtherNet/IP. (Default: Auto)
Communication
Communication direction Selected real-time format
type
Target to originator Modeless
Instance ID
Originator to target 32bitHeader
Target to originator Modeless
Tag
Originator to target HeartBeat
Clear the Auto check box to select the manual entry mode. Select the real-time format among the
following options.
9-146
(2-2) originator
(a)
(b) (g)
(c)
(d)
(e)
(f)
Enter the transmission interval of the packet sent from the originator to the target.
( 2 to 10000ms: in 2ms increments)
9-147
(d-2) Connection type
Point to Point
This connection connects the originator with the target in the one-on-one basis.
Originator Target
Multicast
The data sent from a target is received at multiple originators (except for a single module).
Originator Target
Originator
To use multicasting, keep consistency in the packet interval (RPI) setting on the TO side among
originators connected to a single target.
Note: You cannot multicast from two or more originator connections of a single unit of Plus EX2 or Plus
EFR2 to a single target.
In the example shown below, connection is attempted from multiple originators of the TOYOPUC on the
left side in the multicasting mode to the target of the TOYOPUC on the right side. In this case, the
originator connection of the TOYOPUC on the left side repeats connecting and disconnecting, failing to
function correctly. At this time, error code 86 (link communication error) is notified to the Plus CPU and
error code 5A is notified to S3*0.
TOYOPUC TOYOPUC
Originator Target
Originator
Originator
9-148
Caution) When using multicast as a target, the number of connections for the number of originators to be
connected is required.
Example) In the following figure, three originators are connected to one multicast target. There is only one
multicast connection configuration for the target, but since there are actually three connections,
there are three multicast connections in this case.
Originator Target
Originator
Consume three
connections
Originator
Enter connection point settings. Select setting values in the following range.
Communication type Connection point Value that can be entered
Instance ID Enter a number. 0 to 65535
Tag Enter a tag name Letter (in upper or lower case),
(character string). number and symbol (Some symbols may not
be used.)
Note: The total number of areas that can be used is up to total 1000 areas including input and output
areas.
9-149
(d-5) Address
Note: Specify "L" (low) or "H" (high) without fail in the address. (Example: D000L, R100H, etc.)
Enter the number of bytes of the input area for each of the eight areas.
The upper limit of the total number of bytes varies according to the entered real-time format.
Enter settings so that the sum of the number of bytes of the eight areas is contained within the following
range.
The status at the error can be selected among OFF (default) and Hold.
For the motion obtained with OFF or Hold, refer to "9.13.8. Input/Output setting at an error."
The interval of transmission of the packet sent from the originator to the target can be entered.
(2 to 10000ms: in 2ms increments)
9-150
(e-4) Output setting
Note: The number of areas that can be used is up to total 1000 areas including input and
output areas.
(e-5) Address
Note: Specify "L" (low) or "H" (high) without fail in the address. (Example: D000L, R100H, etc.)
Enter the number of bytes of the output area for each of the eight areas.
The upper limit of the total number of bytes varies according to the entered real-time format.
Enter settings so that the sum of the number of bytes of the eight areas is contained within the
following range.
The status at the error can be selected among OFF (default) and Hold.
For the motion obtained with OFF or Hold, refer to "9.13.8. Input/Output setting at an error."
9-151
(f) Detail setting
(f-1)
(f-2)
(f-3)
(f-4)
(f-5)
(f-1) Trigger
Enter the minimum transmission interval used in the "COS" trigger mode.
The value is a quarter of the RPI if "Auto" is selected.
Note: The minimum value of the minimum transmission interval is 6ms. Enter 24ms or a larger value as
an RPI in both the OT and TO directions to use "Auto." If the value is 23ms or smaller, the correct
function is not obtained.
To connect TOYOPUC with another TOYOPUC over EtherNet/IP, enter "1" as a setting.
Change this parameter if the configuration instance value of the other party of connection is other
than "1." With some devices made by other than us, the configuration instance setting is other
than "1." While referring to the instruction manual or EDS file prepared for the device made by
other than us, keep consistency in the configuration instance value with the device of the other
party of connection.
9-152
(f-4) Port number, Link address
Enter the port number and link address according to connected devices.
The default value is "0" for both the port number and link address.
To connect TOYOPUC with another TOYOPUC over EtherNet/IP, use the default value ("0") for
the port number and link address.
With some devices made by other than us, the port number and link address can be set
differently. While referring to the instruction manual and EDS file prepared for the device made
by other than us, enter the port number and link address.
Note: Communication is impossible if connection is made with a device having a different port
number and/or link address.
Enter the real-time format according to the device of the other party of connection.
To connect TOYOPUC with another TOYOPUC over EtherNet/IP, select "Auto." (The default
setting is "Auto.")
Note: If "Auto" is selected, the real time format specified in the table titled "With check mark at
"Auto"" is selected. "Auto" does not mean that configuration is automatically made
according to the device of the other party of connection.
Communication
Direction of communication Selected real-time format
type
Target to originator Modeless
Instance ID
Originator to target 32bitHeader
Target to originator Modeless
Tag
Originator to target HeartBeat
Clear the "Auto" check box to select manually. Select one of the following real-time formats.
Note: To connect with a device made by other than us, keep consistency in the real-time format
with the connected device.
Communication may be impossible if there is inconsistency in the real-time format between
connected devices.
9-153
(g) Open target setting
Use the Open target setting button to use tag communications of the originator.
Load the tag name of the target having been saved to select the tag name of the target to be
used. Select the desired one in the dialog box of the originator connection point setting field.
To use this function, save the target tag name information in advance, using the target setting
save function. For details, refer to "(6) Saving target settings."
The parameter setting data can be displayed and edited in a table format.
You can copy & paste EXCEL data or the like.
9-154
(4) Option
(4-1) Number of connections Selects the connection max value for IO-reply.
Select 128. If 384 is selected, a linked Parameter error will occur.
(4-2) Address of IP address output area of connection destination
The least significant byte of the IP address of the other party of connection of each connection is output.
If the connection setting is originator, the target IP address entered in a parameter is stored.
In case of target setting, the IP address of the originator of the other party is stored when connection is
established.
The initial value is "00." The storage format is shown below. 64 word registers are occupied.
In case of multicasting, only the IP address of one device of the other party of connection is stored.
Example: When the IP address of the other party of connection 0 of 192.168.0.1 is 192.168.0.8 and that
of the other party of connection 3 is 192.168.0.12, output the state to the area starting at
D0C00.
192.168.0.1 192.168.0.8
CN0
192.168.0.12
CN3
Note : The packet loss count monitors the frequency of skipping serial numbers, so that the frequency is
not updated if the LAN cable is disconnected.
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10)
Error Error
Count 00 00 01 01 01 01 01 01 05 05
Re-connection of connection
Connection error
Error Error
Count 05 05 05 05 05 05 ** ** ** **
In case of originator 05 05 05 06
In case of target 00 00 00 01
The packet loss count is output in word data between 0 and 65535.
The count next to 65535 is 0.
The packet loss count storage format is shown below. A 128-word register is occupied.
Offset Description
Parameter
+0 CN0 packet loss count
setting
address +1 CN1 packet loss count
+2 CN2 packet loss count
9-156
(4-4) Address of disconnection register area
Notes
The disconnection function is a function which recognizes the communication error of the designated
station and stops communication to the station, and continues communication to other normal
connectioned stations.
Please refer to "11.2.8 Disconnection function" for details.
Offset 15 0
+0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
+1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 1: Disconnection designated
+2 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 0: Disconnection canceled
+3 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
+4 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
+5 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
+6 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
+7 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112
Do not notify the CPU. Do not notify the CPU of a connection error.
(default)
Notify the CPU. Notify of a communication error (error code 86) to the CPU when a connection
(option) error is detected.
The communication error (VA2) is turned on.
After a connection error is caused, connection in-connection is repeated at
10-second intervals. However, even if connection in-connection results in a
success, the CPU error status is retained until a communication reset (V80: in
the event of link 1) is supplied.
9-157
(5) Detail network setting
If there is inconsistency in the network ID between the IP address of the own node and that of the other
party of communication, correct the subnet mask and gateway IP address.
For details, refer to reference document 5 of the FL/ET-T-V2H Instruction Manual (t-754).
9-158
(6) Saving target settings
9-159
9.13.5. Status
9.13.5.1. Special register for link
EtherNet/IP is provided with the following status information in the special register.
15 0
S3*0
S3*1
S3*2
S3*3
Connection normal status area
S3*4
S3*5
S3*6
S3*7
S3*8
S3*9
S3*A
S3*B
Connection error status area
S3*C
S3*D
S3*E
S3*F
15 0
S3#0 Error code
S3#1 Detail 1
S3#2 Detail 2
S3#3 Detail 3
S3#4 System version
S3#5
S3#6 Error code history
S3#7
S3#8
S3#9
Connection error status area
S3#A
S3#B
4th digit of own 5th digit of own
S3#C
Ethernet address Ethernet address
6th digit of own
S3#D (Reserved for system)
Ethernet address
1st digit of own IP 2nd digit of own IP
S3#E
address address
3rd digit of own IP 4th digit of own IP
S3#F
address address
The first through third digits of the own Ethernet address: 00:60:53.
The parts marked "#" and "*" in the special register are determined by the link number.
Link No. 1 2 3 4 5 6 7 8
* 0 2 4 6 8 A C E
# 1 3 5 7 9 B D F
9-160
(1) Connection normal status area
15 0
S3*0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
S3*1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 1: Normal
S3*2 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 0: No allocation or
S3*3 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 in a connection error
S3*4 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
S3*5 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
S3*6 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
S3*7 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112
15 0
S3*8 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
S3*9 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 1: Connection error
S3*A 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 0: No allocation or normal
S3*B 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
S3*C 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
S3*D 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
S3*E 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
S3*F 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112
Note 1: With parties taking some time for power-on or start-up, a connection error may be caused
before connection is established. If this is the case, conduct a communication reset (V80; in
case of link No. 1) to remove the error.
Note 2: The originator does not turn on the corresponding bit in the connection error status area for
approx. 40 seconds even if there is no party of communication in the corresponding connection
at power-on or in the event of a CPU reset. If "Notification of fault to CPU = Do" is selected,
notification of the communication error is not issued for approx. 40 seconds, too.
Note 3: The target does not turn the corresponding bit of the connection error area on if there is no party
of connection at power-on or in the event of a CPU reset.
The target turns on the corresponding bit of the connection error area only if a connection
having been normally established has gone faulty.
The "*" part of the special register is determined according to the link number.
Link No. 1 2 3 4 5 6 7 8
* 0 2 4 6 8 A C E
9-161
The ON/OFF status of the bit corresponding to the connection error area of each of the originator and
target caused by no connection of the LAN cable at power-on is shown.
In this example, one of two TOYOPUC units located on the left side is called "A" and that located on the
right side is called "B," and "A" is used as an originator while "B" is used as a target. Suppose that both
units use connection number 0. (The bit position (S3*8-0 in the following description) of the special
register indicating the corresponding connection in the connection error area varies according to the
connection number.)
Configuration
example
A B
Switching hub
Originator Target
Approx. 40 sec.
ON
S3*8-0
OFF
Power-on
Power-on
9-162
9.13.5.2. Special relay
The special relay indicating the communication status includes the following.
Address Description
9-163
9.13.6. Communication reset
The communication reset of EtherNet/IP indicates the resetting of the communication error history.
Conduct a communication reset to clear special registers S3*8-S3*F. ("*" varies according to the link
number. For details, refer to "9.13.5.1 Special register for link.")
You can turn the special relay for a communication reset off then on to reset communications.
The I/O address of the communication reset special relay of each link number is shown in the table below.
Note 1: The communication reset is valid only when the special relay starts.
Note 2: Communication reset in the state of “Error code 0051 Duplicate IP address”, “Error
code 0052 Limit of processing performance” or “Error code 0053 Reception of frame
from own node”is invalid.
Note 3: If TOYOPUC functions as an originator and a communication reset is made without any
other party of connection, no error is notified to the connection error area for approx.
40 seconds after the communication reset.
Connection
Connection
No
connection
ON
V8#
OFF
Approx. 40 sec. Approx. 40 sec.
ON
S3*8-0
OFF
Power-on
9-164
Note 4 : The target turns the bit in the connection error area on only if the connection in a normal
state becomes faulty. For this reason, if a communication reset is made at a target
connection, which has become faulty due to a broken wire or the like from a normal state,
the bit in the connection error area remains turned off.
No connection continues
Broken wire, etc. due to broken wire or the
like.
Connection
Connection
No
connection
ON
V8#
OFF
ON
S3*8-0
OFF
ON because an Remains turned OFF after a
Power-on error is caused from communication reset until the
a normal state. connection changes from the
normal state to an error.
Link No. 1 2 3 4 5 6 7 8
# 0 1 2 3 4 5 6 7
* 0 2 4 6 8 A C E
9-165
9.13.7. Disconnection function
If a bit of the connection corresponding to the connection error status area is turned on and "notification of
a communication error" is selected with a link parameter, the CPU is notified of a communication error
when an originator or a target exits out of the network.
With the disconnection function, the communication error caused by a disconnected connection is
authorized while communications with other normal connections are continued. If "notification of a
communication error" is selected with a link parameter, the CPU is not notified of an error even when
disconnection occurs.
With this function, a specific originator or target can be disconnected from the communication network
without causing a connection error.
* 0 2 4 6 8 A C E
9-166
Designation of target of disconnection
The disconnection status of each originator or target can be retained only if the address of the
disconnection register area is entered with a link parameter.
+1 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
+2 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
+3 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
+4 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
+5 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
+6 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
+7 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112
9-167
9.13.8. Input/Output setting at an error
The input data at an error in EtherNet/IP communications and the output data issued upon stoppage of
operation can be entered with a link parameter.
Input
Select whether the data in the input area is held or turned off at a communication error or upon
disconnection.
Note : The input area is reset to zero (0) at power-on or reset start of the CPU without relations to the
hold/OFF setting because the communication section of the module is reset.
Hold:
OFF:
9-168
Output
Select whether the data in the output area is held or turned off upon stoppage of operation.
Hold:
OFF:
The output data is reset to 0000h upon stoppage of operation. (The value in the output area
(register) remains unchanged.)
9-169
9.13.9. Difference from earlier communication modules
While the EtherNet/IP function some of the specifications are different from those of earlier remote IO
networks such as PC Link, DeviceNet and FL Remote.
Differences are described below.
9-170
9.13.10. Connection examples
A connection example of the data link over EtherNet/IP between two units of TOYOPUC using the
instance ID is shown.
Use instance ID communication to send/receive I/O data through a single connection in two direction from
the target to originator and from the originator to target.
As shown in the configuration example below, use two units of TOYOPUC to establish a data link over
EtherNet/IP with instance ID communication. Suppose that the unit of TOYOPUC on the left side is called
"A" and that on the right side is called "B."
In this example, "A" is used as an originator and "B" is used as a target to send/receive data between the
two: "A" sends "B" 256 bytes of data and "B" sends "A" 512 bytes of data.
First, enter link parameter settings of "B" (target).
Configuration
example
A B
Switching hub
TOYOPUC TOYOPUC
Originator Target
Output area D200L I/O data 256 bytes R200L Input area
256 bytes : : 256 bytes
D27FH RPI : 50ms R27FH
9-171
Continued from previous page. Enter parameter settings of "A" (originator).
Configuration
example
A B
Switching hub
TOYOPUC TOYOPUC
9-172
9.13.10.2. Connection example 2 of instance ID communication
Up to eight data areas can be entered to a single connection with EtherNet/IP link parameter settings of
TOYOPUC. Multiple areas are sent simultaneously and the receiver separates and stores the received
data.
In the following configuration example, two units of Plus are called "A" and "B" similarly to connection
example 1.
"A" uses three reception areas and one transmission area defined in the link parameter.
"B" uses two reception areas and two transmission areas defined in the link parameter.
Note : Consistency must be kept in the communication data amount of the connection.
First, enter link parameter settings of "B" (target).
Configuration
example A
A B
Switching hub
TOYOPUC TOYOPUC
IP address: 192.168.1.1 IP address: 192.168.1.2
Originator Target
D000L D000L
Input area : : Output area
512 bytes : : 512 bytes
D0FFH Input D0FFH
I/O data 1024 bytes Output
data
RPI : 50ms data
R000L R000L
Input area :
256 bytes : Output area
R07FH 512 bytes
:
R0FFH
R100L
Input area :
256 bytes R17FH
Connection point: 101
9-173
Continued from previous page. Enter parameter settings of "A" (originator).
Configuration
example
A B
Switching hub
TOYOPUC TOYOPUC
IP address: 192.168.1.1 IP address: 192.168.1.2
Originator Target
D000L D000L
Input area : : Output area
512 bytes : : 512 bytes
D0FFH Input D0FFH
I/O data 512 bytes Output
data
RPI : 50ms data
R000L R000L
Input area :
256 bytes : Output area
R07FH 512 bytes
:
R0FFH
R100L
Input area :
256 bytes R17FH Connection point: 101
9-174
9.13.10.3. Connection example 3 of instance ID communication
Use instance ID communication to send data from the target to the originator.
Enter 0 byte for data transmission from the originator to the target so that the target-to-originator data link
only is apparently established.
In the following configuration example, two units of Plus are called "A" and "B" similarly to connection
example 1.
Originator "A" receives 512 bytes of data from target "B." No data is sent from "A."
First, enter link parameter settings of "B" (target).
A B
Switching hub
TOYOPUC TOYOPUC
IP address: 192.168.1.1 IP address: 192.168.1.2
Originator Target
Enter "0" as a
connection point of
the input area.
Clear the "Auto"
check box of
Real-time format.
9-175
Continued from previous page. Enter parameter settings of "A" (originator).
Configuration
example
A B
Switching hub
TOYOPUC TOYOPUC
IP address: 192.168.1.1 IP address: 192.168.1.2
Originator Target
Parameter settings
IP address of the
of originator other party of
communication
Enter "254" as a
connection point of
the output area.
Select "HeartBeat."
9-176
9.13.10.4. Connection example of cases where multiple connections are used
Between originator "A" and target "C," 512 bytes of data are sent from the target to originator while 256
bytes of data are sent from the originator to target.
Between originator "A" and target "B," 8 bytes of data are sent from the target to originator while 128 bytes
of data are sent from the originator to target.
In this way, "A" functions as two originators, each of which has established connections for
communications.
Configuration
example
A Switching hub
C
B
Originator Target
Originator Target
9-177
Link parameter settings of TOYOPUC "B" (target)
Configuration
example
A Switching hub
C
Link parameter
オリジネータ ターゲット
コネクションポイント:100
Input area D000L R000L
I/O データ 512 バイト 出力領域
512 バイト : : 512 バイト
D0FFH RPI : 100ms R0FFH
コネクションポイント:101
Output area D400L I/O データ 256 バイト R400L 入力領域
256 バイト : : 256 バイト
D47FH RPI : 100ms
R47FH
Originator Target
9-178
Link parameter settings of TOYOPUC "C" (target)
Configuration
example
A Switching hub C
B
Link parameter
EF10
TOYOPUC EF10
TOYOPUC TOYOPUC
IP アドレス 192.168.1.1 IP アドレス 192.168.1.2 IP address: 192.168.1.10
オリジネータ Target
オリジネータ ターゲット
コネクションポイント:102
I/O データ
入力領域 R000L 8 バイト R000L 出力領域
8 バイト : : 8 バイト
R003H RPI : 20ms R003H
コネクションポイント:103
I/O データ
出力領域 R100L 128 バイト R100L 入力領域
128 バイト : : 128 バイト
R13FH RPI : 50ms R13FH
9-179
Link parameter settings of TOYOPUC "A" (originator)
Configuration A Link parameter Switching hub C
example
B
Originator Target
Originator Target
9-180
9.13.10.5. Connection example 1 of tag communication
In tag communications, letters (in upper or lower case), numbers and symbols (some symbols may not be
used) can be used as a connection point name.
In this example, the connection point of the target is named "Tag1."
The data link of tag communication is in only one direction: from target to originator.
In the following configuration example, units of Plus are called "A" and "B," similarly to instance ID
connection example 1.
"A" uses two reception areas defined with link parameters.
"B" uses two transmission areas defined with link parameters.
Note : Consistency must be kept in the communication data amount of the connection.
First, enter link parameter settings of "B" (target).
Configuration
example
A
A B
Switching hub
TOYOPUC TOYOPUC
IP address: 192.168.1.1 IP address: 192.168.1.2
Originator Target
D000L D000L
Input area : : Output area
512 bytes : : 512 bytes
Input I/O data 768 bytes Output
D0FFH data data D0FFH
RPI : 50ms
9-181
Continued from previous page. Enter parameter settings of "A" (originator).
Configuration
example
A B
Switching hub
TOYOPUC TOYOPUC
IP address: 192.168.1.1 IP address: 192.168.1.2
Originator Target
D000L D000L
Input area : : Output area
512 bytes : : 512 bytes
Input I/O data 768 bytes Output
D0FFH data data D0FFH
RPI : 50ms
9-182
9.13.10.6. Connection example 2 of tag communication
In case of tag communication, the data link is in a single direction from the target to originator.
To establish a bidirectional data link, define two connections.
In the following configuration example, two units of Plus are called "A" and "B," similarly to connection
example 1.
At the first connection (connection point Tag1), 8 bytes of data are sent from target "B" to originator "A."
At the second connection (connection point Tag2), 16 bytes of data are sent from the target "A" to
originator "B."
For the parameter entry method of each connection, refer to tag communication connection example 1.
Configuration
example
A B
Switching hub
TOYOPUC TOYOPUC
IP address: 192.168.1.1 IP address: 192.168.1.2
Originator Target
Target Originator
9-183
9.13.10.7. Connection example 1 of multicasting
EtherNet/IP can handle multicasting in which the same data is sent from a target to multiple originators
simultaneously. (The originator cannot multicast.)
In this section, a connection example of multicasting is explained for instance ID communication.
Three units of Plus are called "A," "B" and "C" similarly to a previous connection example.
512 bytes of data are sent from target "C" to originators "A" and "B" in multicasting.
Originator "A" sends 256 bytes of data to the target "C" in the point-to-point mode.
No data transmission is made from originator "B."
Configuration
example A Switching hub
C
B
Originator Target
Originator
9-184
Follow the procedure described on the previous page to enter link parameters of originator "A."
Configuration A Switching hub
example C
B
Originator Target
Originator
Parameter settings of
originator "A"
9-185
Follow the procedure described on the previous page to enter link parameters of originator "B."
Configuration A Switching hub
example C
B
Originator Target
Originator
Parameter settings of
originator "B"
Select "HeartBeat."
Enter "254" as a
connection point
of the output area.
9-186
9.13.10.8. Connection example 2 of multicasting
Three units of Plus are called "A," "B" and "C," similarly to a previous connection example.
Target "C" sends 8 bytes of data to originators "A" and "B" in multicasting.
"A" and "B" merely receive because they are originators.
First, enter link parameters of target "C."
Configuration
example A Switching hub
B C
Originator Target
Originator
9-187
Follow the procedure described on the previous page to enter link parameters of originator "A."
Originator Target
Originator
9-188
Follow the procedure described on the previous page to enter link parameters of originator "B."
Configuration A
Switching hub
example
C
B
Originator Target
Originator
9-189
9.13.10.9. Connection example to a third-party's scanner
Some devices made by other than us are provided with a port address and link address. Refer to the
instruction manual and EDS file of the corresponding device when entering the link parameters.
Some devices made by other than us allow only the instance ID originator function settings. (Target
settings are not provided.) If this is the case, you can define TOYOPUC as a target of instance ID to
connect.
Some devices made by other than us do not accept an arbitrary RPI value even when they function as a
target. In this case, even if an RPI is entered at the originator TOYOPUC, the RPI follows the setting of
the other party of communication.
For details, refer to the instruction manual and so on prepared for the third-party's product.
If the third-party's product is provided with a port address, refer to the instruction manual or [Port] entry of
the EDS file.
In the following example, suppose that the [Port] entry of the EDS file of the other party of communication
(third-party's scanner) shows "Port1=Backplane." The port number of this device is "1."
Note: While the [Port] entry of the EDS file has "TCP" description (for Port2 in this example), the
TCP port has nothing to do with the port number entered as a link parameter. For this
reason, do not enter the TCP port number as a port number of the link parameter.
First, enter the settings of the target third-party's scanner while referring to the instruction manual or the
like.
Configuration
example
A Switching hub
Third-party's scanner
TOYOPUC
IP address: 192.168.1.1 IP address: 192.168.1.20
Originator Target
EDS file
Because the [Port] entry of the EDS
file shows "Port1=Backplane," this
device uses port number 1.
[Port]
Port1 = Backplane,
“Backplane”,
:
Port2 = TCP,
9-190
Follow the procedure described on the previous page to enter link parameters of TOYOPUC.
Configuration
A Switching hub
example
Third-party's scanner
TOYOPUC
IP address: 192.168.1.1 IP address: 192.168.1.20
Originator Target
9-191
9.13.10.10. Connection example of third-party's adaptor
Suppose that the adaptor used in this example uses 8 digital input points and 8 digital output points.
Follow the description given in the instruction manual of the adaptor to enter IP address and other
necessary data to the adaptor.
Next, find the serviceable instance ID in the adaptor instruction manual.
In the instruction manual, you find a list table of instance ID and functions under an "Assembly Instance"
name. According to the table, "108" is assigned as a digital input data instance ID and "102" is assigned
as a digital output data instance ID.
Configuration
Switching hub
example
8 digital 8 digital
input points output points
TOYOPUC
Third-party's adaptor
IP address: 192.168.1.1 IP address: 192.168.1.30
Originator Target
Target
Adaptor
instruction
manual
Assembly Instance
Instance 101(65hex) For analog/digital output data
Instance 102(66hex) For digital output data
•
•
Instance 108(6Chex) For digital input data
•
•
9-192
Follow the procedure described on the previous page to enter link parameter settings of TOYOYPUC.
Configuration Switching hub
example
8 digital 8 digital
input points output points
TOYOPUC
Third-party's adaptor
IP address: 192.168.1.1 IP address: 192.168.1.30
Originator Target
Target
9-193
10. Display
The message display of the PC10G provides three CPU monitor modes, that is, "Operation status
monitor", "Error code monitor", and "Link communication status monitor”.
Every time the MODE button is pressed, the display monitor mode can be changed easily, like
"Operation status monitor" ⇒ "L1 status monitor" ⇒ "L2 status monitor" ⇒ "L3 status monitor" ⇒
"Operation status monitor”.
PC10G-CPU
POWER RUN E/A CPU status display
W
P2 P3
L1 L2 L1 status display
L3
L2 status display
BATTER MODE
1st./
TIP-5426
2nd./ L3 status display
PC10G-CPU
POWER RUN E/A
W
P2 P3
L1 L2
L3
BATTERY MODE
1st./
TIP-5426
2nd./
10-1
10.3. Link communication status monitor
<L1 status display>
L1 has three link functions, that is, “FL-net”, “Ethernet”, and “FL-remote”.
Display when FL-net Display when Display when
is selected. Ethernet is selected. FL-remote is selected.
PC10G-CPU PC10G-CPU PC10G-CPU
POWER RUN E/A POWER RUN E/A POWER RUN E/A
W W W
P2 P3 P2 P3 P2 P3
L1 L2 L1 L2 L1 L2
L3 L3 L3
10-2
11. Tool
Tool has following functions
• I/O operation panel
• I/O check (for output)
This function can be operated since PCwin.
If you press Start when the [type] of the I/O button setting is in the state of "hold" with the CPU
being normally running, the bottom segment of the right-side 7SEG (LED) digit blinks as shown in
the figure below:.
PC10G-CPU
POWER RUN E/A
W
P2 P3
L1 L2
L3
11
BATTERY MODE Flashing
1st./
TIP-5426
2nd./
11-1
11.2. I/O Check (for Output)
This function is meant for output wiring check at the time of equipment start up. Output based on
I/O check function forcibly turns I/O ON/OFF ignoring the output of sequence program.
Kindly avoid using the equipment under operation and also take sufficient care for safety.
If you press Start in the state of CPU being normally running., the top segment of the right-side
7SEG (LED) digit blinks as shown in the figure below:
PC10G-CPU
POWER RUN E/A
W
P2 P3
L1 L2
L3 Flashing
BATTERY MODE
1st./
TIP-5426
2nd./
11-2
ATTACHMENTS 1 DIMENSIONAL OUTLINE DRAWING
ATTACHMENT 1-1 CPU Module
110 35
PC10G-CPU
POWER RUN E/A
W
P2 P3
L1 L2
L3
BATTERY
TIP-5426 MODE
1st./
2nd./
I/F
FL
L1 ET
RMT
130 L2
FL
ET
RMT
L1 Auto 10M
L2 Auto 10M
L1 SEL. DM
L3 T-ON T-OFF
*.**
START
RESET
L1
L3
L3
0V
L2 L-
L+
SN/PC/CMP
At1-1
ATTACHMENT 1-2 Power modul
At1-2
ATTACHMENT 1-3 Selector module
At1-3
ATTACHMENT 1-4 I/O modul
At1-4
ATTACHMENT 1-5 Base Exterior dimensions/Setting length
15.5
409 112
130
86
8 slot base2(THR-2872)
8 slot base2(THR-2766)
I/O divergence module
6 slot base2(THR-2813)
(THU-2774)
4 slot base2(THR-2775)
2 slot base2(THR-2814)
178
193 ( 2slot )
249
264 ( 4slot )
320
264 ( 4slot )
391
406 ( 8slot )
(THR-5643)
At1-5
ATTACHMENTS 2
ATTACHMENTS 2-1 Module type identification code
The module type identification code is a hexadecimal 2-digit (00-FF) value assigned by each
module type, a code used for I/O module assignment parameter, etc.
I/O occupying point number is a hexadecimal 2-digit value (any of 00, 16, 32, 48, and 64) assigned
per each module type, a point number used for I/O module assignment parameter, etc.
They can be set by various programmers (such as PCwin).
Assignment
Module type Type identification code Note 1
point number
IN-11 AC100/115 input 0F 16
Input
I/O-329G common 3F 64
Transistor output 16 points (+)
common
PC/CMP-LINK For PC link B2 00
PC/CMP2-LINK For computer link B3 00
2PORT-LINK 2-port link Note 2
2PORT-M-NET 2-port M-NET B2 00
HPC-LINK
High-speed PC link B9 00
HPC-LINK2
8KB C9 00
FL-net FL-net 16KB D9 00
Communication
32KB E9 00
ME-NET ME-NET C4 00
RMT-I/O M High-speed remote I/O master B8 00
EN-I/F Ethernet B3 00
S-LINK S-link Note 3
B7A-I/F B7A interface 06 32
MPLX-TR-I/F Multiplex transmission I/F BC 7F 00 00 *
J-DLNK-M
J-DLNK-M2 DeviceNet B8 00
J-DLNK-S2
AS-i M ASi interface B8 00
2PORT-EFR 2-port FL/ET/RMT Note 4
FL-remote-M FL-remote master B8 00
Module not mounted 7F 00
At2-1
Assignment
Module type Type identification code Note 1
point number
COUNTER High-speed counter 28 64
AD Analogue input 29 64
DA Analogue output 0A 32
SIO Serial I/O B5 00
AF1KA-C 1-axis CNC system controller
BE 7F 00 00 *
MA1KA-C Multi-axis motion controller
AF1VI-C Absolute 1-axis CNC 2C 7F 64 00 *
Special
At2-2
ATTACHMENTS 2-2 Current consumption of various modules (Typ.)
Consumerd Current
Module name Module name
current(mA) consumption (mA)
180 (5VDC main
SELECTOR 31 J-DLNK-M
unit side)
25 (24VDC
SELECTOR BASE 32 (8,6,4 slot)
communication unit)
300 (5VDC main
IN-11,12 60*1 J-DLNK-M2
unit side)
40 (24VDC
IN-22D 63*1
communication unit)
100 (5VDC main
IN-22H 100*1 J-DLNK-S
unit side)
25 (24VDC
OUT-1,4 174*1
communication unit)
180 (5VDC main
OUT-3 356*1 J-DLNK-S2
unit side)
25 (24VDC
OUT-11 336*1
communication unit)
OUT-12 380*1 COUNTER 300
OUT-15,16 310*1 CT10 200
OUT-18,19 136*1 AD 140
OUT-28D,29D 210*1 DA 670
I/O-328G 330*1 SIO 310
I/O-329G 330*1 SC10 240
PC/CMP-LINK AF1KA-C 1000
170
PC/CMP2-LINK MA1KA-C 1000
2PORT-LINK 330 AF1VI-C 1900
2PORT-M-NET 150 PC1-I/O-I/F 200
ML10 150 ID I/F 1ch 170(5VDC)
HPC-LINK 190(24VDC)
250
HPC-LINK2 ID I/F 2ch 190(5VDC)
FL/ET-T-V2H 600 380(24VDC)
2PORT-EFR 1100 SUB-CPU 380
ME-NET 600 PULSE OUT 250
RMT-I/O M 210 SIO-M 310
100 (When no
MEMORY
RMT-I/O S 210 memory card is
CARD-I/F
available)
EN-I/F 600 DIAGNOSTIC 650
S-LINK 100 PROFI-S2 500
B7A-I/F 100 PROFI-S2O 560
MPLX-TR-I/F 700
*1 Current consumption of I/O module is a value when all points are on (Typ).
At2-3
ATTACHMENT 2-3 Error in self-contained clock
TOYOPUC-PC10G self-contain a quartz oscillator type clock. The quartz oscillator provides high
precision oscillation frequency, but it fluctuates slightly depending on temperature.
The chart below shows the frequency - temperature characteristic of the quartz oscillator for reference
use.
Temperature (ºC)
-10 0 10 20 30 40 50 60 70
0
-20 is sec/day.
-30
f/f
-40
(ppm)
-50
-60
-70
At2-4
ATTACHMENT 2-4 Hexadecimal system
The hexadecimal is one type of numerical expression, wherein the digit is carried over every 16.
(EX.)
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F,
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 1A, 1B, 1C, 1D, 1E, 1F,
20, •••
Hexadecimal expression
Higher Lower
23 22 21 20 In the case of hexadecimal system, numerals 0 - 15 are
Hexa-de
cimal
0 0 0 0 0 Higher Lower
0001 0011 1010 1100 0101
0 0 0 1 1
1 3 A C 5
0 0 1 0 2
13AC5(13 thousand A hundred C5)
0 0 1 1 3 Also, 16 bits are expressed as follow.
0 1 0 0 4 Higher Lower
0001 0010 0011 0100 1234
0 1 0 1 5
1010 1011 1100 1101 ABCD
0 1 1 0 6
1 0 0 0 8
0 and 1 status in each bit can be well understood by use of
1 0 0 1 9 hexadecimal expression.
1 0 1 0 A
1 0 1 1 B
1 1 0 0 C
1 1 0 1 D
1 1 1 0 E
1 1 1 1 F
At2-5
The descriptive contents of this Manual are subject to change due to
better improvement of applicable product without prior notice.
This Manual is issued after careful check and review of the contents
thereof. However, should any doubt or any descriptive error be
found in the contents, please feel free to contact us.
It is prohibited to copy and transfer , wholly or partly, the descriptive
contents of this Manual to others.
Manual No.
T-335-21-E