Issue : 2024. 5. 10
Ｎｏ． T712C03Ie

I

RFID System Z Series
Technical Manual for Identification Processor
Type code : Z4-C001
CC-Link Interface

Thank you very much for purchasing the RFID system Z series of B&PLUS lately.
Before using this Processor, read this manual carefully and operate properly, paying attention to the safety
aspects.

Processor

Z4-C001

Safety Considerations（Please read this before use）
Before using this Processor, read this manual carefully and operate properly, paying attention
to the safety aspects.
Incorrect handling may cause not only malfunction or failure, leading to an accident or injury.
In this manual, the instructions are described in the following two levels.

CautionAttention

Application

The incorrect handling may cause hazardous conditions that lead to death orserious injury.
The incorrect handling may cause hazardous conditions that lead to injury ofhuman or equipment.

◆ This manual applies to Processors in Z4-C001.
◆ Carefully read this manual before using the Processor and handle the productcorrectly.
◆ Installation and operation should be carried out by trained personnel who has
knowledge of electrical equipment.

◆ Even if the abnormality of power supply and this product break down, please

Designconsiderations

design the system so that the whole system acts on the safe side.
◆ About power supply and using conditions, be carefle not to exceed the range of
specifications.
◆ About the standard or the rule, to which your equipment should adapt, please do

Cautionappropriate measures after confirm by yourself.
It is the responsibility of the operator to ensure that the locally applicable safety
regulations are maintained.

Wiringconsiderations

Attention◆ Wiring should be carried out after the power is turned off.
◆ When wiring the Processor, follow the chapters containing the wiring diagrams
closely, and wire all connections properly.
Incorrectly connected wiring may cause malfunction or unexpected problems.

◆ Unauthorized work and improper use will void the warranty and liability.

Usage◆ Please carry out the periodical confirmation of the system including setting

considerations

environment and the apparatus concerned.

Attention◆ The Processor must be operated only using approved power supplies.
There is a risk of fire or heat generation exceeds the rated voltage power is being
supplied.
◆ Be sure to turn off the power before cleaning, maintenance and failure treatment.
Do not touch the terminals while the electricity is on.
◆ Do not disassemble or modify the Processor. It may cause failure, malfunction,
injury or fire.
◆ When disposing of the Processor, treat it as industrial waste.

＜ Note >(1) Specifications and contents in this manual are subject to change without notice(2) Please let us know if there is any mistake or notice in this manual-2-Processor

Contents

1. Description
1.1

Description.................................................................................................

4

1.2

System configuration................................................................................. 4

1.3

Components and applicable units......................................................... 5

2. Specifications of the System
2.1

Specifications.............................................................................. ................ 6

2.2

Dimension..................................................................................................... 7

2.3

Names of Parts............................................................................................ 7

3. Installation
3.1

Procedure of Installation............................................................................8

3.2

Processor Installation................................................................................ 8

3.2.1

Setting Condition......................................................................................... 8

3.2.2

Processor fixation ...................................................................................... 8

3.3

Wiring .............................................................................................................. 9

3.4

Capabillities and configuration of the switch...................................11

3.4.1

Configuration switch ............................................................................... 11

3.4.2

Reset switch............................................................................................... 12

3.5

LED indication..............................................................................................12

4. Communicating Function
4.1

Communicating Function..........................................................................13

4.2

Memory Address of Data carrier.............................................................13

4.3

Input-Output Signal.....................................................................................14

4.3.1

Input-Output Signal list..............................................................................14

4.3.2

Input-Output Signal details........................................................................15

4.4

Remote Register allocation......................................................................18

4.4.1

Remote Resistor list...................................................................................18

4.4.2

Remote Resistor details............................................................................19

4.5

Date Processing time.................................................................................23

5. Communication with Data carrier
5.1

Features that you should know before programming......................24

5.1.1

Data structure(Processing unit).............................................................24

5.1.2

Faulty Condition of Data Link...................................................................24

5.1.3

Notes at the time of Programming........................................................25

5.2

System be used in this Chapter..............................................................26

5.3

Sequence Program for ACPU.................................................................. 27

5.4

Basic Format of Program......................................................................... 28

5.5.

Processing Program when fault condition occurred........................30

5.6

Initial Setting................................................................................................. 31

5.7

Communication statement........................................................................35

5.7.1

Reading Instruction (RD, CR).................................................................. 35

5.7.2

Sequence Reading Instruction (AR, SR)............................................. 38

5.7.3

Writing Instruction (WD, CW)....................................................................41

5.7.4

Sequence Writing Instruction (AW, SW).............................................. 44

5.7.5

Batch Writing Instruction (FI)................................................................... 47

5.7.6

Comparision Instruction (CM).................................................................. 49

5.7.7

Clear Instruction (CL)............................................................................... 52

5.7.8

Stop Command of Sequence Instruction.......................................... 54

5.7.9

Error Cancellation Instruction...................................................................54

6.Trouble Shooting
6.1

List of Error code...........................................................................................55

6.2

Trouble shooting............................................................................................56

6.2.1

Confirming Procedure with LED indicator.............................................56

6.2.2

Procedure for Fault of Data Link..............................................................58-1-

Z4-C001

１.

Description

Processor

1.1 Description[B&PLUS RFID System Z series] is an RFID System system for factory automation that executes reading andwriting data by inductive coupling principle.
Processor Z4-C001 is connected to CC-Link as a remote device station and communicates with Sequencer
CPU of master / local station.
There can be 2 Read/Write heads connected to the Processor, and it executes read/write communication with
Data carrier per each channel separately.
It is possible to read and write data to Data carrier from Sequencer CPU with programming an easy sequence
program.

1.2 System configuration

IDProcessor
コントローラRead/WriteHead

ID アンテナ

Data
ID タグcarrier

CH1
CC-Link

Master
マスタ局unit

CH2

CC-Link
外部電源 (24VDC)
External
Power unit
(24VDC)

Component
Data carrier
Read/Write head
Processor

Function
A data medium that stores and retains information (data).
It reads and writes Data carrier information/data without physicalcontact aswell as supplies power for Data carrier.
When it receives instructions from Sequencer CPU, it executes
reading orwriting data to or from Data carrier.It can be connected 1 or
2 Read/Write head(s).

[Note for System construction]
The occupied stations of Processor Z4-C001 is 4 stations, therefore, plural
Processors can be connected to a master unit within the allowable number of station.
Please decide the number of Processors to be connected to the master unit in considering
the following points.
(1) Maximum number of connectable stations for master unit is 16. (occupied 64 stations)(2) The number of occupied station of the units (input/output card etc.) except Processors,
and Input/Output occupied numbers.
(3) Processing time as well as influence to tact time in programming (ladder).

-4-

Z4-C001

１.

Description

Processor

Z4-C001

1.3 Components and applicable units
The construction of components of CC-Link system that can be used by the Processor Z4-C001 and applicable units
are indicated by the following.
The Processor cannot be connected to other units.

Sequencer
CPU unit
The applicable CPU units are different
by Master unit. Refer to the manual(published by Mitsubishi Electric)of Master unit showed on the rightcolumn.

CC-Link Master unit
- AJ61BT11/ A1SJ61BT11/ AJ61QBT11/ A1SJ61QBT11(After 9707B is indicated in DATE)- QJ61BT11 / QJ61BT11N / LJ61BT11

Processor
Notes
Z4-C001- this product cannot be used with the safe
CPU(QS001CPU).
- When the duplexing CPU(QnPRH CPU) is used,
this product cannot be attached to the Baseunit.
- When confirm about the combination of the
CPU unit and the Base unit, refer to the manualof Mitsubishi Electric corp for MELSEC-Q CPU.

External Power
Unit (24VDC)

Cable
Z7-A005-PU__
Z7-A006-PU__

