Specifications
App - 59
Control data
Device Item Setting data Setting range Set by (*1)
(S2)+0
Execution
type/complete
type
•
Designate which settings to use at the open processing of a connection, either
the parameter setting values from the GX Developer or the setting values of the
control data starting from (S2) + 2.
0000
H : Open processing with the parameters set in [Open settings] of the GX
Developer
8000
H : Open processing with the parameters designated with the control data
from (S2) + 2 to (S2) + 9.
0000
H
8000
H
User
(S2)+1
Completion
status
•
Stores the status at completion.
0000
H : Normal completion
Other than 0000
H : Abnormal completion (error code) (*2)
System
(S2)+2
Application
setting area
•
Designate how to use a connection.
4)
b8
3)
b7
2)
b1
1)
b0
0
b6 b2
5)
b9
0
to b10
6)
b14 b13b15 to
1) Usage of fixed buffer
0: Sending or fixed buffer communication is not executed
1: For receiving
2) Destination existence confirmation
0: No confirm
1: Confirm
3) Pairing open setting
0: No pairs
1: Pairs
4) Communication method (protocol)
0: TCP/IP
1: UDP/IP
5) Fixed buffer communication
0: Procedure exist
1: No procedure
6) Open system
00: Active open or UDP/IP
10: Unpassive open
11: Fullpassive open
(as described in the left) User
(S2)+3
Host station
Port No.
•
Designate the port No. of the host station.(*3)
401
H to 1387H
138B
H to FFFEH
User
(S2)+4
(S2)+5
Destination IP
address
•
Designate the IP address of the external device.(*3)
1
H to FFFFFFFFH
(FFFFFFFF
H:
simultaneous broadcast)
User
(S2)+6
Destination
Port No.
•
Designate the port No. of the external device.(*3)
401
H to FFFFH
(FFFF
H:
simultaneous broadcast)
User
(S2)+7
to
(S2)+9
Destination
Ethernet
address
•
Designate the Ethernet address of the external device.(*3)
n
000000000000H
FFFFFFFFFFFF
H
User
*1 The "Set by" column indicates the following:
User : Data set by the user before executing a dedicated instruction.
System : The PLC CPU stores the execution results of a dedicated instruction.
*2 For details on the error codes at abnormal completion, refer to Q Corresponding Ethernet Interface Module User's Manual (Basic).
*3 Set according to the communication method and open system.
TCP
Active Passive
UDP
ARP function of external device ARP function of external device
Communication method
open system
Parameter
Yes No
Unpassive Fullpassive
Yes No
Host station Port No.
Destination IP address
Destination Port No.
Communication
address
Destination Ethernet address (*5)
(*4)
(*4)
: Setting required : Setting not required
*4 Use the default value (FFFFFFFFFFFFH) or "0".
*5 When using the "Open settings" of GX Developer, the default value is used.
When communicating with a device without the ARP function, set the Ethernet address of the external device with this OPEN instruction to
execute the open processing.