![Jetter JX3-BN-CAN Скачать руководство пользователя страница 31](http://html2.mh-extra.com/html/jetter/jx3-bn-can/jx3-bn-can_user-manual_3862588031.webp)
JX3-BN-CAN
6 Diagnostics and Administration
Firmware Version
Module Register
32
Description
The firmware version is stored to the JX3-BN-CAN module.
The firmware cannot be updated by the user.
Access Read
Value Range
32 bits
Value After Reset
Up-to-date firmware version
Comment
Similar to an IP address, the firmware version is displayed in
the format "Major.Minor.Branch.Build".
A released firmware version can be recognized by both
Branch and Build having got value zero.
For displaying the operating firmware version number in the
setup window of JetSym, please select the format "IP
address".
Amount of Connected JX3 Modules
Module Register
256
Description
Out of this module register, the amount of JX3 modules
connected to the JX3-BN-CAN module can be read.
Access Read
Value Range
0 ... 16
Value After Reset
Amount of modules presently connected
Example: Evaluating an Error Message by a Diagnostic Register
In the application program of the controller, the error register is monitored. When bit 9
"Error Output Driver" has been set, the first JX3 module having got an error message, is
searched for in a loop. After this, the I/O module number and the number of the status
register is calculated.
VAR
n_ModuleErrorBuffer : INT
at
%vl
100;
// Auxiliary
register
n_Counter : INT
at
%vl
101;
// Auxiliary
register
pn_State : INT
at
%vl
102;
//
Pointer to diagn. registers
n_ModuleNumber : INT
at
%vl
103;
//
Register for module number
ns_Error : INT
at
%vl
2008;
// Error
register
ns_ModuleError: INT
at
%vl
2039;
//
Diagnostics error register
END_VAR;
TASK t_Main
WHEN
//
Wait for error
BIT_SET(ns_Error,
9
)
CONTINUE;
n_ModuleErrorBuffer := ns_ModuleError;
//
Buffer the error message
n_Counter :=
0
;
WHILE
n_Counter <
32
DO
// Search
buffer
Jetter AG
31
Содержание JX3-BN-CAN
Страница 37: ...JX3 BN CAN Appendix Appendix Jetter AG 37...