Bt Command [Tests Device Memory In 1-Bit Units (By Writing Arbitrarily)] - Mitsubishi Electric FX3U-232-BD User Manual

Melsec-f fx series programmable controllers data communication edition
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Computer Link
7.7

BT Command [Tests Device Memory in 1-Bit Units (by Writing Arbitrarily)]

This section explains the control procedure specification method and shows a specification example when the
bit device memory is specified arbitrarily and written all at once.
1. Specification method
The specification method in the control procedure format 1 is shown below:
Test (write arbitrarily) command (unit: bit)
E
N
Q
Computer side
PLC side
Point
1) Specify the device point range while satisfying the following conditions:
- 1  Number of device points  20
2) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
*1.
10 in the FX
2. Specification example
When writing data for setting M50 to ON, S100 to OFF and Y001 to ON in the PLC whose station number is 5
(while the message waiting time is set to 0 ms)
E
N
Q
Computer side
30
05
H
PLC side
B T
1 character
"0 (30H)" indicates reset (setting to OFF).
"1 (31H)" indicates set (setting to ON).
*1
and FX
Series
0N
1S
This range is regarded as the sum check target.
0 5 F F B T 0 0 3
M 0 0 5 0 1 S 0 1 0 0 0
4D
35
46
46
42
54
30
30
33
30
H
H
H
H
H
H
H
H
H
H
7.7 BT Command [Tests Device Memory in 1-Bit Units (by Writing Arbitrarily)]
Character area A
Device
*
(5 characters)
35
31
53
31
30
30
30
30
30
30
H
H
H
H
H
H
H
H
H
H
Set (ON)
Reset (OFF)
7 Commands
Device
(5 characters)
A
C
K
* Number of device points
(2 characters (hexadecimal))
Y 0 0 0 1 1
E C
59
31
31
30
30
30
45
43
H
H
H
H
H
H
H
H
H
A
C
0 5 F F
Set (ON)
K
30
06
H
A
B
C
D
E
F
G
35
46
46
H
H
H
H
H
I
Apx.A
D-69

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents