Jump to content
OMRON Forums

PHMI designer


andreychip

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

PMAC rotary buffer functionality has been incorporated into the PHMI, so the users can download files and send string to the PMAC through the rotary buffer. There are six commands for using the rotary buffer. The Download and Sending a String commands can be sent through the PMAC rotary buffer or the binary rotary buffer. By using the RBDownload or BRBDownload command, a file can be downloaded to the PMAC rotary buffer. PHMI will download the contents of the file to the PMAC, restricted by the buffer size defined by the user. PHMI will continue to check for available space on the PMAC and when it is available, it will continue the downloading process. To stop the downloading process, use the RBStop command. The RbStaus command will display the status of the downloading process.

 

BRBDownload(CoordNum, BufferSize, FileName)

 

· Downloads a file to the binary rotary buffer.

 

· CoordNum = Coordinate system in which the file is going to be downloaded.

 

· Buffersize = the size of the buffer that you want to be created.

 

· FileName = complete file path in a quotation.

 

· Sample: BRBDownload(1,100,”C:\MyFolder\Program1.PLC”)

 

RBDownload(CoordNum, BufferSize, FileName)

 

· Downloads a file to the rotary buffer.

 

· CoordNum = Coordinate system in which the file is going to be downloaded.

 

· Buffersize = the size of the buffer that you want to be created.

 

· FileName = complete file path in a quotation.

 

· Sample: RBDownload(1,100,”C:\MyFolder\Program1.PLC”)

 

BRBSend(CoordNum, BufferSize, InStr)

 

· Sends a string to the binary rotary buffer.

 

· CoordNum = Coordinate system in which the file is going to be downloaded.

 

· Buffersize = the size of the buffer that you want to be created.

 

· InStr= a string in a quotation

 

· Sample: BRBSend (1,100,”X10 Y20”)

 

RBSend(CoordNum, BufferSize, InStr)

 

· Sends a string to the rotary buffer.

 

· CoordNum = Coordinate system in which the file is going to be downloaded.

 

· Buffersize = the size of the buffer that you want to be created.

 

· InStr= a string in a quotation

 

· Sample: RBSend (1,100,”X10 Y20”)

 

RBStop

 

· Stops the rotary buffer.

 

RBStatus

 

· Returns the status of the rotary buffer.

 

· The following values are being returned by this function:

 

None = when no action has occurred

 

In Progress = indicates that the download is in progress

 

Suspended = error occurred during the download process

 

Full = there is no room in the buffer to download

 

Done = the download has been completed successfully

 

File Does Not Exist = the file does not exist.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...