Unipulse DeviceNet F381A User manual

DeviceNet I/F
01FEB2015REV.3.02
F381A/F388A
OPERATION MANUAL

Introduction
I
Introduction
The DeviceNet I/F option is an interface for controlling the F381A/F388A with PLC.
By using DeviceNet, the F381A/F388A can be controlled directly from the PLC, resulting in substantial
reductions in wiring.
The supported functions include reading of the present indicated value and status, commands such as D/Z,
waveform functions, reading and writing of set values, etc.
(* Since set values and waveforms are read and written by message functions, use a master that supports
them.)
Parameters such as a slave are to be set at the front of the F381A/F388A. Also, there is no need to set the
baud rate of the F381A/F388A since it automatically follows the master.
In this document, outputs refer to signals from the master to the slave (F381A/F388A), and inputs refer to
signals from the slave (F381A/F388A) to the master.
Remote I/O communications regularly exchange data between the master and slave.
Communications are carried out at the timing of occurrence of events by message
functions.
Ref erence
DeviceNet is a registered trademark of ODVA (Open DeviceNet Vendor Association).
SYSMAC CS/CJ Series is a registered trademark of OMRON Corporation.
About copyrights and trademarks

Contents
II
Contents
1. Part names. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2. F381A/F388A setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
3. Communication connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
4. Status LED. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
5. About remote I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
6. I/O format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
6-1. I/O format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
■Input data (F381A/F388A →Master) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
■Output data (Master →F381A/F388A) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
6-2. About input data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
6-3. About output data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
7. About message communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
8. Message communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
8-1. Communication format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
■Reading set values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
■Writing set values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
■Reading set values(all). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
■Writing set values(all). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
■Reading measurement range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
■Reading waveform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
■Writing waveform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
■Reading hold results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
■Reading Wave No. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
■Writing Wave No.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
■Error response. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
8-2. List of set value commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Contents
III
■Read and write various settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
■All read & write set values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
■Unit setting list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9. A sample program of message communications using . . . . . . . . . . . . . . . . 26
9-1. Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
9-2. The representative case of each message in a sample program. . . . . . . . . . . . . . . . 29
■Reading set values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
■Writing set values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
■Reading set values(all). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
■Writing set values(all). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
■Reading measurement range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
■Reading waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
■Writing waveform. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
■Reading the hold results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
■Reading Wave No. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
■Writing Wave No. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
■Error response. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
10.Device profiles and object implementation. . . . . . . . . . . . . . . . . . . . . . . . . . 40
■Device profiles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
■Implementation of objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
■Expression of EDS file and the explanation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
■Names of alternatives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
11.Outside dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

Contents
IV
M E M O

1.Part names
1
1. Part names
Status LED
Indicating the communication status.
(See "4.Status LED" on page3.)
Communication connector
The Connector for connecting DeviceNet.
(See "3.Communication connector" on page2.)
2. F381A/F388A setting
Operation
Main screen→Setting→First Setting→Option setting→DeviceNet
Node address (Initial value, 0): 0 to 63
Input select 1 (Initial value, Ext. input): Network, Ext. input
Input select 2 (Initial value, Ext. input): Network, Ext. input
Major revision (Initial value, 1): 1 to 2
Explanation for setting
Node address:Setting the node adress.
Input select1 to 2: Select whether input signals of the F381A/F388A are directed by the
control connector (Ext. input) or by DeviceNet (Network).For each
setting, select the following signal.
Input select 1..........Load Digital Zero, DPM Positioning, Start, Stop, Hold, Reset, Backlight
On, Prohibit Touch Panel
Input select 2..........Work 1, Work 2, Work 4, Work 8
Major revision: Set major revision of the F381A/F388A as a device.
Use at “1”. (Do not change.)
* Setting of the communications speed is note required.
Status LED
Communication
connector

