Application Program; Cf611 Transmission Program Example - Toshiba V Series User Manual

Integrated controller, cif module
Hide thumbs Also See for V Series:
Table of Contents

Advertisement

Chapter

6.1 CF611 Transmission Program Example

An example of program to receive data from a PC and loop it back to the program is
shown below.
(1) Configuration
BU648E
(2) Variable definition example
(* CF611 TEST PROGRAM *)
VAR
END_VAR
6F8C0843

Application Program

S0
S1
S2
SP
PS
S2
SP
SP SP SP
PU
72
CH1_START,RX1_GO,RX1_END,RX1_ERR,TX1_GO,TX1_END,TX1_ERR:
BOOL;
RX1_DAT : ARRAY[0..128] OF WORD;
TX1_DAT : ARRAY[0..128] OF WORD;
ERR_DAT: ARRAY[0..128] OF WORD;
7.1 S3用AS311送受信プログラム例
%IW16(%MW11.16)
%IW17(%MW11.17)
%QW18(%MW11.18)
%QW19(%MW11.19)
S3
S4
S5
S6
S7
S8
CF
SP SP SP
611
CH1
PC
(RS232C)
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cf6112000

Table of Contents