Omron sysmac NJ Series Connection Manual page 48

Machine automation controller, displacement sensor
Hide thumbs Also See for sysmac NJ Series:
Table of Contents

Advertisement

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
7.EtherNet/IP Connection Procedure
45

Advertisement

Table of Contents
loading

Table of Contents