86
Explicit Message Communications Section 4-7
Error Code (Response)
The following error codes defined in DeviceNet may be returned.
4-7-2 Sending Explicit Messages
An NE1A-series Controller can send explicit messages from a user program.
User-registered messages are sent over the network when user-specified trig-
ger conditions are met. This can be used to notify monitoring and control
devices or as a method for specifying outputs to display devices.
When sending an explicit message, set the send conditions in the Logic Edi-
tor.
With an NE1A-series Controller, up to 32 bytes of explicit message data can
be sent, as shown below.
■ Explicit Message Data Forma
For information on service codes, class IDs, instance IDs, and service data,
refer to the manual for the destination device of the message.
Procedure
Set the conditions using the following procedure.
1. Trigger Address Setting
Set the condition for sending the explicit message. The explicit message
will be sent when the set address turns ON.
2. Send Condition Setting
Set the send conditions for the explicit message. The number of retries can
also be set.
3. Creating a Send Message
Check the object specifications at the destination node and create a send
message based on the explicit message format.
Restrictions
• One address can be set in the user program for the trigger address.
• The NE1A-series Controllerís internal I/O memory is sent as a response
to an explicit message. Explicit messages can be sent from a user pro-
gram in the Controller, but internal information in the Controller cannot be
used as send message data.
Response
code
Error name Cause
08FF Service not
supported
Error in the service code.
13FF Not enough data The data is shorter than the specified size.
15FF Too much data The data is longer than the specified size.
16FF Object does not
exist
The specified class ID or instance ID is not supported.
20FF Invalid parameter The specified operation command data is not supported.
Parameter name Data size
MACID 1 byte
Service code 1 byte
Class ID 2 bytes
Instance ID 2 bytes
Service data 0 to 26 bytes