3.Communication connector
2
Alarm codes
The alarm codes appearing at the lower right of the DeviceNet setting
screen are as shown in the table below.
List of alarm codes
Correspondence between major revision and an EDS file
3. Communication connector
Prepare a 24V DC power supply.
The relationship between each signal line and color chip is as follows.
The applicable plug is a PHENIX CONTACT-manufactured MSTB2.5/5-STF-5.08AUM
(accessory) or equivalent.
Code Status
0Normal status
1 to 10 Internal hardware failure
11 Node address overlap
13 Network power failure
EDS
file
Major
revision
setting
Number
of
parameters
Remarks
Time to read via a
configurator
(at 500kbps)
F381.eds 1 116 Only 0ch Approx. 30 sec.
F388.eds 1 115 Only 0ch Approx. 30 sec.
When many parameters are displayed via a configurator, etc., it takes time to
access; therefore, an EDS file that supports only 0ch is available for setting on
each ch.
Point
Red
White
Blue
Black
Name Type of signal
Black Power code -side (V-)
Blue Communication data Low side (CAN L)
―Shield
White Communication data High side (CAN H)
Red Power code +side (V+)

4.Status LED
3
4. Status LED
Communication status is displayed by LED.
MS:Indicating the F381A/F388A status.
NS:Indicating the Network status.
5. About remote I/O
The F381A/F388A can send status and indicated values through DeviceNet with a delay of approx.
100msec compared with external I/O signals of the main body (in simple remote I/O
communications).
Furthermore, the delay time is affected by the cycle time of the communications, scan time of the
PLC, etc.
Therefore, for cases where the speed is severe, use the control connector of the main body, and not
via communications.
In a line manner, since input signals such as the D/Z command also cause a delayed time when used
via communications, use the control connector for cases requiring speed.
Input signals (F381A/F388A →Master) are output to communications and the control connector in
parallel irrespective of settings of the main body.
For output signals. (Master →F381A/F388A), communications or the control connector can be
selected on a block-by-block basis.
MS (Module status) LED Status
Red Turns ON
Red Blinks
Green Blinks
Green Turns ON
Trouble
Trouble
Trouble
Normal
NS (Network status) LED Status
Red Turns ON
Red Blinks
Green Blinks
Green Turns ON
Bus OFF, Node Address Overlap
Communication Time-out
Waiting for Connection establishment
Normal
All input and output signals are of positive logic.
1: ON
0: OFF
The operations are the same as those of the I/O signals of
the main body. For details, refer to the F381A/F388A Operation Manual.
Point

6.I/O format
4
6. I/O format
6-1.I/O format
■Input data (F381A/F388A→Master)
■Output data (Master→F381A/F388A)
ch B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0
n+0 Load (Signed 16 bit binary)
n+1 DPM (Signed 16 bit binary)
n+2 SD
OK
DPM
OK
Load
OK Run Compl-
ete
Wave Result
Overload
Hold Result
DPM Load
HI OK LO HI OK LO HI OK LO
n+3
Work Display Measurement Status
8421 Reset
ON
Compl-
ete
Wait
Cal.
Sampl-
ing
Wait
Lv.
Wait
OFF
Wait
St.
ch B15 B14 B13 B12 B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 10
n+0
Work Prohibit
Touch
Panel
Back-
light
ON
Reset Hold Stop Start
DPM
Position
ing
Load
Digital
Zero
8421
* If speed is required, use the control connector on the main unit.
Effective only when Input Select 1 is Network.Effective only when Input Select 2
is Network.

6.I/O format
5
6-2.About input data
Load ・displacement
The data of the currently indicated value is stored. If the indicated value is held, the held value is
displayed.
* If the X-axis of the waveform is time, the displacement value becomes 0.
Range Load:-9999~9999、Displacement:-9999~320000
・Hold Result (Load/DPM)
Use it for acquiring judgment results by using the hold function. If displacement needs to be
judged, also use DPM. It is not used if the hold function is not used. Hold results are output.
LO:Turns ON when the hold result falls below the LO limit, and the output is held.
HI:Turns ON when the hold result exceeds the HI limit, and the output is held.
OK:Turns ON when judgment is made during measurement and the LO and HI outputs are
not ON after completion of the measurement. OK will not turn ON if no hold is made
for the specified Number of Use Sections.
* Please fetch the inputs in synchronization with the Complete of n+2.
・Overload
Use Overload to stop the equipment in case of emergency due to the excess load applied to the
sensor. Irrespective of the measurement status, it turns ON at the Overload. It turns OFF, when
the Overload is released.
・Complete
Use it for recognizing the completion of measurement. It turns ON when the measurement is
completed.
・Wave Result
Use it for acquiring judgment results by using the waveform comparison function. It is not used
if the waveform comparison function is not used. Waveform comparison results are output.
LO:Turns ON when the waveform comparison result falls below the LO limit, and the
output is held.
HI:Turns ON when the waveform comparison result exceeds the HI limit, and the output is
held.
OK:Turns ON when the Compare Area is passed through during measurement and the LO
and HI outputs are not ON after completion of the measurement. OK will not turn ON if
the measurement does not reach the Compare Area or the Reference Point of Relative
Comparison when Relative Comparison is made.
* Please fetch the inputs in synchronization with the Complete of n+2.
・Load OK
Use it for recognizing the abnormality of the load sensor. It is normally ON. It turns OFF with a
sensor error (sensor ±error), or display error (±OVER), or when load exceeds the Overload or
when the Load-Digital-Zeroed value exceeds the Digital Zero Limit. It also turns OFF when the
Start, Reset, or Load Digital Zero signal is ON.
・DPM OK
Use it if the X-axis of the waveform represents displacement. It is not used when the X-axis of
the waveform represents time. It turns OFF when measuring points of 10 data or more are
skipped because the pacing of displacement is too fast. It also turns OFF when the Start, Reset,
or DPM Positioning signal is ON.

