13 Program Example
13.3 Program
211
FX
3U
-CAN User's Manual
11
PL
C
RU
N/
S
T
OP
12
C
ommuni
cati
on
S
ettings
Procedure
13
Program
Ex
ampl
e
14
D
iagnos
tics
43
44
45
46
47
48
Then, initialize the communication parameters data for the fourth PDO setup command:
FourthPDOProcessing
K1
EN
s
NodeAddress
ENO
d
MOV
K2
EN
s
PDOnumber
ENO
d
MOV
H283
HFE
H2
EN
s
CANID
ENO
d
MOV
EN
s
TransmissionType
ENO
d
MOV
EN
s
NoOfEntries
ENO
d
MOV
EN
StartPDOSetup
ENO
d
SET
Change the PDO communication and/or mapping parameters of a specified PDO
HeadAddress
NodeAddress
ReceiveOrTransmit
PDOnumber
CANID
TransmissionType
ExecuteMapping
NoOfMappedObjects
ObjectIndex
ObjectSubIndex
ObjectLength
StartSetup
K0
NodeAddress
ReceiveOrTransmit
PDOnumber
CANID
TransmissionType
ExecuteMapping
NoOfEntries
ObjectIndex
ObjectSubindex
ObjectLength
StartPDOSetup
SetupCompleted
SetupError
PDOSetup
SetupPDOs
PDOSetupCompleted
PDOSetupError
If a PDO setup command execution is completed, increase the command complete counter
PDOSetupCompleted
PDOSetupError
AND
EN
PDOSetupOkCounter
ENO
d
INCP
If a PDO setup command execution error occurs, increase the command error counter
PDOSetupError
EN
PDOSetupErrCounter
ENO
d
INCP
If a PDO setup command execution is completed reset status signal
PDOSetupCompleted
EN
StartPDOSetup
ENO
d
RST
If a PDO setup command was executed, move to the next one
PDOSetupProcessing
StartPDOSetup
AND
EN
CommandSequence
ENO
d
INC
Summary of Contents for FX3U-CAN
Page 1: ...FX3U CAN USER S MANUAL ...
Page 2: ......
Page 6: ...Safety Precautions Read these precautions before use 4 MEMO ...
Page 227: ......