11-
15
11
11-5 Communication Command Description
COMMUNICA
TION WITH PC
(21)@CSEL <array element number>
Specifies an array element for the counter array variable C to be used.
This command is available with controller version 13.23 or later.
Array element number
: This is a number used to designate an array element for the
counter array variable C, and can be from 0 to 31. The counter
variable D can also be specified here as the array element.
Transmission example
: @CSEL 1 c/r l/f ............................ Uses the counter array variable
C of element number 1 in the
subsequent steps.
Response example
: OK c/r l/f
(22)@C <counter value>
Sets a specified value in the counter array variable C specified with the CSEL statement.
This command is available with controller version 13.23 or later.
Counter value
: This can be any value from 0 to 65535.
Transmission example
: @C 100 c/r l/f ............................... Sets the counter array variable
C to 100.
Response example
: OK c/r l/f
(23)@C+ [<addition value>]
Adds a specified value to the counter array variable C.
This command is available with controller version 13.23 or later.
Addition value
: This can be any value from 1 to 65535. If this value is omitted,
then 1 is added to the counter array variable.
Transmission example
: @C+ c/r l/f ................................... Increments the counter array
variable C. (C
←
C+1)
Response example
: OK c/r l/f
(24)@C- [<subtraction value>]
Subtracts a specified value from the counter array variable C.
This command is available with controller version 13.23 or later.
Subtraction value
: This can be any value from 1 to 65535. If this value is omitted,
then 1 is subtracted from the counter array variable.
Transmission example
: @C- c/r l/f .................................... Decrements the counter array
variable C. (C
←
C-1)
Response example
: OK c/r l/f
(25)@D <counter value>
Sets a specified value in the counter variable D.
This command is available with controller version 13.23 or later.
Counter value
: This can be any value from 0 to 65535.
Transmission example
: @D 100 c/r l/f .............................. Sets the counter variable D to
100.
Response example
: OK c/r l/f
Summary of Contents for ERCX Series
Page 2: ......
Page 8: ...vi MEMO ...
Page 60: ...3 36 MEMO ...
Page 90: ...5 20 MEMO ...
Page 168: ...9 16 MEMO ...
Page 232: ...12 10 MEMO ...
Page 248: ...14 4 MEMO ...
Page 249: ...15 1 15 SPECIFICATIONS Chapter 15 SPECIFICATIONS ...
Page 253: ...16 1 16 APPENDIX Chapter 16 APPENDIX ...
Page 259: ...MEMO ...