Appendix 3 Output Flow Chart Of External Storage Medium Files And File Lists; Example For Outputting File Aaaa.dtd - YOKOGAWA GX10 User Manual

Gx series; gp series; gm series; smartdac+ communication command
Hide thumbs Also See for GX10:
Table of Contents

Advertisement

Appendix 3 Output Flow Chart of External Storage

Example for Outputting File aaaa.dtd

App-4
Medium Files and File Lists
The flow chart for outputting file aaaa.dtd in the DATA0 directory on the external storage
medium is shown below.
START
Send command
FMedia,GET,/DRV0/DATA0/aaaa.dtd,0,-1
Receive response
Is there more data?
(1)
Obtain the number
of received bytes.
(2)
Compute
the unread position.
(3)
Send command
FMedia,GET,/DRV0/DATA0/aaaa.dtd,[unread position],-1
Receive response
(1) If the binary header flag (bit 0) is 0,
there is more data. If it is 1, data
transmission is complete.
(2) From the data length of the binary
output common header,
obtain the number of received bytes.
(3) Sum the number of received bytes,
End
compute the unread position.
IM 04L51B01-17EN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gm10Gx20Gp20Gp10

Table of Contents