6.I/O format
6
・Run
Use it for confirming that the CPU is running normally.
When the CPU is running normally, switching between ON and OFF is done about every 0.5
sec. If it is ON or OFF for a few seconds, there may be something wrong.
・SD OK
Normally use it if the SD card slot option is used. It turns OFF with a memory card error*1, or
when the measurement start input OFF →ON is ignored because a measurement waveform is
not saved in time while being saved automatically*2. It also turns OFF when the Start or Reset
signal is ON.
*1 It does not turn ON until the error is cleared.
*2 It is reset by starting measurement being saved in time.
Measurement status
Displays the present measurement status.
Wait St............... The Start signal input is waited for. Input the Start signal. Measurement can
also be started by pressing the Start key.
Wait Off ............. It is waited for that the Start signal input is turned OFF. Turn OFF the Start
signal.
Wait Lv. ............. It is waited for that load or displacement crosses the Measurement Start Level.
Apply load to the sensor so as to cross the Measurement Start Level.
Sampling........... Measurement is in progress. The measurement is stopped when the
Measurement Stop Condition is met.
* During measurement, the present measurement waveform is not displayed.
Calculating ....... Judgment is being prepared.
Complete .......... Measurement is completed. The measurement waveform is displayed.
Reset On .......... It is waited for that the Reset signal is turned OFF.
Work display
The currently used work No. is output. During measurement, the work No. used for measurement is
output.
6-3.About output data
Load Digital Zero
Perform Digital Zero by unloading the load sensor before measurement to simply adjust the
deviation of the zero point of the load by temperature drift, etc. The load is zeroed by turning the
signal from OFF to ON. As long as the signal is ON, the Load OK output is kept OFF.
* Digital zero value is cleared when the power supply is turned on.If you want to
maintain digital zero value, please do zero calibration instead.
DPM Positioning
Use it for adjusting the zero point of displacement just before measurement start.
It is not used if the X-axis of the waveform represents time or the zero point of displacement does
not need to be adjusted. By turning the signal from OFF to ON, displacement is brought to the DPM
Positioning set value, and the internal counter of the pulse input is cleared. As long as the signal is
ON, the DPM OK output is kept OFF.

7.About message communications
7
Start
Use it for starting measurement. By turning the signal from OFF to ON when the Start signal input
is waited for, a “Wait Off” state is brought about, and the Hold Result, Wave Result, Complete,
Load OK, and DPM OK outputs are turned OFF. By turning the signal from ON to OFF, a “Wait
Lv.” State is brought about, or the measurement is started according to the Measurement Start
Condition.
Stop
Use it for stopping measurement. By turning the signal from OFF to ON during measurement, the
measurement is stopped.
Hold
Use only for using the section control function by External Input. It is not used if the hold function
is not used or Change of Section is made by Setting. By turning the signal from OFF to ON, the
hold section is changed.
Reset
Use it for releasing some errors, etc., in emergencies. Irrespective of the measurement status, by
turning the signal from OFF to ON, the Hold Result, Wave Result, Load OK, and DPM OK outputs
are turned OFF, and a “Wait St.” state is brought about. If the Reset signal is turned from OFF to
ON during measurement, the measurement is forcedly stopped and the measurement data is
annulled. For keeping the data, check the data after completion of the measurement, and then turn
the Reset signal from OFF to ON.
Prohibit Touch Panel
Use it for controlling so as to prevent touch panel operations. As long as the signal is ON, no operation
can be performed with the touch panel.
Backlight On
Use it for controlling the backlight externally. By turning the signal from OFF to ON, the backlight
lights up. As long as the signal is ON, the backlight stays ON.
Work
Use it for using two or more work Nos. It is not used if only work No. 0 is used. Specify work
No(s). to be used before measurement.
7. About message communications
By using message communications, the following can be read and written.
Be aware that the setting range varies depending on the settings of the main unit.
* For message communications, a master that can carry out message communications and CPU unit
need to be combined.
・Set value:Read / Write / Read (all) / Write (all)
・Measurement range:Read
・Waveform:Read / Write
・Hold result:Read
・Wave No.:Read / Write

