Issue : May 10, 2024
No.

Ｔ712C01Je

J

RFID system Z series
Technical Manual for Identification Processor
Type code : Z4-Q001
MELSEC-Q series BUS 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-Q001

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.

Caution

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

Attention

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

Application◆ This manual applies to processors in Z4-Q001.
◆ 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 Z4-Q001

Contents

1.Description
		
		
		

1.1
1.2
1.3

Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4			
System configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4			Components and Applicable Unit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.Specification of the System
		
		
		

2.1
2.2
2.3

Specification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6			Dimension. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
LED indication and Connecting terminals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

3.Installation
		
3.1
The procedure of installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
		
3.2
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
			
3.2.1 Setting condition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
			
3.2.2 Processor fixation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
		
3.3
Wiring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
		
3.4
Setting of Switches ([GX Developer]). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  10
			
3.4.1
Parameter setting switch of CPU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  10
			
3.4.2
Specify [page size]of Data carrier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11
			
3.4.3
Specifies Oscillation Mode of Read/Write head. . . . . . . . . . . . . . . . . . . . . . . .  11
			
3.4.4
Specify of Write Skip Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  11
			
3.4.5
Specify Clear Buffer memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  12
			
3.4.6
Specify of Write Protect Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  12
4.Communicating Function		
4.1
Communicating Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  13
		
4.2
Memory Address of Data carrier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  14
		
4.3
Input and Output Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  15
		
4.4
Buffer Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  17
			
4.4.1 Construction of address (word) of [Buffer memory] is shown below. . . . . . . .  17
			
4.4.2 [Address] of Data carrier and [Store Address]of Buffer memory . . . . . . . . . .  18
		
4.5
Data Processing Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  18
			
5.Communication with Data carrier		
5.1
Basic of Communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  19		
5.2
Selection of Read/Write head . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  19
		
5.3
Specify of Processing Area of [Read Write]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  20
			
5.3.1 Specify of Processing Area of [Reading]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  20
			
5.3.2 Specify of Processing Area of [Writing]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  21
		
5.4
Data Reading from Data carrier. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  22
			
5.4.1 Stored area for [Reading data]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  22
		
5.5
Data Writing to Data carrier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  24
			
5.5.1 Stored area for [Writing data]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  24
			
5.5.2 Procedure of Data Writing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  24
		
5.6
Data Writing to Data carrier at once . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  25
			
5.6.1 Stored area for [Writing data at once] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  25
			
5.6.2 Procedure of Data Writing at once . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  25
		
5.7
Programming example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  25
			
5.7.1 Data Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  26
			
5.7.2 Data Writing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  27
			
5.7.3 Data Writing at once. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  28
6.Error information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  29
		

-3-

１.

Description

Processor Z4-Q001

1. 1 Description[B&PLUS RFID System Z series] is an RFID System for factory automation which read or writes data wirelessly by
inductive coupling principal.
Processor / Z4-Q001 is an interface unit for factory automation systems, which connects directly to Sequencer
unit "MELSEC-Q series" by Mitsubishi (2 Read/Write heads are connectable).
There is no need to sequence program when read data from Data carriers or write data to Data carriers. It is
possible to read data from data carriers or write data to Data carriers like CPU of a Sequencer reads data or writes
data to Buffer memory.
In writing data to data carriers, write data to Buffer memory with [To command] of sequence program, then [ON]output signal. In reading data from Data carriers, [ON] output signal and read data to Buffer memory of datacarriers, then read data from Buffer memory [FROM command].

1. 2 System configuration
Processor (Z4-Q001)
ID コントローラ(BIS M-688-001)

C
CP
U
Pユ
Uニ
ッ
ト

Extention base unit

増設ベースユニット

Read/Write
head
Data
ID アンテナ
ID carrier
タグ

CH1

CH2
Read/Write head Cable

アンテナケーブル

external power unit (24V DC)

外部電源 (24VDC)■ Function of each component
Component
Function
Data carrier
Memorize and save information (data).
Read/Write head
Read and Write information (data) of Data carrier non-contact.
Supply power for operating of Data carriers.
Processor
Follow to the command from CPU unit, read data from Data carrier and write data to
Data carrier. One or two Read/Write head(s) are connectable.

[Note for System configuration]- Processor Z4-Q001 is a special unit for MELSEC-Q series which occupies I/O 32 signals.
The maximum number that can be mounted on a MELSEC base unit is different by CPU as follows.
Q00JCPU / Q00UJ : 8 pcs., Q00CPU / Q00UCPU / Q01CPU / Q01UCPU : 24 pcs., Q02UCPU : 36 pcs.,
Q12PRHCPU / Q25PRHCPU : 53 pcs.(It is impossible to install on a basic base unit), Onother CPU : 64 pcs.
When there are other units on the same base unit, the capacity of power may be short, even if there isless number than the above. When the power is not enough, please reconsider the combine of the mountunit.
- The number of Processors which are controlled by a CPU unit should be selected in consideration of theabove and the following points.
(1) I/O signals and data memory capacity of CPU unit.
(2) Number of occupied signals of other units (input/output card) except Processor.
(3) Influence of programming (ladder) to processing time or tact time.

-4-

１.

Description

Processor Z4-Q001

1. 3 Components and Applicable Unit
Components and applicable unit of MELSEC-Q series including Processor Z4-Q001 is indicated as follows.

MELSEC-Q series
CPU Unit
Qn CPUQnJ CPU
QnH CPU
QnPH CPUQnU CPUQnUJ CPUQnUD CPUQnUDE CPUQnUDEH CPU
QnUDH CPUQnUDV CPU

Base Unit
Q33B
Q35B
Q38B
Q312B

Extension Base Unit

Q38DB Q33SB
Q312DB Q35SB
Q38RB
Q32SB

Q63B
Q65B
Q68B
Q612B

Q52B
Q55B
Q68RB
Q65WRB

Processor *1

Notes- 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 manual of
Mitsubishi Electric corp for MELSEC-Q CPU.

Z4-Q001

External Power
Unit (24VDC)

Cable
Z7-A001-PU__
Z7-A002-PU__

