Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 723

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

Advertisement

Processing details
■FROM(P)
• These instructions read (n) words of data from the buffer memory specified by (s) in intelligent function module specified by
(U/H), and store the data to the device specified by (d) and later.
Buffer memory
(s)
(n) words
■DFROM(P)
• These instructions read the (n)  2 words of data from the buffer memory specified by (s) in intelligent function module
specified by (U/H), and store the data to the device specified by (d) and later.
Buffer memory
(s)
(n)2 words
Precautions
• For the nibble of a bit device specified by (d), specify K1 to K4 in the FROM(P) instruction and K1 to K8 in the DFROM(P)
instruction.
• When a number greater than 65535 is specified as the buffer memory specified by (s), use the FROMD(P) instruction or
use U\G in the MOV(P) instruction. The following shows the program to transfer the buffer memory #70000 in the
intelligent function module No. 1 to D0.
SM400
MOV
U1\G70000
Transfer
source
Module No. 1
buffer memory #70000
Operation error
Error code
Description
(SD0/SD8067)
2441H
Updating procedure with the unit was not properly completed during the execution of the instruction.
2801H
The unit number specified by (U/H) does not exist.
2823H
The buffer memory number specified by (s) exceeds the buffer memory area.
The buffer memory number specified by (s) + the number of transfer points specified by (n) exceeds the buffer memory area.
2820H
The device number specified by (d) + the number of read data specified by (n) exceeds the corresponding device range.
3056H
Timeout occurred while communicating with the connected units during the execution of the instruction.
3060H
Signal error is detected while accessing the connected units during the execution of the instruction.
3580H
An instruction that cannot be used in an interrupt program is used.
CPU module
(d)
CPU module
(d)
D0
Transfer
destination
(n) points
(n)2 points
8 APPLICATION INSTRUCTION
8.26 Module Access Instruction
8
721

Hide quick links:

Advertisement

loading