7
.
EtherNet/IP Connection Procedure
45
7.4.2. Checking the Sent and Received Data
Check that the correct data are sent and received.
In this document, the system data acquisition command and the number of digits displayed
past decimal point for command parameters are set to global variables in the output area
where Controller is output to Sensor Controller, and response data (the number of digits
displayed past decimal point) from Sensor Controller are checked, which are stored in global
variables in the input area.
If you change the variable values on a Watch Tab Page when Sysmac Studio is
online with CPU Unit, the devices connected to the output unit may operate
regardless of the operating mode of CPU Unit.
Always ensure safety before you change the variable values on a Watch Tab
Page when Sysmac Studio is online with CPU Unit
1
Select
Watch Tab Page
from the
View Menu.
2
Select the
Watch1
Tab.
3
Enter the following variable names
for monitoring. To enter a new
name, click
Input Name
.
EIPOutput.SensorHeadControlFlag1.F[0]
EIPInput.SensorHeadStatusFlag1.F[0]
EIPOutput.CommandCode
EIPOutput.CommandParam1
EIPInput.CommandCodeEcho
EIPInput.ResponseCode
EIPInput.ResponseData
4
Check that the display formats of
the variables you set in step 3 are
as follows:
EIPOutput.SensorHeadControlFlag1.F[0]
: Boolean
EIPInput.SensorHeadStatusFlag1.F[0]
: Boolean
EIPOutput.CommandCode
: Hexadecimal
EIPOutput.CommandParam1
: Decimal
EIPInput.CommandCodeEcho
: Hexadecimal
EIPInput.ResponseCode
: Decimal
EIPInput.ResponseData
: Decimal
Содержание NJ501-1500
Страница 56: ...2016 0616 P653 E1 01...