The CAN (Controller Area Network) is a serial communication protocol, which
efficiently supports distributed real-time control with a very high level of security.
It is an especially suited for networking “intelligent” devices as well as sensors
and actuators within a system or sub-system. In CAN networks, there is no
addressing of subscribers or stations in the conventional sense, but instead,
prioritized messages are transmitted. CANopen is one kind of the network
protocols based on the CAN bus and mainly used for machine control network,
such as textile machinery, printing machines, injection molding machinery, or
packaging machines, etc. CANopen is a low level network that provides
connections between simple industrial devices (sensors, actuators) and
higher-level devices (controllers), as shown in Figure 1.1.
Step1: Connect the (R) Vs+ and (B) GND pins of the GW-7433D module to
the DC power supply (10~30VDC).
Step3: Connect the Ethernet ports of the GW-7433D and the PC to the hub
with standard network cable respectively.
Step4: Connect the CAN ports of theGW-7433D with CANopen slave devices
3. Configure the GW-7433D
Before starting the GW-7433D gateway, users need to configure the
parameters of it via the “Configuration Wizard” and “GW-7433D Utility” tools.
The details of this procedure are shown below. For more information about
setting steps, please refer to section 5 of the GW-7433D’s user’s manual.
Step1: Configure the network parameters via “Configuration Wizard”
To Use the Configuration Wizard, you must first install PCDiag.
Æ When user finish from step 1 to step 4, please click the button, and the
“CANopenDeviceSetting” window will be pop-up then user can set the
CANopen slave device parameters into the GW-7433D.
Step4: Setting the RxPDO, TxPDO, RxSDO, and TxSDO of “CANopenDeviceSetting”
window. As follow figure.
(1). TxPDO Setting.
1
2
3
8
4567
9
Æ It is the code name of this CANopen salve in GW-7433D.
1
Æ Setting the CANopen slave device’s station’s ID.
2
Æ Set the guarding time of the CANopen slave.
3
Æ Key-in the PDO COB-ID (in hex format) of this CANopen slave.
4
Æ Set the RTR mode. In the TxPDO is “1”, and RxPDO is “0”.
5
Æ Select the length of PDO data. Users have to select the correct DLen for
6
each PDO, otherwise some error will happen on the GW-7433D. In this case,
users have to reset the parameters by checking the item “Initialize module”
shown on the figure Connection setting of GW-7433D.
Æ Select the type of data. If DI is selected, this field will present ”P_DIx”. If AI is
7
selected, this field will present “P_Aix”. The letter “P” means PDO. DI or AI
indicate the type of data. The “x” means the number of data.
(Note: The unit of DI is one byte, AI is two bytes).
Æ Delete button. If users want to delete the PDO configuration, click this
of the CANopen slave, and select the data type to be DI or AI value. Then it
will present “S_DIx” or ”S_AIx”. The letter “S” means SDO. DI or AI indicates
the type of data. The “x” means the number of data.
(Note: The unit of DI is one byte, AI is two bytes)
Bytes subIndex Index
(4). Write RxSDO Setting
User can set the RxSDO parameters by TxSDO’s way, as follow figures.
Æ Exit the “CANopenDeviceSetting” window.
9
Step4: When exit the “CANopenDeviceSetting” window, the “MappingModules”
Then user can click the “Save All Setting” button to write the parameters
into the GW-7433D’s EEPROM, and the GW-7433D will auto-run the firmware
to communication with CANopen slave devices.
After finish the step of above steps, the “ShowMapping” window will be
display. As follow figure.
1
2 34
5
CANopen slave device mapping to the Modbus TCP table
Æ
The “DO Mapping “tab is present the DO register mapping of CANopen
Æ The column is Modbus TCP DO address, the row range is 0 ~63.
2
Æ The row is CANopen slave device’s data byte address mapping to Modbus
3
TCP address.
Æ The row is CANopen slave device’s data byte address mapping to Modbus
4
TCP address.
Æ Close the “ShowMapping” window.
5
The “DI Mapping,” ”AI Mapping” and “AO Mapping” of mapping type the
same as the “DO Mapping” of mapping type. In these tabs, the PDO and SDO
arrayal of bytes are form PDO bytes to SDO bytes.
When user over view the “ShowMapping” window finish, Plase close the
“ShowMapping” window, when user close it then the GW-7433D Utility will
display the “MappingModules” window, then user have to close the
“MappingModules” window, the GW-7433D Utility will display the “GW-7433D
Utility ver(1.0.0)” window and click the “Disconnect with GW-7433D” button to
close the window to finish the GW-7433D Utility setting. As follow figure.