Device Variables For Cj-Series Unit (Software Switches, Statuses); Software Switches (*_Swcmd) - Omron CJ1W-PRT21 Operation Manual

Machine automation controller, cj / nj-series, profibus slave unit, cpu unit
Hide thumbs Also See for CJ1W-PRT21:
Table of Contents

Advertisement

3-6
Device Variables for CJ-series Unit
(Software Switches, Statuses)
When you operate and reference the control and status area, use the following Device Variables allo-
cated to the I/O port of this Unit.
Name of Device Variable for CJ-
series Unit
*_SwCmd
*_StartCommCmd
*_StopCommCmd
*_SlvSta
*_DatXchgActSta
*_ClearSta
*_FreezeSta
*_SyncSta
*_WdtDsblSta
*_WdtTmBaseSta
*_FailSafeEnblSta
*_ParamErr
*_StartAdrInErr
*_EndAdrInErr
*_StartAdrOutErr
*_EndAdrOutErr
3-6-1

Software Switches (*_SwCmd)

The PROFIBUS-DP communication status of CJ1W-PRT21 can be controlled through the first CIO
word (device variable *_SwCmd) allocated via the Machine No. setting. The communication status set
by these bits is retained until the Unit is restarted (Power-on or reset). After a restart, PROFIBUS-DP
communication is enabled by default.
15 14 13 12 11 10
*_SwCmd
CJ-series PROFIBUS Slave Unit Operation Manual for NJ-series CPU Unit (W510)
Type
R/W
WORD
RW
Software Switches (see section 3-6-1)
BOOL
RW
Bit 00: Start communication
BOOL
RW
Bit 01: Stop communication
WORD
R
Status flags (see section 3-6-2)
BOOL
R
Bit 00: Data exchange active
BOOL
R
Bit 01: CLEAR
BOOL
R
Bit 02: FREEZE
BOOL
R
Bit 03: SYNC
BOOL
R
Bit 04: Watchdog disabled
BOOL
R
Bit 05: Watchdog timebase 1 ms
BOOL
R
Bit 06: Fail-safe enabled
BOOL
R
Bit 08: Parameter/configuration error
BOOL
R
Bit 12: Incorrect start address for slave input area
BOOL
R
Bit 13: Incorrect end address for slave input area
BOOL
R
Bit 14: Incorrect start address for slave output area
BOOL
R
Bit 15: Incorrect end address for slave output area
9
8
7
6
5
4
3
2
3 Data Exchange with the CPU Unit
Description
1
0
3
*_StartCommCmd
*_StopCommCmd
3-15

Advertisement

Table of Contents
loading

Table of Contents