Place of Origin: | Japan |
Brand Name: | Tamagawa |
Certification: | CE |
Model Number: | TS5205N450 |
Minimum Order Quantity: | 1pcs |
---|---|
Packaging Details: | carton |
Delivery Time: | in stock |
Payment Terms: | T/T, Western Union, MoneyGram |
Supply Ability: | 100pcs/week |
TAMAGAWA: | TAMAGAWA | TS5205N450: | TS5205N450 |
---|---|---|---|
Material: | Iron | Color: | Black |
Temperature: | 20-90 | Wire: | Wire |
Dimension: | 60mm | Japan: | Japan |
TS5205N450
A falling edge occurs when the digital input transitions from ON to OFF. | HSC direction changed events (HSC 1 through 6) |
High-speed counter (HSC) current value = reference value (CV = RV) events (HSC 1 through 6) |
A direction changed event occurs when the HSC is detected to change from increasing to decreasing, or from decreasing to increasing. |
CV = RV interrupt for a HSC is generated when the current count transitions from an adjacent value to the value that exactly matches a reference value that was previously |
HSC external reset events (HSC 1 through 6) |
Guang Zhou Lai Jie Electric Co.,LTD
Please contact with “Tommy” for the price
AU6550N2062
TS3664N1E1
TS3617N1E3
TS3641N1E1
TS5207N530
TS5208N569
TS4503N1022E100
TS3095N2
AU6649N2101
TS3664N1E2
TS3630N1214E3
TS3641N21E6
TS5208N510
TS5208N576
TS4503N1022E200
TS3103N156
FACODER
TS3664N2E3
TS5013N60
TS3641N22E7
TS5208N68
TS5210N450
TS4503N1202E200
TS3103N178
TS3664N2E4
TS5013N61
TS3641N2E3
TS5212N351
TS5210N453
TS4503N1205E200
TS3103N255
Certain HSC modes allow the assignment of a digital input as an external reset that is
used to reset the HSC count value to zero. An external reset event occurs for such a
HSC, when this input transitions from OFF to ON.
Enabling hardware interrupt events in the device configuration
Hardware interrupts must be enabled during the device configuration. You must check the
enable-event box in the device configuration for a digital input channel or a HSC, if you want
to attach this event during configuration or run timeCheck box options within the PLC device configuration:
● Digital input
– Enable rising edge detection
– Enable falling edge detection
● High-speed counter (HSC)
– Enable this high-speed counter for use
– Generate interrupt for counter value equals reference value count
– Generate interrupt for external reset event
– Generate interrupt for direction change event
Adding new hardware interrupt OB code blocks to your program
By default, no OB is attached to an event when the event is first enabled. This is indicated by
the "HW interrupt:" device configuration "<not connected>" label. Only hardware-interrupt
OBs can be attached to a hardware interrupt event. All existing hardware-interrupt OBs
appear in the "HW interrupt:" drop-down list. If no OB is listed, then you must create an OB
of type "Hardware interrupt" as follows. Under the project tree "Program blocks" branch:
1. Double-click "Add new block", select "Organization block (OB)" and choose "Hardware
interrupt".
2. Optionally, you can rename the OB, select the programming language (LAD or FBD), and
select the block number (switch to manual and choose a different block number than that
suggested).
3. Edit the OB and add the programmed reaction that you want to execute when the event
occurs. You can call FCs and FBs from this OB, to a nesting depth of four.
OB_NR parameter
All existing hardware-interrupt OB names appear in the device configuration "HW interrupt:"
drop-down list and in the ATTACH / DETACH parameter OB_NR drop-list.
EVENT parameter
When a hardware interrupt event is enabled, a unique default event name is assigned to this
particular event. You can change this event name by editing the "Event name:" edit box, but
it must be a unique name. These event names become tag names in the "Constants" tag
table, and appear on the EVENT parameter drop-down list for the ATTACH and DETACH
instruction boxes. The value of the tag is an internal number used to identify the event.
General operation
Each hardware event can be attached to a hardware-interrupt OB which will be queued for
execution when the hardware interrupt event occurs. The OB-event attachment can occur at
configuration time or at run time.You have the option to attach or detach an OB to an enabled event at configuration time. To
attach an OB to an event at configuration time, you must use the "HW interrupt:" drop-down
list (click on the down arrow on the right) and select an OB from the list of available
hardware-interrupt OBs. Select the appropriate OB name from this list, or select "<not
connected>" to remove the attachment.
You can also attach or detach an enabled hardware interrupt event during run time. Use the
ATTACH or DETACH program instructions during run time (multiple times if you wish) to
attach or detach an enabled interrupt event to the appropriate OB. If no OB is currently
attached (either from a "<not connected>" selection in device configuration, or as a result of
executing a DETACH instruction), the enabled hardware interrupt event is ignored.
DETACH operation
Use the DETACH instruction to detach either a particular event or all events from a particular
OB. If an EVENT is specified, then only this one event is detached from the specified
OB_NR; any other events currently attached to this OB_NR will remain attached. If no
EVENT is specified, then all events currently attached to OB_NR will be detached. Set the specified interrupt OB to begin cyclic execution
that interrupts the program scanTime parameter examples:
● If the CYCLE time = 100 us, then the interrupt OB referenced by OB_NR interrupts the
cyclic program scan every 100 us. The interrupt OB executes and then returns execution
control to the program scan, at the point of interruption.