Place of Origin: | Japan |
Brand Name: | Tamagawa |
Certification: | CE |
Model Number: | TS5314N616 |
Minimum Order Quantity: | 1pcs |
---|---|
Packaging Details: | carton |
Delivery Time: | in stock |
Payment Terms: | T/T, Western Union, MoneyGram |
Supply Ability: | 100pcs/week |
TAMAGAWA: | TAMAGAWA | TS5314N616: | TS5314N616 |
---|---|---|---|
Japan: | Japan | Color: | Black |
Material: | Iron | Temperature: | 20-80 |
Dimension: | 40-90 | Wire: | Wire |
associates a time delay interrupt OB subprogram with the time delay timeout event. | You can cancel an in-process time delay interrupt before the specified time delay occurs by executing the CAN_DINT instruction. |
When the specified time delay has elapsed |
The total number of active time delay and cyclic interrupt events must not exceed four. |
a program interrupt is generated that triggers the execution of the associated time delay interrupt OB |
Adding time delay interrupt OB subprograms to your project |
Guang Zhou Lai Jie Electric Co.,LTD
Please contact with “Tommy” for the price
TS5314N616
TS3631N1E1
TS3636N6
TS3641N1E1
TS3641N21E6
TS3641N22E7
TS3641N2E3
TS3641N12E3
TS3641N32
TS3641N38
TS3643N2
TS3643N212E5
TS3643N233E8
TS3653N11E2
TS3653N12E5
TS3653N13E8
TS3653N1E1
TS3653N1E2
TS3653N2E4
TS3653N2E5
TS3653N2E6
TS3653N3E7
TS3653N3E8
TS3653N3E9
TS3653N13E9
TS3653N44E8
TS3653N4E12
TS3653N14E12
TS3653N58E5
TS3653N65E27
TS3653N81E27
TS3653N78E5
TS3653N94E5
TS3653N181E8
Only time delay interrupt OBs can be assigned to the SRT_DINT and CAN_DINT
instructions. No time delay interrupt OB exists in a new project. You must add time delay
interrupt OBs to your project. To create a time-delay interrupt OB, follow these steps:
1. Double-click the "Add new block" item in the "Program blocks" branch of the project tree,
select "Organization block (OB)", and choose "Time delay interrupt".
2. You have the option to rename the OB, select the programming language, or select the
block number. Switch to manual numbering if you want to assign a different block number
than the number that was assigned automatically.
3. Edit the time delay interrupt OB subprogram and create programmed reaction that you
want to execute when the time delay timeout event occurs. You can call other FC and FB
code blocks from the time delay interrupt OB, with a maximum nesting depth of four.
4. The newly assigned time delay interrupt OB names will be available when you edit the
OB_NR parameter of the SRT_DINT and CAN_DINT instructions.
QRY_DINT parameter STATUS
Table 8- 97 If there is an error (REL_VAL <> 0), then STATUS = 0.
Bit Value Description
0 0 In RUN
1 In startup
1 0 The interrupt is enabled.
1 The interrupt is disabled.
2 0 The interrupt is not active or has elapsed.
1 The interrupt is active. An OB with an OB number given in OB_NR does not exist.
1 An OB with an OB number given in OB_NR exists.
Other bits Always 0
Condition codes
Table 8- 98 Condition codes for SRT_DINT, CAN_DINT, and QRY_DINT
RET_VAL (W#16#...) Description
0000 No error occurred
8090 Incorrect parameter OB_NR
8091 Incorrect parameter DTIME
80A0 Time delay interrupt has not started. Use the DIS_AIRT and EN_AIRT instructions to disable and enable alarm interrupt
processing.
Table 8- 99 DIS_AIRT and EN_AIRT instructions
LAD / FBD SCL Description
DIS_AIRT(); DIS_AIRT delays the processing of new interrupt events. You can execute
DIS_AIRT more than once in an OB.
EN_AIRT(); EN_AIRT enables the processing of interrupt events that you previously disabled
with the DIS_AIRT instruction. Each DIS_AIRT execution must be cancelled by an
EN_AIRT execution.
The EN_AIRT executions must occur within the same OB, or any FC or FB called
from the same OB, before interrupts are enabled again for this OB.
WARNING
If the filter time for a digital input channel is changed from a previous setting, a new "0"
level input value may need to be presented for up to 20.0 ms accumulated duration before
the filter becomes fully responsive to new inputs. During this time, short "0" pulse events of
duration less than 20.0 ms may not be detected or counted.
This changing of filter times can result in unexpected machine or process operation, which
may cause death or serious injury to personnel, and/or damage to equipment.
To ensure that a new filter time goes immediately into effect, a power cycle of the CPU
must be applied. The DIS_AIRT executions are counted by the operating system. Each of these remains in
effect until it is cancelled again specifically by an EN_AIRT instruction, or until the current OB
has been completely processed. For example: if you disabled interrupts five times with five
DIS_AIRT executions, you must cancel these with five EN_AIRT executions before interrupts
become enabled again.
After the interrupt events are enabled again, the interrupts that occurred while DIS_AIRT was
in effect are processed, or the interrupts are processed as soon as the current OB has been
executed.
Parameter RET_VAL indicates the number of times that interrupt processing was disabled,
which is the number of queued DIS_AIRT executions. Interrupt processing is only enabled
again when parameter RET_VAL = 0.
8.5 Diagnostics (PROFINET or PROFIBUS)
8.5.1 Diagnostic instructions
The following diagnostic instructions can be used with either PROFINET or PROFIBUS:
● GET_DIAG instruction (Page 302): You can read the diagnostic information from a
specified device.