Chapter 13. Dedicated Cnet communication for GM6
13 - 20
4)
Continuous writing of direct variable(WSB)
(1) Introduction
This is a function that directly specifies PLC device memory and continuously writes data from specified
address as much as specified length.
(2) Request format
Form-
at
name
Head-
er
Stat-
ion
No.
Comm-
and
Comm
-and
type
Variable
length
Variable
name
Number of data
(Max.120 Bytes)
Data
Tail
Frame
check
Frame
(Ex.)
ENQ
H10
W(w)
SB
H06
%MD100 H01
H1111222
2
EOT BCC
ASCII
value
H05
H3130
H57
(77)
H5342
H3036
H254D44
313030
H3031
H3131313
132323232
H04
•
BCC : When command is one of lower case(w), only one lower byte of the value resulted by adding 1 Byte
each to ASCII values from ENQ to EOT is converted into ASCII, added to BCC.
•
Protocol of continuous writing function of direct variable has not [Number of blocks].
•
Name length of direct variable : This indicates the number of name's characters that means direct variable,
which is allowable up to 16 characters. This value is one of ASCII converted from hex type, and the
range is from H01(ASCII value:3031) to H10(ASCII value:3130).
•
Direct variables : Address to be actually read is entered in this. This must be ASCII value within 16
characters, and in this name, digits, upper/lower case, '%' and '.' only are allowable to be entered.
Direct variables available according to PLC type are as follows :
1) Number of data specifies the number according to the type of direct variable. Namely, if the data type of direct
variable is DOUBLE WORD, and number of data is 5, it means that write 5 DOUBLE WORDs.
Remark
Содержание GLOFA GM6 Series
Страница 1: ...U s e r s M a n u a l LG Programmable Logic Controller GLOFA GM6 Series L G Industrial Systems ...
Страница 2: ... CONTENTS ...
Страница 178: ...Chapter 15 The PID functions 15 24 Example program of 15 4 3 1 ...
Страница 179: ...Chapter 15 The PID functions 15 25 Example program of 15 4 3 2 continue to next page ...
Страница 180: ...Chapter 15 The PID functions 15 26 Example program of 15 4 3 2 continued ...
Страница 209: ...Appendix 4 Outer Dimensions APP4 3 ...