8.Message communication
8
8. Message communication
8-1.Communication format
■Reading set values
Example) Reading Use Hold in Hold Setting (work 1, section 2)
●Sending data(Master→F381A/F388A)
●Receiving data(F381A/F388A→Master)
* For class ID, instance ID, attribute ID, and data, see List of set value commands
"■Read and write various settings" on page 17.
* Received data in normal condition is shown. For received data in abnormal
condition, see "Error response" on page16.
Point
00H 0EH 00H 71H 00H 70H 67H
Node address (Node0)
Service code(Various setting reading)
Class ID (Hold setting)
Instance ID (work1、section2)
Attribute ID (Use hold)
Service data(1byte)
06H 00H 8EH 02H 00H 00H 00H
Receiving number of bytes(6byte)
Node address (Node0)
Service code+80H(Various setting reading)
Data(00000002H:PEAK)
Service data(4byte)
LL LH HL HH

8.Message communication
9
■Writing set values
Example) Writing Use Hold in Hold Setting (work 1, section 2)
●Sending data(Master→F381A/F388A)
●Receiving data(F381A/F388A→Master)
■Reading set values(all)
Example) Reading all measurement start condition settings (work 1)
●Sending data(Master→F381A/F388A)
●Receiving data(F381A/F388A→Master)
00H 10H 00H 71H 00H 70H 67H
Node address (Node0)
Service Code(Various setting writing )
Class ID (Hold setting)
Data
Service data(5byte)
LL LH HL HH
02H 00H 00H 00H
(00000002H:Peak)
Instance ID (work1、section2)
Attribute ID(Use hold)
02H 00H 90H
Receiving number of bytes(2byte)
Node address (Node0)
Service Code+80H(Various setting writing )
00H 32H 00H 6FH 00H 6EH
Node address (Node0)
Service code(Various setting all reading)
Class ID (Measurement start condition setting)
Instance ID (work1)
12H 00H B2H 01H 00H 00H 00H
Receiving number of bytes
Node address (Node0)
Service code+80H (Various setting all reading)
Data4
Service data
LL LH HL HH
2CH 01H 00H
(0000012CH:300)
Data1measurement start condition
00H
LL LH HL HH
(00000001H:External Input + Load)
Measurement end level
(The number of bytes of service data+2 (Example is18byte))
(differs according to the class ID specified at send-time(Example is16byte))

8.Message communication
10
■Writing set values(all)
Example) Writing all measurement start condition settings (work 0)
●Sending data(Master→F381A/F388A)
●Receiving data(F381A/F388A→Master)
■Reading measurement range
Example) Reading the measurement range
●Sending data(Master→F381A/F388A)
00H 33H 00H 6FH 00H 64H 01H
Node address (Node0)
Service code (Various setting all writing )
Service data
00H 00H
Data1 measurement start condition
LL LH HL HH
(00000001H:External Input + Load)
00H
Class ID (Measurement start condition setting)
Instance ID (work0)
2CH 00H 00H
Data4 measurement end level
LL LH HL HH
(00000012H:300)
01H
(It changes with Class ID to specify. (Example is16byte))
02H 00H B3H
Receiving number of bytes(2byte)
Node address (Node0)
Service code+80H(Various setting all writing )
00H 34H 00H 82H 00H 64H
Node address (Node0)
Service code(Reading measurement range)
Class ID (0082H fixed)
Instance ID (0064H fixed)

