MCA527
Command name CMD_WRITE_EXTENSION_RS232_TX_ASCII
Compatibility New MCA527 command.
Execution right Necessary
Description The command is intended for transferring strings via the RS232 interface. Each call writes up to 6
characters to the end of the RS232 transfer buffer. A zero character terminates the string and starts
the transfer. The transfer buffer is 300 bytes long. If it is full, the transfer is started automatically.
Before starting a new string transfer, it is recommendable to check the RS232 transfer buffer byte
count (see CMD_QUERY_STATE527_EX, byte offset 80). If the transfer buffer is not empty, it can be
cleared with CMD_CLEAR_EXTENSION_RS232_TX. It is also possible to clear the transfer buffer
preventively without checking the byte count.
Format integer integer char char char char char char integer
Parameter preamble command c1 c2 c3 c4 c5 c6 end flag
Byte string (HEX) A5 5A 20 01 c1 c2 c3 c4 c5 c6 B9 9B
Command name
CMD_WRITE_EXTENSION_RS232_TX_BINARY
Compatibility New MCA527 command.
Execution right Necessary
Description The command is intended for transferring bytes via the RS232 interface. Each call writes up to 4
bytes to the end of the RS232 transfer buffer.
flags: bits 2...0: 000 write 0 bytes
001 write 1 byte
010 write 2 bytes
011 write 3 bytes
100 write 4 bytes
bit 7: 1 = start transfer
The transfer buffer is 300 bytes long. If it overruns, it will be cleared and the command will be return
“invalid parameter”.
Before starting to fill the transfer buffer with new data, it is recommendable to check the RS232
transfer buffer byte count (see CMD_QUERY_STATE527_EX, byte offset 80). If the transfer buffer is
not empty, it can be cleared with CMD_CLEAR_EXTENSION_RS232_TX. It is also possible to clear
the transfer buffer preventively without checking the byte count.
Format integer integer integer byte byte byte byte integer
Parameter preamble command flags b1 b2 b3 b4 end flag
Byte string (HEX) A5 5A 21 01 flags 00 b1 b2 b3 b4 B9 9B
Command name
CMD_START_EXTENSION_PULSER
Compatibility New MCA527 command.
Execution right Necessary
Description The command starts the selected pulser. The command will only be executed successfully if the
corresponding parts have been correctly configured (see CMD_SET_EXTENSION_PORT).
part: 1 = part B (pulser2)
3 = part D (pulser1)
7 = part B (pulser2) and part D (pulser1)
Format integer integer integer long integer
Parameter preamble command part 0 end flag
Byte string (HEX) A5 5A 22 01 part 00 00 00 00 00 B9 9B
26
Comentarios a estos manuales