9. Program
●
Receive data (response) that is stored
After a data check is performed on the receive data using the ReceiveCheck function block,
the receive data is stored as output receive data.
Variable
Description (data type)
Storage area
Recv_Buff
Receive data
(STRING[256])
Receive buffer
Recv_Data
Receive data
(STRING[256])
Receive data storage area
(stores the receive buffer data)
●
Send/Receive message
*Send message
47 45 54 52 20 74 79 70 20 66 77 76 0A
'G'
'E'
'T'
'R'
' '
't'
'y'
‘p’
' '
‘f’
‘w’
‘v’
[LF]
Send command
Terminator
*Receive message 1 (at normal process)
47 45 54 52 30 30 30 30 20 74 79 70 3D 22
'G' 'E' 'T' 'R'
‘0000’
'
' 't' 'y' ‘p’ ‘=’ ‘“’
Command
Response code
Data (parameter)
•••
22 20 66 77 76 3D
•••
0A
'”' '
' ‘f’ ‘w’ ‘v’ ‘=’
[LF]
Product type
Data (parameter)
Version
Terminator
*Receive message 2 (at error process)
47 45 54 52
•••
0A
'G' 'E' 'T' 'R'
[LF]
Command
Response code
Terminator
*Receive message 3 (at error process: undefined)
49 43 4D
44
•••
0A
'I' 'C' 'M' 'D'
[LF]
Command
Response code
Terminator
36
Summary of Contents for V750 series
Page 51: ...9 Program 2 Initialization processing 48...
Page 52: ...9 Program 49...
Page 53: ...9 Program 3 Connect processing 50...
Page 54: ...9 Program 4 Send processing 51...
Page 55: ...9 Program 5 Receive processing 52...
Page 56: ...9 Program 53...
Page 57: ...9 Program 6 Close processing 54...
Page 58: ...9 Program 7 Processing number error process 55...
Page 60: ...9 Program Program 57...
Page 62: ...9 Program Program 59...
Page 64: ...9 Program Program 61...
Page 78: ...2013 0911 P543 E1 01...