Read/Write head
Z3-A010-CN*1：Data carrier specification
112 byte type : ISO 15693 based, icode-sli
		Memory type EEPROM
		Memory capacity 112byte(56word）
		
Writing 100,000 times/reading Unlimited
2K byte type : ISO 15693 based, FRAM
		
Memory type FRAM			
Memory capacity 2000byte(1000word）
		
Writing 10 billion times/reading Unlimited-5-

Identification communication
Data carrier
Z1 series

2.

Specification of the System

Processor Z4-Q001

2. 1 Specification
Type code
Power supply

Z4-Q001
24 VDC+/-10 %5 VDC (Sequencer electric supply source)(External power supply)
Current consumption
0.75 A (External power supply)
0.5 A (Sequencer electric supply source)
Occupied I/O signals
32 signals
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
Applicabel R/W head
Z3-A010-CN
Read/Write heads
Connectable up to two Read/Write heads
Connecting Heads
Terminal connecting
Cable length R/W heads
5 m standard (max.25 m)
O p e r a t i n g t e m p e r a t u r e , 0...+55 degree C, 35...85 % RH (not in dew condensation)
humidity
Storage temperature, humidity -25...+70 degree C, 35...85 % RH (not in dew condensation)
Vibration rating
Frequency
Acceleration
Amplitude
Sweepage10 - 57 Hz
0.075 mm
10 times
57 - 150 Hz
1G
1 octave/1 min. *Shock rating
10 G, 3 times each axis to x-y-z
Noise-proof
Noise voltage for 24 VDC power supply 800 V P-P, amplitude of noise 1 microS,
Noise frequency: operating normally with noise simulator 25...60 Hz
Operating atmosphere
WeightWithout corrosive gas and heavy dust
approx. 230 g(*) 1 octave ... Initial frequency increases to double or decreases to half.
ex. 10 Hz --> 20 Hz, 20 Hz --> 40 Hz, 40 Hz --> 20 Hz, 20 Hz --> 0 Hz / each of these change is called as 1 octave
2. 2 Dimension

9701234567
8 9 AB CDEF

90.5
27

-6-

2.

Specification of the System

Processor Z4-Q001

2. 3 LED indication and Connecting Terminal

01234567
8 9 AB CDEF

LED indication

Terminal for Read/Write head (CH 1)

97

use 7 signals

Terminal for Read/Write head (CH 2)
use 7 signals

Terminal for DC 24V Power supply
use 3 signals

90.5
LED indication
Monitor the operating condition, errors etc. by LED indication.
When error has occurred, error code would be shown27

LED LED indication
Descriptions
No.
Error
0
CH1 Require communication Error code : bit 4 [Lights on], when Required communication is [ON]１
Specify Reading page Error code : bit 3 [Lights on], when reading page command is [ON]２
Specify Writing address Error code : bit 2 [Lights on], when writing page command is [ON]３
Reading/Writing[Lights on], when reading and writing to data carrier isError code : bit 1
completedcompleted
４InzoneError code : bit 0 [Lights on], when data carrier is in [inzone]
５
Head is disconnected[Lights on], when head is disconnected or cable breakage
６
Error[Lights on], when error is occurred
７ Ready[Lights on], when ready condition (in normal operation)
８
９
Ａ
Ｂ
Ｃ
Ｄ
Ｅ
Ｆ

CH2 Require communication Error code : bit 4
Specify Reading page Error code : bit 3
Specify Writing address Error code : bit 2
Reading/Writing
Same as CH1
Error code : bit 1
completedInzoneError code : bit 0
Head is disconnected
Error
Watch dog timer (WDT) error
ON, when watch dog timer (WDT) error is occurred(note) When an error occurrs, error code is indicated by using 5 LEDs as above.
<CH 1 error to LED No. 0...4 / CH 2 error LED No. 8...C>

Connecting terminal(1) Read/Write head (CH 1) connecting terminal: use 7 terminals(2) Read/Write head (CH 2) connecting terminal: use 7 terminals(3) External power unit (DC 24V) and earthing terminal: use 3 terminals

-7-

3.

Installation

Processor Z4-Q001

Describes the installation environment and Handling Precautions in installation of Processor.
3. 1 Procedure of Installation

Installation of Processor Z4-Q001

Creating a data set

Wiring of Readwrite head

Creating a user program

Initial setting of Processor
Switch setting([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...85%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.

<Note>
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.
- Please remove the dustproof label, after all wiring is completed.

3.2.2 Processor fixation
This Processor should be installed in a Mitsubishi basic base unit or an additional unit by Mitsubishi.
Please refer to "1.3 Components and Applicable Unit" for available base unit.
When installing, please take in consideration the current capacity of the power supply, as well as thevoltage drop of additional cable. For details, please refer to the Sequencer CPU user manual.

-8-

3.

Installation

Processor Z4-Q001

3. 3 Wiring① Wiring of FG and an external power(24VDC)
Install wiring by following the steps below
・Connect [+] of 24V DC to terminal indicated [24V DC], [-] to terminal indicated [0V].
・Connect to terminal indicated [FG], and wire to the same point of Frame Ground of Sequencer CPU unit.
01234567
89ABCDEF

Read/Write head
(CH1)

Read/Write head
(CH2)

FG and an external power② Read/Write head
Wire Read/Write head to connecting terminal for Read/Write head with reference to [Wiring diagram ] below.
To connect 2 Read/Write heads, there are terminals for CH1/CH2 and Read/Write heads are connectableto each terminal.
[Wiring diagram]

Wiring of Read/Write head with cable
Read/Write head Cable[ Cable color]

Processor
Terminals
CH1/CH2

A
B
Y
Z
VS+
VSSHIELD[ BK ][ BK/WH ][ GN/WH ][ GN ][ BU ][ BU/WH ](Shield)

Connector cable : Z7-A001A-PU__(Straight type)：Z7-A002A-PU__(Angle type)

Read/Write head Cable[ Cable color]

Processor
Terminals
CH1/CH2

A
B
Y
Z
VS+
VSSHIELD[ YE ][ PK ][ GY ][ GN ][ RD ][ WH ](Shield)

Connector cable : Z7-A001-PU__(Straight type)：Z7-A002-PU__(Angle type)-9-

Read/Write head

Z3-A010-CN｝Twisted pair cable
Read/Write head

Z3-A010-CN3.

Installation

Processor Z4-Q001

Read/Write head Cable[ Cable color]

Processor
Terminals
CH1/CH2[ Blue ][ White ][ Brown ][ Yellow ][ Green ][ Black ](Shield)

A
B
Y
Z
VS+
VSSHIELD

Connector cable : Z7-A001A-RB__(Straight type)：Z7-A002A-RB__(Angle type)

Read/Write head

Z3-A010-CN｝Robot cable<Note for wiring>- Read/Write head Cable should be kept apart from power cable or high voltage unit.
- When Read/Write head is installed on unit which has metal housing, make the unit to D-class grounding.
-This product is in conformity with EMC directive and indicated CE marking.
Appropriate measures should be taken to avoid excessive surges when the cable length to the power unit islonger than10m.

3. 4 Setting of Switches ([GX Developer])Switch settings set the parameters of the processor with [GX Developer].
The switch assignments are written to the processor from CPU unit when the Sequencer of CPU unit is started-up or reset.

GX Developerparameter
Switching set with
Layout I/O of Processor

CPU unit

Processor
Start-up /Writing

parameter

Reset

Switch Setting!! Refer to user's manual of CPU unit about detail of setting.

3.4.1 Parameter setting switch of CPU

No

Content

Switch 1

Specify data carrier [Pagey size]

Switch 2

Specify R/W head oscillate mode

Switch 3

Specify of write skip function

Switch 4

Specify of buffer memory clear function

Switch 5

Specify of write protect area

※ Set a decimal number by GX Developer- 10 -

3.

Installation

Processor Z4-Q001

3.4.2 Specify [Page Size] of Data carrier
SW1 defines memory page size.

Configuration Example
The value of the switch1[page size] of Data carrier

1

32byte264byte3.4.3 Specifies Oscillation Mode of Read/Write head
It always oscillates when the Processor is ready, so please make sure to set as "OFF".

The value of the switch2

Oscillation mode0

Always oscillation

3.4.4 Specify of Write Skip Function[Write Skip Function] is the function that writing data is not carried out when the data already written in datacarrier memory is the same as the data to be written. This function can shorten the processing time for writing.
Select whether to use this function or not by setting switch, SW3.
The specified [write skip function] is valid to 2 channels (CH1/CH2).

The value of the switch3

With write skip function

0With function

1

Without function- 11 -

3.

Installation

Processor Z4-Q001

3.4.5 Specify Clear Buffer Memory[Clear Buffer Memory] is a function to clear all data [Reading data], [Writing data], [Data writing at once], and [Lifeexpectancy of Data carrier] in the buffer memory of Processor every time the signal (Y1/Y11) is turned [OFF].
In the case of this function is not used, the new data of the address correspond to renewed [Reading Writing data] ischanged and other data is remained.
Processor clears all of the data in buffer memory when [Ready] is started.
Select whether to use this function or not via switch setting SW4.
The specified [write skip function] is valid to 2 channels (CH1 / CH2).

The value of the switch4

Buffer Memory0

Without clear function

1

With clear function

3.4.6 Specify of Write Protect Area
When writing process is carried out to address of data carrier which is protected area specified with set switch, itwould be error and data writing is not done.
[Write Protected area] is specified per [page] of data carrier.
Set switch according to the following table.

Value of switch 5

Write protect

0

Non

1

0 page2

0 to 1 pages

4

0 to 2 pages

8

0 to 3 pages

15

All Pages<Note>
Processor detects error [Set switch] and outputs the error signal when the set switch is done
inapporopriate.
Please check the switch setting details before carry out the communication process to data carrier.

- 12 -

4.

Communicating Function

Processor Z4-Q001

4. 1 Communicating Function
Sequencer can process following communication to this Processor.

Function

Processing descriptions

Data Reading(1) Processing area for data reading is specified per page address or word address of Data carrier
from Sequencer to Processor.
(2) Processor reads indicated per word or page address of Data carrier and sets Buffer memoryarea ([reading data] area).
(3) Sequencer reads required data by [FROM] command from Buffer memory ([reading data] area) of
Processor.

Data Writing(1) Processing area for data writing is specified per word address of Data carrier from theSequencer to Processor.
(2) Writing data which corresponds to (1) is set by [TO command] from Sequencer to Buffer
memory ([writing data] area) of Processor.
(3) Processor writes data of Buffer memory ([reading data] area) to word address of Data carrier.

Data Writing at This command function is to write [same data] at once indicated all address of Data carrier.
once
It is available to clear all of data of data carrier.
(1) Specify processing area of [data writing at once] per [word]address of Data carrier from theSequencer to Processor.
(2) Writing data which corresponds to (1) is set by [TO command] from Sequencer to Buffer
memory ([writing data] area) of Processor.
(3) Processor writes data of the Buffer memory ([writing data] area) to all specified [word] addressof the data carrier.
Error Reading(1) When an error is detected, Processor sets the error code which corresponds to the error in
Buffer memory (error code area).
(2) Error code is read [FROM command] from Buffer memory (error code area) of Processor.

- 13 -

4.

Communicating Function

Processor Z4-Q001

4. 2 Memory Address of Data carrier
The address per one byte unit (8bits) is given to the memory of Data carrier..
"Page" can be configured per 32 or 64 bytes unit.Page size can be selected by switch setting. (Refer to 3.4.2)
Data communication between Sequencer and Processor is accomplished per "word" unit, but "page" unit is possible
in data reading.

Address memory of data carrier configuration

1 page - 32 byte
Page
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

START
0
10
20
30
40
50
60
70
80
90
A0
B0
C0
D0
E0
F0
100
110
120
130
140

21
22
23

150
160
170

1 page - 64 byte
Page
0
1
2
3
4
5
6
7
8
9
10

START
0
20
40
60
80
A0
C0
E0
100
120
140

29
30
30

3A0
3C0
3E0

Word address

END
F
1F
2F
3F
4F
5F
6F
7F
8F
9F
AF
BF
CF
DF
EF
FF
10F
11F
12F
13F
14F

The 112-byte data carrier has
the memory in 3 pages(0 ... 2).
The address range is 0 ... 2F.

15F
16F
177

Word address

END
1F
3F
5F
7F
9F
BF
DF
FF
11F
13F
15F

3BF
3.DF
3E7

- 14 -

The 112-byte data carrier has
the memory in 1 page(0).
The address range is 0 ... 2F.

4.

Communicating Function

Processor Z4-Q001

Data storage format of data carrier [memory]
Word dateword sddress

0H

12EFH

byte address
EFH

0H

12H

1H

write toword address [0H]

4. 3 Input and Output Signals
Input and output signals from the Sequencer to the are shown in the table below.
Device [X] is an input signal from Processor to the Sequencer, device [Y] is an output signal from Sequencer toProcessor.
[Device number] of the input output signal in the following table, is indicated when Processor is equipped on slot[0] of basic base unit.
[Note] When the controller is installed in another slot, the [Device number] of input output signals would bechanged. (Refer [Sequencer manual] and confirm [Device number]) Input signal (Device [X])Device
No.
X0
X1
X2
X3
X4
X5
X6
X7
X8
X9
XA
XB
XC
XD

XE
XF
X10
X11
X12
X13
X14
X15
X16
X17
X18
X19
X1A
X1B
X1C
X1D

X1E
X1F

Signals

Descriptions

Unit ready[OFF], when watch dog timer (WDT) error is occurred
CH1 Echo Require Communication Echo back signal of require communication (Y1)
Inzone[ON], when Read/Write head detects data carrier
not use―
Echo specify [Read page]1
Echo back signal of specify [Read page] 1 (Y4)
Echo specify [Read page]2
Echo back signal of specify [Read page] 2 (Y5)
Echo specify [Read address]1 Echo back signal of specify [Read address] 1 (Y6)
Echo specify [Read address]2 Echo back signal of specify [Read address] 2 (Y7)
Echo specify [Write add.]1
Echo back signal of specify [Write address] 1 (Y8)
Echo specify [Write add.]2
Echo back signal of specify [Write address] 2 (Y9)
Echo specify [write add. at Echo badk signal of specify [write address at same time] (YA)once]
not use―not use―Complete reading / writing(1)[ON] when read data is set from data carrier to buffer memory(2)[ON] when write data is written data carrier which is set inbuffer memory.
(3)[OFF] when require communication (Y1) is OFF.
Head disconnected
Error
CH2

[ON] Read/Write head is disconnected or cable breakage[ON] when error is detected.
―
Echo Require Communication Echo back signal of require communication (Y11)
InzoneON, when Read/Write head detects data carrier.
not use―
Echo specify [Read page]1
Echo back signal of specify [Read page] 1 (Y14)
Echo specify [Read page]2
Echo back signal of specify [Read page] 2 (Y15)
Echo specify [Read address]1 Echo back signal of specify [Read address] 1 (Y16)
Echo specify [Read address]2 Echo back signal of specify [Read address] 2 (Y17)
Echo specify [Write add]1
Echo back signal of specify [Write address] 1 (Y18)
Echo specify [Write add]2
Echo back signal of specify [Write address] 2 (Y19)
Echo specify [write add. at Echo badk signal of specify [write address at same time] (Y1A)
once]
not use―not use―Complete reading / writing(1)[ON] when read data is sent from data carrier to buffer memory(2)[ON] when write data is written to data carrier which is set inbuffer memory.
(3)[OFF] when require communication (Y11) is OFF.
Head disconnected
Error[ON] Read/Write head is disconnected or cable breakage[ON] when error is detected- 15 -

4.

Communicating Function

Processor Z4-Q001

Output Signal (Device [Y])Device
No.
Y0
Y1
CH1
Y2
Y3
Y4
Y5
Y6
Y7
Y8
Y9
YA
YB
YC
YD
YE
YF
Y10
Y11
Y12
Y13
Y14
Y15
Y16
Y17
Y18
Y19
Y1A
Y1B
Y1C
Y1D
Y1E
Y1F

CH2

Signals

Descriptions

not useRequirecommunication―
Command for starting identification communication (When the signal is ON,
identification communication would be started between Processor and Datacarrier.)
not use―not use―Specify [Read page]1 Specified signal [1] of processing area [reading data](Read from Data carrier according as processing area of page which set in
Buffer memory )Specify [Read page]2 Specified signal [2] of processing area [reading data](Read from Data carrier according as processing area of page which set in
Buffer memory )S p e c i f y [ R e a d Specified signal [1] of processing area [reading data](per word) (Read fromaddress]1
Data carrier according as processing area of word address which set in Buffer
memory )S p e c i f y [ R e a d Specified signal [2] of processing area [reading data](per word) (Read fromaddress]2
Data carrier according as processing area of word address which set in Buffer
memory )Specify [Write add]1
Specified signal [1] of processing area [writing data](Write data to Data carrier according as processing area of address which
set in Buffer memory)
Specify [Write add]2]
Specified signal [2] of processing area [writing data](Write data to Data carrier according as processing area of address which
set in Buffer memory)
Specify [write add. at Specified signal of processing area [writing data at once].
once](Write data to Data carrier according as processing area of address which
set in Buffer memory)
not use―not use―not use―not use―not use―not use―Requirecommunication

Command for starting of identification communication(When the signal is ON, identification communication would be started
between Processor and Data carrier.)
not use―not use―Specify [Read page]1 Specified signal [1] of processing area [reading data](Read from Data carrier according as processing area of page which set in
Buffer memory )Specify [Read page]2 Specified signal [2] of processing area [reading data](Read from Data carrier according as processing area of page which set in
Buffer memory )S p e c i f y [ R e a d Specified signal [1] of processing area [reading data] (per word) Read fromaddress]1
Data carrier according as processing area of word address which set in Buffer
memory )S p e c i f y [ R e a d Specified signal [2] of processing area [reading data] (per word) Read fromaddress]2
Data carrier according as processing area of word address which set in Buffer
memory )Specify [Write add]1
Specified signal [1] of processing area [writing data](Write data to Data carrier according as processing area of address which
set in Buffer memory)
Specify [Write add]2
Specified signal [2] of processing area [writing data](Write data to Data carrier according as processing area of address which
set in Buffer memory)
Specify [write add. at Specified signal of processing area [writing data at once].
once](Write data to Data carrier according as processing area of address which
set in Buffer memory)
not use―not use―not use―not use―not use―- 16 -

4.

Communicating Function

Processor Z4-Q001

4. 4 Buffer memory
Buffer memory is [Memory area] inside of Processor and functions as a relay to access from Sequencer to datacarrier.
Processor stores [reading data] from Data carrier to Buffer memory, and writes [writing data] to Data carrier
which is set from Sequencer to Buffer memory.
4.4.1 Construction of address (word) of [Buffer memory] is shown below.
(HEX)(Decimal)
0000

0

0001
0002
0003
0004
0005
0006
0007

1
2
3
4
5
6
7

CH1/Specify reading page area[1]Start page

0010
0011
0012
0013
0014
0015
0016
0017

16
17
18
19
20
21
22
23

CH2/Specify reading page area[1]

0020
0021
0022
0023

32
33
34
35

CH1/Specify writing address area[1]

0030
0031
0032
0033

48
49
50
51

CH2/Specify writing address area[1]

0040
0041
0050
0051

64
65
80
81

CH1/Specify writing address at once area

1000
1FFF
2000
2FFF
3000
3FFF
4000
4FFF
5000
5001

4096
8191
8192
12287
12288
16383
16384
20479
20480
20481

6000
6001
6002
6003

24576
24577
24578
24579

Input monitor of Device [Y]

6010
6017

24592
24599

CH1/ Store area for error code

6020
6027

24608
24615

CH2/ Store area for error code

6030
6031
6032

24624
24625
24626

Set monitor for switch 1
Set monitor for switch 2
Set monitor for switch 3

6033
6034

24627
24628

Set monitor for switch 4
Set monitor for switch 5

7FFF

32767

The number of processing pages
Start pageThe number of processing pages
Start address
The number of processing words
Start address
The number of processing words

CH1/Specify reading page area[2]CH1/Specify reading address area[1]CH1/Specify reading address area[2]--->[ Unused area ]Start pageThe number of processing pages
Start pageThe number of processing pages
Start address
The number of processing words
Start address
The number of processing words

CH2/Specify reading page area[2]CH2/Specify reading address area[1]CH2/Specify reading address area[2]---> [ Unused area ]Start address
The number of processing word
Start address
The number of processing word

CH1/Specify writing address area[2]---> [ Unused area ]Start address
The number of processing word
Start address
The number of processing word

CH2/Specify writing address area[2]---> [ Unused area ]CH2/Specify writing address at once area

Start address
The number of processing word
Start address
The number of processing word---> [ Unused area ]CH1/ Store area for [reading data]
CH1/Store area for [writing data](Note)
Refer to next chapter about
correspondence of this addressand data carrier address.

CH2/Store area for [reading data]
CH2/ Store area for [writing data]
CH1/ Store area for [writing data at once]
CH2/ Store area for [writing data at once]---> [ Unused area ]Output monitor of Device [X]---> [ Unused area ]---> [ Unused area ]---> [ Unused area ]---> [ Unused area ]- 17 -

4.

Communicating Function

Processor Z4-Q001

4.4.2 [Address] of Data carrier and [Store Address] of Buffer Memory
Corresponding of Data carrier [address] and Buffer memory [Stored Address] are indicated as follows.

<Table for corresponded address (address per word)>
Datacarrieraddress
0
1
:
:
FF
:
:
1FF
:
:
3F7

(Hex.)
Point [1]Buffer memory store address
Storedaddress of Buffer memory has a
Reading data
Writing data
different address for each channel (CH1 /
CH1
CH2
CH1
CH2
CH2) which connects Read/Write head forreading data and writing data
1000
3000
2000
4000
1001
3001
2001
4001
Point [2]
:
:
:
:
:
:
:
:
[Read data] from data carrier is set to [store
10FF
30FF
20FF
40FF
address] Buffer memory which corresponds to::::data carrier [address]
:
:
:
:
11FF
31FF
21FF
41FF
Point [3]
:
:
13E7

:
:
33E7

:
:
23E7

:
:
43E7

When writing data from the Sequencer to
Buffer memory, write the data to the stored
address of Buffer memory that correcponds tothe data carrier address. (for each specified
channel). Processor writes the data of thestored address that correcponds to thespecific address of the data carrier.

<Note>
Read/write command can be available up to 1000words (3E8H)
When larger command than memory capacity is given to ID tag of 752bytes (376 words), Processor will accept
and excute it.
In that case, read/write function is noramlly executed within the range of memory, but it shows "reading processerror" or "writing process error" when you access the address outside of the range.
For example, "writing process error" is displayed after writing up to 56 words when the command "write to Z1xxxx-xxx (icode 56 words) from 0 to 1000 words" is executed.

4. 5 Data Processing Time
Data processing time for reading and writing is shown below.
<112 byte / Data carrier> (icode-sli EEPROM)
Processing time
Data Volume
Reading
Writing
1 word2 byte0.1 sec.
0.1 sec.
32 word 64 byte
0.2 sec.
0.3 sec.
56 word 112 byte
0.3 sec.
0.6 sec.

<2000 byte / Data carrier> (FRAM)
Data Volume
1 word2 byte32 word
64 byte
250 word 500 byte
500 word 1000 byte
750 word 1500 byte
1000 word 2000 byte

Processing time
Reading
Writing
0.1 sec.
0.1 sec.
0.2 sec.
0.3 sec.
1.3 sec.
2.0 sec.
2.4 sec.
3.8 sec.
3.6 sec.
5.7 sec.
4.8 sec.
7.6 sec.

"(Note)The processing time is time to take till the reading and writing complete signal goes ON
after the communication request signal is set ON. It is due to the following conditions."-Processing the data continuously-Write skip function is ON-Writing data different from the data of tag※ If you turn off the lights skip function, you can shorten the processing time.

- 18 -

5.

Communication with Date carrier

Processor Z4-Q001

5. 1 Basic of Communication
This chapter explains communication between [Sequencer] and [Data carrier].
Communication is defined when Processor writes data which sent to Buffer memory of Processor with [TO command]from Sequencer to Data carrier or Sequencer reads data which Processor read from Data carrier with [FROM command]from Buffer memory of Processor.

CPU unit

Processor
Write [TO command]

Buffer memory

CH1

Data carrier
Read/Write
head
Communication

Read [FROM command

CH2

Data carrier
Read/Write
head

Point [1]Processor writes data which is specified by Sequencer directly to Data carrier without converting data to [ASCII].
When converting data to [ASCII] or [JIS code], process the data in Sequencer in advance.

5. 2 Selection of Read/Write head
There are 2 connecting terminals on Processor to connect 2 Read/Write heads for 2 channels (CH1 / CH2).
Exclusive signal and data area are assigned to [Input and Output Signal] and [Buffer Memory] for CH1 /CH2.
Communication processing with Data carrier can be carried out through Read/Write head which are connected eachchannel by carrying out command to signal for CH1/CH2 and data area.

Point
Processor can carry out communication processing for CH1/CH2 if other commands are output from Sequencer
at the same time
Sequencer can carry out communication processing for CH1/CH2 like a controlling 2 Processors.

- 19 -

5.

Communication with Date carrier

Processor Z4-Q001

5. 3 Specify of Processing Area of [Read Write]
Reading and Writing process from Sequencer to Data carrier is carried out according to processing area dataof [Buffer memory]which specify with [output signal].
5.3.1 Specify of processing area of [Reading]Reading per word unit
Channel
Output signal
CH1
Y6 : Specify reading address [1]Buffer memory[CH1 / Specify reading address [1]area]
address [0000 H ]：starting address[0001 H ]：number of processing words[CH1 / Specify reading address [2]area]
address [0002 H ]：starting address[0003 H ]：number of processing words[CH2 / Specify reading address [1]area]
address [0010 H ]：starting page[0011 H ]：number of processing words[CH2 / Specify reading address [2]area]
address [0012 H ]：starting address[0013 H ]：number of processing words

Y7 : Specify reading address [2]CH2

Y16 : Specify reading address [1]Y17 : Specify reading address [2]Reading per page unit
Channel
Output signal
CH1
Y4 : Specify reading page [1]Buffer memory[CH1 / Specify reading page [1]area]
address [0000 H ]：starting page[0001 H ]：number of processing pages[CH1 / Specify reading page [2]area]
address [0002 H ]：starting page[0003 H ]：number of processing pages[CH2 / Specify reading page [1]area]
address [0010 H ]：starting page[0011 H ]：number of processing pages[CH2 / Specify reading page [2]area]
address [0012 H ]：starting page[0013 H ]：number of processing pages

Y5 : Specify reading page [2]CH2

Y14 : Specify reading page [1]Y15 : Specify reading page [2](1) Two ways of reading process range can be specified for each channel.
(2) Reading process range can be specified by "word" or "page" unit of tag memory.
(3) Reading process range is set to predefined Buffer memory by "TO command" from Sequencer.
(4) Regarding to reading process range, specify word or page address, where reading should be started,and number of words or pages including starting address.
[Example]< Reading [0H] address only >			Starting address< Reading [5H]...[FH] addresses >

０

０

０

０

Starting address

０

０

０

５

Number of processing words ０

０

０

１

Numbar of processing words

０

０

０

Ｂ

		

< Reading [0H] page only >		

< Reading [5H]...[FH] page >Starting page

０

０

０

０

Starting page

０

０

０

５

Number of processing pages

０

０

０

１

Number of processing pages

０

０

０

Ｂ

<Note>
When the specified range of processing exceed the memory capacity of the ID tag, reading process is
executed within memory and then display "reading process error"(000B H)- 20 -

5.

Communication with Date carrier

Processor Z4-Q001

5.3.2 Specify of processing data area of [writing]
Channel
CH1

Output Signal
Y8 : Specify writing address [1]Buffer Memory[CH1 / Specify writing address [1]area]
Address [0020 H ] : Starting address[0021 H ] : Number of processing word
[CH1 / Specify writing address [2]area]
Address [0022 H ] : Starting address[0023 H ] : Number of processing word
[CH1 / Specify writing address at once]
Address [0040 H ] : Starting address[0041 H ] : Number of processing word
[CH2 / Specify writing address [1]area]
Address [0030 H ] : Starting address[0031 H ] :Number of processing word
[CH2 / Specify writing address[2]area]
Address [0032 H ] : Starting address[0033 H ] :Number of processing word
[CH2 / Specify writing address at once]
Address [0050 H ] : Starting address[0051 H ] : Number of processing word

Y9 : Specify writing address [2]

YA ：Specify writing address at once

CH2

Y18 : Specify writing address [1]Y19 : Specify writing address [2Y1A：Specify writing address at once

(1) 2 types of process areas of [writing] can be specified for each channel.
Processing area of [data writing at once] can be specified one for each cannel.
(2) Processing area of [writing] is specified by of [memory] of data carrier per [word] address.
(3) Set the processing area for [writing] with [TO command] from Sequencer to Buffer memory address.
(4) Processing area of [writing] is specified by how many words (processing words) of data are written
including the first address of writing data (starting address).
【Example】< Write to [0H] address > 				< Writing [5H]...[FH] address >Starting address

０

０

０

０

Starting address

０

０

０

５

Number of processing words

０

０

０

１

Number of processing words

０

０

０

Ｂ

<Note>
When the specified range of processing exceed the memory capacity of the Data carrier, writing process
is executed within memory range and then display "writing process error"(000A H)- 21 -

5.

Communication with Date carrier

Processor Z4-Q001

5. 4 Data Reading from Data carrier
Reading from Data carrier is defined as; Sequencer reads the data in from Processor via the FROM command. Previous tothat the data is read by page and stored in Buffer memory.
5.4.1 Stored area for [Reading data]
Store area of [reading data] is assigned to buffer memory of processor, [1000H...1FFFH] for CH1,
[3000H...3FFFH] for CH2. (Refer to "4.4 Buffer Memory")[Reading data] from data carrier is set data of data carrier [address] which correspond to specified processing
area per page.
Point
All data is cleared to [0000H] when the signal (Y1 / Y11) is turned [OFF], refer to 3.4.5 Specify Clear Buffer memory (SW4)
to select the clear function or not.

Data Reading Procedure[Example] CH1 / Specify of reading word [1] (Read/Write head: Oscillation mode)［Data carrier］［Processor］

Complete [reading and writing](XD) turns [ON] after readdata of specified page from data carrier and stored to buffer
memory.

Inzone（Input signal : X2）

Start page
Buffer memory: 0004H）(Note 1) This process is not necessary if [processing area data]was set already.
(Note 2) Set before signal (Y1) is [ON], it impossible to change[set data] until signal (Y1) is [OFF]Processing [TO], [data set of processing area]

Processing page
（Buffer memory: 0005H）

Specify reading page[1](Output signal : Y6）

t>=0

Require communication（Output signal : Y1）
Processing time
for reading

Complete [reading / writing]（Input signal : XD）
Processing

Sequencer /Processing reading(Buffer memory) : 1000H...1FFFH)[FROM] [data reading]After processing [FROM] is finished, turns [OFF] requirecommunication(Y1) and specify reading page [1] (Y4)

- 22 -

5.

Communication with Date carrier

Processor Z4-Q001

Data Reading Procedure[Example] CH1 / Specify of reading page [1] (Read/Write head: Oscillation mode)［Data carrier］［Processor］

Complete [reading and writing](XD) turns [ON] after readdata of specified page from data carrier and stored to buffer
memory.

Inzone（Input signal : X2）

Start page
Buffer memory: 0000H）(Note 1) This process is not necessary if [processing area data]was set already.
(Note 2) Set before signal (Y1) is [ON], it impossible to change[set data] until signal (Y1) is [OFF]Processing [TO], [data set of processing area]

Processing page
（Buffer memory: 0001H）

Specify reading page[1](Output signal : Y4）

t>=0

Require communication（Output signal : Y1）
Processing time
for reading

Complete [reading / writing]（Input signal : XD）
Processing

Sequencer /Processing reading(Buffer memory) : 1000H...1FFFH)[FROM] [data reading]After processing [FROM] is finished, turns [OFF] requirecommunication(Y1) and specify reading page [1] (Y4)

- 23 -

5.

Communication with Date carrier

Processor Z4-Q001

5. 5 Data Writing to Data carrier[Writing] to data carrier means, Processor writes data which is written to the stored area of Buffer memory [writingdata]in Processor from the Sequencer to data carrier.
5.5.1 Stored area for [Writing data]
Stored area for [writing data] is set to Buffer memory of Processor, [2000H...2FFFH] for CH1, [4000H...4FFFH] forCH2. (Refer to "4.4 Buffer memory")[Writing data] from Sequencer is written to data carrier [address] which corresponds
to specified processing area per word.
Point[1]All data in store area for [writing data] is cleared to [0000H] when signal (Y1 / Y11) is turned [OFF], in the conditionof [clear of Buffer memory] (refer to 3.4.5 Specify of Clear of Buffer memory) is selected via switch setting.
Point[2]In setting [writing data], set the data to [store address of writing data] which corresponds to the [address] of datacarrier. Processor writes data to data carrier [store address of writing data] which corresponds to area of processing.
5.5.2 Data writing Procedure
Example CH1 / Specify of writing address [1]［Data carrier］［Processor］

Complete [reading and writing](XD) turns [ON] after write data
which is stored in Buffer memory to data carrier.

Inzone(Input signal: X2)

Start address(Buffer memory : 0020H)(Note 1) if [processing area data]was set already,this process is not necessary(Note 2) Set before signal (Y1) is [ON], it impossible to change[set data] until signal (Y1) is [OFF]Processing [TO] [data set of processing area]

Processing word
(Buffer memory : 0021H)(Note 1) Set writing data which is correspond to processing area in order ofaddress from bottom.
(Note 2) Set before signal (Y1) is [ON], it impossible to change[set data] until signal (Y1) is [OFF]Sequencer /Processing reading(Buffer memory : 2000H...2FFFH)

Processing [TO][data set of writing]Specify writing address [1](Output signal : Y8)

t>=0Require communication(Output signal : Y1)
Writing
processingtimeComplete [reading / writing]After processing writing is completed, turns [OFF] requirecommunication(Y1) and specify writing address [1] (Y8)- 24 -

5.

Communication with Date carrier

Processor Z4-Q001

5. 6 Data Writing to Data carrier at once
[Data writing to Data carrier at once] means Processor writes [1 word data] which is written to the stored area of Buffer
memory of Processor by Sequencer to all of the specified address of Data carrier. (Writing process of [the same data])
5.6.1 Stored area for [writing data at once]
Stored area for [writing data at once] is set [5000H] for CH 1, [5001H] for CH 2 to Buffer memory of Processor. (Refer
to 4.4 [Buffer memory]) [Writing data at once] the same data is written to all the addresses of Data carrier.

Point
All data in stored area of [writing data at the same time] is cleared to [0000H] when signal (Y1 / Y11) is turned [OFF],when SW4 is set [clear buffer memory] (refer to 3.4.5 Specify Clear Buffer Memory).

5.6.2 Data Writing at once Procedure[Example] CH1 / Specify of writing address at once (Read/Write head: Oscillation mode)[Data carrier][Processor]

Complete [reading and writing](XD) turns [ON] after write
data is stored in Buffer memory to data carrier.

Inzone(Input signal : X2)

Start address(Buffer memory : 0040H)(Note 1) This process is not necessary if [processing area data]was set already.
(Note 2) Set before signal (Y1) is [ON], it impossible to change[set data] until signal (Y1) is [OFF]Processing [TO][area of processing data set]

Processing words(Buffer memory : 0041H)(Note 1) Set data to write at once (1 word)(Note 2) Set before signal (Y1) is [ON], it impossible to change[set data] until signal (Y1) is [OFF]Sequencer / writing process(Buffer memory : 5000H)

Processing [TO], [data set of writing at once]

Specify writing address at once [1](Output signal: YA）

t>=0
Require communication(Output signal : Y1)
Writing
processingtimeComplete [writing](Input signal : XD)

After processing writing at once is completed, turns[OFF]signal(Y1) and specify writing address (YA).

- 25 -

5.

Communication with Date carrier

Processor Z4-Q001

5. 7 Programming example
5.7.1 Data Reading
Data Reading / Programming example(1) Read/Write head(2) Read the Data carrier address 0H...5H (6 words)data by Read/Write head/CH1and store it register of Sequencer.
(3) Condition of setting ; 0 slot --> Processor		

1 slot --> Input unit (32 signals)		

2 slot --> Output unit (32 signals)

X0

X20

X2

		U0 ￥
MOV
H0
G0

0

		U0 ￥
MOV
H1
G1
Y4
Y1
X1

X0D

		
FROMP
HO
H1000

13

D0

K6
Y50

X0
21

Y5E
X0F

24

END

[Description]
Step No.
0

13

21Process
When unit ready signal (X0), start-up command from external unit (X20)and inzone signal (X2) turn [ON],1 - Set [0H] to store area (0) of start page in buffer memory [CH1/ specify of reading page [1] area].
2 - Set [1H] to store area (1) of process pages in Buffer memory [CH1/specify of reading page [1] area.
3 - Set [ON] CH 1 / specify reading page signal [1](Y4).
4 - Set [ON] CH 1 / Require communication signal (Y1).
After required communication echo signal (X1), [reading and writing] complete signal (XD) turns [ON], read
6 words from (1000H) of Buffer memory [CH1/store area of [reading data]] and set D0...D5 of dataregister.
And, turns [ON] external output signal (Y50)at the same time.
Turns [ON] external output signal (Y5E) when unit ready signal (X0) turns [OFF] or error signal (XF) turns [ON].

- 26 -

5.

Communication with Date carrier

Processor Z4-Q001

5.7.2 Data Writing
Data Writing / Programming example(1) Read/Write head(2) Write the following data to Data carrier address 20H...23H (4 words) using Read/Write head / CH 2.
Data carrier address
Writing data

20H
0000H

21H
1111H

22H
2222H

23H
3333H

(3) Condition of setting ; 0 slot --> Processor
1 slot --> Input unit (32 signals)
2 slot --> Output unit (32 signals)
X0

X20

0

X12

		U0 ￥
MOVP
H20
G48
		U0 ￥
MOVP
H4
G49
		
MOVP
H0
D10
		
MOVP
H1111
D11
		
MOVP
H2222
D12
		
MOVP
H3333
D13
		
TOP
HO
H4020

D10

K4

Y18
Y11
X11

X1D
Y50

26
X0
29

Y5E
X1F

32

END
[Description]
Step No.
Process0
When unit ready signal (X0), starting command from external unit (X20),and inzone signal (X12) turn [ON],26
29

1 - Set [20H] to store area (48) of start address in Buffer memory [CH2/specify of writing address [1]area].
2 - Set [4H] to store area (49) of process words in Buffer memory [CH2/specify of writing address [1]area.
3 - Transmits data [0000H, 1111H, 2222H, 3333H] to data resister D10...D13.
4 - Set data [0000H, 1111H, 2222H, 3333H] to 4 words from (4020H) of [CH2/store area of writingdata]
5 - Set [ON] CH 2 / specify writing address signal [1] (Y18).
6 - Set [ON] CH 2 / Require communication signal (Y11).
When required communication echo signal (X11) and finish reading signal (X1D) turn [ON], turns [ON]external output signal (Y50)
Turns [ON] external output signal (Y5E) when unit ready signal (X0) turns [OFF] or error signal (X1F) turns[ON].
- 27 -

5.

Communication with Date carrier

Processor Z4-Q001

5.7.3 Data Writing at once
Data writing / Programming example(1) Read/Write head(2) Write data [0000H] at once to all address of data carrier 0H...3FFH (1k words) using Read/Write head / CH 1.
(3) Condition of setting ; 0 slot --> Processor
1 slot --> Input unit (32 signals)
2 slot --> Output unit (32 signals)

X0

X20

X2

		U0 ￥
MOVP
H0
G64

0

		U0 ￥
MOVP
H178
G65
		U0 ￥
MOVP
H0
G20480
Y0A
Y1
X1

X0D
Y50

17
X0
20

Y5E
X0F

23

END

[Description]
Step No.
Process0
When unit ready signal (X0), starting command from external unit (X20), inzone signal (X2) turn [ON],1 - Set [0H] to store area (64) of start address in Buffer memory [CH1/ specify area of writing address atonce].
2 - Set [400H] to store area (65) of process words in Buffer memory [CH1/specify area of writing address
at once].
3 - Set data [0000H] to (20480) of Buffer memory [CH 1 / specify area of writing address at once].
4 - Set [ON] CH 1 / specify signal of writing address at once (YA).
17
20

5 - Set [ON] CH 1 / Require communication signal (Y1).
When required communication echo signal (X1) and finish reading signal (XD) turn [ON], turns [ON] external
output signal (Y50)
Turns [ON] external output signal (Y5E) when unit ready signal (X0) turns [OFF] or error signal (XF) turns[ON].

- 28 -

6.

Error information

Processor Z4-Q001

6 Error information
When Processor detects any error, error signal (CH1:XF/CH2:X1F) turns [ON] and sets error code which indicates error
contents to the stored area of [error code] buffer memory.
It is possible to memorize up to 8 error codes and the last error code is set to the bottom last address.
Error codes can be confirmed by [indication LED] of processor. (Refer to 2.3 [LED indication] and [Terminals])
Point- Error signal (CH1:XF / CH2:X1F) turns [OFF] when require communication (CH1:Y1 / CH2:Y11) is turned [ON].
It is not possible to turn [OFF] only Error signal.
- The required communication process starts as soon as the Error signal turns [OFF].
Error code table(Hex.)
Error code

0001H

Error typeSpecified data[processing area]
is invalid

Description
There are the following mistakes in the data content that specifies the processing area of [reading
and writing]. (Refer to "4.3.2 Specify of [Memory Size] of Data carrier")(1) [Processing page]/[processing word] is [0](2) [Start page]/[start address] does not exist in [memory] address of Data carrier.
(3) Processing area which is specified in [start page & processing page] / [start address &processing word] exceeds [memory size] of Data carrier.

In processing [reading and writing] (after require communication turns [ON] and until [OFF]), data
contents specified in processing area [reading and writing]has changed.

0002H

Specified data changeof [Processing area]

0003H[writing] data change

In processing [writing] (after require communication turns [ON] and until [OFF]), contents of [writingdata] has changed.

Specified signal[processing area] is invalid

There are following mistakes in the output signal (Y points) which specify processing area of[reading and writing]. (Refer to "3.3 Input and Output Signals")(1) Undefined output signal (Y points) turns [ON].
(2) Multiple signals of the processing area are [ON] to the same channel.
(3) Any signal [processing area] is not [ON]0005H

Signal change specified[Processing area]

In process [reading and writing] (after require communication turns [ON] and until [OFF]),
specified signal of [processing area] has changed.

0006H

Signal missing[Processing area]

In process [reading and writing] (after require communication turns [ON] and until [OFF]),
specified signal of [processing area] turns [ON]0007H

Missing signal[Require communication]

Require communication signal turns [OFF] before finish signal [reading and writing] (XD, X1D)
turns [ON].

0008H

Protocol error

Communication to Read/Write head is not carried out properly

0009H

Write protect error

Carry out writing process to a specified write protect area [set switch]. (Refer to "4.3.6 Specify ofWrite Protect area")

000AH

Writing processing error

Despite writing process to the data carrier, identification communication isn't performed correctly .

000BH

Reading processing error

Despite reading process to the data carrier, identification communication isn't performed correctly
.

000CH

Missing data carrier

Data carrier is missing from communication area (inzone) of Read/Write head.

000DH

Read / write Head is disconnected

Detects Read/Write head is disconnected or cable breakage of Read/Write head

000EH

Detection of power supply
is disconnected

Detects disconnected 5V power supply supplied from Sequencer bus line.
(1) Set error code to both channel of CH1 / CH2 when this error is detected.
(2) Error code is set when power is supplied.

000FH

Processor is out of order

Detects [RAM] of processor is out of order.
Set error code to both channel of CH1 / CH2 when this error is detected.

0010H

Switching set error

There is mistake in contents of [set switch] by [GX Developer].
(Reffer to "4.3 Setting of Switches ([GX Developer])" )0011H

Sequencer CPU error

Receive [error signal] from Sequencer CPU(Q-CPU).
Error code is set to both channel of CH1 / CH2 when detects this error.

0004H- 29 -

Processor Z4-Q001- 30 -

Processor Z4-Q001- 31 -

Wireless Power Supply by

Mail ：sales@b-plus-kk.com
Web ：http://www.b-plus-kk.com* Contents is subject to change without notice.