
1-23
1 Introduction
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
1-8 B
asic Operating
P
roced
ure
1
1
-8-1
Ov
er
vie
w
1-8
Basic Operating Procedure
An overview of the basic operating procedures for the Serial Communications Unit is provided here.
There is no restriction regarding the sequence of "Programs and software settings" and "Hardware set-
ting and rack assembly." These tasks may be carried out concurrently or in the reverse order.
Use Sysmac Studio to create and set programs.
For details on operations of Sysmac Studio, refer to the Sysmac Studio NJ-One Version 1.0 Operation
Manual (Cat. No. W504).
1-8-1
Overview
·
Create and register global variables and each POU.
·
Create algorithm of each POU and register local variables of each POU.
·
Register the Unit in the Unit Configuration on the CPU/Expansion
Racks screen in Configuration and Setup.
· At this time, set both the device name and the unit number of the
unit to be registered.
·
Allocate device variables for CJ-series Units to I/O ports.
Allocate on the I/O Map View window.
You can use one of the following three methods to allocate.
1. Select and allocate existing variables.
2. Input a new variable name.
3. Automatically create with "Create Device Variable."
·
Create the Unit settings by using the Edit Special Unit Settings.
· Serial communications mode
· Baud rate
· Make the settings for the Transmission Mode for Protocol
Macro Mode (half-duplex or full-duplex), the maximum length of
send/receive data, etc.
(When the program is transferred, items set here will be reflected in the
device variable for CJ-series Unit (for initial setting).)
·
Use the rotary switch on the front panel of the Unit to set the
unit
number.
· Set the same unit number as in the Unit Configuration settings.
·
Connect the Unit and external device(s), and the CPU Unit and
Sysmac
Studio.
When an RS-422A/485 port is used, the following setting is required.
· TERM: Terminating resistance ON/OFF switch
· WIRE: 2-wire or 4-wire selector switch
·
Reflect the settings for the switches on the front panel of the Unit,
in the Unit.
·
Use the software switches and various flags of the Unit to perform serial
communications. The user program controls the Unit via I/O ports by
using device variables for CJ-series Unit.
·
Transfer user programs, Unit Configuration and Setup, and
variable information to the CPU Unit.
Transfer the user program
Procedure 7
Turn ON the power to
the Controller
Procedure 6
Connection
Procedure 5
Install on Rack
Procedure 4
Set the unit number
Procedure 3
Create Initialization Data
of the Unit
Procedure 2
Create POU and global
variables
Create Unit Configuration
Procedure 1
Prog
ram tr
ansf
er and oper
ation
Hardw
are setting and Rac
k assemb
ly
Prog
ramming and softw
are settings
·
Reflect the setting when one of the following events occurs.
·
Controller
reset
· At Unit restart
· Restart of communications port
Reflect Unit setting
Procedure 8
Main operation
Procedure 9
Содержание 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...