User Manual
MCP Series
Brushed DC Motor Controllers
MCP Series User Manual
175
PUTS
Syntax
puts stream,[{modiers}data1,...,{modiers}dataN]
• Stream - is a variable, constant or expression that species the stream to send data to.
• Modiers - see the Modiers section of the manual for specic syntax and usage.
• Data1...DataN - are variables, constants or expressions that species the data to be sent
to the specied stream.
Description
The PUTS command is used to send data to an active stream, for communciations with with
microcontrollers, computers or networks(see CAN). The PUTS command is also usefull when
debugging your MCL script.
Stream Types
USB Virtual Communications Port 0
CAN (CANOpen or raw CAN) 1
TTL UART 2
RS232 UART 3