Command And Subcommand - Panasonic FP7 User Manual

Cpu unit enthernet expansion function
Hide thumbs Also See for FP7:
Table of Contents

Advertisement

MC Protocol Communication Function
 Elements which compose command responses
Number
Name
Header
Subheader
Network number
PC No.
Destination unit I/O
number
Destination unit
number
Request data length or
response data length
CPU monitor timer
Command
Subcommand
Request data part
Completion code
Response data part
REFERENCE
For the details of the request data and response data parts, refer to 9.3.3
Format of Request Data Part and Response Data Part.

9.3.2 Command and Subcommand

• FP7 series supports the following commands only.
• Command and subcommand codes are created as 4-digit hex 2-byte codes which show the
types and information of the commands. Subcommands indicate transfer units.
• When performing the master communication from the FP7 CPU unit, the transfer unit and
subcommand vary depending on the type of the memory area specified for the operand of
SEND/RECV instruction.
 Supported commands and codes
Transfer
Function
Bulk read
Bulk write
9-6
Ethernet header, IP header, TCP or UDP header
For the binary communication supported by FP7 series, it is the following
4-byte data. Command: 00h 50h, Response: 00h D0h
The FP7CPU unit supports only "00h".
The FP7CPU unit supports only "FFh".
The FP7CPU unit supports only "03FFh".
The FP7CPU unit supports only "00h".
The number of bytes of the following commands or responses.
The FP7CPU unit does not support it.
Bulk read: "0401h", bulk write: "1401h"
When sending in bits: "0001h", When sending in words: "0000h"
The starting address, device type and the number of points are specified.
In the normal state: "0000h", In the abnormal state: An error code is
returned.
For read commands, the starting address of read device, device type, the
number of points and data are returned.
Code in MC protocol
unit
Command
Bit
0401
Word
0401
Bit
1401
Word
1401
Description
Subcommand
0001
0000
0001
0000

Advertisement

Table of Contents
loading

Table of Contents