![background image](http://html1.mh-extra.com/html/omron/cj1w-scu22/cj1w-scu22_operation-manual_742498086.webp)
2 Initial Settings and Allocations of Device Variable for CJ-series Unit
2-12
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
The CPU Unit and the Serial Communications Unit exchange data via the memory within the CPU Unit
used for the CJ-series Unit.
For details of the memory used for CJ-series Unit, refer to NJ-series CPU Unit Software User's Manual
(W501).
The user program exchanges data using the following.
Allocate device variables for CJ-series Unit to I/O ports on the I/O Map View of Sysmac Studio.
Specify the variable name to be allocated by one of the following methods:
•
Select and allocate an existing variables.
•
Input a new variable name.
•
Automatically create with "Create Device Variable."
The following is the configuration of variable names created with the last method: Automatic creation.
For details of the device variable for CJ-series Unit, refer to 2-3 Device Variable for CJ-series Unit.
In the explanations from here on, the device name automatically created is used as the device variable
name for CJ-series Unit, for example *_P1_SgwDsblCmd.
How to Access from User Program
Data type
Access method
Software switch
Device variable for CJ-series Unit
Status data
System Settings data
Send/receive data of Serial Port I/O instructions in No-protocol Mode
User-defined variable
Send/receive data with Protocol Macro instruction in Protocol Macro
Mode
Data in allocation area in Modbus-RTU Slave Mode
Serial Communications Port Settings Change Bits, Unit Restart Bits, Net-
work Communications Instruction Enabled Flag
System-defined variable
2-2-2
How to Specify and Create Variables
How to Specify Device Variable for CJ-series Unit
Name of device variable for CJ-series Unit
*_ P1_SgwDsblCmd
This is the device name when this unit is registered
in the Unit Configuration. (By default, a device name
is assigned from "J01" in the order of registration in
the Unit Configuration.)
This identifies the individual unit.
This is an I/O port name. The name indicates unit
functions, statuses and parameters.
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...