9. Program
35
●
Command format of the receive message
This is the response format of the message received by the Controller from the destination
device according to the setting of the GETR TYP FWV (read the product type and firmware
version of the memory data) command.
•ASCII codes are received except for the header and terminator.
Command
Number
of bytes
Remarks
Command code
4
Fixed: ”GETR” or Fixed:
”ICMD”
Response code
4
Destination error code
(Refer to
9.7.1. Error Code List
.)
(Space *)
1
Fixed: ” ” (Space. Data are separated by a space.)
(Response data *)
1 and
greater
Fixed:
”typ=$”[product type V750]$”” (The product type is
enclosed in $” and $”.),”fwv=[Firmware version]”
(Firmware version)
(The information of GETR command options specified
with this program is returned.)
Terminator 1
Fixed:
[LF](16#0A)
*The terminator is moved forward for an error message when there is no response data
because the command is undefined or the parameter of the send command is illegal.
9.2.3. Command Settings
This section explains the details on the settings of the GETR TYP FWV (read the product
type and firmware version of the memory data) command.
●
Send data (command) settings
The send data is set in the SendMessageSet function block.
Variable
Contents (Data type)
Set value
Send_Header
Send header (STRING[5])
‘’(Setting unnecessary)
Send_Addr
Send address (STRING[5])
‘’(Setting unnecessary)
Send_Command Send data (STRING[256])
CONCAT('GETR’,‘ typ,’ fwv')
Send_Terminate Send
terminator
(STRING[5])
‘$L’ ([LF]: 16#0A)
Variable
Contents
(Data type)
Data
Description
Send_Data
Send message
(STRING[256])
CONCAT(Send_Header,
Send_Addr,
Send_Command,
Send_Check,
Send_Terminate)
Used as send data of
SktTCPSend instruction.
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...