Instructions

Message Types
8 (26)
4.2 Cyclic Message
With the cyclic messages commands it is possible to send CAN messages from the CAN@net NT
cyclically, precisely timed and with high frequency, whereas the application data must only be
updated by ASCII commands if required.
up to 16 cyclic messages are possible
configuration only via ASCII command
each message can be configured and the transmission started and stopped individually
Valid Order of Use
Make sure, that all cyclic messages are stopped (see CYC STOP, p. 9).
Define the cyclic message (see CYC INIT, p. 8).
To start the transmission, update the cyclic message (see CYC UPDATE, p. 9).
4.2.1 CYC INIT
Initializes a cyclic message. The command can only be executed when the message is not yet
transmitted.
CYC INIT <msg_num> <port> <time> <count>
Parameter
Parameter
Description
msg_num
Message number, valid values: 0–15
port
CAN port number (NT 200: 1...2, NT 420: 1...4)
time
Message cycle time in units of 0.5 ms, valid values: 1–65535 (= 0.5 ms to 32767.5 ms)
count
Maximum number of transmit repetitions, if a further update message is missing after the
start of the transmission. Valid values: 0–65535. Value 0 sets endless transmission. After
an update message the count is restarted. If the count expires, the cyclic message is
stopped.
Example
CYC INIT 0 1 200 10 "01 02 03 04 05 06 07 08"
CYC INIT 15 2 2000 0
Return Value
Return value Description
R ok
Function succeeded
R ERR <error-number> <error-description>
See List of Error Codes, p. 24
Remark
To start the transmission, call CYC UPDATE.
CAN@net NT 200/420 Software Design Guide
4.02.0332.20000 1.5 en-US