Remote-processing BASIC for the CX-10 Modbus User Manual Page 81

  • Download
  • Add to my manuals
  • Print
  • Page
    / 84
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 80
BASIC PROGRAMMING GUIDE
2-72
XBY
Syntax: XBY(
addr
)
XBY(
addr
)=
expr
Where:
addr
= 0 to 65535 (0FFFFH) is a memory address
expr
= 0 to 255 is data to save
Function: Read/write external data memory, segment 0 only.
Mode: Command, run
Use: XBY(99)=35
DESCRIPTION
XBY retrieves or assigns a value to external data memory. This command is equivalent to PEEKB and
POKEB.
RELATED
CBY, DBY, PEEKB, POKEB
ERROR
BAD ARGUMENT Invalid
addr
or attempt to assign an out of range value to a XBY(
expr
).
EXAMPLE
100 XBY(47536) = XBY(47536) .OR. 3
Page view 80
1 2 ... 76 77 78 79 80 81 82 83 84

Comments to this Manuals

No comments