Data transmission
This section describes the procedure for sending data using a Layer 2 message.
Setting method
Configure the Layer 2 message data transmission setting in the buffer memory. The following table lists the settings and their
locations.
Item
Send/receive setting
CAN-ID
RTR response setting
RTR response condition
Frame type
Transmission type
Cycle time
Data length
For details, refer to the following.
Page 176 Pre-defined Layer 2 message configuration (Un\G6000 to Un\G6167)
Page 184 Receive/Transmit process data (Un\G10000 to Un\G10293)
1 FUNCTIONS
62
1.11 Layer 2 Message Transmission and Receive
Location
Parameter A of 'Pre-defined Layer 2 message configuration'
(Un\G6000 to Un\G6167)
CAN-ID n of 'Receive/Transmit process data' (Un\G10000 to
Un\G10293)
Parameter B of 'Pre-defined Layer 2 message configuration'
(Un\G6000 to Un\G6167)
b12 of RTR/new/DLC of 'Receive/Transmit process data'
(Un\G10000 to Un\G10293)
b15 of RTR/new/DLC of 'Receive/Transmit process data'
(Un\G10000 to Un\G10293)
Parameter C of 'Pre-defined Layer 2 message configuration'
(Un\G6000 to Un\G6167)
Parameter D of 'Pre-defined Layer 2 message configuration'
(Un\G6000 to Un\G6167)
Lower byte of RTR/new/DLC of 'Receive/Transmit process
data' (Un\G10000 to Un\G10293)
Setting value
Remarks
FFFFH
The setting value is fixed.
Optional
Set the CAN-ID for the message to
be sent.
5FFFH
To use the message also for RTR
response, refer to the following.
Page 66 RTR response
0: Invalid
0: Send data frame
The setting value is fixed.
Optional
Set the transmission timing.
Optional
Optional
Set the data length for data to be
sent in bytes.