Program - Mitsubishi Electric MELSEC-F FX3U-CAN User Manual

Hide thumbs Also See for MELSEC-F FX3U-CAN:
Table of Contents

Advertisement

FX
-CAN User's Manual
3U
13.3

Program

1
Copyright © Mitsubishi Electric Europe BV, 2013
All examples are only intended to improve understanding of the functionality and handling of the product. In view of the wide range of applications for this product,
users must acquire sufficient knowledge themselves in order to ensure that it is correctly used in their specific application.
Persons responsible for the application and the product must themselves ensure that each application is in compliance with all relevant requirements, standards
and legislation in respect to configuration and safety.
Mitsubishi Electric cannot assume any liability if these examples are used in real applications.
On the initial scan, start the communication and set the NMT status settings
2
Setup the initial settings for the FX3U-CAN module
3
If the init procedure is completed start the NMT master setup procedure
StartCommunication
4
Check the NMT status of specified nodes
202
SET
M8002
EN
ENO
d
RST
EN
ENO
d
RST
EN
ENO
d
MOVP
EN
ENO
s
d
K1
MOVP
EN
ENO
s
d
K3
FX3UCANOpenInit
CANopenInit
K0
HeadAddress
K1
NodeAddress
K1000
BaudRate
K20
WDTValue
ErrorReset
ErrorReset
AND
InitComplete
NMTStatusRead
CheckNMTStatus
Enable
K0
HeadAddress
StartNode
StartNodeNumber
NumberOfNodes
NumberOfNodes
StartCommunication
CheckNMTStatus
CheckHeartbeatStatus
StartNode
NumberOfNodes
InitComplete
InitComplete
OperationalState
Operational
PreOperationalState
PreOperational
StoppedState
Stopped
ActiveMaster
Master
ModuleErrorStatus
ErrorStatus
MOV
EN
ENO
s
d
StartupConfigurationValue
H3
SET
EN
ENO
d
ExecNMTMasterConfig
RST
EN
ENO
d
StartCommunication
NMTStatus
NodeNMTStatus
NodeNMTStatus[0]
13 Program Example
13.3 Program

Advertisement

Table of Contents
loading

Table of Contents