Mitsubishi Electronics FX3UC Garage Door Opener User Manual


 
697
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
30 External Device Communication – FNC270 to FNC276
30.7 FNC276 - MODBUS Read/Write Instruction
21
FNC160-FNC169
Real Time Clock
Control
22
FNC170-FNC179
External Device
23
FNC180
Alternate
Instructions
24
FNC181-FNC189
Others
25
FNC190-FNC199
Block Data
Operation
26
FNC200-FNC209
Character String
Control
27
FNC210-FNC219
Data
Operation 3
28
FNC220-FNC249
Data
Comparison
29
FNC250-FNC269
Data Table
Operation
30
FNC270-FNC276
Ex-Device
30.7 FNC276 - MODBUS Read/Write Instruction
Outline
This instruction allows the MODBUS Master to communicate (read/write data) with its associated Slaves.
For explanation of the instruction, refer to the MODBUS Communication Edition.
1. Instruction Format
2. Set Data
3. Applicable Devices
S1: Except special auxiliary relay (M) and special data register (D).
S2: Only available for FX
3G/FX3GC/FX3U/FX3UC PLCs.
Explanation of function and operation
1. 16-bit operation (ADPRW)
Command Code is operated on Slave Node according to Parameters , , and / .
Use 0 as the Slave Node Address for Broadcast commands.
Operand Type Description Data Type
Slave Node Address (K0 to K32) 16-bit binary
Command Code 16-bit binary
Command Parameter depending on the Command Code (See Subsection 30.7.1) 16-bit binary
Command Parameter depending on the Command Code (See Subsection 30.7.1) 16-bit binary
/
Command Parameter depending on the Command Code (See Subsection 30.7.1) Bit or 16-bit binary
Operand Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XY M TCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
S
1
S
2

S
1
S
2

S
1
S
2

S
1
S
2

/
S
1
S
1
S
2

FNC 276
ADPRW
16-bit Instruction
11 steps
ADPRW
Continuous
Operation
Mnemonic
Operation Condition
32-bit Instruction
Mnemonic
Operation Condition
S
S
1
S
2
S
3
S
4
D
S
S
1
S
2
S
3
S
4
D
S
1
S
S
2
S
3
S
4
D
Command
input
FNC276
ADPRW
S
Slave
Node
Address
Command
code
/
Command Code Parameters
Command Parameters
depending on the
Command Code
Command Code
Slave Node Address
K0 to K32 (00H to 20H)
S1 S2 S3 S4 D