EasyManua.ls Logo

Omron NJ501 - Page 11

Omron NJ501
54 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6DeviceNet Settings
8
Bit
Description Bit Description
Bit 3 Standard I/O Communications
Status
0:Error or communications stopped
1:Normal
Bit 7 Normal Status
0:Error
1:Normal
Additional Information
Set the AT to the values in memory used for CJ-series Units, which were allocated to the
slaves using the Network Configurator. With Sysmac Studio, add the prefix "%" to each
address to indicate the memory used for CJ-series Units. To allocate a bit address, set the
data type to BOOL and set the AT to %3200.00 as shown below.
Name Data type AT Destination device allocation
DN00_OUT_Bit00 BOOL %3200.00 Bit 00 Output
:
DN00_OUT_Bit15 BOOL %3200.15 Bit 15 Output
DN00_IN_Bit00 BOOL %3300.00 Bit 00 Input
:
DN00_IN_Bit15 BOOL %3300.15 Bit 15 Input
Additional Information
You can assign the same address to more than one variable. However, this is not
recommended as it reduces readability and makes the program more difficult to debug. If you
do this, set an initial value for only one of the variables. If you set a different initial value for
each individual variable, the initial value is not stable.
Additional Information
With the Sysmac Studio, the data type is expressed as ARRAY[0..2] OF WORD when an
array is specified for a data type. However, the data type of an array is simplified in this
document (e.g. WORD[3]).
It is possible to set either of the following to specify an array for a data type with the Sysmac
Studio.
•ARRAY[0..2]OF WORD
•WORD[3]
In the example above, 3 WORD array elements are secured.

Related product manuals