Download Print this page

Writing 1-Word/2-Word Data To Another Module - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Writing 1-word/2-word data to another module

TO(P), DTO(P)
• TO(P)
These instructions write the (n) points of data in the device starting from the one specified by (s2) to the buffer memory
address specified by (s1) in intelligent function module specified by (U/H).
• DTO(P)
These instructions write the (n)  2 points of data in the device starting from the one specified by (s2) to the buffer memory
address specified by (s1) in intelligent function module specified by (U/H).
Ladder diagram
(U/H) (s1)
(s2)
FBD/LD
EN
ENO
UnHn
s1
s2
n
Setting data
■Descriptions, ranges, and data types
Operand
Description
*1
(U/H)
Unit number
(s1)
Start address of the buffer memory for writing the data
(s2)
TO(P)
Write data, or head device number which stores the write data
DTO(P)
(n)
Number of write data
EN
Execution condition
ENO
Execution result
*1 In the case of the ST language and the FBD/LD language, U/H displays as UnHn.
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(U/H)
(s1)
(s2)
(n)
*1 Only the DTO(P) instruction can be used.
(n)
Word
T, ST, C, D, W,
U\G
SD, SW, R
Structured text
ENO:=TO(EN,UnHn,s1,s2,n);
ENO:=TOP(EN,UnHn,s1,s2,n);
ENO:=DTO(EN,UnHn,s1,s2,n);
ENO:=DTOP(EN,UnHn,s1,s2,n);
Range
Data type
H1 to H10
16-bit unsigned binary
0 to 65535
16-bit unsigned binary
16-bit signed binary
32-bit signed binary
1 to 65535
16-bit unsigned binary
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
*1
*1
Data type (label)
ANY16
ANY16
ANY16
ANY32
ANY16
BOOL
BOOL
Constant
Others
(U)
K, H
E
$
8 APPLICATION INSTRUCTION
8.26 Module Access Instruction
8
723

Hide quick links:

Advertisement

loading