![background image](http://html1.mh-extra.com/html/omron/cj1w-prt21/cj1w-prt21_operation-manual_742353084.webp)
3 Data Exchange with the CPU Unit
3-16
CJ-series PROFIBUS Slave Unit Operation Manual for NJ-series CPU Unit (W510)
Additional Information
In the event start communication and stop communication are both set from 0 to 1 at the same
moment, communication will be enabled (default value).
The CJ1W-PRT21 indicates its status in the second CIO word (device variable
*_Sta
) allocated via the
Machine No. setting. The lower byte shows the PROFIBUS-DP related status information and the
higher byte indicates configuration errors. At power-on, or after a reset of the unit, the initial value shall
be 0000. During normal operation only the data exchange active flag (
*_DatXchgActSta
) will be TRUE.
Name of Device Variable for CJ-
series Unit
Type
R/W
Description
Function
*_StartCommCmd
BOOL RW
Start Commu-
nication
FALSE
TRUE:
PROFIBUS-DP communication will be enabled.
If the communication is already enabled, no
specific action is taken.
TRUE
FALSE:
No action.
*_StopCommCmd
BOOL RW
Stop Commu-
nication
FALSE
TRUE:
PROFIBUS-DP communication will be disabled
(Slave Offline). If the communication is already
disabled, no specific action is taken.
TRUE
FALSE:
No action.
3-6-2
Status Flags (*_SlvSta)
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
*_SlvSta
*_DatXchgActSta
*_ClearSta
*_FreezeSta
*_SyncSta
*_WdtDsblSta
*_WdtTmBaseSta
*_FailSafeEnblSta
*_ParamErr
*_StartAdrInErr
*_EndAdrInErr
*_StartAdrOutErr
*_EndAdrOutErr