Place of Origin: | Japan |
Brand Name: | Tamagawa |
Certification: | CE |
Model Number: | TS5013N64 |
Minimum Order Quantity: | 1pcs |
---|---|
Packaging Details: | carton |
Delivery Time: | in stock |
Payment Terms: | T/T, Western Union, MoneyGram |
Supply Ability: | 100pcs/week |
TAMAGAWA: | TAMAGAWA | TS5013N64: | TS5013N64 |
---|---|---|---|
Japan: | Japan | Material: | Iron |
Color: | Black | Dimension: | 50mm |
Temperature: | 40-80 | Wire: | Wire |
dbNumber_dest:=_in_ | referenced byte Offset of the referenced |
byteOffset_dest:=_in_, | source data block, I/O or memory area to the |
Writes "count" number of bytes starting at the | referenced byteOffset of the referenced |
Guang Zhou Lai Jie Electric Co.,LTD
TS5013N64
TS3653N13E8
TS3653N13E9
TS3103N40
TS3641N1E1
TS3641N2E3
TS3641N11E1
TS3641N12E3
TS3664N1E1
TS3664N1E2
TS3664N2E3
TS3664N2E4
TS3664N11E1
TS3664N11E2
TS3664N12E3
TS3664N12E4
TS3667N1E1
TS3667N1E2
TS3667N2E4
TS3667N1E3
TS3667N2E5
TS3667N2E6
TS3667N3E7
destination data block, I/O or memory area
Example:
POKE_BLK(area_src:=16#84,
dbNumber_src:=#src_db,
byteOffset_src:=#src_byte,
area_dest:=16#84,
dbNumber_dest:=#src_db,
byteOffset_dest:=#src_byte,
count:=10);
For PEEK and POKE instructions, the following values for the "area", "area_src" and
"area_dest" parameters are applicable. For areas other than data blocks, the dbNumber
parameter must be 0.
16#81 I
16#82 Q
16#83 M
16#84 DB To call another code block in your user program, simply enter the name (or absolute
address) of the FB or FC with the parameters. For an FB, you must provide the instance DB
to be called with the FB.
<DB name> (Parameter list) Call as a single instance
<#Instance name> (Parameter list) Call as multi-instance
"MyDB"(MyInput:=10, MyInOut:="Tag1");
<FC name> (Parameter list) Standard call
<Operand>:=<FC name> (Parameter list) Call in an expression
"MyFC"(MyInput:=10, MyInOut:="Tag1");You can also drag blocks from the navigation tree to the SCL program editor, and complete
the parameter assignment.
6.5.4 EN and ENO for LAD, FBD and SCL
Determining "power flow" (EN and ENO) for an instruction
Certain instructions (such as the Math and the Move instructions) provide parameters for EN
and ENO. These parameters relate to power flow in LAD or FBD and determine whether the
instruction is executed during that scan. SCL also allows you to set the ENO parameter for a
code block.
● EN (Enable In) is a Boolean input. Power flow (EN = 1) must be present at this input for
the box instruction to be executed. If the EN input of a LAD box is connected directly to
the left power rail, the instruction will always be executed.
● ENO (Enable Out) is a Boolean output. If the box has power flow at the EN input and the
box executes its function without error, then the ENO output passes power flow
(ENO = 1) to the next element. If an error is detected in the execution of the box
instruction, then power flow is terminated (ENO = 0) at the box instruction that generated
the error.
Table 6- 3 Operands for EN and ENO
Program editor Inputs/outputs Operands Data type
LAD EN, ENO Power flow Bool
FBD EN I, I:P, Q, M, DB, Temp, Power Flow Bool
ENO Power Flow Bool
SCL EN1 TRUE, FALSE Bool
ENO2 TRUE, FALSE Bool
1 The use of EN is only available for FBs.
2. The use of ENO with the SCL code block is optional. You must configure the SCL compiler to set ENO when the code
block finishes.
To configure the SCL compiler for setting ENO, follow these steps:
1. Select the "Settings" command from the "Options" menu.
2. Expand the "PLC programming" properties and select "SCL (Structured Control
Language)".
3. Select the "Set ENO automatically" option. Some instructions, such as the communication instructions or the string conversion
instructions, provide an output parameter that contains information about the processing of
the instruction. For example, some instructions provide a Ret_Val (return value) parameter,
which is typically an Int data type that contains status information in a range from -32768 to
+32767. Other instructions provide a Status parameter, which is typically a Word data type
that stores status information in a range of hexadecimal values from 16#0000 to 16#FFFF.
The numerical value stored in a Ret_Val or a Status parameter determines the state of ENO
for that instruction.
● Ret_Val: A value from 0 to 32767 typically sets ENO = 1 (or TRUE). A value from -32768
to -1 typically sets ENO = 0 (or FALSE). To evaluate Ret_Val, change the representation
to hexadecimal.
● Status: A value from 16#0000 16#7FFF typically sets ENO = 1 (or TRUE). A value from
16#8000 to 16#FFFF typically sets ENO = 0 (or FALSE).
Instructions that take more than one scan to execute often provide a Busy parameter (Bool)
to signal that the instruction is active but has not completed execution. These instructions
often also provide a Done parameter (Bool) and an Error parameter (Bool). Done signals that
the instruction was completed without error, and Error signals that the instruction was
completed with an error condition.
● When Busy = 1 (or TRUE), ENO = 1 (or TRUE).