Chapter 6 Server function and P2P service
6-9
2) Write instruction
Instruction used to write data to wanted area about destination station and this is used commonly
regardless of driver type. Basic configuration is as follows.
Item Description Reference
Channel
setting
1,2
Designates channel to communicate
(Channel 1 : RS-232C, channel 2 : RS-485)
Main unit built-in
Conditional flag Conditional flag All Bit device
Command
type
Single Designates communication device individually
continuous Designates communication device continuously
Data type
Bit
Sets data type to communicate as Bit
1Byte
Sets data type to communicate as Byte 1Byte
2Byte
Sets data type to communicate as WORD Word
4Byte
Sets data type to communicate as Double WORD Dword
8Byte
Sets data type to communicates as Long WORD Lword
No. of variables Not used in Modbus communication
Data size
Effective when command type is single and up to 120
byte available
Unit: Byte
Detestation station
number
Sets destination station number to communicate
Variable setting
Read area Designates device of destination station to read
Save area Designate saving device to read
Address Memory area used in internal system Auto setting
[Table 6.2.4] P2P Write instruction setting item
In case M102 bit is set by using channel 2 about destination station 2, the following example
shows that it reads 10 byte from memory M125(Word) and writes P20(Word) of destination .
[Figure 6.2.7] P2P Write instruction setting screen
3) Send instruction
Instruction used to send temporary frame to external device by not specified communication method
other than XGT/Modbus protocol. (User defined communication)
You should select one frame per Send instruction and designate fixed size/variable size about memory
of each frame in this instruction.