Chapter 7 P2P Service 
 
7-10 
(4)  P2P function 
 Let the driver execute READ or WRITE 
1) READ 
 It is used when reading some area of partner device and save them. It is 
applied to XGT Client and Modbus TCP client driver 
 Available memory area: P,M,K,F,T,C,U,Z,L,N,D,R,ZR,%Q,%I,%M etc. 
 
2) WRITE 
 It is used when writing the data at some area of partner area. It is applied to 
XGT Client and Modbus TCP client driver. Single and Continuous Write are 
supported. Writing at up to 4 independent area is available.   
Available memory area: P,M,K,F,T,C,U,Z,L,N,D,R,ZR,%Q,%I,%M 
 
3) Send 
 It is used when sending User defined protocol to external device. It is applied 
to user frame definition. Memory setting about Variable sized/Fixed sized 
variable of relevant frame should be set. Before using this function, defining 
the frame to send is necessary. 
 
4) Receive 
 It is used when receiving frame from external device. User can’t select same 
frame about each P2P Frame Receive function block. Rx function block about 
Rx frame determines one. 
 
(5)  Condition flag 
Define the condition to operate P2P block. A bit device is available for condition flag and 
the P2P block will be operated at the rising edge of the condition flag. 
 
(6)  Command type 
Decide details of Read operation. Single and Continuous are available for Instruction Type.   
Up to 4 memory areas are available for Single Read function, and Continuous Read reads 
as many bytes as defined on the ‘Data Size’ item. 
 
(7)  Data type 
Define the format of the data the block will process. Bit, Byte, 2bytes (Word), 4bytes 
(Double Word) and 8bytes (Long Word) data can be processed in Single read function and 
BYTE only is available for Continuous read function. 
 
(8)  Number of variables. 
It is activated when ‘Single’ is selected in the ‘Instruction’ field. Decide the number of areas 
to read. Up to 4 is available. 
 
(9)  Data size 
It is activated when ‘Continuous’ is selected in the ‘Instruction’ field. Since BYTE is fixed in 
the Data type when XGT Client driver is used, Data Size can be assigned in BYTE size. 
 
(10) Frame 
 Selects the relevant frame (Group) to execute communication in case of User frame 
definition