
—
How To Use Collection Data
—
M2M Gateway PLC Communication Settings
—
87
—
Data Transfer with CONPROSYS VTC
This function is an example to read the information obtained by PLC communication task and set in
Modbus memory, and execute a command to create and transfer a file with CONPROSYS VTC.
Using the "CONPROSYS VTC" gives a user an advantage to decide the data layout and transfer timing
freely.
A sample using "CONPROSYS VTC" is shown below.
It is intended to send a file to the CONTEC cloud service, CDS2, and to output the file that is
equivalent to the one previously described in the "PLC data transfer" service.
- A data transfer task example: File output basic process
This example is to obtain the Modbus memory information set by the PLC communication task and
output it to a file per second. And to send data per minute cycle.
1.
One second timer process
2.
Assign Modbus memory information into TAG00.
3.
Assign Modbus memory information into TAG01.
4.
Output "sample," (cloud key) to File00.
5.
Output "YYMMDD, HHMMSS, millisecond," information to File00.
6.
Output "TAG00 value," to File00.
7.
Output “TAG01 value CR+LF” to File00.
Cloud Key
,
Date(YYMMDD)
Time(hhmmss)
,
,
msec
,
Data 1
,
Data 2
CR + LF
(comma)
(CR)
(comma)
(comma)
(comma)
(comma)
⑥
⑤
④
⑦
③
②
①
* The task to obtain the
Modbus memory info and
save it into a file per minute.