You can perform explicit message communication. Use this command to request the I/O driver to perform Explicit message communication.
Do not run two or more EXP instructions at the same time. (Only one EXP instruction can run at a time.)
EXP instructions does not support Large_Forward_Open.
The supported service codes are Get_Attribute_Single (0x0E) and Set_Attribute_Single (0x10).
The data to send or that is received is stored in #L_IOMasterDrv*.
Double-click the inserted instruction and the following dialog box appears.
Operand Settings
S1
Specify the type of Explicit message communication.
0: UCMM
1: Class3
Others: Reserved (Error)
S2
Specify the module IP address.
S3
Specify the service ID.
S4
Specify the class of the object the Explicit message is sent to.
S5
Use the instance number to specify which instance of the class will receive the Explicit message.
S6
Use the attribute number to specify which attributes of the instance are accessible.
S7
Specify, in bytes, the data length of the data to send. The data length of received data depends on the receive data number of bytes.
S8
Specify where data is stored when sending and receiving data.
When sending data, If you specify an array element in the system variable #L_IOMasterDrv[0] to [255], the location becomes the start address from which the number of bytes specified in parameter S7 is sent.
When receiving data, if you specify an array element in the system variable #L_IOMasterDrv[0] to [255], the location becomes the start address from which the number of bytes of the received data is written.
D1
Specify the variable where error codes are stored if an instruction does not act as expected.
D2
Specify the variable to store the General Status.
D3
Specify the variable to store the Extended Status.
The General Status and Extended Status codes are defined in the ODVA documentation. For details, refer to the ODVA documentation.
Error Code
0
Normal
1
CIP error
10
Unsupported IO instruction type
11
Adapter not registered
14
Type setting error (S1)
15
Size setting error (S7)
16
Offset error (S8)