Read/Write head
*1：Data carrier specification
112 byte type : ISO 15693 based		
Memory type EEPROM
		Memory capacity 112byte(56word）
		
Writing 100,000 times/reading Unlimited

Z3-A010-CN

2K byte type : ISO 15693 based		
Memory type FRAM			
Memory capacity 2000byte(1000word）
		
Writing 10 billion times/reading Unlimited

Z1 series

Identification communication
Data carrier

-5-

2.

Specification of the System

Processor

Z4-C001

２．１ Specification
Type code
Z4-C001
Power supply
24V DC ± 10%
Current consumption
0.8 Ａ
CC-Link version
Ver. 1.10
Sort of CC-Link station
Remote device station
Occupied station
4 stations (RX/RY each 128, RWr / RWw each 16 words)
Applicabel R/W head
Z3-A010-CN
Connection to Read/Write head D-sub 9 pin connector
Cable length R/W heads
5m standard (max.25m)
Number of connectable r/w head ２
Applicable Data carrier

2K byte: Z1-AA04-02K
112 byte: Z1-CB16-112, Z1-CB27-112, Z1-CB45-112, Z1-BB10-112. Z1-B011-128※ Communicating data
Communicating address range(word address)

0 ... 999

Data amount per 1 communication
with master unit

CH1 Using only 1ch：1 ... 12 words、
CH1,CH2 Using both 2 channel：1 ... 5 words

ID Data amount per 1 communication
with head and Data carrier

1...1000words

Power: 3 pole terminal block (M3.5, Tightning torque 0.59 … 0.88 N.m)
CC-Link: 4 pole terminal block (M3.5, Tightning torque 0.98 … 1.37 N.m)
Suitable cable outer diameter (mm2) 0.75 ... 2.00mm2
Suitable crimping terminal
RAV1.25-3,RAV2-3.5 (JIS C 2805 )Mounting screw for unit=>M4 x 0.7mm x 16mm (tightening torqe :78...1.18N･cm)
Dimensions
174(W) × 100(H) × 45(D)Operating temperature, humidity
0...+55℃， 35...90%RH (not in dew condensation)
Storage temperature, humidity-20...+75℃ , 35...90%RH (not in dew condensation)
Frequency
Acceleration
Amplitude
Sweepage
Vibration rating
10 ～ 57Hz－
0.075mm
10 times
1octave/1min. *57 ～ 150HZ
1G－
Shock rating
10G, 3 times to each axis XYZTerminal blocks

Noise durability

Not to cause malfunction with noise simulator that has noise voltage
800V P-P,
noise width 1 micro S to external power unit DC24V noise frequency
25...60Hz.

Operating atmosphere
WeightWithout corrosive gas, heavy dust
approx. 800g

* 1 octave ...Initial frequency increases to double or decreases to half.
All the following change is also 1 octave. (10Hz → 20Hz, 20Hz → 40Hz, 40Hz → 20Hz, 20Hz → 10Hz)※【Note】 Read/write command can be available up to 1000words (3E8H)
If larger command than memory capacity is given to Data carrier of 112bytes (56 words), Processor
will accept and execute it. In that case, read/write function is normally executed within the memory
range,
but "Data carrier communication error" has occurred outside of the memory range.
For example, when the command "write to Z1-xxxx-128 (Mifare 56 words) from 0 to 1000 words" is
executed.
"Data carrier communication error" happen after writing up to 376 words.

-6-

2.

Specification of the System

Processor

２．2 Dimension

２．3 Names of Parts

⑥

④

⑤

①
①
②
③
④
⑤
⑥

③

②

Terminal block for Power supply
Terminal block for CC-Link
Connector for R/W head
Configuration switch(Reference 3.4.1)
Reset switch（Reference3.4.2）
LED indication(Reference 3.5)

-7-

Z4-C0013.

Installation

Processor

Describes the installation environment and Handling Precautions in installation of Processor.
3. １ Procedure of installation
Installation of Processor Z4-C001

Creating a data set

wiring of read/write head and CC-Link

Creating a user program

Initial setting of Processor
Switch (「GX Developer」use)

Turning on Processor

Communication test
Start operation
3. 2 Processor Installation
3.2.1 Setting condition
Please install Processor avoiding situations where ;- May be subjected to direct sunlight, such as outdoors.
- Operating temperature exceeds 0..55 degree C.
- Dew condensation caused by severe tempareture change.
- Relative humidity exceeds 35...90%RH.
- Processor is exposed to heavy corrosive gas, combustible gas, or dust.
- Shock or vibration directly to Processor.
- Water, oil or chemical is sprayed on the Processor.

Although this product suits EMC instructions and CE mark is displayed, I am doing the examination in thestate of the installation in an operator control panel like the Sequencer.

≪ Attention ≫Please install Processor in board with particular attention to following points.
- Well ventilated space.
- Processor should not be installed close to devices which generates high heat, such as a heater, transformer
or High capacity resistor.
- The surface temperature of Processor may become more than 55 deg.C. by self-fever.
Some measure to install a fan or a heat exchanger should be taken so that the board inside keeps under 55
deg.C.

3.2.2 Processor fixation
The Processor is attached in the mounting hole ( φ 4.2mm) in a flange using two M4 screws.
Tightening torque 0.78...1.18N・m-8-

Z4-C0013.

Installation

Processor

3．3 Wiring
24VDC+ - FGDA

DB①
External energizer
and FGDG
SLDANTENNA
CH1
CH2

②

③

CC-Link

Read/Write
head
（CH1）

Read/Write
head
（CH2）

① Wiring of an external energizer and FG
24VDC
24VDC
FG
++ -- FG

DA

DB

DG
SLD

ANTENNA
CH1
CH2・Connect [+] of 24V DC to terminal indicated [24V DC], [ - ] to terminal indicated [ - ].
・The FG terminal, please D grounding.
・Depending on the usage environment, there may be noise coming from the FG line.
Please remove the FG terminal in that case.

② Wiring of CC-Link
Refer to the user's manual for CC-Link system master and local unit.
Processor
ID
コントローラStation Unit

DA

DA

DB

DB

DG

DG

SLD

Dedicated
cable
CC-Link
専用ケーブルCC-LINK

SLD≪ Attention ≫- The wiring between the CC-Link, please use the dedicated cable CC-Link.
- If you use other cables, the performance of the system can not be guaranteed.
- Dedicated cable CC-Link, prepared by customer.
- Refer to the user's manual for CC-Link system master and local unit.
- "termination resistor" should be connected between DA-DB on both units at the end of CC-Link.
- In connecting termination resistor with DA-DB, use the termination resistor attached to master unit.

-9-Z4-C0013.

Installation

Processor

Z4-C001③ Wiring of Read/Write head
Reference the following diagram, when wiring the Read/Write head cable to the Processor.
There are two connectors CH1 and CH2 for connecting two heads.
[ Wiring diagram ]■ exclusive connector cable
Connector cable ：Z7-A005-PU-_ _Connector cable ：Z7-A006-PU-_ _■ exclusive connector cable(Twisted pair cable)
Connector cable ：Z7-A005A-PU-_ _Connector cable ：Z7-A006A-PU-_ _■ exclusive connector cable(Robot cable)
Connector cable ：Z7-A005A-RB-_ _Connector cable ：Z7-A006A-RB-_ _ＩＤコントローラ
Processor

ＩＤｹｰﾌﾞﾙ
Cable

Read/Write
ＩＤアンテナhead

Connector
コネクタ

Cable color［ｹｰﾌﾞﾙ色］

CH1/

7［ Yellow
黄 ］

A

1

CH2

9

［ Pink
桃 ］

B

3

5

［ Green
緑 ］

Z

5

4

［ Gray
灰 ］

Y

2

2

［ Red
赤 ］

VS+ 4

8

［ White
白 ］

VS-

3

(Shield) ）（ シールド線

ＩＤコントローラ
Processor

ＩＤｹｰﾌﾞﾙ
Cable

8

Read/Write
ＩＤアンテナhead

Connector
コネクタ

Cable color［ｹｰﾌﾞﾙ色］

CH1/

7［ Black
黄 ］

A

1

CH2

9

［Black/White
桃 ］

B

3

5

［ Green
緑 ］

Z

5

4

［Green/White
灰 ］

Y

2

2

［ Blue
赤 ］

VS+ 4

8

Blue/White
［
白 ］

VS-

3

(Shield) ）（ シールド線

ＩＤコントローラ
Processor

ＩＤｹｰﾌﾞﾙ
Cable

8

Read/Write
ＩＤアンテナhead

Connector
コネクタ

Cable color［ｹｰﾌﾞﾙ色］

CH1/

7［ Blue
黄 ］

A

1

CH2

9

［ White
桃 ］

B

3

5

［ Yellow
緑 ］

Z

5

4

［ Brown
灰 ］

Y

2

2

［ Green
赤 ］

VS+ 4

8

［ Black
白 ］

VS-

3

(Shield) ）（ シールド線≪ Attention ≫- Cable of Read/Write head should be kept apart from other power cable and high voltage machines.
- When installing Read/Write heads on a metal frame, the frame should be grounded to the protective
ground conductor.

- 10 -

8

3.

Installation

Processor

Z4-C001

3. 4 Capabilities and configuration of the switch
3. 4. 1 Configuration switch
Parts
Setting switch for station（STATION NO.）

Description
The second digit of station
0
10
20
30
40
50
60

Setting switch for write
protection (BLOCK NO.)
※ for CH1, CH2

Switch No.
20
OFF
OFF
ON
ON
OFF
OFF
ON

0
1
2
3
4
5
6
7
8
9

8
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
ON
ON

Switch No.
4
2
OFF
OFF
OFF
OFF
OFF
ON
OFF
ON
ON
OFF
ON
OFF
ON
ON
ON
ON
OFF
OFF
OFF
OFF

Transmission rate ofdata link
156k bps
625k bps
2.5M bps
5M bps
10M bps

4
OFF
OFF
OFF
OFF
ON

Switch No.
2
OFF
OFF
ON
ON
OFF

The first digit of station

Setting switch fortransmitting rate of datalink (B RATE)

40
OFF
OFF
OFF
OFF
ON
ON
ON

10
OFF
ON
OFF
ON
OFF
ON
OFF
1
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON

1
OFF
ON
OFF
ON
OFF

When a write command includes the area that is write protected,a write protection
error occurs.
Write protection can be set per "page" and details are shown as below;
Settingnil
0 page0... １ page
0... ２ page
0... ３ page
all

16
OFF
OFF
OFF
OFF
OFF
OFF

- 11 -

8
OFF
OFF
OFF
OFF
ON
ON

Switch No.
4
OFF
OFF
OFF
ON
OFF
ON

2
OFF
OFF
ON
OFF
OFF
ON

1
OFF
ON
OFF
OFF
OFF
ON

3.

Installation

Processor

3. 4. 2 Reset switch
Reset switch
（RST）

3. 5

Reset switch for hardware（Please push by using something long and slender stick.）<Operation after resetting>- Initialize remote register- Request of processing initial data will be ON- Renewal setting data of each setting switch

LED indication

Name of parts
PW
RUN
L RUN
SD
RD
L ERR.

CH1

SD
RD
ID-ERR.

IN-Z
CH2

SD
RD
ID-ERR.

IN-Z

Description
Light on : Power ON
Light off : Power OFF
Light on : Operating normally
Light off : Cut off power 24V DC,or WDT error
Light on : Communicating normally
Light off : Cut off communicating ( time over error )Light on while sending data
Light on while receiving data
Light on : Communicating data error (CRC error), station number,setting switch for transmitting rate of data link error
Blink regular interval
when setting switch for station number or transmitting rate ofdata link is changed while power is supplied.
Blink irregular intervalterminal resistor is not connected or unit or cable for CC-Link
is influenced by noise.
Light off : Communicating normally
Light on : while sending Read/Write head CH1
Light on : while receiving Read/Write head CH1
Light on : wrong condition Read/Write head CH1
when setting switch for block no. is out of set range
Blinking : when setting switch for block no. is changed (in set range)
Light off : normal condition
Light on : when detects inzone ※Light off : cable breakage of Read/Write headLight on : while sending Read/Write head CH2
Light on : while receiving Read/Write head CH2
Light on : wrong condition Read/Write head CH2
when setting switch for block no. is out of set range
Blinking : when setting switch for block no. is changed (in set range)
Light off : normal condition
Light on : when detects inzone
Light off : cable breakage of Read/Write head

※ The state which is present in the domain to which Data carrier can communicate- 12 -

Z4-C001

4.

Communicating Function

Processor

Z4-C001

4. 1 Communicating Function

The following functions can be performed with the Processor (Z4-C001).
Functions

Instructions &Commands

Instruction cod
ASCII
Hex.
RD
4452H
CR
5243H

Process

Reference

Reading

Reading

Reads data from Data carrier.
Compares data to confirmation.

5.7.1

Sequential
Reading

AR
SR

5241H
5253H

Writing

WD
CW

4457H
5743H

Executes reading in sequence until Data carrier 5.7.2
gets into communication area, and then executes
reading.
Writes data to Data carrier.
5.7.3
Compares data to check.

Sequential
Writing

AW
SW

5741H
5753H

Batch writing

FI

4946H

Check

Comparing

CM

4D43H

Compares data of Processor with data in data 5.7.6
carrieClearance
CommandClearing
CL
Stop Sequenc
instruction
Error
cancellation

4C43H

Clears specified area in Data carrier with "0"Cancels sequence instruction compulsively.

Writing

4. 2

Executes writing in sequence until Data carrier 5.7.4
gets into communication area, and then executes
writing.
Writes specified data to specified area in Data 5.7.5
carrier

5.7.7
5.7.8

Executes error canceling process.
5.7.9(Clearing error LED, resetting error detectedsignal,Clearing executing result store area inremote resis

Memory Address of Data carrier

The memory of the Data carrier has both address in byte(8 bits) and word (16 bits = 2 bytes), and it iscomposed of a block is unit of16 bytes(=8 words).
The memory of the Data carrier has both address in byte(8 bits) and word (16 bits = 2 bytes), and it iscomposed of a block is unit of16 bytes(=8 words).
It is recommended to use the word in data processing, even if in PLC and PC mixed system for compatibility ofdata.
(1)Address construction of Data carrier "memory"
Block（Page）
0
1
2
3
4
5
6

Word address (Hex.)
START
END
0
7
8
F
10
17
18
1F
20
27
28
2F
30
37
（omission）

122
123
124

3D0
3D8
3E0

3D7
3DF
3E7

112byte type
(EEPROM) is so far.

※ 1 block = 16 bytes = 8 words(2) Data store format of Data carrier "memory"
Word data

word address

12EFH

0H
Word address
It writes in [OH].

- 13 -

byte address
EFH

0H

12H

1H

4.

Communicating Function

Processor

Z4-C001

4．3 Input-Output Signal
Input-output signal (RX, RY) to the master unit of Processor (Z4-C001) is explained in this chapter.
Device [RX] is the input signal from the Processor to the master unit and Device [RY] is the output signal
from the master unit to the Processor.

4.3.1 Input-Output Signal list
Input-output signals of Processor (Z4-C001) are indicated in the following table.
Signal direction : from Processor to master unit
Device No. (input)

Signal direction : from master unit to Processor
Device No.（Output）

Signals

CH1

CH2

CH1

RXn0

RXn8

not useRYn0

Signals

CH2

Selecting initial setting

RXn1

RXn9

Comparing result signal

RYn1

Selecting processing unit

RXn2

RXnA

InzoneRYn2

Selecting number of channel

RXn3

RXnB

ID-BUSY

RXn4

RXnC

Identification instruction
completed

RYn3

RYnB

not use

RYn4

RYnC

Require executing
identification instruction

RXn5

RXnD

Error detection

RYn5

RYnD

not use

RXn6

RXnE

not use

RYn6

RYnE

not use

RXn7

RXnF

Require divided data

RYn7

RYnF

Divided data completed

RX(n+1)0 ～ RX(n+6)F

not useRX(n+7)0 ～ RX(n+7)7

not useRX(n+7)8RX(n+7)9

Flag for requiring toprocess initial data
Flag for finishing to
set initial data

RX(n+7)A

not useRX(n+7)B

Remote READY

RX(n+7)C ～ RX(n+7)F

not useRYn8 ～ RYnA

not use

RY(n+1)0 ～ RY(n+6)F

not use

RY(n+7)0 ～ RY(n+7)7

not use

RY(n+7)8
RY(n+7)9

RY(n+7)A ～ RY(n+7)F

Flag for finishing toprocess initial data
Flag for requiring to
set initial data
not usen : Address that was allocated to the master station with setting station number.

≪ Attention ≫- The devices that indicated as "Unavailable" should not be used by user as they are used in the system.
- If any "Unavailable" device is used by the user, normal operation would not be warranted.

- 14 -

4.

Communicating Function

Processor

Z4-C001

4.3.2 Input-Output Signal details
Details of Input-Output signals of processor ( Z4-C001 ) is indicated in the following table.
(1) Remote Input (RX)Device No.
CH1
CH2

Signals

Contents

RXn1

RXn9

Comparing result
signalON when comparing result is in agreement after reading, writingor comparing (CR,SR,CW,SW,CM).
It will be cleared with resetting of RYn4,RYnC, latch the othersetting with SET instruction when the comparing result is needed
to retain.

RXn2

RXnA

InzoneON while inzone has been detected in executing sequence
instruction (AR,SR,AW,SW).

RXn3

RXnB

ID-BUSY

ON when instruction is executing, and OFF when the instruction
is finished executing.

RXn4

RXnC

Finish identification
instruction

ON after instruction is executed, and finished executing instruction
normally.
It remains OFF when executing instruction is stopped withsequence instruction cancellation while executing sequence
instruction (AR,SR,AW,SW). When error is occurred, it won't be
ON, and error detection signal (Xn5,XnD) will be ON.
Require executing
Identification instructionor special instruction
ID-BUSY
Finish identification
instruction

RXn5

RXnD

Error detection

OFF when require executing identification instruction(RYn4,RYnC) is OFF.
Error cancel instruction
Require executing
identification instructionor special instruction
Error detection
Executing error cancel

Error occur

Executing error cancel

RXn6

RXnE

UnusedUnusedRXn7

RXnF

Require divided data ON flag for requiring divided data to require next data whentreating data exceeds certain quantity (using 1 channel : 12words, 2 channel : 5 words). Executes reading or writing whenrequire divided data flag is ON. ON finish divided data flag when
executing read or write data. After that, require divided data flag
will be OFF, then finish divided data flag.
Require divided
data
Finish divided
data- 15 -

Executing read and write

4.

Communicating Function

Device No.
CH1
CH2
RX(n+1)0...
RX(n+3)F
RX(n+7)8RX(n+4)0...
RX(n+6)F

Processor

SignalContents

UnusedUnusedFlag for requiring
to process initial
data

ON, OFF timing of requiring to process initial data, finishing toprocess, finishing to set, and requiring to set are indicated asfollows.
Flag for requiring to process
initial data RX(n＋7)8
Flag for finishing to process
initial data RY(n＋7)8RX(n+7)9

Flag for finishing
to set initial data

Flag for finishing to set
initial data RX(n＋7)9
Flag for requiring to set
initial data RY(n＋7)9Remote READY
RX(n＋7)B

Execute initializing

Executed by sequence program
Executed by processor
RX(n+7)B

Remote READY

ON when processor finished setting of initial data and became
ready after power is on or resetting of hardware.

- 16 -

Z4-C001

4.

Communicating Function

Processor

Z4-C001(2) Remote output (RY)
Device No.
CH1
CH2

Signals

Contents

RYn0

Selecting initial
settingSpecify processing unit or number of channel to use with "usersetting" or "factory setting". By selecting "user setting", processing
unit, number of using channel could be selected by user.
OFF : User setting
ON : Factory setting(Setting contents : word unit, both of CH1,CH2 are used)

RYn1

Selectingprocessing
unit

Specify processing unit of processing data. Setting is effective
when select initial setting (RYn0) is OFF (user setting).
It is only word unit setting.
OFF : word unit
ON : unused (to set ON, it will be word unit.)

RYn2

Selecting numberof channel

Specify number of channel to use. Setting is effective whenselecting initial setting (RYn0) is OFF (user setting).
OFF : both of CH1,CH2 are used
ON : only CH1 is used

RYn4

RYnC

Require executing
ID instruction

Executes instruction when require executing identification
instruction is ON.

RYn5

RYnD

UnusedUnusedRYn6

RYnE

UnusedUnusedRYn7

RYnF

Finish divided data Refer to RXn7, RXnF.

RY(n+1)0...
RY(n+6)F

UnusedRY(n+7)8

Flag for finishing to Refer to RX(n+7)8, RX(n+7)9.
process initial data

RY(n+7)9

Flag for requiring to
set initial data

Unused- 17 -

4.

Communicating Function

Processor

4. 4 Remote Register allocation
Allocation for remote resistor of Processor (Z4-C001) is explained in this chapter.
"[RWw] is the remote register for the write data from the master station to the Processor.
[RWr] is the remote register for the read data from the Processor to the master station. "The remote register has no battery for back-up.
Since the remote resistor is set default value when power is supplied or Sequencer CPU is reset,
it is necessary to write your setup data and changed data at every time.
4.4.1 Remote Resistor list
Remote resistor of Processor (Z4-C001) is indicated in the following table.
Using
channelDirection ofreceiving

Writing area
Both ofmaster station
using
CH1,CH2 ↓Processor

Processor↓
Reading area
master station

Using
only CH1

Writing area
master station↓
Processor

Processor↓
Reading area
master station

Initialsetting*

Writing area
master station↓
Processor

Address
CH1

CH2

Contents

Reference

RWwm
RWwm+8 Specifying area for instruction code
4.4.2(1)
RWwm+1 RWwm+9 Specifying area for first address
4.4.2(2)RWwm+2 RWwm+A Specifying area for processing number
4.4.2(3)
RWwm+3 RWwm+B Specifying area for writing data 1...
4.4.2(4)
...
...
～
～
Specifying area for writing data 5
RWwm+7 RWwm+F
RWrn
RWrn+8
Storing area for instruction code result 4.4.2(5)RWrn+1 RWrn+9
Storing area for executing result
4.4.2(6)RWrn+2 RWrn+A
not use―――R W r n + 3 R W r n + B Storing area for reading data 1...
4.4.2(7)
...
...
～
～
RWrn+7 RWrn+F
Storing area for reading data 5
RWwm
not use―――
RWwm+1
Specifying area for instruction code
4.4.2(1)
RWwm+2
Specifying area for first address
4.4.2(2)RWwm+3Specifying area for processing number
4.4.2(3)
RWwm+4
Specifying area for writing data 1...
4.4.2(4)...～RWwm+F
Specifying area for writing data 12
RWrn
not use―――
RWrn+1
Storing area for instruction code result 4.4.2(5)RWrn+2
Storing area for executing result
4.4.2(6)RWrn+3
not use―――
RWrn+4
Storing area for reading data 1...
4.4.2(7)...
～RWrn+F
Storing area for reading data 12
RWwm
RWwm+8 Specifying area for retry count
4.4.2(8)RWwm+1 RWwm+9 Specifying area for inzone detecting time 4.4.2(9)RWwm+2 RWwm+A Specifying area for interval of
4.4.2(10)executing sequence instruction
RWwm+3 RWwm+B not use
―――
...～
...
～
RWwm+7 RWwm+F

m,n : Address that was allocated to master station with station number setting*Valid only when the initial setting select (RYn0) is OFF (user setting).

≪ Attention ≫- The remote register that indicated "Unavailable" should not be used by the user because
they are used in the system.
- If unavailable remote resistor is used by the user, normal operation would not be warranted.

- 18 -

Z4-C001

4.

Communicating Function

Processor

4.4.2 Remote Resistor details(1) Specifying area for instruction code：

Specifies instruction to Data carrier.

[ex.] Specifying reading instruction (RD) (using 2 channels)
Replaces upper byte and lower byte, and converts it to ASCII code then stores the code.
Instruction code
R

ASCII code
44

D

52H

D:44H
R:52H

<Attention>
Specify within the following range.
・First address + Processing numbers =< 1000 (3E8H)
When the specified address of processing exceed the memory capacity of the data carrier, reading or
writing process is executed within memory and then display "data carrier communication error".

- 19 -

Z4-C001

4.

Communicating Function

Processor(3) Specifying area for processing number
Specify processing number of data to be read or written.
Specifying range : 1 ... 1000(1H ... 3E8H)
Initial value : 1<Attention>
Specify in the following range.
・First address + Processing numbers =< 1000 (3E8H)
When the specified 'first address + processing number' exceed the memory capacity of data carrier,reading or writing process is executed within memory and then display "data carrier communication
error".

(4) Specifying area for writing data
Specify data to be written into data carrier.

(5) Storing area for instruction code result
Stores instruction code that executed to processor (BIS M-689-001/001X).
(6) Storing area for executing result
Stores error code.
(7) Storing area for reading data
Stores reading data from data carrier.

- 20 -

Z4-C001

4.

Communicating Function

Processor

Z4-C001(8) Specifying area for retry count (effective in initial setting only)
Specify retry time that processor BIS M-689-001/001X executes instruction when error occurs in data
communication.

(9) Specifying area for inzone detecting time (valid in initial setting only)
Specifies standby time per 10ms when the data carrier gets into communication area to inzone detection(starting communication) in executing sequence instruction.

Inzone detecting time is;Standby time since data carrier getting into communication area until starting communication.
By specifying this setting, it can communicate with avoiding unstable range.

- 21 -

4.

Communicating Function

Processor(10) Specifying area for interval of executing sequence instruction (effective in initial setting only)
Specify executing instruction interval of sequence instruction per 100ms.

- 22 -

Z4-C001

4.

Communicating Function

Processor

Z4-C001

4. ５ Data processing time
Processing time for read and write data is indicated in following table.
< Data carrier EEPROM 112byte>
Data volume< Data carrier FRAM 2000byte>

Processing time

Data volume

Processing time

Reading

Writing

2 byte0.1sec0.1sec32 word

64 byte0.3sec0.4sec32 word

64 byte0.2sec0.2sec50 word

100 byte

0.4sec0.6sec50 word

100 byte

0.4sec0.4sec56 word112 byte

0.4sec0.7sec250 word

500 byte

1.8sec1.9sec500 word

1000 byte

3.5sec3.9sec1 word1 word2 byteReading

Writing

0.1sec0.1sec750 word

1500 byte

5.1sec5.7sec1000 word

2000 byte

6.8sec7.7sec≪ Attention ≫-Processing time is the time that processing takes for each data consecutively.
-Processing time is the time since "request communication" turns "ON" until "finish ID instruction" turns "ON".
-Measureing conditions: connect 1 Processor (occupied 4 stations) to master unit, with Read/Write heads
on 2 channels.
It is including link scan time-and time delay of transmission.
Refer to user's manual for master local unit on the detail of link scan time, time delay of transmission.

- 23 -

5.

Communication with Data carrier

Processor

Z4-C001

5. 1 Features that you should know before programming
５.1.1Data structure (Processing unit)
Processing data of identification system is carried out with word unit.
It is recommended to use the word in data processing, even if in PLC and PC mixed system for compatibility ofdata.

≪ Attention ≫Selecting a processing unit for a Initializing instruction (RYn1) should be OFF in this system.
(1)
flow chart per word unit
(1)Data
ワード単位によるデータの流れ
Buffer memory
バッファメモリ

Data
IDcarrier
タグ
データキャリア

Buffermemoryバッファメモリ
Writing
書込み

4 2 4 1H4 4 4 3H

(L)

41H

(H)

42H

(L)

43H

(H)

44H

Reading
読出し

4 2 41 H
4 4 43 H

５.1.2 Faulty Condition of Data Link
The following table shows condition of Processor Z4-C001 and communication with Data carrier when the datalink is in a fault condition.
(1) Condition of Processor
Data link
When Sequencer CPUof master station has
been stopped(Data link continuation)
When Sequencer CPU isreset When Sequencer
CPU occurs error When
Processor released datalink (Data link stop)

Remote input(RX)

State of Processor
Remote output
Remote(RY)
resistor(RWw)

Remote resistor(RWr)

Continuation

All OFF

Continuation

Continuation

Continuation*1

All OFF

Hold

Continuation1＊ 1 Since data link has been stopped, data will not be transmitted to master station.
(2) Condition of communication with Data carrier

Data link

When Sequencer CPUof master station has
been stopped(Data link continuation)
When Sequencer CPU isreset When Sequencer
CPUoccurs error When
Processor released datalink (Data link stop)

Condition of communication with Data carrier
Divided sending or
Uncommunicating
Executing communication
receiving condition
NormalSequence
NormalSequence
NormalSequence
instruction
Instruction
instruction
Instruction
instruction
Instruction
Stop

Stop

＊2

＊3

Stop

Stop

Stop

Stop

＊2

＊3

Stop

Stop

*2 Stop after communication with Data carrier is completed.
*3 Stop after outzone is detected.
- 24 -

5.

Communication with Data carrier

Processor

Z4-C001

５.1.3 Notes at the time of programming
Refer to following notes in using this Processor to communicate with Data carrier before creating programs.
(1) For handshake with Sequencer CPU
Input-Output signal is a signal used for the handshakes at the time of performing ID command from a sequence
program, or the time of completing ID command.
Please be sure to handshake.
(2) Reading and writing the remote register
Sequence program to read or write the remote register is necessary to communicate with Data carrier.
Create a sequence program for needed process.
Remote register is not taken battery back up It needs to write set or changed data every time because all data
return to default value when power is supplied, operated reset, or changed mode.

(3) Condition of retaining data in Data carrier when error occurred
Data is rewritten per 8 words with new data and old data mixed when error occurred while communicating with
Data carrier.
Execute instruction again after error cancellation as measure to this condition when error occurred while executing
writing instruction (WD,CW,AW,SW,FI).

(4) Notes for divided reading and writing
It should be done per 5 words (using both of CH1, CH2)12 words (using only 1CH) in storing divided
data to data register in using instruction indicated below. When unused register (does not store
communication data) occurred in allocated data register at this time, the register would be unsettled
in reading, unused in writing.
Objective instruction : RD,CR,AR,SR,WD,CW,AW,SW,CM[ex.]using both of CH 1, CH 2
The first address for reading and writing to Data carrier 0
Number of words for reading and writing to Data carrier 7
Allocation data of Sequencer CPU to resistor
D0...D9- 25 -

5.

Communication with Data carrier

Processor

5. 2 System be used in this Chapter
The example of the sequence program that is explained in this chapter applies to the following system.
Refer to user's manual for CC-Link master unit (detail) on sequence program of whole CC-Link system.

(1) Construction of system in programming example
Processor

Read/Write head Data carrier

CC-Link
master

Cable for head
External power unit (24VDC)(2) Relation of Sequencer CPU, Buffer memory of master unit and remote device station
Sequencer CPU
Internal Relay

Master unit

Processor

M208 ～ M223
M224 ～ M239
M240 ～ M255
M256 ～ M271
M272 ～ M287
M288 ～ M303
M304 ～ M319
M320 ～ M335

E0H
E1H
E2H
E3H
E4H
E5H
E6H
E7H

remote input (RX)RX00 ～ RX0F
RX10 ～ RX1F
RX20 ～ RX2F
RX30 ～ RX3F
RX40 ～ RX4F
RX50 ～ RX5F
RX60 ～ RX6F
RX70 ～ RX7F

remote input (RX)RX00 ～ RX0F
RX10 ～ RX1F
RX20 ～ RX2F
RX30 ～ RX3F
RX40 ～ RX4F
RX50 ～ RX5F
RX60 ～ RX6F
RX70 ～ RX7F

Internal Relay
M336 ～ M351
M352 ～ M367
M368 ～ M383
M384 ～ M399
M400 ～ M415
M416 ～ M431
M432 ～ M447
M448 ～ M463

160H
161H
162H
163H
164H
165H
166H
167H

Remote output (RY)RY00 ～ RY0F
RY10 ～ RY1F
RY20 ～ RY2F
RY30 ～ RY3F
RY40 ～ RY4F
RY50 ～ RY5F
RY60 ～ RY6F
RY70 ～ RY7F

Remote output (RY)RY00 ～ RY0F
RY10 ～ RY1F
RY20 ～ RY2F
RY30 ～ RY3F
RY40 ～ RY4F
RY50 ～ RY5F
RY60 ～ RY6F
RY70 ～ RY7F

Address* For QCPU(Q mode),QnACPU
When using ACPU : it will be RX :M200...M327, RY:M328...M355- 26 -

Z4-C001

5.

Communication with Data carrier

Processor

5. 3 Sequence Program for ACPU
The sequence program in this chapter has shown the sequence program for QCPU(Q mode) or QnASPU ,as long as there are no notes.
When using this program for ACPU the sequence, replace the following contacts for QCPU(Q mode) or
QnACPU to ACPU.

(1) Replace of relay

QCPU(Qmode)/
QnACPU
SM400
SM401
SM402
SM403

ACPU
→

M9036
M9037
M9038
M9039

Contents
always ON
always OFF
after RUN, ON only 1 scan
after RUN, OFF only 1 scan

(2) Setting of RX, RY
Regards in using for ACPU that RX and RY varies ; RX : M200...M327, RY : M328...M355.

- 27 -

Z4-C001

5.

Communication with Data carrier

Processor

Z4-C001

5. 4 Basic Format of Program
The followings are basic format of program.
Programs are created as following order. Refer to 5.2 on program condition.

(1) Initial setting of master unit
(Parameter setting, boot up data link)(2) Checking data link condition of Z4-C001(3) Initial setting of Z4-C001(Refer to 5.6）
(4) Communication instruction 1(Refer to 5.7.1...5.7.9 )(4) Communication instruction n(Refer to 5.7.1...5.7.9 )(5) Writing to remote output (RY)(1) Initial setting of master unit
Creates program to stand data link with CC-Link refresh command after setting of parameter.
[ex.] Number of connecting station : 1
Connecting station : Z4-C001(station number 1, occupies 4 stations)(a)Setting number ofconnecting station(b)Setting station information

Specifying refresh
Data link boot up by buffer
memoryReset requiring boot up signalin normal condition
Reading parameter conditionin error condition
Reset requiring boot up signal<Attention>
Program (a), (b) is not needed when CC-Link parameter is set with GX Developer in using
QCPU (Q mode) or QnACPU.

- 28 -

5.

Communication with Data carrier

Processor

Z4-C001(a) Setting of the number of connecting stations (buffer memory address of master unit : 1H)
Set the number of stations to be connected to master unit such as remote I/O station, remote devicestation, intelligent device station, local station (including reserve station).
(b) Setting of station information(buffer memory address of master unit : the first station(20H)...64th station(5FH))
Set the type of stations to be connected to master unit such as remote I/O station, remote device
station, intelligent device station, local station.
Needed to set for all number of connecting stations.

(2) Reading data link condition of processor, remote input (RX)Create program to interlock after detecting data link condition of processor.
Read RXn0...RX(n+7)F out to M200～M327(M208～M335).

Reading data link condition of processor
Read RXn0..RX(n+7)F out to M200...M327(M208～M335)* Example of sequence program for ACPU. Digits for QCPU (Q mode), QnACPU are indicated in ( ).

<Attention>

Delete the sequence program indicated within above dashed line, when the following setting is set.
*Using QJ61BT11,AJ61QBT11,A1SJ61QBT11
Set automatic refresh parameter with GX Developer*Using AJ61BT11,A1SJ61BT11
Set automatic refresh with instruction for CC-Link(3) Initial setting of processor
Create the program to execute initial setting of processor (Refer to 5.6).
(4) Communication instruction
Create the program to execute identification communication instruction (Refer to 5.7.1...5.7.9).

- 29 -

5.

Communication with Data carrier

Processor

Z4-C001(5) Writing to remote output (RY)
Create the following program and write M328...M455(M336...M463) to RYn0...RY(n+7)F.

Write M328...M455 to RYn0...RY(n+7)F(M336...M463)* Example of sequence program for ACPU. Digits for QCPU (Q mode), QnACPU are indicated in ( ).

<Attention>

Delete the sequence program in above chart when the following setting is set .
*Using QJ61BT11,AJ61QBT11,A1SJ61QBT11
Set automatic refresh parameter with GX Developer*Using AJ61BT11,A1SJ61BT11
Set automatic refresh with instruction for CC-Link

5.5

Processing program when fault condition occurred
Reference the chart below to create a program for fault conditions.

* Example of sequence program for ACPU. Digits for QCPU (Q mode), QnACPU are indicated in ( ).

<Attention>
Reset request of identification instruction to avoid unexpected communication in program whenfault is occurred.
The instruction is executed again after recovery of link in the case of external contact (M1) for
starting identification instruction is not reset.

- 30 -

5.

Communication with Data carrier

Processor

Z4-C001

5.6 Initial setting
Following initial setting is needed to communicate with data carrier.
"The initial setting can be set only when the initial data request(RX78) is ON.
In order to change initial setting, it is necessary to change a program, and to return on the Processor, or toreset it. "The writing to the remote register of initial setting should be performed just once at startup of theProcessor.

(1) Initial setting with factory setting(a) In using ACPU
* Regard that the following example shows RX : M200...M327, RY : M328...M455.

Reading other data link condition
Reading input contact (RX)Factory setting
ON finish processing initial data
On require setting initial data
Reading error code of dip switch
OFF finish processing initial data
OFF require setting initial data
Writing output (RV)(b) In using QnACPU
Automatic refresh parameter is set with GX Developer as followings.
* Regard that the following example shows refresh range RX : M208...M335, RY : M336...M463
1. Setting with GX Developer
・Start I/O No.
・Type・All connect count・Remote input (RX)・Remote output (RY)・Remote register (RWr)・Remote register (RWw)
・Special relay (SB)・Special register (SW)・Retry count・Automatic connection station count・Standby master station number
・PLC down select・Scan mode setting
・Delay information setting・Station information setting: 0000: Master station:1: M208: M336: D200: D100:::3:1: 0: Stop: asynchronous:0: station information

Station information setting・
Set the station information according
to the system constitution.
For more information, refer to themanual of the master unit.

2. Program
Reading other data link condition
Factory setting
ON finish processing initial data
ON require setting initial data
Reading error code of setting dip SW
OFF finish processing initial data
OFF require setting initial data

- 31 -

5.

Communication with Data carrier

Processor

Z4-C001(c) In using QCPU (Q mode)
Automatic refresh parameter and initial setting are set with GX Developer as followings.
* Regard that the following example shows refresh range RX : M208...M335, RY : M336...M463
1. Setting with GX Developer<Automatic refresh parameter>

・Start I/O No.
・Operation setting
・Type・Master station data link type・Mode setting・All connect count・Remote input (RX) refresh device
・Remote output (RY) refresh device
・Remote register (RWr) refresh device
・Remote register (RWw) refresh device
・Special relay (SB) refresh device
・ Special register (SW) refresh device
・Retry count・Automatic reconection station count・Standby master station number
・PLC down select・Scan mode setting
・Delay information setting・Station information setting
・Initial setting of remote device
・Interrupt setting

：0000
：－
：Master station：PLC parameter auto start・Mode setting：Online (Remote net mode)
：1
：M208
：M336
：D200
：D100
：SB0
：SW0
：3
：1
：0
：Stop
：Asynchronous：0：Station information：Initial setting：－＜ Initial setting ＞
Executeflag

Operatingcondition

ExecuteExecuteExecuteExecuteExecuteSet new
Same as prev. set
Same as prev. set
Set new
Set new

Condition of executing procedure
Condition
Deviceexecutingdevicenumbe
condition
RX
78
ON
RX
78
ON
RX
78
ON
RX
78
OFF
RX
79
ON

Contents of executing
Writing
DeviceWritingdevicenumber
data
RY
00
ON
RY
78
ON
RY
79
ON
RY
78
OFF
RY
79
OFF

② Program
SM400
FROM
M328
(RX78)

(ﾘﾝｸ)

H680

K4M100

K4

他局データリンク状態読出し

SET

SB0D

イニシャル手順登録指定

R0

K1

ディップSW設定エラーコード読出し

RST

SB0D

イニシャル手順登録OFF

M213
FROMP

SB5F

H0

M100
H0

H2E1

(RX5)

- 32 -

Factory setting"Initial dataprocessing/installation"

5.

Communication with Data carrier

Processor

Z4-C001(2) Initial setting by user
Also assumed that both examples, such as the following to configure user settings.
・Processing unit ：Word unit
・Number of Channels：CH1,CH2 When using both
CH1 ・Number of retries：５times
・Detection time in zone：２seconds(2000ms)
・Continuation command execution interval ：5seconds(5000ms)
CH2 ・Number of retries：５times
・Detection time in zone：２seconds(2000ms)
・Continuation command execution interval ：5seconds(5000ms)(a) In using ACPU
Reading other data link condition
Reading input (RX)User setting
Setting processing unit to word
Select number of using channel to 2 channel
Specify retry count (5 times)
Specify inzone detecting time

CH1

Specify interval for executing
sequence instruction (5 sec.
Specify retry count (5 times)
Specify inzone detecting time
Specify interval for executing
sequence instruction (5 sec.)
Writing

CH2

ON finish processing initial data
ON require setting initial data
Reading error code of setting dip switch
OFF finish processing initial data
OFF require setting initial data
Writing output (RY)- 33 -

5.

Communication with Data carrier

Processor

Z4-C001(b) In using QnACPU
Automatic refresh parameter is set with GX Developer as followings.
* Regard that the following example shows refresh range RX : M208...M335, RY : M336...M463
1. Setting with GX Developer
・Start I/O No.
・Type・All connect count・Remote input (RX)・Remote output (RY)・Remote register (RWr)・Remote register (RWw)
・Special relay (SB)・Special register (SW)・Retry count・Automatic reconnection station count・PLC down select・Scan mode setting
・Delay information setting・Station information setting: 0000: Master station:1: M208: M336: D200: D100:::3:1: Stop: Asynchronous:0: Station information

Station information setting・
Set the station information according
to the system constitution.
For more information, refer to themanual of the master unit.

2. Program
Reading other data link condition
User setting
Setting processing unit to word
Select number of using channel to 2 channel
Specify retry count (5 times)
Specify inzone detecting time
Specify interval for executing
sequence instruction (5 sec.)
Specify retry count (5 times)
Specify inzone detecting time
(2 sec.)Specify interval for executing
sequence instruction (5 sec.)
ON finish processing initial data

CH1

CH2

ON require setting initial data
Reading error code of setting dip switch
OFF finish processing initial data
OFF require setting initial data

(C) In using QCPU (Q mode)
Setting of automatic refresh parameter, program is the same procedure as initial setting of factory
setting (refer to 5.6 (1)(c)).
Display for initial setting is as follows.
Input format
Executingflag
ExecuteExecuteExecuteExecuteExecuteExecuteExecuteExecuteExecuteExecuteExecuteExecuteExecuteExecutedecimalOperatingcondition
Set new
Same as prev. set
Same as prev. set
Same as prev. set
Same as prev. set
Same as prev. set
Same as prev. set
Same as prev. set
Same as prev. set
Same as prev. set
Same as prev. set
Set new
Set new
Set new

Condition of executing procedure
Condition Device
Executingdevicenumbercondition
RX
78
ON
RX
78
ON
RX
78
ON
RX
78
ON
RX
78
ON
RX
78
ON
RX
78
ON
RX
78
ON
RX
78
ON
RX
78
ON
RX
78
ON
RX
78
OFF
RX
79
ON

Contents of executing
Writing
Device Writing
devicenumber data ※User setting
RY
00
OFF
RY
01
OFF
Word unit
RY
02
OFF
Using 2 channels
RWw
00
5 Retry count
RWw
01
200 Inzone detecting time
RWw
02
50 The interval executing a sequence command
RWw
08
5 Retry count
RWw
09
200 Inzone detecting time
RWw
0A
50 The interval executing a sequence command
RY
78
ON
RY
79
ON
RY
78
OFF
RY
79
OFF
※ Input form Decimal- 34 -

(CH1)
(CH2)

5.

Communication with Data carrier

5. ７ Communication statement

5.7.1 Reading instruction (RD,CR)
Stores the data read from Data carrier to remote register in Processor.
Reads data out again to check data and compares the data.

Instruction codeRDCR

（4452H）（5243H）- 35 -

Processor

Z4-C001

5.

Communication with Data carrier(2) Explanation of operating
The following explains the timing operation.

≪ Attention ≫It executes instructions for number of retry times and occures error in the case of the codetag is not present when reading instruction (RD, CR) is executed.

- 36 -

Processor

Z4-C001

5.

Communication with Data carrier(3) Example of programming
The example is programmed on the following condition.
(Comparing result signal (RX1) is not used in the following program.)
Using channel ................................................ CH1
Instruction code .............................................. RD (4452H)
First reading address of Data carrier.............. 10
Number of reading word ............................... 10Store area of reading data ............................ D1000...D1009
Store area of error code ................................ R0- 37 -

Processor

Z4-C001

5.

Communication with Data carrier

Processor

5.7.2 Sequence Reading Instruction (AR,SR)
Executes reading in sequence until Data carrier gets into communication area .
Reads the data when Data carrier gets into communication area and store it to remote register ofProcessor.
After that, reads data out to check, and compares the data.

Instruction code

ARSR（5241H）（5253H）- 38 -

Z4-C001

5.

Communication with Data carrier(2) Explanation of operation≪ Attention ≫- Sequence reading (AR,SR) executes reading in sequence until Data carrier gets into
- communication area. Reading is executed eternally when Data carrier does not get into
communication area.
- Execute sequence instruction cancellation to stop execution. (Refer to 5.7.8）- 39 -

Processor

Z4-C001

5.

Communication with Data carrier(3) Example of programming
The example is programmed on the following condition.
(Comparing result signal (RX1) is not used in the following program.)
Using channel ................................................ CH1
Instruction code .............................................. AR (5241H)First reading address of Data carrier .............10
Number of reading word ............................... 10Store area of reading data ............................ D1000...D1009
Store area of error code ................................ R0- 40 -

Processor

Z4-C001

5.

Communication with Data carrier

5.7.3 Writing instruction(WD,CW)
Write data that stored in remote register to Data carrier.
Stores the data read from Data carrier to remote register in Processor.
Reads data out to check data and compares the data after writing.

Instruction code

WD
CW

（4457H）（5743H）(1) Operation timing
The following chart shows operating timing.

- 41 -

Processor

Z4-C001

5.

Communication with Data carrier(2) Explanation of operating
The following explains operation of the timimg chart.

≪ Attention ≫- When area for writing is including write protection area, write protection error occurs.
(It does not execute writing to area except write protection area.)- It executes instructions for the number of retry times and occurs error in the case of
Data carrier is not present when writing instruction (WD, CW) is executed.

- 42 -

Processor

Z4-C001

5.

Communication with Data carrier

Processor

Z4-C001(3) Example of programming
The example is programmed on the following condition.
(Comparing result signal (RX1) is not used in the following program.)
Using channel ................................................ CH1
Instruction code .............................................. WD (4457H)
First writing address of data carrier ............... 10
Number of writing word ............................... 10Store area of writing data ............................ D2000...D2009
Store area of error code ................................ R0

Start
Reading other data link condition
Setting instruction code
Setting first address of writing (K10)
Setting number of writing word(K10)
Sets D2000...D2004 as writing data
Writing of setting digit
Write writing data
Start executing instruction
Initialization index register
Set after D2005 as writing data
Write writing data
Add K5 to index register
Set flag for finish divided reading
Reset flag for finish divided reading
Finish executing instruction
FinishReading error code

- 43 -

5.
5.7.4

Communication with Data carrier

Processor

Sequence Writing Instruction (AW,SW)

Executes writing in sequence until Data carrier gets into communication area .
Writes the data that stored in remote register of Processor when Data carrier gets into communication area.
For confirmation, we compared reading to verify data after writing.

Instruction code

AWSW

（5741H）（5753H）- 44 -

Z4-C001

5.

Communication with Data carrier

Processor(2) Explanation of operating
The following explains operation of the timimg chart.

≪ Attention ≫- When a write command includes the area that is write protected, a wirte protection error
occures.
(It does not execute writing to area except write protection area.)- Sequence writing (AW,SW) executes writing in sequence until Data carrier gets into
communication area. Writing is executed eternally when Data carrier does not get into
communication area.
- Execute sequence instruction cancellation to stop execution. (Refer to 5.7.8)- 45 -

Z4-C001

5.

Communication with Data carrier

Processor(3) Example of programming
The example is programmed on the following condition.
(Comparing result signal (RX1) is not used in the following program.)
Using channel ................................................ CH1
Instruction code .............................................. AW (5741H)
First writing address of data carrier ............... 10
Number of writing words ............................... 10Store area of writing data ............................ D2000...D2009
Store area of error code ................................ R0

Start
Reading other data link condition
Setting instruction code
Setting first address of writing (K10)
Setting number of writing word(K10)
Sets D2000...D2004 as writing data
Writing of setting digit
Write writing data
Start executing instruction
Initialization index register
Set after D2005 as writing data
Write writing data
Add K5 to index register
Set flag for finish divided reading
Reset flag for finish divided reading
Finish executing instruction
FinishReading error code

- 46 -

Z4-C001

5.

Communication with Data carrier

Processor

5.7.5 Batch Writing Instruction (FI)
Batch writing instruction clears the share of processing data from a specified address with 1-word
specifydata.
Use clear instruction (CL) to zero clear all data.
Instruction code

FI（4946H）(1) Operation timing
The following chrat shows operating timing.

(2) Explanation of operating
The following explains operation of the timimg chart.

≪ Attention ≫- It executes instructions for the number of retry times and occurs error in the case of
Data carrier is not present when batch writing instruction (FI) is executed.
- When area for writing is including write protection area, write protection error occurs.
(It does not execute writing to area except write protection area.)- 47 -

Z4-C001

5.

Communication with Data carrier

Processor(3) Example of programming
The example is programmed on the following condition.
Using channel ................................................ CH1
Instruction code .............................................. FI (4946H)
First writing address of data carrier ............... 10
Number of writing word ............................... 10Store area of writing data ............................ D2000
Store area of error code ................................ R0

Start
Reading other data link condition
Setting instruction code
Setting first address of writing (K10)
Setting number of writing word(K10)
Sets D2000 as writing data
Writing of setting digit
Write writing data
Start executing instruction
Finish executing instruction
FinishReading error code- 48 -

Z4-C001

5.

Communication with Data carrier

Processor

Z4-C001

5.7.6 Comparison Instruction (CM)Comparison instruction (CM) compares data that stores in remote register and data in Data carrier so thecompared data can be checked as relay (RX1/RX9).

Instruction codeCM

（4D43H）(1) Operation timing
The following chart shows operating timing.

- 49 -

5.

Communication with Data carrier

Processor(2) Explanation of operating
The following explains operation of the timimg chaet.

シ ー ケ ン サ CP U

ＩＤコントローラ

外部接点M1をONし、TO命令により命令コード、先頭アドレス、交信ワード数、
比較データを設定し、RY4をONする
RX3をONする
RX7のONにより、TO命令で比較データを設定する
RY7をONする
分割回数分行う。
分割なしの場合は行わない。

R X7 を O F F す る
RY7をOFFする
ＩＤ
アンテナ

ＩＤ
タグ

ＩＤ命令完了接点RX4および比較一致接点RX1をONする
比較実行
RY4をOFFする
RX1,RX3,RX4をOFFする≪ Attention ≫- It executes instructions for the number of retry times and occurs error in the case of datacarrier is not present when comparison instruction (CM) is executed.

- 50 -

Z4-C001

5.

Communication with Data carrier(3) Example of programming
The example is programmed on the following condition.

Using channel ................................................ CH1
Instruction code .............................................. CM (4D43H)First writing address of Data carrier ............... 10
Number of writing word ............................... 10Store area of writing data ............................ D2000
Store area of error code ................................ R0- 51 -

Processor

Z4-C001

5.
5.7.7

Communication with Data carrier

Processor

Clear Instruction (CL)

Clear instruction (CL) clears data number of processing with "0" from specified address.
Instruction code

CL

（4C43H）(1) 動作タイミング
動作のタイミングを下記に示します。

≪ Attention ≫-It executes instructions for the number of retry times and occurs error in the case of
Data carrier is not present when clear instruction (CL) is executed.
-Clear instruction (CL) clears specified range data with "0". To clear data with specified data,-use batch writing instruction (FI).
-The area that set write protection is not cleared.
-Write protection error does not occurred.

- 52 -

Z4-C001

5.

Communication with Data carrier(3) Example of programming
The example is programmed on the following condition.
Using channel ................................................ CH1
Instruction code .............................................. CL (4C43H)First address of Data carrier to clear ............. 10
Number of processing words ........................ 10Store area of error code ................................ R0- 53 -

Processor

Z4-C001

5.
5.7.8

Communication with Data carrier

Processor

Stop Command of Sequence Instruction

Stop command of the sequence instruction stops the sequence instruction (AR,SR,AW,SW)(1) Example of programming
The example is programmed on the following condition.
(Program to stop sequence instructions that is written in this chapter.)・Using channel････････････････････････CH1≪ Attention ≫-Reset instruction after timer counting in the case of stop command of sequence instruction
is executed while the timer of executing interval of sequence instruction is operating.

5.7.9

Error Cancellation Instruction

Error cancellation instruction cancels the error that occurred.
(1) Example of programming
The example is programmed on the following condition.
(Program to cancel error that occurred in using instructions written in this chapter.)・ Using channel････････････････････････CH1- 54 -

Z4-C001

6.

Trouble Shooting

Processor

Z4-C001

Error that occurred in using this controller (Z4-C001) and trouble shooting is explained in this chapter.
6. １ List of Error CodeErrors that occurred in using this controller (Z4-C001), error, processing procedure are indicatedbelow.
The newest error code is stored in the stored area for executing result.
The following digits are stored in ** of error code.

・All instructions . . . . . . . .
・CM  . . . . . . .  05H・RD . . . . . . . .  01H・WD  . . . . . . .  02H・AR . . . . . . . .  03H・AW  . . . . . . .  04H

Error code
Hex.

Error name00H
・SW . . . . . . . . 0EH・CL,FI  . . . . . . 06H・CR . . . . . . . . 0BH
・CW . . . . . . . . 0CH
・SR . . . . . . . . 0DH

Error contents

LED

Processing procedure**01H

Number of
executing worderror

Number of specified address+ word exceed 1000 words.

Check "number of address + word" are notexceed the last address (1000)**03H

Write protect
setting switch
error

Write Block setting switch
exceeds setting range.

Check Write Block setting switch does notexceed setting range.

**11H

Set address
error

**12H

Number ofsetting worderror

Setting address exceeds
setting range.
Setting word digit exceeds
setting range.

Check "address" of sequence program does
not exceed setting range of address.
Check "word digit" of sequence program does
not exceed setting range of word digit.
ID-ERR.

Data carrier is unpresent incommunication area.
R/W head cable breakage.
Error occurs while
communicating with datacarrier**13H

Data carrier
unpresent error**14H

Data carrier
communication
error

**16H

Executed writing to write
Write protection
protection area.
error

**22H

Instruction code Set instruction code thaterror
is not defined.

- 55 -

Put Data carrier into communication area.
Check wiring of Read/Write head.
Check communication distance of Datacarrierand center off-set.
Check "address" and "address +communication word digit" are not in write
protection area.
Check instruction code.

6.

Trouble Shooting

Processor

6. ２ Trouble Shooting
6.2.1 Confirming Procedure with LED indicator
Confirmation procedure on LED indicator is indicated below.
Refer to the following table for the proper procedure.
(1) LED "PW" turns off
Points to be checked

Procedure①

Power is supplied or not.

Supply power.

②

Polarity of external power supply
is appropriate or not.

Connect polarity of external power supply appropriately③

Wiring is correct or not.

Check for correct wiring.

④

The voltage of external power supply isin the range of specification or not.

Adjust supply voltage per specification.

⑤

Supply capacity is OK or not.

Calculate current consumption before selecting power unit.

⑥

The LED does not turn on when power is Possible hardware problem.
supplied again after checking these
Consult manufacture for details of the fault condition.
points.

(2)

LED "RUN" turns off
Cause

Procedure①"PW" LED is on or not.

Check the above procedure (1) LED "PW" turns off.

②

Watch dog timer error occurred.

Reset hardware with reset switch.

③

The LED does not turn on when power is Possible hardware problem.
supplied again after checking these
Consult manufacture on detail of fault condition.
points.

(3)

LED "L RUN" turns off
Cause

Procedure①

Watch dog timer error occurred.

Reset hardware with reset switch.

②

Breakage or short circuit of cable.

Repair broken or short circuit cable.

③

Master unit stops link.

Check master unit whether error occurred or not.

④

Power is not supplied.

Check the voltage of 24V power unit.

⑤

Station number is duplicated.

Correct station setting the duplicated units then supply
power again or push reset switch.

⑥

Setting switch (station number,transmitting rate) is out of range.

Correct switch setting (station number, transmitting rate)then supply power again or push reset switch.

(4)

LED "L ERR." turns on
Cause

①

Setting switch (station number
transmitting rate) is out of range.

Procedure
Correct switch setting (station number, transmitting rate)then supply power again or push reset switch.

- 56 -

Z4-C001

6.

Trouble Shooting

Processor

Z4-C001(5)LED "L ERR." blinks at fixed interval
Cause

Procedure①

Setting switch (station number,transmitting rate) is changed

Return the setting of switch.
Supply power again or push reset switch to set the changed
setting.

②

Setting switch (station number,transmitting rate) is faulty.

There might be hardware fault. If the switch setting is notchanged.
Consult manufacture on details of fault condition.

(6)

LED "L ERR." blinks at unsettled interval.
Cause

①

②

Terminal resistor is not connected.

Unit or cable for CC-Link isaffected by noise.

Procedure
Check to see if the terminal resistor is connected or not.
Connect terminal resistor when it is not connected, thensupply power again or push reset switch.
Ground to the protective ground conductor and both edges ofthe shield line of cable for CC-Link through SLD of each unit
and FG.
Ground FG terminal of unit surely.
To make wiring in pipe, ground pipe surely.

(7) LED "ID-ERR." turns on
Cause
①

②

(8)

Contents of error code

Write protection setting switch ischanged to out of range.

Procedure
Confirm contents of error code.
Check the sequence of the program, refer to procedure 6.1.
Reset switch setting in setting range.
LED turns off when the setting is returned from former
setting.
LED blinks when the setting is changed in setting range, butdifferent setting from former.
Supply power again or push reset switch to set the changed
setting.

LED "ID- ERR." blinks
Cause

Procedure①

Write protection setting switch ischanged.

Return the switch setting.
Supply power again or push reset switch to set the changed
setting.

②

It does not settle after checking
these points.

Possible hardware problem.
Consult manufacture on detail of fault condition.

(9)

LED "IN-Z" blinks
Cause

Procedure①

Read/Write head is connected
correctly.

Check wiring.

②

Wiring has done correctly.

Make the correct wiring. Check cable breakage.

③

It does not settle after checking
these points.

Read/Write head might be faulty.
Replace the Read/Write head.

- 57 -

6.

Trouble Shooting

Processor

6.2.2 Procedure for Fault of Data Link
In the case of LED "ERR." of master unit blinks or, the system cannot transmit correct data in spite ofdata link, take proper procedure. Refer to the following trouble shooting.

- 63 - 58 -Z4-C001

6.

Trouble Shooting

Processor*1 : Check for short circuit, reversal connection, cable breakage, terminal resistor, FG connection, total
Extended distance, and distance between stations.
*2 : Part of station number setting is duplicated.
*3 : Station number setting is duplicated completely.

- 59 -

Z4-C001

Wireless Power Supply by

Mail ：sales@b-plus-kk.jp
Web ：http://www.b-plus-kk.com* Info may change the mention contents such as specifications without a notice.
Thank you for understanding