AcraDyne Gen IV Controller Serial Port Instructions
A Division of AIMCO
Navigation and Selection
From the main menu, select Controller.
Select Serial.
Select IO.
Main Menu Navigation
The AcraDyne main menu presents several options:
- RUN
- PSET
- JOB
- RESULTS
- CONTROLLER
- TOOL
- ACCESSORIES
- DIAGNOSTICS
- LOGIN
- ADVANCED
Communications Menu
Within the Communications Menu, select the 'SERIAL' option. Other options include:
- ETHERNET
- SECOND ETHERNET
- SYSTEM PORT
- SERIAL
- ANYBUS
- SPINDLE USB
- SERIAL USB
Controller Configuration Menu
The Controller Configuration Menu provides access to various settings:
- TOOL SETUP
- IO
- COMMUNICATION INTERFACES
- PROTOCOLS
- FRONT PANEL BUTTONS
- POWER UP
- BARCODE SETUP
- SET TIME
- REMOTE CONNECTIONS
- MASTER SPINDLE SETUP
- LANGUAGES
Serial Port Configuration
Port Mode Options
The following modes are available for the serial port:
-
Serial Output: A serial data string will be output after each rundown.
The format is:
# P 1 BB TTT.T AAAA 0000 0000 J
Explanation of components:
P
: Parameter set ("1" – "9") for PSets 1-9, ("A" – "W") for PSets 10-32.B
: Job countT
: Torque resultA
: Angle result- Judgment codes:
@
=overall pass,H
=low torque,I
=high torque,J
=low angle,K
=high angle,G
=fault during fastening.
- Barcode Reader: Refer to the Gen IV Controller User Manual for barcode setup information.
- Serial Output and Barcode Reader: Select from the dropdown and configure per hardware requirements.
- Open Protocol: Select from the dropdown and configure per hardware requirements.
- PFCS: Select from the dropdown and configure per hardware requirements.
Serial Port Configuration Details
The Serial Port Configuration screen allows for detailed settings:
- Port Mode: Serial Output And Barcode
- Baud: 9600
- Data Bits: 8
- Stop Bits: 1
- Parity: None
- Format: Standard
Output Options:
- Output Followed by NULL Control Character: [Checkbox]
- Change Outputs: [Checkbox]
- Send PSet Change: [Checkbox]
- Send JOB Completed: ✔️ [Checkbox]
Serial Port Settings and Formats
PI Line Control
This setting is customer-specific. Please reference the PI Line Control Document on the AIMCO Website/Product Manuals.
Baud Rates
Serial ports can be configured for the following baud rates:
- 75, 110, 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200
Data Bits / Stop Bits / Parity
Configure these settings per hardware requirements.
Available Serial Output Formats
- Standard
- Standard with PSet
- UEC Serial Modified
- Profibus
- UEC Serial
- CVS String
Output Followed by Null Control Character
This option adds a one-byte NULL character to the end of the serial string. This is useful for systems that use the NULL character to signify the end of the string.
Send PSet Change
This function sends a serial string whenever the PSet is changed. The string format is %%CAN8X%%%%CAN4YNAC%%
, where X is the previous PSet and Y is the new PSet.
Send Job Completed
This function sends a serial string containing "Job Completed" whenever a job has been completed.
Detailed Serial Output Format Descriptions
Standard Output Format
O P HHHHH LLLLL TTTTT P HHHHH LLLLL AAAAA CR CR NULL*
O
: Overall Pass/Fail ('P' = Pass, 'F' = Fail)P
: Torque Pass/Fail ('P' = Pass, 'F' = Fail)HHHHH
: Torque High Limit (Units selected in the PSet)LLLLL
: Torque Low Limit (Units selected in the PSet)TTTTT
: Torque Result (Units selected in the PSet)P
: Angle Pass/Fail ('P' = Pass, 'F' = Fail)HHHHH
: Angle High Limit (Degrees)LLLLL
: Angle Low Limit (Degrees)AAAAA
: Angle Result (Degrees)CR
: Carriage return control characterNULL*
: Null control character (*if option is selected)
Standard Output with Carriage Return, Line Feed and PSet Format
O P HHHHH LLLLL TTTTT P HHHHH LLLLL AAAAA 1 CR LF NULL*
O
: Overall Pass/Fail ('P' = Pass, 'F' = Fail)P
: Torque Pass/Fail ('P' = Pass, 'F' = Fail)HHHHH
: Torque High Limit (Units selected in the PSet)LLLLL
: Torque Low Limit (Units selected in the PSet)TTTTT
: Torque Result (Units selected in the PSet)P
: Angle Pass/Fail ('P' = Pass, 'F' = Fail)HHHHH
: Angle High Limit (Degrees)LLLLL
: Angle Low Limit (Degrees)AAAAA
: Angle Result (Degrees)1
: PSet ('1' – '9') for PSets 1-9, ('A' – 'Z') for PSets 10-35CR
: Carriage return control characterLF
: Line feed control characterNULL*
: Null control character (*if option is selected)
UEC Serial Modified Format (matches some Gen4 earlier versions)
# P 1 BB TTT.T AAAA PPPP 0000 J CR NULL*
#
: Message StartP
: PSet ('1' – '9') for PSets 1-9, ('A' – 'Z') for PSets 10-351
: Spindle Number (Always 1)BB
: Job Bolt Count (Total number of accepts during the Job)TTT.T
: Torque Result (Units selected in the PSet)AAAA
: Angle Result (Degrees)PPPP
: Pulse Count0000
: (L = Low Pulse Count, M = High Pulse Count)J
: Judgment ('@' = Overall Pass, 'H' = Low Torque, 'I' = High Torque, 'J' = Low Angle, 'K' = High Angle, 'G' = Fault During Fastening, '*' = None of these conditions apply)CR
: Carriage return control characterNULL*
: Null control character (*if option is selected)
Profibus Output Format
%CAN 1 O P HHHHH LLLLL TTTTT P HHHHH LLLLL AAAAA NAC% CR LF NULL*
%CAN
: Message Start1
: PSet ('1' – '9') for PSets 1-9, ('A' – 'Z') for PSets 10-35O
: Overall Pass/Fail ('P' = Pass, 'F' = Fail)P
: Torque Pass/Fail ('P' = Pass, 'F' = Fail)HHHHH
: Torque High Limit (Units selected in the PSet)LLLLL
: Torque Low Limit (Units selected in the PSet)TTTTT
: Torque Result (Units selected in the PSet)P
: Angle Pass/Fail ('P' = Pass, 'F' = Fail)HHHHH
: Angle High Limit (Degrees)LLLLL
: Angle Low Limit (Degrees)AAAAA
: Angle Result (Degrees)NAC%
: Message EndCR
: Carriage return control characterLF
: Line feed control characterNULL*
: Null control character (*if option is selected)
UEC Serial Format (matches UEC 4800 and Gen3)
# 1 P BB TTT.T AAAA PPPP 0000 J CR NULL*
#
: Message Start1
: Spindle Number (Always 1)P
: PSet ('1' – '9') for PSets 1-9, ('A' – 'Z') for PSets 10-35BB
: Job Bolt Count (Total number of accepts during the Job)TTT.T
: Torque Result (Units selected in the PSet)AAAA
: Angle Result (Degrees)PPPP
: Pulse Count0000
: (L = Low Pulse Count, M = High Pulse Count)J
: Judgment ('@' = Overall Pass, 'H' = Low Torque, 'I' = High Torque, 'J' = Low Angle, 'K' = High Angle, 'G' = Fault During Fastening, '*' = None of these conditions apply)CR
: Carriage return control characterNULL*
: Null control character (*if option is selected)
CSV String Format
S01,JB01, TTT.T, S, AAA.A, S, O, MM/DD/YYYY HH:MM:SS, VVV<CR><LF>
S01
: Spindle numberJB01
: Job numberTTT.T
: TorqueS
: Torque Status (A = OK, H = High, L = Low)AAA.A
: AngleS
: Angle Status (A = OK, H = High, L = Low)O
: Overall Status (A = OK, R = NOK)MM
: MonthDD
: DayYYYY
: YearHH
: HourMM
: MinuteSS
: SecondVVV
: 32 character barcode ID<CR>
: Carriage Return<LF>
: Line Feed
Gen IV Serial Port Pin-out
The Gen IV controller features a specific pin-out for its serial port connections.
Pin | Signal |
---|---|
1 | PSet |
2 | RX |
3 | TX |
4 | DTR |
5 | GND |
6 | |
7 | |
8 | |
9 |
Visual representation of connector pins: Pin 1, Pin 5, Pin 6, Pin 9 are typically used.
Additional Notes
Output Followed by NULL Character
To view NULL characters, connect to the controller using PUTTY in 'Raw' mode. Set logging to log all output and examine the log file.
Send PSet Change Format
PSets up to 9 match the number. PSets 10-35 are represented by A-Z. PSets greater than 35 are represented by '*'. The format is: %%CAN8X%%%%CAN4YNAC%%
X
: Last PSetY
: New PSet