8.Message communication
11
●Receiving data(F381A/F388A→Master)
■Reading waveform
A waveform is an array of up to 2048 (data No. 0 - 2047) load data. The data of the waveform can
be read by specifying the data No. range to read.
However, the amount of load data that can be handled in one message communication is up to 32.
The waveform is divided into 64 (32×64 = 2048), and the waveform is read 64 times.
* The range to read can be specified as narrowed by reading the measurement range.
(Depending on usage, all of 2048 may not be used for measurement.)
* The time required to read one waveform (load) (2048 data) is approximately 4 seconds.
・Measurement conditions:
CPU unit: SYSMAC CS1G CPU42-V1 (manufactured by OMRON)
Master unit: DeviceNet master unit CS1W-DRM21 (manufactured by OMRON)
Master and slave (F381A/F388A) one-to-one, 500kbps
No processing other than waveform read
Example) Reading a measurement waveform (load in the range of 0 - 2047)
①Read the measurement waveform in the range of 0 - 31.
●Sending data(Master→F381A/F388A)
06H 00H B4H 00H 00H FFH 07H
Receiving number of bytes(6byte)
Node address (Node0)
Service code+80H (Reading measurement range)
Service data(4byte)
Data1 start of the range
LHLH
(0000H:0(Data number ))
data range:0~2047
Data2 end of the range.
(07FFH:2047(Data number ))
data range:0~2047
00H 35H 00H 82H 00H 64H 64H
Node address
Service code
Service data(6byte)
00H 00H 00H 1FH 00H
LHLHLH
(Node0)
(Reading
Class ID (Measured waveform)
・0082H(130):Measured waveform
・0083H(131):Comparison waveform (upper limit)
・0084H(132):Comparison waveform (lower limit)
・0085H(133):Comparison waveform (upper limit) used
for measurement
・0086H(134):Comparison waveform (lower limit) used
for measurement
Data3Data1 Data2
Instance ID
・0064H(100):work0
・006EH(110):work1 ~
00 F BH( 250) :work15
* Specify 0064H if a measurement
waveform or comparison waveform
used for measurement is specified
to class ID.
Data1(load)
・0064H(100):load
・0065H(101):Displacement(Time)
Data2 start of the range
(0000H:0(Data number )
data range:0~2047
* Data range should be as the start of the
range ≦the end of the range.
* The end of the range - the start of the range
≦31.
Data3 end of the range.
(001FH:31(Data number )
data range:0~2047
waveform)

8.Message communication
12
●Receiving data(F381A/F388A→Master)
・When load is specified to data 1 of send data
・When Displacement is specified as data 1 of sending data
②Change the range and repeat ①. (the start of the range~last:32~63、64~95、…、
2016~2047)
42H 00H B5H FFH FFH 01H 00H
Receiving number of bytes
Service code+80H
Service data(differs according to the range specified at send-time
03H 00H 04H 00H
(The number of bytes of service data +2
LH LHLH
LH
Load:2nbyte Displacement(Time):4n (n=1 ~32(Example is n=32))
Node address
(Node0)
(Reading waveform)
Data1
Waveform data of the start of
the range(FFFFH:-1)
data range:-9999 ~9999
Data2
Waveform Data of the start of
the range+1(0001H:1)
data range:-9999 ~9999
Data1 Data2 Data n -1Datan
Data n -1
Waveform data of the end of
the range-1 (0003H:3)
data range:-9999 ~9999
Data n
Waveform data of the end of
the range.(0004H:4)
data range:-9999 ~9999
(Example is 66byte))
82H 00H B5H 00H 00H 00H 00H
Receiving number of bytes
Service code+80H
Service data(differs according to the range specified at send-time
1FH 00H 00H 00H
(The number of bytes of service data + 2
Load:2nbyte Displacement(Time):4n (n=1 ~32(Example is n=32))
Node address
(Node0)
(Reading waveform)
Waveform data of the start of the
range(00000000H:0)
data range:
・Time:0~51175
・Displacement(reference; front):
0~10235
・Displacement(reference; back):
-10235 ~0
Data1 Data n
Waveform data of the end of the
range.(0000001FH:31)
data range:
・Time:0~51175
・Displacement(reference; front):
0~10235
・Displacement(reference; back):
-10235 ~0
LL LH HL HH LL LH HL HH
(Example is 130byte))

8.Message communication
13
■Writing waveform
A comparison waveform upper limit (lower limit) is an array of 2048 (data No: 0 - 2047) load data.
The comparison waveform is written by specifying data Nos. and load, and one piece of load data is
rewritten in one message communication. Therefore, for rewriting all of one waveform, writing
operation is to be performed 2048 times.
Example) Rewriting the comparison waveform upper limit (work 0)
①Writing to data No. 0 of the comparison waveform upper limit (work 0)
●Sending data(Master→F381A/F388A)
●Receiving data(F381A/F388A→Master)
②Change the start of the range and repeat ①. (Data number specification:1、2、…、
2047)(Load:as desired)
00H 36H 00H 83H 00H 64H 64H
Node address
Service code
Service data (6byte)
00H 00H 00H 64H 00H
LHLHLH
(Node0)
(Writing waveform)
Class ID(Comparison waveform upper limit)
・0083H(131):Comparison waveform (upper limit)
・0084H(132):Comparison waveform (lower limit)
Data3Data1(0064H fixed)
Data2
Instance ID(Work 0)
・0064H(100):Work 0
・006EH(110):Work 1
~ 00FBH(250):Work 15 Data number specification
(0000H:0(Data No.))
Data range:0~2047
Load(0064H:100)
Data range:-9999 ~9999
02H 00H B6H
Receiving number of bytes(2byte)
Node address (Node0)
Service code +80H(Writing waveform)

8.Message communication
14
■Reading hold results
Example) Reading the hold results of section 1 to section 5 (X-axis: displacement)
●Sending data(Master→F381A/F388A)
●Receiving data(F381A/F388A→Master)
00H 40H 00H 8CH 00H 64H 65H
Node address (Node0)
Class ID (008CH fixed)
Data2 section last(section 5)
Service data (2byte)
69H
data range:65H(100)section1 ~
Instance ID Data1 Section head(section1)
data range:65H(100)section 1 ~
Service code (Writing waveform)
69H(105)section5
* The data range should be as
the start of the range ≦the end of the range.
69H(105) section 5
(0064H fixed)
Section head (section1)
02H C8H 00H 01H 03H B0H 00H 00H04H 01H 02H
34H 00H C0H FFH FFH 01H 01H
Node address
01H 00H
LL LH HL HH
2CH
LL LH HL HH
Service data (10n byte n=1 ~5(Example is n=5))
Receiving number of bytes
(Number of bytes of Service data+2
(Node0)
Service code +80H
(Reading the hold results)
00H 01H
LH
Data1
Hold value(load)(FFFFH:-1)Data range:-9999 ~9999
Data2
Existence of load Data(Existent)
・0:None ・1:Existent
Data3
Load judging (OK)
・0:Unused ・1:OK・2:HI・3:LO・4:H/L・5:NG
Data4
Hold value(Time or displacement )(0000012CH:300 (Example is
displacement)
)Data range:・Time:0~51175
・Displacement(reference; front):0~10235
・Displacement(reference; back):- 10235 ~0
Data5
Existence of Displacement Data(Existent)
・0:None ・1:Existent
Data1 Data2 Data3 Data4 Data5
Displacement judging(HI)
・0:Unused 3:LO
・1:OK 4:H/L
・2:HI 5:NG
Data6
Data6
Data5
Data4
Hold value(Time or displacement )
(000004B0H:1200
(Example is displacement))
Data3
Data2
LH
Data1
Hold value(load)Load judging(HI)
(00C8H:200)
Load judging (LO)
Existence of load data
(Existent)Existence of displacement data
(Existent)
(Example is 52byte))
Section head (section1)
Section last (section5)

8.Message communication
15
■Reading Wave No.
Example) Reading the Wave No. (when "20120531_000001 " is set)
●Sending data(Master→F381A/F388A)
●Receiving data(F381A/F388A→Master)
00H 44H 00H 96H 00H 64H
Node address (Node0)
Service code (Reading Wave No.)
Class ID (0096H fixed)
Instance ID (0064H fixed)
109 12 1114 13161518172019 th byte
16H 00H C4H 30H 32H 32H 31H
Data
30H 31H35H
Service data(20 byte fixed)
Receiving number of bytes(22byte)
Service code +80H (Reading Wave No.)
33H
214 36 587 th byte
'0' '2' '2' '1' '5' '0' '1' '3'
Node address (Node0)
data range:0、20 ~7E、80 ~FCH
30H 5FH 30H 30H 30H 30H 20H 20H 20H31H 20H
'0' '_' '0' '0' '0' '0' ' ' '1' ' ' ' ' ' ' ' '
20H
Other manuals for DeviceNet F381A
3
This manual suits for next models
1
Table of contents
Other Unipulse Touch Panel manuals