Professional Documents
Culture Documents
ExxDRT005 StopLightOff PDF
ExxDRT005 StopLightOff PDF
ExxDRT
005 Clearing Light Off: _ExxDRT005_StopLightOff
Basic Clearing the Light OFF command on the light of a Digital Type Sensor in the DeviceNet network.
function
Symbol Start Trigger _ExxDRT005_StopLightOff
(BOOL) (BOOL)
EN ENO
Busy Flag (INT) (BOOL)
Master Unit number FB Busy Flag
MasterUnitNo FB_BUSY
(INT) (BOOL)
Slave node address FB Normal End
NodeNo FB_OK
(INT) (BOOL)
Sensor Amplifier unit number FB Error End
SensorUnitNo FB_NG
Start Trigger ON
OFF
When the FB Normal End Flag goes ON, the results of the FB
processing are reflected in the Sensor Amplifier.
EN input Connect EN to an OR between an upwardly differentiated condition for the start trigger and the FB_BUSY
condition output from the FB.
Restrictions Always use an upwardly differentiated condition for EN.
Input If the input variables are out of range, the ENO Flag will turn OFF and the FB will not be processed.
variables
Output This FB requires multiple cycles to process. Always connect an OR including the FB_BUSY output
variables variable to the EN input variable to ensure that the FB is processed to completion (see Symbol).
Do not turn the FB_BUSY output variable ON or OFF outside the FB.
_ExxDRT005_StopLightOff (2/3)
Application A Digital Sensor Communication Unit (node 11) is connected to a DeviceNet Unit with Master unit number
example 10. When bit A turns ON, the function turns OFF the light of the Sensor Amplifier with unit number 2.
When bit F turns ON, the function releases Light OFF status of the Sensor Amplifier with unit number 2.
M as te r U n it N o .
10
DRM CPU
T urns O F F th e lig ht o f un it nu m be r 2.
R eleas e the Lig ht O F F c om m a nd on u nit u nm b er2 .
S tart T rigg er
B it A _ E xxD R T 0 0 4 _ E xe L ig h tO ff
(B O O L ) (B O O L )
F B B us y F lag
EN ENO FB B u s y F la g
M a s te r U n it n u m b e r
B it B (IN T) (B O O L ) B it B
&10
M a s te rU n itN o FB_BUSY FB N o rm a l E n d
S la ve n o d e a d d re s s
(IN T) (B O O L ) B it C
&11
NodeNo FB_OK
S e n s o r A m p lifie r u n it n u m b e r FB E rro r E n d
(IN T) (B O O L )
&2 B it D
S e n s o rU n itN o FB_NG
F B N orm al E nd
B it C
P ro c es s ing after ligh t is tu rne d O F F
SET F lag B it E
B it B
S ta rt T rigg er F la g
B it F B it E _ E xxD R T0 0 5 _ S to p L ig h tO ff
(B O O L ) (B O O L )
EN ENO
M a s te r U n it n u m b e r FB B u s y F la g
F B B u s y F lag (IN T) (B O O L )
B it G &10 B it G
M a s te rU n itN o FB_BUSY
S la ve n o d e a d d re s s FB N o rm a l E n d
(IN T) (B O O L )
&11 B it H
NodeNo FB_O K
S e n s o r A m p lifie r u n it n u m b e r FB E rro r E n d
(IN T) (B O O L )
&2 B it I
S e n s o rU n itN o FB_NG
F B N orm al E n d
B it H P ro c es s ing after Lig ht O F F s tatus is re leas ed
RSET F lag B it E
B it B
Related Communication Unit For Digital Fiber Sensor E3X-DRT21-S (DeviceNet) (Z223-E1)
manuals
CS/CJ Series Communications Commands Reference Manual (W342-E1)
5-1 Command Lists
_ExxDRT005_StopLightOff (3/3)
Variable Tables
Input Variables
Name Variable name Data type Default Range Description
EN EN BOOL 1 (ON): FB started
0 (OFF): FB not started.
Master Unit No. MasterUnitNo INT &0 &0 to &15 Specify the unit number of the DeviceNet
#0 to #F Unit.
Slave node NodeNo INT &0 &0 to &63 Specify the node address of the slave.
address
Sensor Amplifier SensorUnitNo INT &1 &1 to &13 Depending on the communication mode
unit number or setting, the maximum number of
&1 to &16 connectable Units is either 13 or 16 Units.
Specify a unit number within the allowed
range.
Refer to the Related Manuals for details.
Output Variables
Name Variable name Data type Range Description
ENO ENO BOOL 1 (ON): FB processed normally.
(May be omitted.) 0 (OFF): FB not processed or ended in an error.
FB Busy Flag FB_BUSY BOOL Automatically turns OFF when processing is
completed.
FB Normal End FB_OK BOOL Turns ON for one cycle when processing ends
normally.
FB Error End FB_NG BOOL Turns ON for one cycle when processing ends in an
error.
Internal Variables
Internal variables are not output from the FB.
If the FB_NG Flag turns ON, the following internal variables can be monitored to obtain information on the error.
Name Variable name Data type Range Description
FINS error code FINS_ErrorCode WORD The FINS error code is output. A code of #0000 is
output for a normal end. Refer to the Related Manuals
for details on the error codes.
Explicit message Explicit_ErrorCode WORD Outputs the explicit message error code. A code of
error code #0000 is output for a normal end. Refer to the Related
Manuals for details on the error codes.
Version History
Version Date Contents
1.00 2005.4. Original production
Note
This manual is a reference that explains the function block functions.
It does not explain the operational limitations of Units, components, or combinations of Units and components. Always read
and understand the Operation Manuals for the systems Units and other components before using them.