Download Print this page

Writing 1-Word/2-Word Data To Another Module (32-Bit Specification) - 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 (32-bit
specification)
TOD(P), DTOD(P)
• TOD(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).
• DTOD(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)
TOD(P)
Write data, or head device number which stores the write data
DTOD(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 DTOD(P) instruction can be used.
(n)
Word
T, ST, C, D, W,
U\G
SD, SW, R
Structured text
ENO:=TOD(EN,UnHn,s1,s2,n);
ENO:=TODP(EN,UnHn,s1,s2,n);
ENO:=DTOD(EN,UnHn,s1,s2,n);
ENO:=DTODP(EN,UnHn,s1,s2,n);
Range
Data type
H1 to H10
16-bit unsigned binary
0 to 4294967295
32-bit unsigned binary
16-bit signed binary
32-bit signed binary
1 to 65535
32-bit unsigned binary
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
*1
*1
Data type (label)
ANY16
ANY32
ANY16
ANY32
ANY32
BOOL
BOOL
Constant
Others
(U)
K, H
E
$
8 APPLICATION INSTRUCTION
8.26 Module Access Instruction
8
729

Hide quick links:

Advertisement

loading