Test Of Bit Device (Bt Command) - Mitsubishi Electric MELSEC FX Series User Manual

Programmable logic controllers
Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FX communication
8.5

Test of Bit Device (BT command)

1 ) Command specification
Protocol format 1 is shown
Computer
Programmable
controller
Notes
• Specify the range and number of devices so as to satisfy the following condition.
- 1
• The station number, PC (PLC) number, number of devices, and sum check code are
expressed in hexadecimal.
2 ) Specification example
To set ON M50, OFF S100, and ON Y001 at station No.5 (with message wait time set to 0
ms).
Computer
Programmable
controller
Test command
(selective write,bits)
number of devices
The sum check is calculated over this range
E
N
0 5
F F
B T
0
0 3
Q
30H
35H
46H
46H
42H
54H
30H
30H
05H
Character area C
Number of
Device
devices
(2 characters,
(5 characters)
hexadecimal)
1 character
"0" (30H) indicates reset (OFF)
"1" (31H) indicates set (ON)
20(10 for FX
)
0N
M 0 0 5 0 1
S 0 1 0 0 0
33H
4DH
30H
30H
35H
30H 31H
53H
30H
Set (ON)
Device
(5 characters)
Y 0 0 0 1 1
31H
30H
30H 30H
59H
30H
30H
30H
31H 31H
Reset (OFF)
Set (ON)
Commands 8
E C
45H
43H
A
C
0 5
F F
K
30H
35H
46H
46H
06H
8-8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs-232cRs-422Rs-485

Table of Contents